From tortise at paradise.net.nz Fri Aug 1 00:21:41 2003 From: tortise at paradise.net.nz (Tortise@Paradise) Date: Fri, 1 Aug 2003 17:21:41 +1200 Subject: [AccessD] Control + (Add record) and which Event is triggered??? References: <70F3D727890C784291D8433E9C418F298EF3@server.bondsoftware.co.nz><014401c357ca$be53f750$0900a8c0@P1200n><001801c357cf$e79b5770$54dd31d2@OfficePC><016d01c357d1$9d21b840$0900a8c0@P1200n><005d01c357d3$74775740$54dd31d2@OfficePC><01a201c357e4$e4d76ff0$0900a8c0@P1200n> <001d01c357e6$697b03b0$54dd31d2@OfficePC> Message-ID: <01c101c357ec$ca766140$0900a8c0@P1200n> Dear Kath So David - are you trying to set the application title to the person's name - if so then you really want to call that for a new record, do you? Not until after the name has actually been entered? Why not do this on the after update event of the name fields (all). Yep, could do. Is there more to it? Not that I see. And why do you want the app title to be the person's name? For multitasking reasons, we seemed to conlcude it is easier and more reliable to run several (same) Databases concurrently. (Instead of running multiple instances of the same form) Naming each instance in the title, thus also task bar makes it easy to identify the instance one wants to go to! mmm I Think the space in [First Name] is stuffing things a little, as it doesn't report its contents when hovering mouse over, although others do...when stepping code. OK ignored that! Have fixed though, using If Cap1 = "" And Cap2 = "" And Cap3 = "" Then Cap1 = "Blank Form ID" End If If Me.NewRecord = True Then Cap1 = "Blank Form ID" End If ...in the function. And calling the function in the forms before_update property also! Thanks again! Kind regards, David Hingston _________________________________________________________________________ Engines2Go - Now THAT's a Search Engine! Automated major search engine manager Makes searching quicker and easier - Have you tried it? http://www.engines2go.com/ http://www.cheqsoft.com/ The home of Clipboard Express, MP3 Detective, TimesOwn and Break Reminder. ----- Original Message ----- -------------- next part -------------- An HTML attachment was scrubbed... URL: From rbgajewski at adelphia.net Fri Aug 1 01:29:58 2003 From: rbgajewski at adelphia.net (Bob Gajewski) Date: Fri, 1 Aug 2003 02:29:58 -0400 Subject: [AccessD]Tabs and SubForms In-Reply-To: <5.2.0.9.0.20030801115033.00b1a6a0@mail.dalyn.co.nz> Message-ID: Mark You can also define hot keys for the tab captions (Tab &1 would allow using ALT+1 to select, etc). Regards, Bob Gajewski -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of David Emerson Sent: Thursday, July 31, 2003 19:53 To: Access Developers discussion and problem solving Subject: Re: [AccessD]Tabs and SubForms At 31/07/2003, you wrote: >Hello All, > >In A97 I have a form that will be used by the visually impaired. I wasn't >aware of this and created the form with a TabControl and subforms. 2 >questions: >1. Once I tab into a subform...how do I get out(mouse isn't an option)? Ctrl-Tab >2. How do I change tabs(again, nouse isn't an option)? Ctrl-Tab >Thanks, > >Mark A. Matte Regards David Emerson DALYN Software Ltd 25b Cunliffe St, Johnsonville Wellington, New Zealand Ph/Fax (877) 456-1205 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From andy at minstersystems.co.uk Fri Aug 1 01:45:59 2003 From: andy at minstersystems.co.uk (Andy Lacey) Date: Fri, 1 Aug 2003 07:45:59 +0100 Subject: [AccessD] HTML Email from Access In-Reply-To: Message-ID: <003801c357f8$91906090$b274d0d5@minster33c3r25> Thanks Adam. Have you ever used it? Andy Lacey http://www.minstersystems.co.uk -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Adam Cogan www.ssw.com.au Sent: 01 August 2003 04:04 To: Access Developers discussion and problem solving; Stuart McLachlan; "accessd at databaseadvisors.com"@smithers.nildram.co.uk Subject: RE: [AccessD] HTML Email from Access Just FYI if you are looking for a 3rd Party utility to incorporate you can see www.ssw.com.au/ssw/EmailMergePRO Adam _____ From: Andy Lacey [mailto:andy at minstersystems.co.uk] Sent: Wednesday, 30 July 2003 9:25 PM To: Stuart McLachlan; "accessd at databaseadvisors.com"@smithers.nildram.co.uk Subject: Re: [AccessD] HTML Email from Access Hi Stuart Thanks for the reply. I'm about to visit a potential new client who is looking to replace an off-the-shelf contact management system withan Access app. Good news for me I hope. Anyway one of the requirements is to be able to prepare HTML emails (text and pics and anything else I guess) with, in effect, field placemarks (e.g. [CustomerName] or whatever). It then has to do an "emailmerge" between the HTML and the data and send to all on his list. Does that make sense? What do you think? I've kept this on-list for now as it better explains (I hope) what I'm trying to do and there may be others out there who can help or want to see where the discussion leads. -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Stuart McLachlan" To: "Andy Lacey" , "accessd at databaseadvisors.com" Subject: Re: [AccessD] HTML Email from Access Date: 30/07/03 11:03 On 30 Jul 2003 at 11:37, Andy Lacey wrote: > > Morning all > Any one have any experience of sending out HTML email-shots from > within Access. I already use automation to drive Outlook but have > only ever sent text emails. How would I (or more likely the user) > format HTML emails? In Word or what? And how would I merge data fom > the Access database with it ("Hi Bill" etc) and send them via > Outlook? Any ideas? Anyone doing it already? Any guidance would be > gratefully received. > I do it in a number of different ways. I have a small PB application which interrogates a Contact list and sends out to everyone with a certain "category" in the the contacts list. It is designed to compose the html mail in Outlook which is then saved to a HTML file. I've also done it by creating a report and using Docmd.SendObject to each one in turn with a single page report output as HTML. Email me off-list with more info on exactly what you are trying to do and I'll fire something through to you. (I do it under protest for a client , but I personally have an aversion to html emails ) -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From paul.hartland at fsmail.net Fri Aug 1 03:34:10 2003 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Fri, 1 Aug 2003 8:34:10 +0000 Subject: [AccessD] Printing a form view in Visual Basic 6 Message-ID: <20030801083410.SDSB4342.fep08-svc.ttys.com@localhost> Believe it or not, found that just after I had sent the email (felt so daft).....is there anyway to control the margins, something like Printer.LeftMargin = 1000 or anything ? From: "Eric Barro" Date: Thu 31/Jul/2003 17:01 GMT To: "Access Developers discussion and problem solving" Subject: RE: [AccessD] Printing a form view in Visual Basic 6 Try this... Printer.Orientation = vbPRORLandscape --- Eric Barro Senior Systems Analyst Advanced Field Services (208) 772-7060 http://www.afsweb.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Wortz, Charles Sent: Thursday, July 31, 2003 7:01 AM To: Access Developers discussion and problem solving; dba-vb at databaseadvisors.com Subject: RE: [AccessD] Printing a form view in Visual Basic 6 Paul, Instead of trying to print the form why not have a report the displays the same data as the form and print the report? Of course if you were using Access and VBA this would not be as hard as it is in pure VB6. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: paul.hartland at fsmail.net [mailto:paul.hartland at fsmail.net] Sent: Thursday 2003 Jul 31 08:52 To: dba-vb at databaseadvisors.com Cc: accessd at databaseadvisors.com Subject: [AccessD] Printing a form view in Visual Basic 6 To all, I have a Visual Basic 6 application from which (every so often) a user will need to print the form thats currently being shown on screen (i.e. frmEmployees). If I use the PrintForm method I don;t seem to have any control on printing as landscape etc. Does anyone know the best and most efficient way to achieve this... 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 --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.504 / Virus Database: 302 - Release Date: 7/24/2003 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.504 / Virus Database: 302 - Release Date: 7/24/2003 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com __________________________________________________________________________ Join Freeserve http://www.freeserve.com/time/ Winner of the 2003 Internet Service Providers' Association awards for Best Unmetered ISP and Best Consumer Application. From Erwin.Craps at ithelps.be Fri Aug 1 04:43:40 2003 From: Erwin.Craps at ithelps.be (Erwin Craps) Date: Fri, 1 Aug 2003 11:43:40 +0200 Subject: [AccessD] OT: Retreiving user login name via ASP Message-ID: You can also change the permissions at file level. Accessing a file trough the nternet on your disk from which the everyone users is removed and the user permissions is added will automaticly ask for the username. By this you can leave anonymous access to your public website and have useraccess to a restricted part of your webiste. Erwin -----Oorspronkelijk bericht----- Van: Haslett, Andrew [mailto:andrew.haslett at ilc.gov.au] Verzonden: vrijdag 1 augustus 2003 0:48 Aan: 'Access Developers discussion and problem solving' Onderwerp: RE: [AccessD] OT: Retreiving user login name via ASP No drawbacks at all. In fact its a (very simple) security enhancement, in that only authorised users of your domain can now access the site. Don't know your environment, but if your site were to hold sensitive information and it were hacked from outside somehow, then its an extra step for the hackers to get around since anonymous access is disabled. Cheers, Andrew -----Original Message----- From: Jim DeMarco [mailto:Jdemarco at hshhp.org] Sent: Thursday, 31 July 2003 9:40 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] OT: Retreiving user login name via ASP Got it. I had to disable Anonymous Access and now I see the user name. Any thoughts on what effect doing this will have if we disable anonymous access on our intranet? Thanks a lot for the help Andrew. Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan -----Original Message----- From: Haslett, Andrew [mailto:andrew.haslett at ilc.gov.au] Sent: Wednesday, July 30, 2003 6:15 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] OT: Retreiving user login name via ASP Jim, In IIS, right click the website in question to bring up its properties. Under Directory Security you will see options for a number of methods of authentication. Uncheck everything except integrated and the Users NT login will then be used to authenticate them to your site. Their details should also then be passed to those HTTP server variables for you to access. If that doesn't work then there must be a setting incorrect somewhere as it does work - we use it in our apps on the intranet at work. Cheers, Andrew -----Original Message----- From: Jim DeMarco [mailto:Jdemarco at hshhp.org] Sent: Thursday, 31 July 2003 2:52 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] OT: Retreiving user login name via ASP Andrew, This didn't work. How do I know if we're using Integrated Authentication? Is that Windows or IIS? Thanks, Jim -----Original Message----- From: Haslett, Andrew [mailto:andrew.haslett at ilc.gov.au] Sent: Tuesday, July 29, 2003 8:09 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] OT: Retreiving user login name via ASP If using Integrated Authentication, the NT user name is passed through the browser HTTP Server variables. Try this: Response.Write (Request.ServerVariables("LOGON_USER")) This returns a string in the format domain\username If LOGON_USER doesn't work, try REMOTE_USER Cheers, Andrew -----Original Message----- From: Jim DeMarco [mailto:Jdemarco at hshhp.org] Sent: Wednesday, 30 July 2003 6:35 AM To: Access Developers discussion and problem solving Subject: [AccessD] OT: Retreiving user login name via ASP Having a disagreement with the boss that maybe someone here can clear up for me. He thinks there is a way to return the Win2K user login name from an ASP page. I'm not 100% certain but I don't know that I've ever seen that done. Does anyone know if it's possible? If it is a code sample would be appreciated. Thanks, Jim DeMarco ************************************************************************ **** ******* "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". ************************************************************************ **** ******* _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com IMPORTANT - PLEASE READ ******************** This email and any files transmitted with it are confidential and may contain information protected by law from disclosure. If you have received this message in error, please notify the sender immediately and delete this email from your system. No warranty is given that this email or files, if attached to this email, are free from computer viruses or other defects. They are provided on the basis the user assumes all responsibility for loss, damage or consequence resulting directly or indirectly from their use, whether caused by the negligence of the sender or not. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ************************************************************************ **** ******* "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 IMPORTANT - PLEASE READ ******************** This email and any files transmitted with it are confidential and may contain information protected by law from disclosure. If you have received this message in error, please notify the sender immediately and delete this email from your system. No warranty is given that this email or files, if attached to this email, are free from computer viruses or other defects. They are provided on the basis the user assumes all responsibility for loss, damage or consequence resulting directly or indirectly from their use, whether caused by the negligence of the sender or not. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ************************************************************************ **** ******* "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 IMPORTANT - PLEASE READ ******************** This email and any files transmitted with it are confidential and may contain information protected by law from disclosure. If you have received this message in error, please notify the sender immediately and delete this email from your system. No warranty is given that this email or files, if attached to this email, are free from computer viruses or other defects. They are provided on the basis the user assumes all responsibility for loss, damage or consequence resulting directly or indirectly from their use, whether caused by the negligence of the sender or not. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From michael.broesdorf at web.de Fri Aug 1 05:04:48 2003 From: michael.broesdorf at web.de (=?iso-8859-1?Q?Michael_Br=F6sdorf?=) Date: Fri, 1 Aug 2003 12:04:48 +0200 Subject: AW: [AccessD] Picklist In-Reply-To: <00e301c357bf$55cc7aa0$54dd31d2@OfficePC> Message-ID: BerichtKath, thanks for your suggestion. Unfortunately the picklist form is called from several other forms. To make things more complicated, sometimes other things then updating a control on the calling form have to be done. In another application I passed a piece of code in the openargs to the called form an ran it from the OnClose event via the eval-function. But any proc/function called this way has to be public, which is not pretty either. So far, Andy's suggestion sound very appealing to me: Open the form from a public function as a dialog (that way the code 'waits' until the form is closed/hidden). The OK/Cancel buttons on the form hide the form, the function reads the selected value directly from the listbox on the hidden form, closes it and returns the selected value. Michael -----Urspr?ngliche Nachricht----- Von: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]Im Auftrag von Software Design & Solutions Pty Ltd. Gesendet: Freitag, 1. August 2003 01:56 An: Access Developers discussion and problem solving Betreff: Re: [AccessD] Picklist Why not add an after update event on the called form to update a control on the master form before it is closed? Then you don't have to hide / unhide forms. Kath ----- Original Message ----- From: Michael Brosdorf To: Access Developers discussion and problem solving Sent: Thursday, July 31, 2003 7:38 PM Subject: [AccessD] Picklist Dear group, my application has a whole bunch of master data tables. I want to create a single form that allows me to pick one value from these master tables. So far, I pass OpenArgs to the form specifying from what master data table I want to pick a value. That works fine. The form basically consist of a listbox (to display the content of the specified master data table) , a textfield (to hold the ID of the selected entry), an OK- and a Cancel-Button. The form is opened as a dialog form (meaning it keeps the focus until it is closed). Now comes the problem: how do I get the selected value back to the calling form? (When the user clicks OK, the form is closed. So the calling form cannot read the value of the listbox or the textbox.) Has anyone done something like that and help me out? TIA, Michael ---------------------------------------------------------------------------- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From scott.marcus at ae.ge.com Fri Aug 1 07:00:03 2003 From: scott.marcus at ae.ge.com (Marcus, Scott (GEAE, Contractor)) Date: Fri, 1 Aug 2003 08:00:03 -0400 Subject: [AccessD] select more then one Message-ID: Pedro, Don't be afraid to ask... Dim intCheckBox as integer Dim intField as integer Dim bolVisible as Boolean For intCheckBox = 1 to 10 ' Change 10 to the number of Product Code Check Boxes on your form bolVisible = Me("chbProductcode" & intCheckBox) For intField = 1 to 26 Me("fields " & intCheckBox & "_" & intField).Visible = bolVisible Next intField Next intCheckBox Scott -----Original Message----- From: Pedro Janssen [mailto:pedro at plex.nl] Sent: Thursday, July 31, 2003 5:16 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] select more then one Hello Scott an the rest of the group i have one more question, if you don't mind. Its not that i didn't wanted to give you the whole picture, i wanted to solve this problem myself in the code you suggested (for learning reasons), but i didn't solve it. It was to difficult for me. I would like that: when chbProductcode1 = true, fields 1_1 until fields 1_26 are visible, when chbProductcode1 = false, fields 1_1 until fields 1_26 are not visible. when chbProductcode2 = true, fields 2_1 until fields 2_26 are visible, when chbProductcode2 = false, fields 2_1 until fields 2_26 are not visible. when chbProductcode3 = true, fields 3_1 until fields 3_26 are visible, when chbProductcode3 = false, fields 3_1 until fields 3_26 are not visible etc for 4 and 5 TIA Pedro Janssen ----- Original Message ----- From: Marcus, Scott (GEAE, Contractor) To: 'Access Developers discussion and problem solving' Sent: Monday, July 28, 2003 2:10 PM Subject: RE: [AccessD] select more then one Pedro, We should really know the whole picture so that the code doesn't need to be rewritten each time you give us a new piece of information. Anyway, this should get you there (with some minor tweaks). Watch out for line wrapping in the e-mail... Dim strNumbers As String, strNumber As String Dim intLoc As Integer, intNumber As Integer Dim bolFound As Boolean bolFound = False For intNumber = 1 To 5 ' Build a string that represents each checked Product Code If Me("chbProductCode" & intNumber) = True Then strNumbers = strNumbers & intNumber & ";" bolFound = True End If Next intNumber If bolFound = True Then strNumbers = Left(strNumbers, Len(strNumbers) - 1) End If While bolFound = True intLoc = InStr(strNumbers, ";") If intLoc > 0 Then ' see if the are more than one to deal with ' There are more than one so, parse out individual numbers strNumber = Left(strNumbers, intLoc - 1) strNumbers = Right(strNumbers, Len(strNumbers) - intLoc) Else ' This is the last one strNumber = strNumbers bolFound = False End If .Item("ProductCode" & strNumber).Value = Nz(Me("txtProductCode" & _ strNumber)) .Item("Number" & strNumber).Value = Nz(Me![txtNumber]) 'You need to change this for what you are doing If chbA1 = True Then .Item("Price" & strNumber).Value = Nz(Me("txt" & _ strNumber & "c16")) ElseIf chbA2 = True Then .Item("Price" & strNumber).Value = Nz(Me("txt" & _ strNumber & "c17")) ElseIf chbA3 = True Then .Item("Price" & strNumber).Value = Nz(Me("txt" & _ strNumber & "c18")) ElseIf chbUitz1 = True Then .Item("Number" & strNumber).Value = Nz(Me("txtUitz" & _ strNumber & "Number")) .Item("Price" & strNumber).Value = Nz(Me("txtUitz" & _ strNumber & "Price")) End If Wend Scott -----Original Message----- From: Pedro Janssen [mailto:pedro at plex.nl] Sent: Saturday, July 26, 2003 10:22 AM To: AccessD at databaseadvisors.com Subject: [AccessD] select more then one Hello Group, with the code below i get as result: One Produktcode, One number and One price depending on which checkboxProduktcode is selected. Is there a way to change this code so that i could select more then one checkboxProduktcode (still only one of the chbA1, chbA2, chbA3 or chbUitz1can be selected) and that the outcome would be the selected produktcodes with there numbers and prices TIA Pedro Janssen Dim strNumber as String Dim bolFound as Boolean bolFound = False If chbProductCode1 = true then strNumber = "1" bolFound = True ElseIf chbProductCode2 = true then strNumber = "2" bolFound = True ElseIf chbProductCode3 = true then strNumber = "3" bolFound = True ElseIf chbProductCode4 = true then strNumber = "4" bolFound = True ElseIf chbProductCode5 = true then strNumber = "5" bolFound = True EndIf If bolFound = True then .Item("ProductCode" & strNumber).Value = Nz(Me("txtProductCode" & _ strNumber)) .Item("Number" & strNumber).Value = Nz(Me![txtNumber]) If chbA1 = True then .Item("Price" & strNumber).Value = Nz(Me("txt" & _ strNumber & "c16")) ElseIf chbA2 = True then .Item("Price" & strNumber).Value = Nz(Me("txt" & _ strNumber & "c17")) ElseIf chbA3 = True then .Item("Price" & strNumber).Value = Nz(Me("txt" & _ strNumber & "c18")) ElseIf chbUitz1 = True then .Item("Number" & strNumber).Value = Nz(Me("txtUitz" & _ strNumber & "Number")) .Item("Price" & strNumber).Value = Nz(Me("txtUitz" & _ strNumber & "Price")) End If End If _____ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From Jdemarco at hshhp.org Fri Aug 1 07:08:13 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Fri, 1 Aug 2003 08:08:13 -0400 Subject: [AccessD] select more then one Message-ID: <22F1CCD5171D17419CB37FEEE09D5F9901764FB9@TTNEXCHSRV1.hshhp.com> How about something like this: Function ShowHide(ctl as Control) Dim inner As Integer Dim outer as Integer Dim ShowIndex As Integer ShowIndex = Right(ctl.Name, 1) For outer = 1 To 5 For i = 1 To 26 If outer = Cint(ShowIndex) Then Controls("Field" & ShowIndex & "_" & CStr(i)).Visible = True Else Controls("Field" & outer & "_" & CStr(i)).Visible = False End If 'or Controls("Field" & outer & "_" & CStr(i)).Visible = (outer = Cint(ShowIndex)) Next inner Next outer End Function or use this simplified version to replace the If block: Controls("Field" & outer & "_" & CStr(i)).Visible = (outer = Cint(ShowIndex)) Assuming chbProductcode1 through 5 are controls call this function from each of the (chbProductcode1) click or change event passing in the name of the calling control: Sub chbProductcode1_Click() ShowHide(chbProductcode1) End Sub HTH, Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan -----Original Message----- From: Pedro Janssen [mailto:pedro at plex.nl] Sent: Thursday, July 31, 2003 5:16 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] select more then one Hello Scott an the rest of the group i have one more question, if you don't mind. Its not that i didn't wanted to give you the whole picture, i wanted to solve this problem myself in the code you suggested (for learning reasons), but i didn't solve it. It was to difficult for me. I would like that: when chbProductcode1 = true, fields 1_1 until fields 1_26 are visible, when chbProductcode1 = false, fields 1_1 until fields 1_26 are not visible. when chbProductcode2 = true, fields 2_1 until fields 2_26 are visible, when chbProductcode2 = false, fields 2_1 until fields 2_26 are not visible. when chbProductcode3 = true, fields 3_1 until fields 3_26 are visible, when chbProductcode3 = false, fields 3_1 until fields 3_26 are not visible etc for 4 and 5 TIA Pedro Janssen ----- Original Message ----- From: Marcus, Scott (GEAE, Contractor) To: 'Access Developers discussion and problem solving' Sent: Monday, July 28, 2003 2:10 PM Subject: RE: [AccessD] select more then one Pedro, We should really know the whole picture so that the code doesn't need to be rewritten each time you give us a new piece of information. Anyway, this should get you there (with some minor tweaks). Watch out for line wrapping in the e-mail... Dim strNumbers As String, strNumber As String Dim intLoc As Integer, intNumber As Integer Dim bolFound As Boolean bolFound = False For intNumber = 1 To 5 ' Build a string that represents each checked Product Code If Me("chbProductCode" & intNumber) = True Then strNumbers = strNumbers & intNumber & ";" bolFound = True End If Next intNumber If bolFound = True Then strNumbers = Left(strNumbers, Len(strNumbers) - 1) End If While bolFound = True intLoc = InStr(strNumbers, ";") If intLoc > 0 Then ' see if the are more than one to deal with ' There are more than one so, parse out individual numbers strNumber = Left(strNumbers, intLoc - 1) strNumbers = Right(strNumbers, Len(strNumbers) - intLoc) Else ' This is the last one strNumber = strNumbers bolFound = False End If .Item("ProductCode" & strNumber).Value = Nz(Me("txtProductCode" & _ strNumber)) .Item("Number" & strNumber).Value = Nz(Me![txtNumber]) 'You need to change this for what you are doing If chbA1 = True Then .Item("Price" & strNumber).Value = Nz(Me("txt" & _ strNumber & "c16")) ElseIf chbA2 = True Then .Item("Price" & strNumber).Value = Nz(Me("txt" & _ strNumber & "c17")) ElseIf chbA3 = True Then .Item("Price" & strNumber).Value = Nz(Me("txt" & _ strNumber & "c18")) ElseIf chbUitz1 = True Then .Item("Number" & strNumber).Value = Nz(Me("txtUitz" & _ strNumber & "Number")) .Item("Price" & strNumber).Value = Nz(Me("txtUitz" & _ strNumber & "Price")) End If Wend Scott -----Original Message----- From: Pedro Janssen [mailto:pedro at plex.nl] Sent: Saturday, July 26, 2003 10:22 AM To: AccessD at databaseadvisors.com Subject: [AccessD] select more then one Hello Group, with the code below i get as result: One Produktcode, One number and One price depending on which checkboxProduktcode is selected. Is there a way to change this code so that i could select more then one checkboxProduktcode (still only one of the chbA1, chbA2, chbA3 or chbUitz1can be selected) and that the outcome would be the selected produktcodes with there numbers and prices TIA Pedro Janssen Dim strNumber as String Dim bolFound as Boolean bolFound = False If chbProductCode1 = true then strNumber = "1" bolFound = True ElseIf chbProductCode2 = true then strNumber = "2" bolFound = True ElseIf chbProductCode3 = true then strNumber = "3" bolFound = True ElseIf chbProductCode4 = true then strNumber = "4" bolFound = True ElseIf chbProductCode5 = true then strNumber = "5" bolFound = True EndIf If bolFound = True then .Item("ProductCode" & strNumber).Value = Nz(Me("txtProductCode" & _ strNumber)) .Item("Number" & strNumber).Value = Nz(Me![txtNumber]) If chbA1 = True then .Item("Price" & strNumber).Value = Nz(Me("txt" & _ strNumber & "c16")) ElseIf chbA2 = True then .Item("Price" & strNumber).Value = Nz(Me("txt" & _ strNumber & "c17")) ElseIf chbA3 = True then .Item("Price" & strNumber).Value = Nz(Me("txt" & _ strNumber & "c18")) ElseIf chbUitz1 = True then .Item("Number" & strNumber).Value = Nz(Me("txtUitz" & _ strNumber & "Number")) .Item("Price" & strNumber).Value = Nz(Me("txtUitz" & _ strNumber & "Price")) End If End If _____ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: From gustav at cactus.dk Fri Aug 1 07:38:22 2003 From: gustav at cactus.dk (Gustav Brock) Date: Fri, 1 Aug 2003 14:38:22 +0200 Subject: [AccessD] Age calculation function In-Reply-To: <003301c3579d$3a92ff60$0400000a@PASCAL> References: <003301c3579d$3a92ff60$0400000a@PASCAL> Message-ID: <11520138377.20030801143822@cactus.dk> Hi Mark You may wish to look up "Age Calc" in the archives around Okt. 2002. Many of the "smart" suggestions will fail for date intervals like: #03/01/1988#, #03/01/2002# is 14 #03/01/1968#, #02/28/2000# is 31 where leap years and dates around 29. Feb. are included. /gustav > I need an age calculation function to calculate current age from birthday. > If the person's 30th birthday is on August 1, I want them to be 29 on > July31st. DateDiff rounds up and makes them 30. I made this function > Public Function CalculateAge(datBirth As Date) As Long > Dim lngNumDays As Long > lngNumDays = DateDiff("d", datBirth, Date) > CalculateAge = Int(lngNumDays / 365.25) > End Function > It works, except when today's date is their birthday. In my example, on > their birthday, the function returns 29. The next day it works. It works > for some years on the birthday and not others. How can I make this > foolproof? From bbruen at bigpond.com Fri Aug 1 07:45:33 2003 From: bbruen at bigpond.com (Bruce Bruen) Date: Fri, 01 Aug 2003 22:45:33 +1000 Subject: .HTA/.HTB/PHP v. DotNet - was RE: [AccessD]OT: C# was no-ip.com (is now an apology) In-Reply-To: Message-ID: <000001c3582a$ce614de0$aa00a8c0@bbb888> Scott and List, On re-reading the whole of the thread, it is I who should apologise. Recently, I have been reviewing technology choices for a friend who is embarking on a new product development. As it involves a base of multiple database flavours and internet deployment of the finished app he was interested in the development "issues" of various languages with view to understanding his risks if he chose one or more off the newer offerings. We looked at .net (VB, ASP and C#), php (and pear), ruby, Kylix, Delphi, Java and python. Somehow, I lost the central issue of the AccessD thread and gave vent to my frustrations with the "bells and whistles" marketing disinformation that goes with the currently avialable literature on the commercial languages. In short, I plead "toxic feature overload", m'lud. Or perhaps, as Lloyd Bridges said in Flying High, "I guess I picked the wrong week to give up sniffing glue". Regarding C#, and given that I have only given it a cursory look as I will explain, we were singularly unimpressed. According to a very technical and ex-M$ acquaintance, C# still retains the the dangerous features of C++, notably no array bound limiting, pointer arithmetic and inadequate garbage collection. These, IMHO, are total no-no's in a business application development language. This was a point I quite unadmirably did not make in that rave, so I apologise for losing my own way in that respect. Some may argue that these "features" are strenghts of C. For a mainstream business application development, I disgree. They well may have uses in extremely technical coding situations, like operating systems, DBMS engines, device drivers and even embedded devices. But not in mainstream business application development. They are, as far as I'm concerned as a development manager interested in reducing risk and lowering maintenance costs, the equivalent of the 1970's GOTO. Given those comments from the technical man, and the previous separate and joint experiences of both my client and myself in C++ development shops (both of us having experienced never-never delivery schedules and delivery of code with incredibly expensive maintenance costs), C# was the first cull. Note VB.net and ASP.net are both still in the race. As are the Borland and non-commercial languages. So, again I apologise for hijacking the thread, and also apologise for the latish apology. I have just landed another gig and took a quick day off - fishing - before starting work. This time its development of a RAD methodology - hmmm - should keep me off the rant for a few months at least, so we'll just have to wait for JC's return (second coming????) Bruce ... -----Original Message----- From: Marcus, Scott (GEAE, Contractor) [mailto:scott.marcus at ae.ge.com] Sent: Thursday 2003 Jul 31 07:48 To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD]OT: C# was no-ip.com Bruce, I reread my post and am offering an apology for sounding rude. The discussion is interesting, I just wish it had a different subject line. Scott _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Fri Aug 1 07:48:22 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Fri, 01 Aug 2003 05:48:22 -0700 Subject: [AccessD] HTML Email from Access References: <003801c357f8$91906090$b274d0d5@minster33c3r25> Message-ID: <3F2A6196.7070807@shaw.ca> Look at his mailing address. Plus they sponsor a lot of the Access and MS SQL Events in Australia Andy Lacey wrote: > Thanks Adam. Have you ever used it? > > > Andy Lacey > http://www.minstersystems.co.uk > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Adam > Cogan www.ssw.com.au > Sent: 01 August 2003 04:04 > To: Access Developers discussion and problem solving; Stuart > McLachlan; "accessd at databaseadvisors.com"@smithers.nildram.co.uk > Subject: RE: [AccessD] HTML Email from Access > > Just FYI if you are looking for a 3rd Party utility to incorporate > you can see www.ssw.com.au/ssw/EmailMergePRO > > > > > Adam > > > > ------------------------------------------------------------------------ > > From: Andy Lacey [mailto:andy at minstersystems.co.uk] > Sent: Wednesday, 30 July 2003 9:25 PM > To: Stuart McLachlan; > "accessd at databaseadvisors.com"@smithers.nildram.co.uk > Subject: Re: [AccessD] HTML Email from Access > > > > Hi Stuart > Thanks for the reply. > I'm about to visit a potential new client who is looking to > replace an off-the-shelf contact management system withan Access > app. Good news for me I hope. Anyway one of the requirements is to > be able to prepare HTML emails (text and pics and anything else I > guess) with, in effect, field placemarks (e.g. [CustomerName] or > whatever). It then has to do an "emailmerge" between the HTML and > the data and send to all on his list. Does that make sense? What > do you think? > > I've kept this on-list for now as it better explains (I hope) what > I'm trying to do and there may be others out there who can help or > want to see where the discussion leads. > > -- > Andy Lacey > http://www.minstersystems.co.uk > > > --------- Original Message -------- > From: "Stuart McLachlan" > To: "Andy Lacey" , "accessd at databaseadvisors.com" > Subject: Re: [AccessD] HTML Email from Access > Date: 30/07/03 11:03 > > > On 30 Jul 2003 at 11:37, Andy Lacey wrote: > >> >> Morning all >> Any one have any experience of sending out HTML email-shots from >> within Access. I already use automation to drive Outlook but have >> only ever sent text emails. How would I (or more likely the user) >> format HTML emails? In Word or what? And how would I merge data fom >> the Access database with it ("Hi Bill" etc) and send them via >> Outlook? Any ideas? Anyone doing it already? Any guidance would be >> gratefully received. >> > > I do it in a number of different ways. > > I have a small PB application which interrogates a Contact list and > sends out to everyone with a certain "category" in the the contacts > list. It is designed to compose the html mail in Outlook which is > then saved to a HTML file. > > I've also done it by creating a report and using Docmd.SendObject to > each one in turn with a single page report output as HTML. > > Email me off-list with more info on exactly what you are trying to do > and I'll fire something through to you. > > (I do it under protest for a client , but I personally have an > aversion to html emails ) > > > -- > Lexacorp Ltd > http://www.lexacorp.com.pg > Information Technology Consultancy, Software Development,System > Support. > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > > >------------------------------------------------------------------------ > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > From Jdemarco at hshhp.org Fri Aug 1 08:00:44 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Fri, 1 Aug 2003 09:00:44 -0400 Subject: [AccessD] SourceSafe Message-ID: <22F1CCD5171D17419CB37FEEE09D5F9901764FBD@TTNEXCHSRV1.hshhp.com> We are in the process of purchasing Visual SourceSafe as we've really not been managing our code up to this point. My question is, is there a difference between the stand-alone version and the version that ships with Visual Studio (we have VS 6 licenses)? I'm under the impression that the VS version can't be run on our network but stand-alone is designed for this. Is this true? I can't get a sense of this from the M$ site. TIA, Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From CWortz at tea.state.tx.us Fri Aug 1 08:25:05 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Fri, 1 Aug 2003 08:25:05 -0500 Subject: [AccessD] SourceSafe Message-ID: Jim, Unless you have finalized your decision to go with VSS, may I suggest Merant's PVCS Version Manager, see www.merant.com. We used VSS for several years and decided to switch to VM a year ago and we haven't regretted it. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Jim DeMarco [mailto:Jdemarco at hshhp.org] Sent: Friday 2003 Aug 01 08:01 To: AccessD (E-mail) Subject: [AccessD] SourceSafe We are in the process of purchasing Visual SourceSafe as we've really not been managing our code up to this point. My question is, is there a difference between the stand-alone version and the version that ships with Visual Studio (we have VS 6 licenses)? I'm under the impression that the VS version can't be run on our network but stand-alone is designed for this. Is this true? I can't get a sense of this from the M$ site. TIA, Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan From Jdemarco at hshhp.org Fri Aug 1 08:29:42 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Fri, 1 Aug 2003 09:29:42 -0400 Subject: [AccessD] SourceSafe Message-ID: <22F1CCD5171D17419CB37FEEE09D5F990173F2F2@TTNEXCHSRV1.hshhp.com> Any particular reason(s) Charles? About half of staff have used it (VSS) and seemed to like it but may not have explored options. Thanks, Jim DeMarco -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Friday, August 01, 2003 9:25 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] SourceSafe Jim, Unless you have finalized your decision to go with VSS, may I suggest Merant's PVCS Version Manager, see www.merant.com. We used VSS for several years and decided to switch to VM a year ago and we haven't regretted it. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Jim DeMarco [mailto:Jdemarco at hshhp.org] Sent: Friday 2003 Aug 01 08:01 To: AccessD (E-mail) Subject: [AccessD] SourceSafe We are in the process of purchasing Visual SourceSafe as we've really not been managing our code up to this point. My question is, is there a difference between the stand-alone version and the version that ships with Visual Studio (we have VS 6 licenses)? I'm under the impression that the VS version can't be run on our network but stand-alone is designed for this. Is this true? I can't get a sense of this from the M$ site. TIA, Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From michael.broesdorf at web.de Fri Aug 1 08:32:37 2003 From: michael.broesdorf at web.de (=?iso-8859-1?Q?Michael_Br=F6sdorf?=) Date: Fri, 1 Aug 2003 15:32:37 +0200 Subject: [AccessD] Access/Word Interaction In-Reply-To: Message-ID: BerichtDear group, I have an Access application that creates a MS Word document and inserts some text into it and makes it visible (so that users can start working with it right away). When that process is finished I want to inform the user with a MsgBox. The problem is, that this activates MS Access (my application), but I want the Word-Dokument to stay active. Is there something like WordObj.application.Msgbox? TIA, Michael -------------- next part -------------- An HTML attachment was scrubbed... URL: From CWortz at tea.state.tx.us Fri Aug 1 08:45:09 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Fri, 1 Aug 2003 08:45:09 -0500 Subject: [AccessD] SourceSafe Message-ID: Jim, It was a lot of little things that we thought should be improved, but they did not give them any priority and were not included in any of the releases during that time. If VSS was the only product on the market we would have stayed with it because version control is very important in a project team environment. But about two years ago we decided to explore alternatives and our evaluation team determined that VM was far ahead of VSS in features and ease of use, so we switched. Maybe VSS has caught up and passed VM in the 18 months or so since we made the decision to switch, so don't take my word for how things now stand. Again, if you haven't finalized your decision then please look at alternatives such as VM. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Jim DeMarco [mailto:Jdemarco at hshhp.org] Sent: Friday 2003 Aug 01 08:30 To: Access Developers discussion and problem solving Subject: RE: [AccessD] SourceSafe Any particular reason(s) Charles? About half of staff have used it (VSS) and seemed to like it but may not have explored options. Thanks, Jim DeMarco -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Friday, August 01, 2003 9:25 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] SourceSafe Jim, Unless you have finalized your decision to go with VSS, may I suggest Merant's PVCS Version Manager, see www.merant.com. We used VSS for several years and decided to switch to VM a year ago and we haven't regretted it. Charles Wortz -----Original Message----- From: Jim DeMarco [mailto:Jdemarco at hshhp.org] Sent: Friday 2003 Aug 01 08:01 To: AccessD (E-mail) Subject: [AccessD] SourceSafe We are in the process of purchasing Visual SourceSafe as we've really not been managing our code up to this point. My question is, is there a difference between the stand-alone version and the version that ships with Visual Studio (we have VS 6 licenses)? I'm under the impression that the VS version can't be run on our network but stand-alone is designed for this. Is this true? I can't get a sense of this from the M$ site. TIA, Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan From harkins at iglou.com Fri Aug 1 08:45:44 2003 From: harkins at iglou.com (Susan Harkins) Date: Fri, 1 Aug 2003 09:45:44 -0400 Subject: [AccessD] SourceSafe References: <22F1CCD5171D17419CB37FEEE09D5F990173F2F2@TTNEXCHSRV1.hshhp.com> Message-ID: <014e01c35833$3a9733f0$3a4afccc@SusanOne> I've never seen Charles choice either -- I'd like to hear more about it. Although VSS worked really well. I've never actually used it in a production environment, just played with it so I could review it. Susan H. > Any particular reason(s) Charles? About half of staff have used it (VSS) and seemed to like it but may not have explored options. > > Thanks, > From BBarabash at TappeConstruction.com Fri Aug 1 08:47:13 2003 From: BBarabash at TappeConstruction.com (Brett Barabash) Date: Fri, 1 Aug 2003 08:47:13 -0500 Subject: [AccessD] SourceSafe Message-ID: <426071E0B0A6D311B3C0006008B0AB2338C8B0@TAPPEEXCH01> Out of curiousity, has anyone tried SourceGear Vault? I've heard good things about it (including the announcement by Joel that it integrates with FogBugz). -----Original Message----- From: Susan Harkins [mailto:harkins at iglou.com] Sent: Friday, August 01, 2003 8:46 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] SourceSafe I've never seen Charles choice either -- I'd like to hear more about it. Although VSS worked really well. I've never actually used it in a production environment, just played with it so I could review it. Susan H. > Any particular reason(s) Charles? About half of staff have used it (VSS) and seemed to like it but may not have explored options. > > Thanks, > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------------------------------------------------------------------------------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the originator of the message. This footer also confirms that this email message has been scanned for the presence of computer viruses. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. From Jdemarco at hshhp.org Fri Aug 1 08:52:59 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Fri, 1 Aug 2003 09:52:59 -0400 Subject: [AccessD] SourceSafe Message-ID: <22F1CCD5171D17419CB37FEEE09D5F990173F2F6@TTNEXCHSRV1.hshhp.com> Can I get us back on track to my original question? Is there a difference between VS version and stand-alone with regard to network/shared access to the code database? Don't want to spend money on what we've already got. Thanks, Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan -----Original Message----- From: Brett Barabash [mailto:BBarabash at tappeconstruction.com] Sent: Friday, August 01, 2003 9:47 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] SourceSafe Out of curiousity, has anyone tried SourceGear Vault? I've heard good things about it (including the announcement by Joel that it integrates with FogBugz). -----Original Message----- From: Susan Harkins [mailto:harkins at iglou.com] Sent: Friday, August 01, 2003 8:46 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] SourceSafe I've never seen Charles choice either -- I'd like to hear more about it. Although VSS worked really well. I've never actually used it in a production environment, just played with it so I could review it. Susan H. > Any particular reason(s) Charles? About half of staff have used it (VSS) and seemed to like it but may not have explored options. > > Thanks, > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------------------------------------------------------------------------------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the originator of the message. This footer also confirms that this email message has been scanned for the presence of computer viruses. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This 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 scott.marcus at ae.ge.com Fri Aug 1 08:53:28 2003 From: scott.marcus at ae.ge.com (Marcus, Scott (GEAE, Contractor)) Date: Fri, 1 Aug 2003 09:53:28 -0400 Subject: [AccessD] SourceSafe Message-ID: Charles, Without reading the entire web-site you provided, are you using this for MS Access? I didn't see MS Access in my quick look. If you are using it for Access, what do like about it that is better/improved over VSS. I'm coming from the angle that I think VSS is pretty buggy after using it almost 2 years. Any downside using what you suggest over VSS? Thanks, Scott -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Friday, August 01, 2003 9:25 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] SourceSafe Jim, Unless you have finalized your decision to go with VSS, may I suggest Merant's PVCS Version Manager, see www.merant.com. We used VSS for several years and decided to switch to VM a year ago and we haven't regretted it. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Jim DeMarco [mailto:Jdemarco at hshhp.org] Sent: Friday 2003 Aug 01 08:01 To: AccessD (E-mail) Subject: [AccessD] SourceSafe We are in the process of purchasing Visual SourceSafe as we've really not been managing our code up to this point. My question is, is there a difference between the stand-alone version and the version that ships with Visual Studio (we have VS 6 licenses)? I'm under the impression that the VS version can't be run on our network but stand-alone is designed for this. Is this true? I can't get a sense of this from the M$ site. TIA, Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd666 at yahoo.com Fri Aug 1 09:02:57 2003 From: accessd666 at yahoo.com (Sad Der) Date: Fri, 1 Aug 2003 07:02:57 -0700 (PDT) Subject: [AccessD] Copy range of ID's from excel Message-ID: <20030801140257.37618.qmail@web10002.mail.yahoo.com> Hi group, A user wants to select a list of id's and wants to paste them into Access. After that the user wants to make selections on the id's. Question: Which control is the best to use for this and why? I'm thinking of using a listbox but is it possible to select it and paste the range into it. Remember the range are completely random! Question: How can I paste a range of items in an Access object? Btw i'm using Access 2000 Regards, sander __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com From scott.marcus at ae.ge.com Fri Aug 1 09:04:33 2003 From: scott.marcus at ae.ge.com (Marcus, Scott (GEAE, Contractor)) Date: Fri, 1 Aug 2003 10:04:33 -0400 Subject: [AccessD] SourceSafe Message-ID: Sorry Jim. We use the enterprise version of Visual Studio which has VSS included. Works ok as far as I know on the network although a little buggy. The bugs we have encountered can't be reproduced and happen a couple of times per year. It seems as though we loose changes to code every now and then (not sure if this is user error). Also, we have noticed that an application works fine while it is in VSS but will sometimes corrupt when making a non-VSS version. When I say corrupt I'm referring to Access giving strange runtime errors that you would think are related to dll hell. The weird thing is, they go away over time(like a day or two). Like I said, very hard to reproduce, but when it happens... Scott -----Original Message----- From: Jim DeMarco [mailto:Jdemarco at hshhp.org] Sent: Friday, August 01, 2003 9:53 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] SourceSafe Can I get us back on track to my original question? Is there a difference between VS version and stand-alone with regard to network/shared access to the code database? Don't want to spend money on what we've already got. Thanks, Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan -----Original Message----- From: Brett Barabash [mailto:BBarabash at tappeconstruction.com] Sent: Friday, August 01, 2003 9:47 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] SourceSafe Out of curiousity, has anyone tried SourceGear Vault? I've heard good things about it (including the announcement by Joel that it integrates with FogBugz). -----Original Message----- From: Susan Harkins [mailto:harkins at iglou.com] Sent: Friday, August 01, 2003 8:46 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] SourceSafe I've never seen Charles choice either -- I'd like to hear more about it. Although VSS worked really well. I've never actually used it in a production environment, just played with it so I could review it. Susan H. > Any particular reason(s) Charles? About half of staff have used it (VSS) and seemed to like it but may not have explored options. > > Thanks, > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------------------------------- ---------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the originator of the message. This footer also confirms that this email message has been scanned for the presence of computer viruses. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com **************************************************************************** ******* "This 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 CWortz at tea.state.tx.us Fri Aug 1 09:11:15 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Fri, 1 Aug 2003 09:11:15 -0500 Subject: [AccessD] SourceSafe Message-ID: Scott, I am the project team for Access development here and I tried using VSS when we first got it. After awhile of fighting it I got an exemption from the dictat that all development must be done in VSS. Now that we have VM and things are going much more smoothly with it I am facing the prospect of having to move all my Access development to VM. Version control is overkill for one man projects in my opinion, but it makes management feel better. So all the Access development will be going under VM within the next few months. So ask again in about a year when I have some experiences to compare. That is, if I am still doing Access development a year from now. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Marcus, Scott (GEAE, Contractor) [mailto:scott.marcus at ae.ge.com] Sent: Friday 2003 Aug 01 08:53 To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] SourceSafe Charles, Without reading the entire web-site you provided, are you using this for MS Access? I didn't see MS Access in my quick look. If you are using it for Access, what do like about it that is better/improved over VSS. I'm coming from the angle that I think VSS is pretty buggy after using it almost 2 years. Any downside using what you suggest over VSS? Thanks, Scott -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Friday, August 01, 2003 9:25 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] SourceSafe Jim, Unless you have finalized your decision to go with VSS, may I suggest Merant's PVCS Version Manager, see www.merant.com. We used VSS for several years and decided to switch to VM a year ago and we haven't regretted it. Charles Wortz -----Original Message----- From: Jim DeMarco [mailto:Jdemarco at hshhp.org] Sent: Friday 2003 Aug 01 08:01 To: AccessD (E-mail) Subject: [AccessD] SourceSafe We are in the process of purchasing Visual SourceSafe as we've really not been managing our code up to this point. My question is, is there a difference between the stand-alone version and the version that ships with Visual Studio (we have VS 6 licenses)? I'm under the impression that the VS version can't be run on our network but stand-alone is designed for this. Is this true? I can't get a sense of this from the M$ site. TIA, Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan From jim.hale at fleetpride.com Fri Aug 1 09:22:25 2003 From: jim.hale at fleetpride.com (Hale, Jim) Date: Fri, 1 Aug 2003 09:22:25 -0500 Subject: .HTA/.HTB/PHP v. DotNet - was RE: [AccessD]OT: C# was no-ip.c om (is now an apology) Message-ID: <869379ABF177D4118D3100508B5EF87306D7056D@corp-es00> It has been my experience that there are indeed significant risks involved when you explicitly tell certain people where they can "GO TO" (sorry but it is Friday). BTW I enjoyed your rant. Jim Hale -----Original Message----- From: Bruce Bruen [mailto:bbruen at bigpond.com] Sent: Friday, August 01, 2003 7:46 AM To: 'Access Developers discussion and problem solving' Subject: RE: .HTA/.HTB/PHP v. DotNet - was RE: [AccessD]OT: C# was no-ip.com (is now an apology) Scott and List, On re-reading the whole of the thread, it is I who should apologise. Recently, I have been reviewing technology choices for a friend who is embarking on a new product development. As it involves a base of multiple database flavours and internet deployment of the finished app he was interested in the development "issues" of various languages with view to understanding his risks if he chose one or more off the newer offerings. We looked at .net (VB, ASP and C#), php (and pear), ruby, Kylix, Delphi, Java and python. Somehow, I lost the central issue of the AccessD thread and gave vent to my frustrations with the "bells and whistles" marketing disinformation that goes with the currently avialable literature on the commercial languages. In short, I plead "toxic feature overload", m'lud. Or perhaps, as Lloyd Bridges said in Flying High, "I guess I picked the wrong week to give up sniffing glue". Regarding C#, and given that I have only given it a cursory look as I will explain, we were singularly unimpressed. According to a very technical and ex-M$ acquaintance, C# still retains the the dangerous features of C++, notably no array bound limiting, pointer arithmetic and inadequate garbage collection. These, IMHO, are total no-no's in a business application development language. This was a point I quite unadmirably did not make in that rave, so I apologise for losing my own way in that respect. Some may argue that these "features" are strenghts of C. For a mainstream business application development, I disgree. They well may have uses in extremely technical coding situations, like operating systems, DBMS engines, device drivers and even embedded devices. But not in mainstream business application development. They are, as far as I'm concerned as a development manager interested in reducing risk and lowering maintenance costs, the equivalent of the 1970's GOTO. Given those comments from the technical man, and the previous separate and joint experiences of both my client and myself in C++ development shops (both of us having experienced never-never delivery schedules and delivery of code with incredibly expensive maintenance costs), C# was the first cull. Note VB.net and ASP.net are both still in the race. As are the Borland and non-commercial languages. So, again I apologise for hijacking the thread, and also apologise for the latish apology. I have just landed another gig and took a quick day off - fishing - before starting work. This time its development of a RAD methodology - hmmm - should keep me off the rant for a few months at least, so we'll just have to wait for JC's return (second coming????) Bruce ... -----Original Message----- From: Marcus, Scott (GEAE, Contractor) [mailto:scott.marcus at ae.ge.com] Sent: Thursday 2003 Jul 31 07:48 To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD]OT: C# was no-ip.com Bruce, I reread my post and am offering an apology for sounding rude. The discussion is interesting, I just wish it had a different subject line. Scott _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From wdhindman at bellsouth.net Fri Aug 1 09:49:39 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Fri, 1 Aug 2003 10:49:39 -0400 Subject: .HTA/.HTB/PHP v. DotNet - was RE: [AccessD]OT: C# was no-ip.com (is now an apology) References: <000001c3582a$ce614de0$aa00a8c0@bbb888> Message-ID: <001501c3583c$22cba7c0$6101a8c0@amd2k512> ...negatory Bruce ...imnsho, rants are one of the primary flavors that make AccessD so compelling ...besides which, ime, most rants here, yours included, are loaded with valuable/interesting information that I probably would never have found on my own. :) ...so while I may joke about you taking over JC's rant job, the fact is that I read most of them, enjoy most, and have learned a considerable amount from them ...yours specifically included. :) ...so don't apologize for doing us all what was imnsho, a big favor ...giving us some insight into the latest, greatest technology coming down the pipe at us. :) ...just my two bits ...others may of course differ ...I'll somehow manage to ignore them :) William Hindman "You know the world is going crazy when the best rapper is a white guy, the best golfer is a black guy, The Swiss hold the America's Cup, France is accusing the US of arrogance, and Germany doesn't want to go to war." ----- Original Message ----- From: "Bruce Bruen" To: "'Access Developers discussion and problem solving'" Sent: Friday, August 01, 2003 8:45 AM Subject: RE: .HTA/.HTB/PHP v. DotNet - was RE: [AccessD]OT: C# was no-ip.com (is now an apology) > Scott and List, > > On re-reading the whole of the thread, it is I who should apologise. > > Recently, I have been reviewing technology choices for a friend who is > embarking on a new product development. As it involves a base of > multiple database flavours and internet deployment of the finished app > he was interested in the development "issues" of various languages with > view to understanding his risks if he chose one or more off the newer > offerings. We looked at .net (VB, ASP and C#), php (and pear), ruby, > Kylix, Delphi, Java and python. > > Somehow, I lost the central issue of the AccessD thread and gave vent to > my frustrations with the "bells and whistles" marketing disinformation > that goes with the currently avialable literature on the commercial > languages. In short, I plead "toxic feature overload", m'lud. Or > perhaps, as Lloyd Bridges said in Flying High, "I guess I picked the > wrong week to give up sniffing glue". > > Regarding C#, and given that I have only given it a cursory look as I > will explain, we were singularly unimpressed. > > According to a very technical and ex-M$ acquaintance, C# still retains > the the dangerous features of C++, notably no array bound limiting, > pointer arithmetic and inadequate garbage collection. These, IMHO, are > total no-no's in a business application development language. This was > a point I quite unadmirably did not make in that rave, so I apologise > for losing my own way in that respect. Some may argue that these > "features" are strenghts of C. For a mainstream business application > development, I disgree. They well may have uses in extremely technical > coding situations, like operating systems, DBMS engines, device drivers > and even embedded devices. But not in mainstream business application > development. They are, as far as I'm concerned as a development manager > interested in reducing risk and lowering maintenance costs, the > equivalent of the 1970's GOTO. > > Given those comments from the technical man, and the previous separate > and joint experiences of both my client and myself in C++ development > shops (both of us having experienced never-never delivery schedules and > delivery of code with incredibly expensive maintenance costs), C# was > the first cull. > > Note VB.net and ASP.net are both still in the race. As are the Borland > and non-commercial languages. > > So, again I apologise for hijacking the thread, and also apologise for > the latish apology. I have just landed another gig and took a quick day > off - fishing - before starting work. This time its development of a > RAD methodology - hmmm - should keep me off the rant for a few months at > least, so we'll just have to wait for JC's return (second coming????) > > Bruce > ... > > -----Original Message----- > From: Marcus, Scott (GEAE, Contractor) [mailto:scott.marcus at ae.ge.com] > Sent: Thursday 2003 Jul 31 07:48 > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD]OT: C# was no-ip.com > > Bruce, > > I reread my post and am offering an apology for sounding rude. The > discussion is interesting, I just wish it had a different subject line. > > Scott > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From scott.marcus at ae.ge.com Fri Aug 1 10:00:52 2003 From: scott.marcus at ae.ge.com (Marcus, Scott (GEAE, Contractor)) Date: Fri, 1 Aug 2003 11:00:52 -0400 Subject: [AccessD] Apology Message-ID: Since Bruce specifically mentioned me, I must say that I was in no way upset at the supposed hijacking of a thread (sounds too much like terrorism). I'm trying to better my posts by labeling them in the subject (at others request, not to me specifically) more accurately. We all should. Bruce, No apology needed. Continue ranting... Scott -----Original Message----- From: William Hindman [mailto:wdhindman at bellsouth.net] Sent: Friday, August 01, 2003 10:50 AM To: Access Developers discussion and problem solving Subject: Re: .HTA/.HTB/PHP v. DotNet - was RE: [AccessD]OT: C# was no-ip.com (is now an apology) ...negatory Bruce ...imnsho, rants are one of the primary flavors that make AccessD so compelling ...besides which, ime, most rants here, yours included, are loaded with valuable/interesting information that I probably would never have found on my own. :) ...so while I may joke about you taking over JC's rant job, the fact is that I read most of them, enjoy most, and have learned a considerable amount from them ...yours specifically included. :) ...so don't apologize for doing us all what was imnsho, a big favor ...giving us some insight into the latest, greatest technology coming down the pipe at us. :) ...just my two bits ...others may of course differ ...I'll somehow manage to ignore them :) William Hindman "You know the world is going crazy when the best rapper is a white guy, the best golfer is a black guy, The Swiss hold the America's Cup, France is accusing the US of arrogance, and Germany doesn't want to go to war." ----- Original Message ----- From: "Bruce Bruen" To: "'Access Developers discussion and problem solving'" Sent: Friday, August 01, 2003 8:45 AM Subject: RE: .HTA/.HTB/PHP v. DotNet - was RE: [AccessD]OT: C# was no-ip.com (is now an apology) > Scott and List, > > On re-reading the whole of the thread, it is I who should apologise. > > Recently, I have been reviewing technology choices for a friend who is > embarking on a new product development. As it involves a base of > multiple database flavours and internet deployment of the finished app > he was interested in the development "issues" of various languages with > view to understanding his risks if he chose one or more off the newer > offerings. We looked at .net (VB, ASP and C#), php (and pear), ruby, > Kylix, Delphi, Java and python. > > Somehow, I lost the central issue of the AccessD thread and gave vent to > my frustrations with the "bells and whistles" marketing disinformation > that goes with the currently avialable literature on the commercial > languages. In short, I plead "toxic feature overload", m'lud. Or > perhaps, as Lloyd Bridges said in Flying High, "I guess I picked the > wrong week to give up sniffing glue". > > Regarding C#, and given that I have only given it a cursory look as I > will explain, we were singularly unimpressed. > > According to a very technical and ex-M$ acquaintance, C# still retains > the the dangerous features of C++, notably no array bound limiting, > pointer arithmetic and inadequate garbage collection. These, IMHO, are > total no-no's in a business application development language. This was > a point I quite unadmirably did not make in that rave, so I apologise > for losing my own way in that respect. Some may argue that these > "features" are strenghts of C. For a mainstream business application > development, I disgree. They well may have uses in extremely technical > coding situations, like operating systems, DBMS engines, device drivers > and even embedded devices. But not in mainstream business application > development. They are, as far as I'm concerned as a development manager > interested in reducing risk and lowering maintenance costs, the > equivalent of the 1970's GOTO. > > Given those comments from the technical man, and the previous separate > and joint experiences of both my client and myself in C++ development > shops (both of us having experienced never-never delivery schedules and > delivery of code with incredibly expensive maintenance costs), C# was > the first cull. > > Note VB.net and ASP.net are both still in the race. As are the Borland > and non-commercial languages. > > So, again I apologise for hijacking the thread, and also apologise for > the latish apology. I have just landed another gig and took a quick day > off - fishing - before starting work. This time its development of a > RAD methodology - hmmm - should keep me off the rant for a few months at > least, so we'll just have to wait for JC's return (second coming????) > > Bruce > ... > > -----Original Message----- > From: Marcus, Scott (GEAE, Contractor) [mailto:scott.marcus at ae.ge.com] > Sent: Thursday 2003 Jul 31 07:48 > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD]OT: C# was no-ip.com > > Bruce, > > I reread my post and am offering an apology for sounding rude. The > discussion is interesting, I just wish it had a different subject line. > > Scott > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From CWortz at tea.state.tx.us Fri Aug 1 10:09:25 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Fri, 1 Aug 2003 10:09:25 -0500 Subject: Continue Ranting - was RE: [AccessD] Apology Message-ID: Rant on, at least as long as it has something to do with Access or database development. We all are free to read or ignore as we wish. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Marcus, Scott (GEAE, Contractor) [mailto:scott.marcus at ae.ge.com] Sent: Friday 2003 Aug 01 10:01 To: 'Access Developers discussion and problem solving' Subject: [AccessD] Apology Since Bruce specifically mentioned me, I must say that I was in no way upset at the supposed hijacking of a thread (sounds too much like terrorism). I'm trying to better my posts by labeling them in the subject (at others request, not to me specifically) more accurately. We all should. Bruce, No apology needed. Continue ranting... Scott From Bryan_Carbonnell at cbc.ca Fri Aug 1 10:10:36 2003 From: Bryan_Carbonnell at cbc.ca (Bryan Carbonnell) Date: Fri, 01 Aug 2003 11:10:36 -0400 Subject: [AccessD] Access/Word Interaction Message-ID: I don't know of a way to do that, but you could do something like: 'This keeps Access active or activates Access msgbox "Completed. Click OK to switch to Word" 'This Activates word objWord.Activate Bryan Carbonnell bryan_carbonnell@@cbc.ca >>> michael.broesdorf at web.de 01-Aug-03 9:32:37 AM >>> BerichtDear group, I have an Access application that creates a MS Word document and inserts some text into it and makes it visible (so that users can start working with it right away). When that process is finished I want to inform the user with a MsgBox. The problem is, that this activates MS Access (my application), but I want the Word-Dokument to stay active. Is there something like WordObj.application.Msgbox? TIA, Michael From cfoust at infostatsystems.com Fri Aug 1 10:14:13 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 1 Aug 2003 08:14:13 -0700 Subject: [AccessD] SourceSafe Message-ID: We license VSS in our company and use the developer install of VSS that comes with MOD 2002 on our workstations to open the VSS databases and create projects locally from VSS. Charlotte Foust -----Original Message----- From: Jim DeMarco [mailto:Jdemarco at hshhp.org] Sent: Friday, August 01, 2003 5:01 AM To: AccessD (E-mail) Subject: [AccessD] SourceSafe We are in the process of purchasing Visual SourceSafe as we've really not been managing our code up to this point. My question is, is there a difference between the stand-alone version and the version that ships with Visual Studio (we have VS 6 licenses)? I'm under the impression that the VS version can't be run on our network but stand-alone is designed for this. Is this true? I can't get a sense of this from the M$ site. TIA, Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan ************************************************************************ *********** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". ************************************************************************ *********** _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Bryan_Carbonnell at cbc.ca Fri Aug 1 10:16:02 2003 From: Bryan_Carbonnell at cbc.ca (Bryan Carbonnell) Date: Fri, 01 Aug 2003 11:16:02 -0400 Subject: [AccessD] HTML Email from Access Message-ID: Andy, I though I had posted this, but I guess I haven't, 'cause I can't see it on the list. I have a demo that reads an html "template" and inserts data from a query into it and then writes it back to the HD. It may give you some ideas. I can't help with the Outlook specifics though. THis just writes HTML files. Let me know if you want it and I'll send it off to you. Bryan Carbonnell bryan_carbonnell at cbc.ca From jim.hale at fleetpride.com Fri Aug 1 10:26:21 2003 From: jim.hale at fleetpride.com (Hale, Jim) Date: Fri, 1 Aug 2003 10:26:21 -0500 Subject: [AccessD] Copy range of ID's from excel Message-ID: <869379ABF177D4118D3100508B5EF87306D70593@corp-es00> a quick and dirty way: A. Have an excel spreadsheet set up as a flat file,ie fld1_ID_Key fld2_Descr fld3_Include Id1 whatever1 N Id2 son of whatever Y Id3 why not N The field headings should start in cell a1 on the "database" sheet. Use fld3_include to indicate if the record has been selected. You can let the user fill this column directly which is the fastest but least secure way (do not have blank cells. This could confuse Access) Or you can hide the "database" sheet and let the user select via list box the choices and you update the include field via code. B. link the sheet into an Access database where it will appear as a table . You can then write a query with a criteria of "Y" for the fld3_include field to select the data and append or update ("paste into")whatever master table you wish. Alternatively, instead of linking to the excel spreadsheet you can import the sheet with the data directly into Access as a table and then manipulate it however you desire. HTH Jim Hale -----Original Message----- From: Sad Der [mailto:accessd666 at yahoo.com] Sent: Friday, August 01, 2003 9:03 AM To: Acces User Group Subject: [AccessD] Copy range of ID's from excel Hi group, A user wants to select a list of id's and wants to paste them into Access. After that the user wants to make selections on the id's. Question: Which control is the best to use for this and why? I'm thinking of using a listbox but is it possible to select it and paste the range into it. Remember the range are completely random! Question: How can I paste a range of items in an Access object? Btw i'm using Access 2000 Regards, sander __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From Jdemarco at hshhp.org Fri Aug 1 10:46:54 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Fri, 1 Aug 2003 11:46:54 -0400 Subject: [AccessD] SourceSafe Message-ID: <22F1CCD5171D17419CB37FEEE09D5F990173F2FE@TTNEXCHSRV1.hshhp.com> I think we use Enterprise VS too. So how did you install on the network? Or is it just a matter of creating a db on a shared drive/folder? I think my question really is "Is there any reason or advantage to buying the product and using the client copies we already license?". Thanks, Jim DeMarco -----Original Message----- From: Marcus, Scott (GEAE, Contractor) [mailto:scott.marcus at ae.ge.com] Sent: Friday, August 01, 2003 10:05 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] SourceSafe Sorry Jim. We use the enterprise version of Visual Studio which has VSS included. Works ok as far as I know on the network although a little buggy. The bugs we have encountered can't be reproduced and happen a couple of times per year. It seems as though we loose changes to code every now and then (not sure if this is user error). Also, we have noticed that an application works fine while it is in VSS but will sometimes corrupt when making a non-VSS version. When I say corrupt I'm referring to Access giving strange runtime errors that you would think are related to dll hell. The weird thing is, they go away over time(like a day or two). Like I said, very hard to reproduce, but when it happens... Scott -----Original Message----- From: Jim DeMarco [mailto:Jdemarco at hshhp.org] Sent: Friday, August 01, 2003 9:53 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] SourceSafe Can I get us back on track to my original question? Is there a difference between VS version and stand-alone with regard to network/shared access to the code database? Don't want to spend money on what we've already got. Thanks, Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan -----Original Message----- From: Brett Barabash [mailto:BBarabash at tappeconstruction.com] Sent: Friday, August 01, 2003 9:47 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] SourceSafe Out of curiousity, has anyone tried SourceGear Vault? I've heard good things about it (including the announcement by Joel that it integrates with FogBugz). -----Original Message----- From: Susan Harkins [mailto:harkins at iglou.com] Sent: Friday, August 01, 2003 8:46 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] SourceSafe I've never seen Charles choice either -- I'd like to hear more about it. Although VSS worked really well. I've never actually used it in a production environment, just played with it so I could review it. Susan H. > Any particular reason(s) Charles? About half of staff have used it (VSS) and seemed to like it but may not have explored options. > > Thanks, > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------------------------------- ---------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the originator of the message. This footer also confirms that this email message has been scanned for the presence of computer viruses. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com **************************************************************************** ******* "This 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 Jdemarco at hshhp.org Fri Aug 1 10:48:18 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Fri, 1 Aug 2003 11:48:18 -0400 Subject: [AccessD] SourceSafe Message-ID: <22F1CCD5171D17419CB37FEEE09D5F990173F2FF@TTNEXCHSRV1.hshhp.com> Charlotte, It sounds like you've implemented the solution we're considering since we do have client licenses already via Visual Studio. I was just wondering if the product purchase was even necessary given that we do have this copies? Thanks, Jim DeMarco -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Friday, August 01, 2003 11:14 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] SourceSafe We license VSS in our company and use the developer install of VSS that comes with MOD 2002 on our workstations to open the VSS databases and create projects locally from VSS. Charlotte Foust -----Original Message----- From: Jim DeMarco [mailto:Jdemarco at hshhp.org] Sent: Friday, August 01, 2003 5:01 AM To: AccessD (E-mail) Subject: [AccessD] SourceSafe We are in the process of purchasing Visual SourceSafe as we've really not been managing our code up to this point. My question is, is there a difference between the stand-alone version and the version that ships with Visual Studio (we have VS 6 licenses)? I'm under the impression that the VS version can't be run on our network but stand-alone is designed for this. Is this true? I can't get a sense of this from the M$ site. TIA, Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan ************************************************************************ *********** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". ************************************************************************ *********** _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ 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 wdhindman at bellsouth.net Fri Aug 1 10:51:41 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Fri, 1 Aug 2003 11:51:41 -0400 Subject: [AccessD] Access/Word Interaction References: Message-ID: <001d01c35844$cd2d8a00$6101a8c0@amd2k512> BerichtMichael ...not done this but I'd think that from within your Access VBA where you create the word object you could use "with events" code something like: With oTmpDoc .Activate .MsgBox "Process Finished" ' insert your response code here End With ...as I said, this is off the top of my head and worth exactly what it cost you :) William Hindman "You know the world is going crazy when the best rapper is a white guy, the best golfer is a black guy, The Swiss hold the America's Cup, France is accusing the US of arrogance, and Germany doesn't want to go to war." ----- Original Message ----- From: Michael Br?sdorf To: Access Developers discussion and problem solving Sent: Friday, August 01, 2003 9:32 AM Subject: [AccessD] Access/Word Interaction Dear group, I have an Access application that creates a MS Word document and inserts some text into it and makes it visible (so that users can start working with it right away). When that process is finished I want to inform the user with a MsgBox. The problem is, that this activates MS Access (my application), but I want the Word-Dokument to stay active. Is there something like WordObj.application.Msgbox? TIA, Michael ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From cfoust at infostatsystems.com Fri Aug 1 10:57:00 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 1 Aug 2003 08:57:00 -0700 Subject: [AccessD] SourceSafe Message-ID: You need the license to run on the server, otherwise you just have individual standalone licenses. Charlotte Foust -----Original Message----- From: Jim DeMarco [mailto:Jdemarco at hshhp.org] Sent: Friday, August 01, 2003 7:48 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] SourceSafe Charlotte, It sounds like you've implemented the solution we're considering since we do have client licenses already via Visual Studio. I was just wondering if the product purchase was even necessary given that we do have this copies? Thanks, Jim DeMarco -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Friday, August 01, 2003 11:14 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] SourceSafe We license VSS in our company and use the developer install of VSS that comes with MOD 2002 on our workstations to open the VSS databases and create projects locally from VSS. Charlotte Foust -----Original Message----- From: Jim DeMarco [mailto:Jdemarco at hshhp.org] Sent: Friday, August 01, 2003 5:01 AM To: AccessD (E-mail) Subject: [AccessD] SourceSafe We are in the process of purchasing Visual SourceSafe as we've really not been managing our code up to this point. My question is, is there a difference between the stand-alone version and the version that ships with Visual Studio (we have VS 6 licenses)? I'm under the impression that the VS version can't be run on our network but stand-alone is designed for this. Is this true? I can't get a sense of this from the M$ site. TIA, Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan ************************************************************************ *********** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". ************************************************************************ *********** _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ 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 Jdemarco at hshhp.org Fri Aug 1 11:00:18 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Fri, 1 Aug 2003 12:00:18 -0400 Subject: [AccessD] SourceSafe Message-ID: <22F1CCD5171D17419CB37FEEE09D5F990173F303@TTNEXCHSRV1.hshhp.com> OK. I kind of thought so but I could not find that mentioned on the products web. Thanks. -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Friday, August 01, 2003 11:57 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] SourceSafe You need the license to run on the server, otherwise you just have individual standalone licenses. Charlotte Foust -----Original Message----- From: Jim DeMarco [mailto:Jdemarco at hshhp.org] Sent: Friday, August 01, 2003 7:48 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] SourceSafe Charlotte, It sounds like you've implemented the solution we're considering since we do have client licenses already via Visual Studio. I was just wondering if the product purchase was even necessary given that we do have this copies? Thanks, Jim DeMarco -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Friday, August 01, 2003 11:14 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] SourceSafe We license VSS in our company and use the developer install of VSS that comes with MOD 2002 on our workstations to open the VSS databases and create projects locally from VSS. Charlotte Foust -----Original Message----- From: Jim DeMarco [mailto:Jdemarco at hshhp.org] Sent: Friday, August 01, 2003 5:01 AM To: AccessD (E-mail) Subject: [AccessD] SourceSafe We are in the process of purchasing Visual SourceSafe as we've really not been managing our code up to this point. My question is, is there a difference between the stand-alone version and the version that ships with Visual Studio (we have VS 6 licenses)? I'm under the impression that the VS version can't be run on our network but stand-alone is designed for this. Is this true? I can't get a sense of this from the M$ site. TIA, Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan ************************************************************************ *********** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". ************************************************************************ *********** _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ 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 mwhittinghill at symphonyinfo.com Fri Aug 1 11:59:48 2003 From: mwhittinghill at symphonyinfo.com (Mark Whittinghill) Date: Fri, 1 Aug 2003 11:59:48 -0500 Subject: [AccessD] Age calculation function References: <003301c3579d$3a92ff60$0400000a@PASCAL> <11520138377.20030801143822@cactus.dk> Message-ID: <00ee01c3584e$517b6300$0400000a@PASCAL> Gustav, Are you saying 14 and 31 are correct or incorrect? I would think they are correct. If so, using DateDiff with "m" and dividing by 12 will work. I think you're saying those values are correct, but if not, I'm confused. Mark Whittinghill Symphony Information Services 612-333-1311 mwhittinghill at symphonyinfo.com ----- Original Message ----- From: "Gustav Brock" To: "Access Developers discussion and problem solving" Sent: Friday, August 01, 2003 7:38 AM Subject: Re: [AccessD] Age calculation function > Hi Mark > > You may wish to look up "Age Calc" in the archives around Okt. 2002. > > Many of the "smart" suggestions will fail for date intervals like: > > #03/01/1988#, #03/01/2002# > is 14 > > #03/01/1968#, #02/28/2000# > is 31 > From gustav at cactus.dk Fri Aug 1 12:49:12 2003 From: gustav at cactus.dk (Gustav Brock) Date: Fri, 1 Aug 2003 19:49:12 +0200 Subject: [AccessD] Age calculation function In-Reply-To: <00ee01c3584e$517b6300$0400000a@PASCAL> References: <003301c3579d$3a92ff60$0400000a@PASCAL> <00ee01c3584e$517b6300$0400000a@PASCAL> Message-ID: <6038787944.20030801194912@cactus.dk> Hi Mark > Are you saying 14 and 31 are correct or incorrect? I would think they are > correct. If so, using DateDiff with "m" and dividing by 12 will work. I > think you're saying those values are correct, but if not, I'm confused. No no, I say those values are correct. But I don't quite understand the month-thing ... it will fail in about 50% of any calculation as it doesn't take the day into account: #02/29/1988#, #02/18/2002# should return 13, not 14. I've heard of a couple celebrating their 25 year wedding day 24 years after their wedding because the wife couldn't count to 25. That is just fun - they can celebrate it once again at the real date - but for business applications dealing with pensions, salaries, holidays etc. getting the wrong age or employment period is mandatory and you have to use reliable calculation methods. /gustav >> You may wish to look up "Age Calc" in the archives around Okt. 2002. >> >> Many of the "smart" suggestions will fail for date intervals like: >> >> #03/01/1988#, #03/01/2002# >> is 14 >> >> #03/01/1968#, #02/28/2000# >> is 31 From mwhittinghill at symphonyinfo.com Fri Aug 1 12:57:38 2003 From: mwhittinghill at symphonyinfo.com (Mark Whittinghill) Date: Fri, 1 Aug 2003 12:57:38 -0500 Subject: [AccessD] Age calculation function References: <003301c3579d$3a92ff60$0400000a@PASCAL><00ee01c3584e$517b6300$0400000a@PASCAL> <6038787944.20030801194912@cactus.dk> Message-ID: <000801c35856$654d91c0$0400000a@PASCAL> AARRGGHH!!! I see the error. Back to the drawing board. Mark Whittinghill Symphony Information Services 612-333-1311 mwhittinghill at symphonyinfo.com ----- Original Message ----- From: "Gustav Brock" To: "Access Developers discussion and problem solving" Sent: Friday, August 01, 2003 12:49 PM Subject: Re: [AccessD] Age calculation function > Hi Mark > > > Are you saying 14 and 31 are correct or incorrect? I would think they are > > correct. If so, using DateDiff with "m" and dividing by 12 will work. I > > think you're saying those values are correct, but if not, I'm confused. > > No no, I say those values are correct. > But I don't quite understand the month-thing ... it will fail in about > 50% of any calculation as it doesn't take the day into account: > > #02/29/1988#, #02/18/2002# > should return 13, not 14. > > I've heard of a couple celebrating their 25 year wedding day 24 years > after their wedding because the wife couldn't count to 25. That is > just fun - they can celebrate it once again at the real date - but for > business applications dealing with pensions, salaries, holidays etc. > getting the wrong age or employment period is mandatory and you have > to use reliable calculation methods. > > /gustav > > > >> You may wish to look up "Age Calc" in the archives around Okt. 2002. > >> > >> Many of the "smart" suggestions will fail for date intervals like: > >> > >> #03/01/1988#, #03/01/2002# > >> is 14 > >> > >> #03/01/1968#, #02/28/2000# > >> is 31 > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From accessd at shaw.ca Fri Aug 1 13:14:16 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Fri, 01 Aug 2003 11:14:16 -0700 Subject: .HTA/.HTB/PHP v. DotNet - was RE: [AccessD]OT: C# was no-ip.com (is now an apology) In-Reply-To: <000001c3582a$ce614de0$aa00a8c0@bbb888> Message-ID: Hi Brue: I found your 'rant' very entertaining. I do have one question and this does not come from personel experience. When I was working in a 'Miscrosoft Partner' shop, a tech/salesman came up from MS, to give a talk on the implementation of Net Framework and the use of C#. The one point he did make over and over again, was the excellent garbage collection system, built into their new Net products. So good, that SUN bought the technology for their latest release of Java.... My two cents worth. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Bruce Bruen Sent: Friday, August 01, 2003 5:46 AM To: 'Access Developers discussion and problem solving' Subject: RE: .HTA/.HTB/PHP v. DotNet - was RE: [AccessD]OT: C# was no-ip.com (is now an apology) Scott and List, On re-reading the whole of the thread, it is I who should apologise. Recently, I have been reviewing technology choices for a friend who is embarking on a new product development. As it involves a base of multiple database flavours and internet deployment of the finished app he was interested in the development "issues" of various languages with view to understanding his risks if he chose one or more off the newer offerings. We looked at .net (VB, ASP and C#), php (and pear), ruby, Kylix, Delphi, Java and python. Somehow, I lost the central issue of the AccessD thread and gave vent to my frustrations with the "bells and whistles" marketing disinformation that goes with the currently avialable literature on the commercial languages. In short, I plead "toxic feature overload", m'lud. Or perhaps, as Lloyd Bridges said in Flying High, "I guess I picked the wrong week to give up sniffing glue". Regarding C#, and given that I have only given it a cursory look as I will explain, we were singularly unimpressed. According to a very technical and ex-M$ acquaintance, C# still retains the the dangerous features of C++, notably no array bound limiting, pointer arithmetic and inadequate garbage collection. These, IMHO, are total no-no's in a business application development language. This was a point I quite unadmirably did not make in that rave, so I apologise for losing my own way in that respect. Some may argue that these "features" are strenghts of C. For a mainstream business application development, I disgree. They well may have uses in extremely technical coding situations, like operating systems, DBMS engines, device drivers and even embedded devices. But not in mainstream business application development. They are, as far as I'm concerned as a development manager interested in reducing risk and lowering maintenance costs, the equivalent of the 1970's GOTO. Given those comments from the technical man, and the previous separate and joint experiences of both my client and myself in C++ development shops (both of us having experienced never-never delivery schedules and delivery of code with incredibly expensive maintenance costs), C# was the first cull. Note VB.net and ASP.net are both still in the race. As are the Borland and non-commercial languages. So, again I apologise for hijacking the thread, and also apologise for the latish apology. I have just landed another gig and took a quick day off - fishing - before starting work. This time its development of a RAD methodology - hmmm - should keep me off the rant for a few months at least, so we'll just have to wait for JC's return (second coming????) Bruce ... -----Original Message----- From: Marcus, Scott (GEAE, Contractor) [mailto:scott.marcus at ae.ge.com] Sent: Thursday 2003 Jul 31 07:48 To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD]OT: C# was no-ip.com Bruce, I reread my post and am offering an apology for sounding rude. The discussion is interesting, I just wish it had a different subject line. Scott _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bheid at appdevgrp.com Fri Aug 1 13:37:16 2003 From: bheid at appdevgrp.com (Bobby Heid) Date: Fri, 1 Aug 2003 14:37:16 -0400 Subject: [AccessD] Age calculation function Message-ID: <916187228923D311A6FE00A0CC3FAA30527B49@ADGSERVER> Why not convert both to Julian dates and then divide by 365.25? This will give you years as a decimal number. In your example: (jd("02/18/2002") - jd("02/29/1988")) / 365.2 =(2452323.5 - 2447220.5)/365.25 =5103 /365.25 =13.9712525667351 years If anyone is interested in the code to do this, let me know and I'll post it. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock Sent: Friday, August 01, 2003 1:49 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Age calculation function Hi Mark > Are you saying 14 and 31 are correct or incorrect? I would think they are > correct. If so, using DateDiff with "m" and dividing by 12 will work. I > think you're saying those values are correct, but if not, I'm confused. No no, I say those values are correct. But I don't quite understand the month-thing ... it will fail in about 50% of any calculation as it doesn't take the day into account: #02/29/1988#, #02/18/2002# should return 13, not 14. I've heard of a couple celebrating their 25 year wedding day 24 years after their wedding because the wife couldn't count to 25. That is just fun - they can celebrate it once again at the real date - but for business applications dealing with pensions, salaries, holidays etc. getting the wrong age or employment period is mandatory and you have to use reliable calculation methods. /gustav >> You may wish to look up "Age Calc" in the archives around Okt. 2002. >> >> Many of the "smart" suggestions will fail for date intervals like: >> >> #03/01/1988#, #03/01/2002# >> is 14 >> >> #03/01/1968#, #02/28/2000# >> is 31 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mwhittinghill at symphonyinfo.com Fri Aug 1 13:40:13 2003 From: mwhittinghill at symphonyinfo.com (Mark Whittinghill) Date: Fri, 1 Aug 2003 13:40:13 -0500 Subject: [AccessD] Age calculation function References: <916187228923D311A6FE00A0CC3FAA30527B49@ADGSERVER> Message-ID: <002701c3585c$581d5a20$0400000a@PASCAL> Sure, I'd like to see it. Mark Whittinghill Symphony Information Services 612-333-1311 mwhittinghill at symphonyinfo.com ----- Original Message ----- From: "Bobby Heid" To: "'Access Developers discussion and problem solving'" Sent: Friday, August 01, 2003 1:37 PM Subject: RE: [AccessD] Age calculation function > Why not convert both to Julian dates and then divide by 365.25? This will > give you years as a decimal number. > > In your example: > > (jd("02/18/2002") - jd("02/29/1988")) / 365.2 > =(2452323.5 - 2447220.5)/365.25 > =5103 /365.25 > =13.9712525667351 years > > If anyone is interested in the code to do this, let me know and I'll post > it. > > > Bobby > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock > Sent: Friday, August 01, 2003 1:49 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Age calculation function > > > Hi Mark > > > Are you saying 14 and 31 are correct or incorrect? I would think they > are > > correct. If so, using DateDiff with "m" and dividing by 12 will work. I > > think you're saying those values are correct, but if not, I'm confused. > > No no, I say those values are correct. > But I don't quite understand the month-thing ... it will fail in about > 50% of any calculation as it doesn't take the day into account: > > #02/29/1988#, #02/18/2002# > should return 13, not 14. > > I've heard of a couple celebrating their 25 year wedding day 24 years > after their wedding because the wife couldn't count to 25. That is > just fun - they can celebrate it once again at the real date - but for > business applications dealing with pensions, salaries, holidays etc. > getting the wrong age or employment period is mandatory and you have > to use reliable calculation methods. > > /gustav > > > >> You may wish to look up "Age Calc" in the archives around Okt. 2002. > >> > >> Many of the "smart" suggestions will fail for date intervals like: > >> > >> #03/01/1988#, #03/01/2002# > >> is 14 > >> > >> #03/01/1968#, #02/28/2000# > >> is 31 > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From bheid at appdevgrp.com Fri Aug 1 13:50:43 2003 From: bheid at appdevgrp.com (Bobby Heid) Date: Fri, 1 Aug 2003 14:50:43 -0400 Subject: [AccessD] Age calculation function Message-ID: <916187228923D311A6FE00A0CC3FAA30527B4F@ADGSERVER> Here you go! Public Function Greg2JD(ByVal strDate As String) As Double Dim A As Long Dim B As Long Dim MM As Long Dim YY As Long Dim DD As Single MM = Month(strDate) YY = Year(strDate) DD = Day(strDate) 'note, you could pass the time of day in as a fraction of a day. 'if you do so, simply add the fraction of the day to DD 'As is, this code assumes 0 hour, i.e. if it is the 4th, 'then it assumed to be the 4th at 12:00:00 AM 'DD = DD + sDayFrac 'sDayFrac is the variable holding fraction of day If MM < 3 Then YY = YY - 1 MM = MM + 12 End If A = YY \ 100 'integer math B = 2 - A + A \ 4 'integer math Greg2JD = Int(365.25 * (YY + 4716)) + Int(30.6001 * (MM + 1)) + DD + B - 1524.5 End Function To work out our example, I called it with: Debug.Print (jd("02/18/2002") - jd("02/29/1988")) / 365.25 Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mark Whittinghill Sent: Friday, August 01, 2003 2:40 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Age calculation function Sure, I'd like to see it. Mark Whittinghill Symphony Information Services 612-333-1311 mwhittinghill at symphonyinfo.com ----- Original Message ----- From: "Bobby Heid" To: "'Access Developers discussion and problem solving'" Sent: Friday, August 01, 2003 1:37 PM Subject: RE: [AccessD] Age calculation function > Why not convert both to Julian dates and then divide by 365.25? This will > give you years as a decimal number. > > In your example: > > (jd("02/18/2002") - jd("02/29/1988")) / 365.2 > =(2452323.5 - 2447220.5)/365.25 > =5103 /365.25 > =13.9712525667351 years > > If anyone is interested in the code to do this, let me know and I'll post > it. > > > Bobby > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock > Sent: Friday, August 01, 2003 1:49 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Age calculation function > > > Hi Mark > > > Are you saying 14 and 31 are correct or incorrect? I would think they > are > > correct. If so, using DateDiff with "m" and dividing by 12 will work. I > > think you're saying those values are correct, but if not, I'm confused. > > No no, I say those values are correct. > But I don't quite understand the month-thing ... it will fail in about > 50% of any calculation as it doesn't take the day into account: > > #02/29/1988#, #02/18/2002# > should return 13, not 14. > > I've heard of a couple celebrating their 25 year wedding day 24 years > after their wedding because the wife couldn't count to 25. That is > just fun - they can celebrate it once again at the real date - but for > business applications dealing with pensions, salaries, holidays etc. > getting the wrong age or employment period is mandatory and you have > to use reliable calculation methods. > > /gustav > > > >> You may wish to look up "Age Calc" in the archives around Okt. 2002. > >> > >> Many of the "smart" suggestions will fail for date intervals like: > >> > >> #03/01/1988#, #03/01/2002# > >> is 14 > >> > >> #03/01/1968#, #02/28/2000# > >> is 31 > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bheid at appdevgrp.com Fri Aug 1 13:52:46 2003 From: bheid at appdevgrp.com (Bobby Heid) Date: Fri, 1 Aug 2003 14:52:46 -0400 Subject: [AccessD] Age calculation function Message-ID: <916187228923D311A6FE00A0CC3FAA30527B50@ADGSERVER> I forgot to mention that I got the algorithm out of "Astronomical Algorithms" by Jean Meeus. I checked the accuracy of the code by examples from the text. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mark Whittinghill Sent: Friday, August 01, 2003 2:40 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Age calculation function Sure, I'd like to see it. Mark Whittinghill Symphony Information Services 612-333-1311 mwhittinghill at symphonyinfo.com ----- Original Message ----- From: "Bobby Heid" To: "'Access Developers discussion and problem solving'" Sent: Friday, August 01, 2003 1:37 PM Subject: RE: [AccessD] Age calculation function > Why not convert both to Julian dates and then divide by 365.25? This will > give you years as a decimal number. > > In your example: > > (jd("02/18/2002") - jd("02/29/1988")) / 365.2 > =(2452323.5 - 2447220.5)/365.25 > =5103 /365.25 > =13.9712525667351 years > > If anyone is interested in the code to do this, let me know and I'll post > it. > > > Bobby > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock > Sent: Friday, August 01, 2003 1:49 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Age calculation function > > > Hi Mark > > > Are you saying 14 and 31 are correct or incorrect? I would think they > are > > correct. If so, using DateDiff with "m" and dividing by 12 will work. I > > think you're saying those values are correct, but if not, I'm confused. > > No no, I say those values are correct. > But I don't quite understand the month-thing ... it will fail in about > 50% of any calculation as it doesn't take the day into account: > > #02/29/1988#, #02/18/2002# > should return 13, not 14. > > I've heard of a couple celebrating their 25 year wedding day 24 years > after their wedding because the wife couldn't count to 25. That is > just fun - they can celebrate it once again at the real date - but for > business applications dealing with pensions, salaries, holidays etc. > getting the wrong age or employment period is mandatory and you have > to use reliable calculation methods. > > /gustav > > > >> You may wish to look up "Age Calc" in the archives around Okt. 2002. > >> > >> Many of the "smart" suggestions will fail for date intervals like: > >> > >> #03/01/1988#, #03/01/2002# > >> is 14 > >> > >> #03/01/1968#, #02/28/2000# > >> is 31 > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mwhittinghill at symphonyinfo.com Fri Aug 1 13:54:07 2003 From: mwhittinghill at symphonyinfo.com (Mark Whittinghill) Date: Fri, 1 Aug 2003 13:54:07 -0500 Subject: [AccessD] Age calculation function References: <916187228923D311A6FE00A0CC3FAA30527B4F@ADGSERVER> Message-ID: <002201c3585e$4cbb9dc0$0400000a@PASCAL> Thanks, Bobby. I have to move to other tasks today, but I'll give this a whirl soon. Mark Whittinghill Symphony Information Services 612-333-1311 mwhittinghill at symphonyinfo.com ----- Original Message ----- From: "Bobby Heid" To: "'Access Developers discussion and problem solving'" Sent: Friday, August 01, 2003 1:50 PM Subject: RE: [AccessD] Age calculation function > Here you go! > > Public Function Greg2JD(ByVal strDate As String) As Double > Dim A As Long > Dim B As Long > Dim MM As Long > Dim YY As Long > Dim DD As Single > > MM = Month(strDate) > YY = Year(strDate) > DD = Day(strDate) > > 'note, you could pass the time of day in as a fraction of a day. > 'if you do so, simply add the fraction of the day to DD > 'As is, this code assumes 0 hour, i.e. if it is the 4th, > 'then it assumed to be the 4th at 12:00:00 AM > 'DD = DD + sDayFrac 'sDayFrac is the variable holding fraction of day > > If MM < 3 Then > YY = YY - 1 > MM = MM + 12 > End If > > A = YY \ 100 'integer math > B = 2 - A + A \ 4 'integer math > > Greg2JD = Int(365.25 * (YY + 4716)) + Int(30.6001 * (MM + 1)) + DD + B - > 1524.5 > > End Function > > > > To work out our example, I called it with: > Debug.Print (jd("02/18/2002") - jd("02/29/1988")) / 365.25 > > Bobby > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mark > Whittinghill > Sent: Friday, August 01, 2003 2:40 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Age calculation function > > > Sure, I'd like to see it. > > Mark Whittinghill > Symphony Information Services > 612-333-1311 > mwhittinghill at symphonyinfo.com > ----- Original Message ----- > From: "Bobby Heid" > To: "'Access Developers discussion and problem solving'" > > Sent: Friday, August 01, 2003 1:37 PM > Subject: RE: [AccessD] Age calculation function > > > > Why not convert both to Julian dates and then divide by 365.25? This will > > give you years as a decimal number. > > > > In your example: > > > > (jd("02/18/2002") - jd("02/29/1988")) / 365.2 > > =(2452323.5 - 2447220.5)/365.25 > > =5103 /365.25 > > =13.9712525667351 years > > > > If anyone is interested in the code to do this, let me know and I'll post > > it. > > > > > > Bobby > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock > > Sent: Friday, August 01, 2003 1:49 PM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Age calculation function > > > > > > Hi Mark > > > > > Are you saying 14 and 31 are correct or incorrect? I would think they > > are > > > correct. If so, using DateDiff with "m" and dividing by 12 will work. > I > > > think you're saying those values are correct, but if not, I'm confused. > > > > No no, I say those values are correct. > > But I don't quite understand the month-thing ... it will fail in about > > 50% of any calculation as it doesn't take the day into account: > > > > #02/29/1988#, #02/18/2002# > > should return 13, not 14. > > > > I've heard of a couple celebrating their 25 year wedding day 24 years > > after their wedding because the wife couldn't count to 25. That is > > just fun - they can celebrate it once again at the real date - but for > > business applications dealing with pensions, salaries, holidays etc. > > getting the wrong age or employment period is mandatory and you have > > to use reliable calculation methods. > > > > /gustav > > > > > > >> You may wish to look up "Age Calc" in the archives around Okt. 2002. > > >> > > >> Many of the "smart" suggestions will fail for date intervals like: > > >> > > >> #03/01/1988#, #03/01/2002# > > >> is 14 > > >> > > >> #03/01/1968#, #02/28/2000# > > >> is 31 > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From bheid at appdevgrp.com Fri Aug 1 14:02:33 2003 From: bheid at appdevgrp.com (Bobby Heid) Date: Fri, 1 Aug 2003 15:02:33 -0400 Subject: [AccessD] Age calculation function Message-ID: <916187228923D311A6FE00A0CC3FAA30527B52@ADGSERVER> You're welcome Mark, One small correction. In my example calling the code, change Debug.Print (jd("02/18/2002") - jd("02/29/1988")) / 365.25 to Debug.Print (Greg2JD("02/18/2002") - Greg2JD("02/29/1988")) / 365.25 I had done this quick and dirty like, so I changed the function name when I copied the code. LOL. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mark Whittinghill Sent: Friday, August 01, 2003 2:54 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Age calculation function Thanks, Bobby. I have to move to other tasks today, but I'll give this a whirl soon. Mark Whittinghill Symphony Information Services 612-333-1311 mwhittinghill at symphonyinfo.com ----- Original Message ----- From: "Bobby Heid" To: "'Access Developers discussion and problem solving'" Sent: Friday, August 01, 2003 1:50 PM Subject: RE: [AccessD] Age calculation function > Here you go! > > Public Function Greg2JD(ByVal strDate As String) As Double > Dim A As Long > Dim B As Long > Dim MM As Long > Dim YY As Long > Dim DD As Single > > MM = Month(strDate) > YY = Year(strDate) > DD = Day(strDate) > > 'note, you could pass the time of day in as a fraction of a day. > 'if you do so, simply add the fraction of the day to DD > 'As is, this code assumes 0 hour, i.e. if it is the 4th, > 'then it assumed to be the 4th at 12:00:00 AM > 'DD = DD + sDayFrac 'sDayFrac is the variable holding fraction of day > > If MM < 3 Then > YY = YY - 1 > MM = MM + 12 > End If > > A = YY \ 100 'integer math > B = 2 - A + A \ 4 'integer math > > Greg2JD = Int(365.25 * (YY + 4716)) + Int(30.6001 * (MM + 1)) + DD + B - > 1524.5 > > End Function > > > > To work out our example, I called it with: > Debug.Print (jd("02/18/2002") - jd("02/29/1988")) / 365.25 > > Bobby > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mark > Whittinghill > Sent: Friday, August 01, 2003 2:40 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Age calculation function > > > Sure, I'd like to see it. > > Mark Whittinghill > Symphony Information Services > 612-333-1311 > mwhittinghill at symphonyinfo.com > ----- Original Message ----- > From: "Bobby Heid" > To: "'Access Developers discussion and problem solving'" > > Sent: Friday, August 01, 2003 1:37 PM > Subject: RE: [AccessD] Age calculation function > > > > Why not convert both to Julian dates and then divide by 365.25? This will > > give you years as a decimal number. > > > > In your example: > > > > (jd("02/18/2002") - jd("02/29/1988")) / 365.2 > > =(2452323.5 - 2447220.5)/365.25 > > =5103 /365.25 > > =13.9712525667351 years > > > > If anyone is interested in the code to do this, let me know and I'll post > > it. > > > > > > Bobby > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock > > Sent: Friday, August 01, 2003 1:49 PM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Age calculation function > > > > > > Hi Mark > > > > > Are you saying 14 and 31 are correct or incorrect? I would think they > > are > > > correct. If so, using DateDiff with "m" and dividing by 12 will work. > I > > > think you're saying those values are correct, but if not, I'm confused. > > > > No no, I say those values are correct. > > But I don't quite understand the month-thing ... it will fail in about > > 50% of any calculation as it doesn't take the day into account: > > > > #02/29/1988#, #02/18/2002# > > should return 13, not 14. > > > > I've heard of a couple celebrating their 25 year wedding day 24 years > > after their wedding because the wife couldn't count to 25. That is > > just fun - they can celebrate it once again at the real date - but for > > business applications dealing with pensions, salaries, holidays etc. > > getting the wrong age or employment period is mandatory and you have > > to use reliable calculation methods. > > > > /gustav > > > > > > >> You may wish to look up "Age Calc" in the archives around Okt. 2002. > > >> > > >> Many of the "smart" suggestions will fail for date intervals like: > > >> > > >> #03/01/1988#, #03/01/2002# > > >> is 14 > > >> > > >> #03/01/1968#, #02/28/2000# > > >> is 31 > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bheid at appdevgrp.com Fri Aug 1 14:06:56 2003 From: bheid at appdevgrp.com (Bobby Heid) Date: Fri, 1 Aug 2003 15:06:56 -0400 Subject: [AccessD] Age calculation function Message-ID: <916187228923D311A6FE00A0CC3FAA30527B53@ADGSERVER> This function can be made even more generic by passing in the month, day, year, and day fraction (or the day as a fraction 12/4/2003 6:00AM would be 12, 4.25, 2003). This way, the function can handle years BC. Just in case anyone cared. :-) Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Bobby Heid Sent: Friday, August 01, 2003 2:51 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Age calculation function Here you go! Public Function Greg2JD(ByVal strDate As String) As Double Dim A As Long Dim B As Long Dim MM As Long Dim YY As Long Dim DD As Single MM = Month(strDate) YY = Year(strDate) DD = Day(strDate) 'note, you could pass the time of day in as a fraction of a day. 'if you do so, simply add the fraction of the day to DD 'As is, this code assumes 0 hour, i.e. if it is the 4th, 'then it assumed to be the 4th at 12:00:00 AM 'DD = DD + sDayFrac 'sDayFrac is the variable holding fraction of day If MM < 3 Then YY = YY - 1 MM = MM + 12 End If A = YY \ 100 'integer math B = 2 - A + A \ 4 'integer math Greg2JD = Int(365.25 * (YY + 4716)) + Int(30.6001 * (MM + 1)) + DD + B - 1524.5 End Function To work out our example, I called it with: Debug.Print (Greg2JD("02/18/2002") - Greg2JD("02/29/1988")) / 365.25 Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mark Whittinghill Sent: Friday, August 01, 2003 2:40 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Age calculation function Sure, I'd like to see it. Mark Whittinghill Symphony Information Services 612-333-1311 mwhittinghill at symphonyinfo.com ----- Original Message ----- From: "Bobby Heid" To: "'Access Developers discussion and problem solving'" Sent: Friday, August 01, 2003 1:37 PM Subject: RE: [AccessD] Age calculation function > Why not convert both to Julian dates and then divide by 365.25? This will > give you years as a decimal number. > > In your example: > > (jd("02/18/2002") - jd("02/29/1988")) / 365.2 > =(2452323.5 - 2447220.5)/365.25 > =5103 /365.25 > =13.9712525667351 years > > If anyone is interested in the code to do this, let me know and I'll post > it. > > > Bobby > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock > Sent: Friday, August 01, 2003 1:49 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Age calculation function > > > Hi Mark > > > Are you saying 14 and 31 are correct or incorrect? I would think they > are > > correct. If so, using DateDiff with "m" and dividing by 12 will work. I > > think you're saying those values are correct, but if not, I'm confused. > > No no, I say those values are correct. > But I don't quite understand the month-thing ... it will fail in about > 50% of any calculation as it doesn't take the day into account: > > #02/29/1988#, #02/18/2002# > should return 13, not 14. > > I've heard of a couple celebrating their 25 year wedding day 24 years > after their wedding because the wife couldn't count to 25. That is > just fun - they can celebrate it once again at the real date - but for > business applications dealing with pensions, salaries, holidays etc. > getting the wrong age or employment period is mandatory and you have > to use reliable calculation methods. > > /gustav > > > >> You may wish to look up "Age Calc" in the archives around Okt. 2002. > >> > >> Many of the "smart" suggestions will fail for date intervals like: > >> > >> #03/01/1988#, #03/01/2002# > >> is 14 > >> > >> #03/01/1968#, #02/28/2000# > >> is 31 > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From tim at irwin-greenhouses.com Fri Aug 1 14:22:25 2003 From: tim at irwin-greenhouses.com (Tim Thiessen) Date: Fri, 1 Aug 2003 14:22:25 -0500 Subject: [AccessD] Append Query Problems Message-ID: <00c101c35862$3e6d5de0$6600a8c0@tim> I am using A97. I need to append the records from one table to another identical in structure. The query gets about half way done and then stops with the following error message: "You tried to assign the Null value to a variable that isn't a Varient data type." I am assuming that there is corruption in one of the records. How do I go about finding that record? Tim Thiessen From gustav at cactus.dk Fri Aug 1 14:29:02 2003 From: gustav at cactus.dk (Gustav Brock) Date: Fri, 1 Aug 2003 21:29:02 +0200 Subject: [AccessD] Age calculation function In-Reply-To: <916187228923D311A6FE00A0CC3FAA30527B53@ADGSERVER> References: <916187228923D311A6FE00A0CC3FAA30527B53@ADGSERVER> Message-ID: <10144777897.20030801212902@cactus.dk> Hi Bobby > This function can be made even more generic by passing in the month, day, > year, and day fraction (or the day as a fraction 12/4/2003 6:00AM would be > 12, 4.25, 2003). This way, the function can handle years BC. > Just in case anyone cared. :-) Well, could be interesting ... who knows, but it still fails an example like this: ? (Greg2jd("03/01/1992") - Greg2jd("03/01/1987")) / 365.25 4,99931553730322 like any other method relying on dividing by 365,25. This method is what we call a "shoemaker method" as it is a method working in "most cases" but not all. This is not to pick on you - because it is still published many places - but for the records, so no list member should be tempted to use a quick and dirty suggestion for serious use. /gustav > Public Function Greg2JD(ByVal strDate As String) As Double > Dim A As Long > Dim B As Long > Dim MM As Long > Dim YY As Long > Dim DD As Single > MM = Month(strDate) > YY = Year(strDate) > DD = Day(strDate) > 'note, you could pass the time of day in as a fraction of a day. > 'if you do so, simply add the fraction of the day to DD > 'As is, this code assumes 0 hour, i.e. if it is the 4th, > 'then it assumed to be the 4th at 12:00:00 AM > 'DD = DD + sDayFrac 'sDayFrac is the variable holding fraction of day > If MM < 3 Then > YY = YY - 1 > MM = MM + 12 > End If > A = YY \ 100 'integer math > B = 2 - A + A \ 4 'integer math > Greg2JD = Int(365.25 * (YY + 4716)) + Int(30.6001 * (MM + 1)) + DD + B - > 1524.5 > End Function > To work out our example, I called it with: > Debug.Print (Greg2JD("02/18/2002") - Greg2JD("02/29/1988")) / 365.25 From mwhittinghill at symphonyinfo.com Fri Aug 1 14:37:52 2003 From: mwhittinghill at symphonyinfo.com (Mark Whittinghill) Date: Fri, 1 Aug 2003 14:37:52 -0500 Subject: [AccessD] Age calculation function References: <916187228923D311A6FE00A0CC3FAA30527B53@ADGSERVER> <10144777897.20030801212902@cactus.dk> Message-ID: <000e01c35864$661482e0$0400000a@PASCAL> Is there a solution to this? Mark Whittinghill Symphony Information Services 612-333-1311 mwhittinghill at symphonyinfo.com ----- Original Message ----- From: "Gustav Brock" To: "Access Developers discussion and problem solving" Sent: Friday, August 01, 2003 2:29 PM Subject: Re: [AccessD] Age calculation function > Hi Bobby > > > This function can be made even more generic by passing in the month, day, > > year, and day fraction (or the day as a fraction 12/4/2003 6:00AM would be > > 12, 4.25, 2003). This way, the function can handle years BC. > > > Just in case anyone cared. :-) > > Well, could be interesting ... who knows, but it still fails an > example like this: > > ? (Greg2jd("03/01/1992") - Greg2jd("03/01/1987")) / 365.25 > 4,99931553730322 > > like any other method relying on dividing by 365,25. This method is > what we call a "shoemaker method" as it is a method working in "most > cases" but not all. > > This is not to pick on you - because it is still published many places > - but for the records, so no list member should be tempted to use a > quick and dirty suggestion for serious use. > > /gustav > > From bheid at appdevgrp.com Fri Aug 1 15:07:20 2003 From: bheid at appdevgrp.com (Bobby Heid) Date: Fri, 1 Aug 2003 16:07:20 -0400 Subject: [AccessD] Age calculation function Message-ID: <916187228923D311A6FE00A0CC3FAA30527B54@ADGSERVER> Good point! I did not think that you were picking on me. While thinking about this, you technically have to add 0.0001 (may could go smaller) day. Think about it 12/1/99-12/1/99 is technically saying the same as 12/1/99 12:00am 0 12/1/99 11:59:59pm, which IMHO is not 1 full day until that last second has past (and then it is the next day). When you are using my method, I think that maybe you have to add 0.0001 days to get the desired results. I modified the function to take a fraction of a day and entered .0001 as the fraction to add and I get: Debug.Print (Greg2JD("03/01/1992",0)-Greg2JD("03/01/1987",0.0001))/365.25= 5.00205311425984 What do you all think? Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock Sent: Friday, August 01, 2003 3:29 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Age calculation function Hi Bobby > This function can be made even more generic by passing in the month, day, > year, and day fraction (or the day as a fraction 12/4/2003 6:00AM would be > 12, 4.25, 2003). This way, the function can handle years BC. > Just in case anyone cared. :-) Well, could be interesting ... who knows, but it still fails an example like this: ? (Greg2jd("03/01/1992") - Greg2jd("03/01/1987")) / 365.25 4,99931553730322 like any other method relying on dividing by 365,25. This method is what we call a "shoemaker method" as it is a method working in "most cases" but not all. This is not to pick on you - because it is still published many places - but for the records, so no list member should be tempted to use a quick and dirty suggestion for serious use. /gustav > Public Function Greg2JD(ByVal strDate As String) As Double > Dim A As Long > Dim B As Long > Dim MM As Long > Dim YY As Long > Dim DD As Single > MM = Month(strDate) > YY = Year(strDate) > DD = Day(strDate) > 'note, you could pass the time of day in as a fraction of a day. > 'if you do so, simply add the fraction of the day to DD > 'As is, this code assumes 0 hour, i.e. if it is the 4th, > 'then it assumed to be the 4th at 12:00:00 AM > 'DD = DD + sDayFrac 'sDayFrac is the variable holding fraction of day > If MM < 3 Then > YY = YY - 1 > MM = MM + 12 > End If > A = YY \ 100 'integer math > B = 2 - A + A \ 4 'integer math > Greg2JD = Int(365.25 * (YY + 4716)) + Int(30.6001 * (MM + 1)) + DD + B - > 1524.5 > End Function > To work out our example, I called it with: > Debug.Print (Greg2JD("02/18/2002") - Greg2JD("02/29/1988")) / 365.25 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From delliker at hotmail.com Fri Aug 1 15:05:25 2003 From: delliker at hotmail.com (Don Elliker) Date: Fri, 01 Aug 2003 16:05:25 -0400 Subject: [AccessD] Append Query Problems Message-ID: The easiest way to find this out is to cut and paste the data. The 'bad' stuff will go into 'paste errors' table. _d "Things are only free to the extent that you don't pay for them".-Don Elliker >From: "Tim Thiessen" >Reply-To: Access Developers discussion and problem >solving >To: >Subject: [AccessD] Append Query Problems >Date: Fri, 1 Aug 2003 14:22:25 -0500 > >I am using A97. I need to append the records from one table to another >identical in structure. The query gets about half way done and then stops >with the following error message: "You tried to assign the Null value to a >variable that isn't a Varient data type." I am assuming that there is >corruption in one of the records. How do I go about finding that record? > >Tim Thiessen > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Add photos to your e-mail with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail From tsm at zoomtown.com Fri Aug 1 15:30:26 2003 From: tsm at zoomtown.com (tsm at zoomtown.com) Date: Fri, 1 Aug 2003 16:30:26 -0400 Subject: [AccessD] SourceSafe Message-ID: <20030801203028.DJTY26605.smtp02.fuse.net@smtp.fuse.net> Jim, I didn't do the server install. I do think they purchased a server license and not just installed from the Visual Studio License. But all the developers are using there own Visual Studio VSS License. Scott From: "Jim DeMarco" Date: 2003/08/01 Fri AM 11:46:54 EDT To: "Access Developers discussion and problem solving" Subject: RE: [AccessD] SourceSafe I think we use Enterprise VS too. So how did you install on the network? Or is it just a matter of creating a db on a shared drive/folder? I think my question really is "Is there any reason or advantage to buying the product and using the client copies we already license?". Thanks, Jim DeMarco -----Original Message----- From: Marcus, Scott (GEAE, Contractor) [mailto:scott.marcus at ae.ge.com] Sent: Friday, August 01, 2003 10:05 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] SourceSafe Sorry Jim. We use the enterprise version of Visual Studio which has VSS included. Works ok as far as I know on the network although a little buggy. The bugs we have encountered can't be reproduced and happen a couple of times per year. It seems as though we loose changes to code every now and then (not sure if this is user error). Also, we have noticed that an application works fine while it is in VSS but will sometimes corrupt when making a non-VSS version. When I say corrupt I'm referring to Access giving strange runtime errors that you would think are related to dll hell. The weird thing is, they go away over time(like a day or two). Like I said, very hard to reproduce, but when it happens... Scott -----Original Message----- From: Jim DeMarco [mailto:Jdemarco at hshhp.org] Sent: Friday, August 01, 2003 9:53 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] SourceSafe Can I get us back on track to my original question? Is there a difference between VS version and stand-alone with regard to network/shared access to the code database? Don't want to spend money on what we've already got. Thanks, Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan -----Original Message----- From: Brett Barabash [mailto:BBarabash at tappeconstruction.com] Sent: Friday, August 01, 2003 9:47 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] SourceSafe Out of curiousity, has anyone tried SourceGear Vault? I've heard good things about it (including the announcement by Joel that it integrates with FogBugz). -----Original Message----- From: Susan Harkins [mailto:harkins at iglou.com] Sent: Friday, August 01, 2003 8:46 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] SourceSafe I've never seen Charles choice either -- I'd like to hear more about it. Although VSS worked really well. I've never actually used it in a production environment, just played with it so I could review it. Susan H. > Any particular reason(s) Charles? About half of staff have used it (VSS) and seemed to like it but may not have explored options. > > Thanks, > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------------------------------- ---------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the originator of the message. This footer also confirms that this email message has been scanned for the presence of computer viruses. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com **************************************************************************** ******* "This 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 Lambert.Heenan at AIG.com Fri Aug 1 15:38:57 2003 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Fri, 1 Aug 2003 16:38:57 -0400 Subject: [AccessD] Age calculation function Message-ID: <8B98F8EA48F8BA47A2F24E0D0AF40CF407AD753B@xlivmbx12.aig.com> Well my little function, posted just the other day, does a simple compensation for the situation where the end date has the same day and month as the start date. As a result it gets it right *almost* every time . What was throwing it off was the rules for leap years on century years. So I made a simple modification to it and this function now really does get it right "every time" (disregarding the switch from the Julian to Gregorian calendar back in the 16th century). So if you want to do age calculations in the "modern era" this little function does the trick. All you astronomers and historians will need to stick with converting modern dates to their Juliann equivalent. Public Function CalculateAge(datBirth As Date, Optional endDate As Date) As Long Dim lngNumDays As Long Dim nLeapCompensation As Long Dim eDate As Date If CDbl(endDate) = 0# Then eDate = Date Else eDate = endDate End If If Year(eDate) Mod 400 <> 0 Then Select Case Year(eDate) Mod 100 Case 1, 2, 3 nLeapCompensation = 1 End Select End If lngNumDays = DateDiff("d", datBirth, eDate) If Day(datBirth) = Day(eDate) And Month(datBirth) = Month(eDate) Then ' it's the actual birthday ' add 1 to compensate for .25 in the division and also do the leap year compensation lngNumDays = lngNumDays + 1 + nLeapCompensation End If CalculateAge = Int(lngNumDays / 365.25) End Function This works with the dates ranging from 100 to 9999 (the full range of dates that the Access Date data type can handle) Lambert > -----Original Message----- > From: Gustav Brock [SMTP:gustav at cactus.dk] > Sent: Friday, August 01, 2003 3:29 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Age calculation function > > Hi Bobby > > > This function can be made even more generic by passing in the month, > day, > > year, and day fraction (or the day as a fraction 12/4/2003 6:00AM would > be > > 12, 4.25, 2003). This way, the function can handle years BC. > > > Just in case anyone cared. :-) > > Well, could be interesting ... who knows, but it still fails an > example like this: > > ? (Greg2jd("03/01/1992") - Greg2jd("03/01/1987")) / 365.25 > 4,99931553730322 > > like any other method relying on dividing by 365,25. This method is > what we call a "shoemaker method" as it is a method working in "most > cases" but not all. > > This is not to pick on you - because it is still published many places > - but for the records, so no list member should be tempted to use a > quick and dirty suggestion for serious use. > > /gustav > > > > Public Function Greg2JD(ByVal strDate As String) As Double > > Dim A As Long > > Dim B As Long > > Dim MM As Long > > Dim YY As Long > > Dim DD As Single > > > MM = Month(strDate) > > YY = Year(strDate) > > DD = Day(strDate) > > > 'note, you could pass the time of day in as a fraction of a day. > > 'if you do so, simply add the fraction of the day to DD > > 'As is, this code assumes 0 hour, i.e. if it is the 4th, > > 'then it assumed to be the 4th at 12:00:00 AM > > 'DD = DD + sDayFrac 'sDayFrac is the variable holding fraction of > day > > > If MM < 3 Then > > YY = YY - 1 > > MM = MM + 12 > > End If > > > A = YY \ 100 'integer math > > B = 2 - A + A \ 4 'integer math > > > Greg2JD = Int(365.25 * (YY + 4716)) + Int(30.6001 * (MM + 1)) + DD + > B - > > 1524.5 > > > End Function > > > To work out our example, I called it with: > > Debug.Print (Greg2JD("02/18/2002") - Greg2JD("02/29/1988")) / 365.25 > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From bbruen at bigpond.com Fri Aug 1 17:25:33 2003 From: bbruen at bigpond.com (Bruce Bruen) Date: Sat, 02 Aug 2003 08:25:33 +1000 Subject: .HTA/.HTB/PHP v. DotNet - was RE: [AccessD]OT: C# was no-ip.com (is now an apology) In-Reply-To: Message-ID: <003a01c3587b$d3af2b40$aa00a8c0@bbb888> Jim, It could well be so. As I said, we only gave C# a cursory glance based on information from a guy I trust impicitly as a tech archtect. He was not overly impresses by the improvements in garbage collection - rating it as "still inadequate". B -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence (AccessD) Sent: Saturday, 2 August 2003 4:14 AM To: Access Developers discussion and problem solving Subject: RE: .HTA/.HTB/PHP v. DotNet - was RE: [AccessD]OT: C# was no-ip.com (is now an apology) Hi Brue: I found your 'rant' very entertaining. I do have one question and this does not come from personel experience. When I was working in a 'Miscrosoft Partner' shop, a tech/salesman came up from MS, to give a talk on the implementation of Net Framework and the use of C#. The one point he did make over and over again, was the excellent garbage collection system, built into their new Net products. So good, that SUN bought the technology for their latest release of Java.... My two cents worth. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Bruce Bruen Sent: Friday, August 01, 2003 5:46 AM To: 'Access Developers discussion and problem solving' Subject: RE: .HTA/.HTB/PHP v. DotNet - was RE: [AccessD]OT: C# was no-ip.com (is now an apology) Scott and List, On re-reading the whole of the thread, it is I who should apologise. Recently, I have been reviewing technology choices for a friend who is embarking on a new product development. As it involves a base of multiple database flavours and internet deployment of the finished app he was interested in the development "issues" of various languages with view to understanding his risks if he chose one or more off the newer offerings. We looked at .net (VB, ASP and C#), php (and pear), ruby, Kylix, Delphi, Java and python. Somehow, I lost the central issue of the AccessD thread and gave vent to my frustrations with the "bells and whistles" marketing disinformation that goes with the currently avialable literature on the commercial languages. In short, I plead "toxic feature overload", m'lud. Or perhaps, as Lloyd Bridges said in Flying High, "I guess I picked the wrong week to give up sniffing glue". Regarding C#, and given that I have only given it a cursory look as I will explain, we were singularly unimpressed. According to a very technical and ex-M$ acquaintance, C# still retains the the dangerous features of C++, notably no array bound limiting, pointer arithmetic and inadequate garbage collection. These, IMHO, are total no-no's in a business application development language. This was a point I quite unadmirably did not make in that rave, so I apologise for losing my own way in that respect. Some may argue that these "features" are strenghts of C. For a mainstream business application development, I disgree. They well may have uses in extremely technical coding situations, like operating systems, DBMS engines, device drivers and even embedded devices. But not in mainstream business application development. They are, as far as I'm concerned as a development manager interested in reducing risk and lowering maintenance costs, the equivalent of the 1970's GOTO. Given those comments from the technical man, and the previous separate and joint experiences of both my client and myself in C++ development shops (both of us having experienced never-never delivery schedules and delivery of code with incredibly expensive maintenance costs), C# was the first cull. Note VB.net and ASP.net are both still in the race. As are the Borland and non-commercial languages. So, again I apologise for hijacking the thread, and also apologise for the latish apology. I have just landed another gig and took a quick day off - fishing - before starting work. This time its development of a RAD methodology - hmmm - should keep me off the rant for a few months at least, so we'll just have to wait for JC's return (second coming????) Bruce ... -----Original Message----- From: Marcus, Scott (GEAE, Contractor) [mailto:scott.marcus at ae.ge.com] Sent: Thursday 2003 Jul 31 07:48 To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD]OT: C# was no-ip.com Bruce, I reread my post and am offering an apology for sounding rude. The discussion is interesting, I just wish it had a different subject line. Scott _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Fri Aug 1 19:05:54 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Fri, 01 Aug 2003 17:05:54 -0700 Subject: [AccessD] OT: Charging for Domains In-Reply-To: <000e01c35864$661482e0$0400000a@PASCAL> Message-ID: No Archive To whom it may concern: The following article is indirectly related to everything from the web so it may be relivant. Jim Article to follow.... A proposal is underway that threatens to undermine the competitive secondary domain market, affecting millions of domain consumers and their small businesses ? and imposing a minimum of a $24 charge on the acquisition of expiring domain names. This anti-competitive, anti-consumer proposal is referred to as the Wait Listing Service (WLS). The Internet Corporation for Assigned Names and Numbers (ICANN), the organization that oversees the domain naming system, has approved a proposal by VeriSign ? the former government sponsored monopoly ? to charge registrars a minimum of $24 to backorder an expiring (i.e., used) domain name. In turn, registrars will add a ?markup? to this and, as a result, the price will skyrocket for customers. It?s important to note that this ?WLS charge? does not include the price for registering the domain name should the backorder be successful. ICANN?s decision will replace today?s competitive marketplace for expiring domain names with a monopoly system operated by VeriSign. What?s more, VeriSign is currently negotiating with ICANN for the right to change the price of the WLS any time it wants. Incidentally, when VeriSign first floated the WLS proposal, it wanted to charge $40! Today, you can backorder and register an expired domain name for a fraction of that price. That?s because a robust competitive market for expired domain names currently exists. For example, Dotster currently offers NameWinner, an affordable and successful back-order service. Dotster welcomes competition from other companies who offer similar services. This healthy competition keeps prices down and customer service levels up, while allowing companies to invest in new technologies to better support you and your business. Without competition, VeriSign will not be compelled to invest in new technology or improved customer service. Without competition, VeriSign may also be able to charge whatever it wants for expired domain names in the future. Without competition, many domain name registrars who compete with VeriSign may be forced to close because the market for their services will cease to exist. This is precisely the reason the domain industry was deregulated in 2000. Why is ICANN now attempting to turn back the clock and grant VeriSign another monopoly? Based on the above concerns and public outcry, Reps. Brian Baird and Jay Inslee of Washington have introduced legislation that will stop WLS from going into effect until the Government?s General Accounting Office (GAO) has completed a comprehensive study of ICANN?s policies and procedures. Dotster strongly supports the above mentioned legislation to uphold the integrity of our industry?s governing body and to sustain a robust competitive Internet marketplace. We have also joined other registrars, our competitors, to form the Domain Justice Coalition in opposition to the WLS. Further, thousands of consumers have signed a petition to ICANN to stop the WLS. I urge you to help us stop the WLS. Please send your congressional representative a prewritten letter that explains in detail the WLS issue and its anti-consumer, anticompetitive implications and encourages him/her to co-sponsor the legislation. For contact information on the representative in your area, visit www.house.gov/writerep/. For more information on the WLS or the Domain Justice Coalition, visit www.stopwls.com. From harkins at iglou.com Fri Aug 1 20:29:35 2003 From: harkins at iglou.com (Susan Harkins) Date: Fri, 1 Aug 2003 21:29:35 -0400 Subject: [AccessD] Age calculation function References: <916187228923D311A6FE00A0CC3FAA30527B53@ADGSERVER> <10144777897.20030801212902@cactus.dk> Message-ID: <001b01c35895$9ddb1d20$dee6ffcc@SusanOne> I tested several expressions years ago and came up with only one -- based strictly on date arithmetic -- that consistently worked, in any century, with any date, at any time. If you can't find that works for you, I'll be glad to dig it up. Anything that's based on increments or components is bound to fail sooner or later -- but it could fail only on the Tuesday following the year of the Chinese Rat, after the first full moon and only if it rained -- but eventually, they all seem to fail. Susan H. > Hi Bobby > > > This function can be made even more generic by passing in the month, day, > > year, and day fraction (or the day as a fraction 12/4/2003 6:00AM would be > > 12, 4.25, 2003). This way, the function can handle years BC. > > > Just in case anyone cared. :-) > > Well, could be interesting ... who knows, but it still fails an > example like this: > > ? (Greg2jd("03/01/1992") - Greg2jd("03/01/1987")) / 365.25 > 4,99931553730322 > > like any other method relying on dividing by 365,25. This method is > what we call a "shoemaker method" as it is a method working in "most > cases" but not all. > > This is not to pick on you - because it is still published many places > - but for the records, so no list member should be tempted to use a > quick and dirty suggestion for serious use. > > /gustav > > > > Public Function Greg2JD(ByVal strDate As String) As Double > > Dim A As Long > > Dim B As Long > > Dim MM As Long > > Dim YY As Long > > Dim DD As Single > > > MM = Month(strDate) > > YY = Year(strDate) > > DD = Day(strDate) > > > 'note, you could pass the time of day in as a fraction of a day. > > 'if you do so, simply add the fraction of the day to DD > > 'As is, this code assumes 0 hour, i.e. if it is the 4th, > > 'then it assumed to be the 4th at 12:00:00 AM > > 'DD = DD + sDayFrac 'sDayFrac is the variable holding fraction of day > > > If MM < 3 Then > > YY = YY - 1 > > MM = MM + 12 > > End If > > > A = YY \ 100 'integer math > > B = 2 - A + A \ 4 'integer math > > > Greg2JD = Int(365.25 * (YY + 4716)) + Int(30.6001 * (MM + 1)) + DD + B - > > 1524.5 > > > End Function > > > To work out our example, I called it with: > > Debug.Print (Greg2JD("02/18/2002") - Greg2JD("02/29/1988")) / 365.25 > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From tortise at paradise.net.nz Sat Aug 2 00:07:32 2003 From: tortise at paradise.net.nz (Tortise@Paradise) Date: Sat, 2 Aug 2003 17:07:32 +1200 Subject: [AccessD] The Mother of all Age calculation functions - Here it is!!! References: <8B98F8EA48F8BA47A2F24E0D0AF40CF407AD753B@xlivmbx12.aig.com> Message-ID: <013001c358b3$fafd7250$0900a8c0@P1200n> Dear Lambert et al, If I want a full decimal age, I find that does not give the right answer for someone born on 2-8-2000, (Today) but it gave me a great starting point.... After 4 hours....this does, (At least it does to 3 decimal places) Public Function CalculateAge(datBirth As Date, Optional endDate As Date) As Single 'Function written by David Hingston, 2-8-2003, significantly evolved from that of Lambert Heenan, AccessD E-Mail List 'Replication in databases welcome providing references maintained Dim lngNumDays, SNumDays As Single Dim nLeapCompDOB, nLeapCompNow As Single Dim eDate As Date Dim T, T1 As Integer If CDbl(endDate) = 0# Then eDate = Date Else eDate = endDate End If T = Year(datBirth) Mod 4 If Year(datBirth) Mod 4 <> 0 Then Select Case T Case 1 nLeapCompDOB = 0.25 Case 2 nLeapCompDOB = 0.5 Case 3 nLeapCompDOB = 0.75 End Select End If T1 = Year(eDate) Mod 4 If T1 <> 0 Then Select Case T1 Case 1 nLeapCompNow = 0.25 Case 2 nLeapCompNow = 0.5 Case 3 nLeapCompNow = 0.75 End Select End If lngNumDays = DateDiff("d", datBirth, eDate) SNumDays = lngNumDays + nLeapCompNow - nLeapCompDOB '365.25 gives a 1 day error in every 128 years! Doesn't seem to matter in the last 100 years CalculateAge = SNumDays / 365.25 End Function Of course it is not tested or designed to take into account birth TIME...and TIME of Age estimation......(grin) I hope it goes a little way to pay back advice I have received here. (grin) (Yes I know I have some way to go yet......) Kind regards, A "Way Proud" David Hingston _________________________________________________________________________ Engines2Go - Now THAT's a Search Engine! Automated major search engine manager Makes searching quicker and easier - Have you tried it? http://www.engines2go.com/ http://www.cheqsoft.com/ The home of Clipboard Express, MP3 Detective, TimesOwn and Break Reminder. ----- Original Message ----- From: "Heenan, Lambert" To: "'Access Developers discussion and problem solving'" Cc: Sent: Saturday, August 02, 2003 8:38 AM Subject: RE: [AccessD] Age calculation function Well my little function, posted just the other day, does a simple compensation for the situation where the end date has the same day and month as the start date. As a result it gets it right *almost* every time . What was throwing it off was the rules for leap years on century years. So I made a simple modification to it and this function now really does get it right "every time" (disregarding the switch from the Julian to Gregorian calendar back in the 16th century). So if you want to do age calculations in the "modern era" this little function does the trick. All you astronomers and historians will need to stick with converting modern dates to their Juliann equivalent. Public Function CalculateAge(datBirth As Date, Optional endDate As Date) As Long Dim lngNumDays As Long Dim nLeapCompensation As Long Dim eDate As Date If CDbl(endDate) = 0# Then eDate = Date Else eDate = endDate End If If Year(eDate) Mod 400 <> 0 Then Select Case Year(eDate) Mod 100 Case 1, 2, 3 nLeapCompensation = 1 End Select End If lngNumDays = DateDiff("d", datBirth, eDate) If Day(datBirth) = Day(eDate) And Month(datBirth) = Month(eDate) Then ' it's the actual birthday ' add 1 to compensate for .25 in the division and also do the leap year compensation lngNumDays = lngNumDays + 1 + nLeapCompensation End If CalculateAge = Int(lngNumDays / 365.25) End Function This works with the dates ranging from 100 to 9999 (the full range of dates that the Access Date data type can handle) Lambert From tortise at paradise.net.nz Sat Aug 2 00:18:33 2003 From: tortise at paradise.net.nz (Tortise@Paradise) Date: Sat, 2 Aug 2003 17:18:33 +1200 Subject: [AccessD] The Mother of all Age calculation functions - Here itis!!! References: <8B98F8EA48F8BA47A2F24E0D0AF40CF407AD753B@xlivmbx12.aig.com> <013001c358b3$fafd7250$0900a8c0@P1200n> Message-ID: <013a01c358b5$84ad9880$0900a8c0@P1200n> MMm But how do I get my function to work in a query??? (It doesn't seem to work entered as e.g. expr: CalculateAge(Birthdate) amd its a little too complicated to enter the formulae....I think.... ) TIA Kind regards, David Hingston _________________________________________________________________________ mailto:tortoise at paradise.net.nz Personal Webpages: http://203.79.82.163/ Engines2Go - Now THAT's a Search Engine! Automated major search engine manager Makes searching quicker and easier - Have you tried it? http://www.engines2go.com/ http://www.cheqsoft.com/ The home of Clipboard Express, MP3 Detective, TimesOwn and Break Reminder. From gustav at cactus.dk Sat Aug 2 03:30:29 2003 From: gustav at cactus.dk (Gustav Brock) Date: Sat, 2 Aug 2003 10:30:29 +0200 Subject: [AccessD] Append Query Problems In-Reply-To: <00c101c35862$3e6d5de0$6600a8c0@tim> References: <00c101c35862$3e6d5de0$6600a8c0@tim> Message-ID: <1032565729.20030802103029@cactus.dk> Hi Tim > I am using A97. I need to append the records from one table to another > identical in structure. The query gets about half way done and then stops > with the following error message: "You tried to assign the Null value to a > variable that isn't a Varient data type." I am assuming that there is > corruption in one of the records. How do I go about finding that record? Do a binary approximation ... append half of the records. If it has no errors, append the other half - this should fail. Now, follow this route by appending half of the failing recordset and so on - eventually you'll have tracked down the failing record. /gustav From gustav at cactus.dk Sat Aug 2 04:02:14 2003 From: gustav at cactus.dk (Gustav Brock) Date: Sat, 2 Aug 2003 11:02:14 +0200 Subject: [AccessD] Age calculation function In-Reply-To: <916187228923D311A6FE00A0CC3FAA30527B54@ADGSERVER> References: <916187228923D311A6FE00A0CC3FAA30527B54@ADGSERVER> Message-ID: <1524471239.20030802110214@cactus.dk> Hi Bobby I tried to think but I'm not quite sure I can follow you. Only newly born babies and astrologers care for the time of the day of birth, and only children are interested in ages with a resolution of months. And, of course, a new day begins at midnight. /gustav > Good point! I did not think that you were picking on me. > While thinking about this, you technically have to add 0.0001 (may could go > smaller) day. > Think about it > 12/1/99-12/1/99 is technically saying the same as > 12/1/99 12:00am 0 12/1/99 11:59:59pm, which IMHO is not 1 full day until > that last second has past (and then it is the next day). > When you are using my method, I think that maybe you have to add 0.0001 days > to get the desired results. > I modified the function to take a fraction of a day and entered .0001 as the > fraction to add and I get: > Debug.Print (Greg2JD("03/01/1992",0)-Greg2JD("03/01/1987",0.0001))/365.25= > 5.00205311425984 > What do you all think? > Bobby > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock > Sent: Friday, August 01, 2003 3:29 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Age calculation function > Hi Bobby >> This function can be made even more generic by passing in the month, day, >> year, and day fraction (or the day as a fraction 12/4/2003 6:00AM would be >> 12, 4.25, 2003). This way, the function can handle years BC. >> Just in case anyone cared. :-) > Well, could be interesting ... who knows, but it still fails an > example like this: > ? (Greg2jd("03/01/1992") - Greg2jd("03/01/1987")) / 365.25 > 4,99931553730322 > like any other method relying on dividing by 365,25. This method is > what we call a "shoemaker method" as it is a method working in "most > cases" but not all. > This is not to pick on you - because it is still published many places > - but for the records, so no list member should be tempted to use a > quick and dirty suggestion for serious use. > /gustav >> Public Function Greg2JD(ByVal strDate As String) As Double >> Dim A As Long >> Dim B As Long >> Dim MM As Long >> Dim YY As Long >> Dim DD As Single >> MM = Month(strDate) >> YY = Year(strDate) >> DD = Day(strDate) >> 'note, you could pass the time of day in as a fraction of a day. >> 'if you do so, simply add the fraction of the day to DD >> 'As is, this code assumes 0 hour, i.e. if it is the 4th, >> 'then it assumed to be the 4th at 12:00:00 AM >> 'DD = DD + sDayFrac 'sDayFrac is the variable holding fraction of >> day >> If MM < 3 Then >> YY = YY - 1 >> MM = MM + 12 >> End If >> A = YY \ 100 'integer math >> B = 2 - A + A \ 4 'integer math >> Greg2JD = Int(365.25 * (YY + 4716)) + Int(30.6001 * (MM + 1)) + DD + B > - >> 1524.5 >> End Function >> To work out our example, I called it with: >> Debug.Print (Greg2JD("02/18/2002") - Greg2JD("02/29/1988")) / 365.25 From gustav at cactus.dk Sat Aug 2 04:24:21 2003 From: gustav at cactus.dk (Gustav Brock) Date: Sat, 2 Aug 2003 11:24:21 +0200 Subject: [AccessD] Age calculation function In-Reply-To: <000e01c35864$661482e0$0400000a@PASCAL> References: <916187228923D311A6FE00A0CC3FAA30527B53@ADGSERVER> <000e01c35864$661482e0$0400000a@PASCAL> Message-ID: <1695797947.20030802112421@cactus.dk> Hi Mark > Is there a solution to this? Certainly. It can be found here at Drew's archive: http://www.wolfwares.com/AccessD/postinfo.asp?Post=29448 However, Drew, the indenting is bad, so below is again the function we use. I'm not claiming this method to be the mother of anything but it works without errors. To quote myself from 2002-10-04: We have have had the need to calculate the correct age no matter what, and I have yet to see this function fail. It has been posted before but with so many "Age_is_just_about()" functions it seems to be the time to post it again. The crucial point is the correct age count for those poor souls born on the 29th of February: Function Age(ByVal datDateOfBirth As Date, Optional ByVal varDate As Variant) As Integer ' Calculates age at today's date or at a specified date earlier or later in time. ' Uses Years() for calculating difference in years. ' ' Gustav Brock, Cactus Data ApS. ' 2000-11-03. Dim datDate As Date ' No special error handling. On Error Resume Next If IsDate(varDate) Then datDate = CDate(varDate) Else datDate = Date End If Age = Years(datDateOfBirth, datDate) End Function Function Years(ByVal datDate1 As Date, ByVal datDate2 As Date) As Integer ' Returns the difference in full years between datDate1 and datDate2. ' ' Calculates correctly for: ' negative differences ' leap years ' dates of 29. February ' date/time values with embedded time values ' negative date/time values (prior to 1899-12-29) ' ' Gustav Brock, Cactus Data ApS. ' 2000-11-03. ' 2000-12-16. Leap year correction modified to be symmetrical. ' Calculation of intDaysDiff simplified. ' Renamed from YearsDiff() to Years(). ' 2000-12-18. Added cbytMonthDaysMax. ' Constants for leap year calculation. Last normal date of February. Const cbytFebMonth As Byte = 2 Const cbytFebLastDay As Byte = 28 ' Maximum number of days in a month. Const cbytMonthDaysMax As Byte = 31 Dim intYears As Integer Dim intDaysDiff As Integer Dim intReversed As Integer ' No special error handling. On Error Resume Next intYears = DateDiff("yyyy", datDate1, datDate2) If intYears = 0 Then ' Both dates fall within the same year. Else ' Check for ultimo February and leap years. If (Month(datDate1) = cbytFebMonth) And (Month(datDate2) = cbytFebMonth) Then ' Both dates fall in February. ' Check if dates are at ultimo February. If (Day(datDate1) >= cbytFebLastDay) And (Day(datDate2) >= cbytFebLastDay) Then ' Both dates are at ultimo February. ' Check if the dates fall in leap years. If Day(DateSerial(Year(datDate1), cbytFebMonth + 1, 0)) = cbytFebLastDay Xor _ Day(DateSerial(Year(datDate2), cbytFebMonth + 1, 0)) = cbytFebLastDay Then ' Only one date falls within a leap year. ' Adjust both dates to day 28 of February. datDate1 = DateAdd("d", cbytFebLastDay - Day(datDate1), datDate1) datDate2 = DateAdd("d", cbytFebLastDay - Day(datDate2), datDate2) Else ' Both dates fall either in leap years or non leap years. ' No adjustment needed. End If End If End If ' Calculate day difference using months and days as Days() will fail when ' comparing leap years with non leap years for dates after February. intDaysDiff = (Month(datDate1) * cbytMonthDaysMax + Day(datDate1)) - (Month(datDate2) * cbytMonthDaysMax + Day(datDate2)) intReversed = Sgn(intYears) ' Decrease count of years by one if dates are closer than one year. intYears = intYears + (intReversed * ((intReversed * intDaysDiff) > 0)) End If Years = intYears End Function /gustav From sgoodhall at comcast.net Sat Aug 2 08:49:07 2003 From: sgoodhall at comcast.net (Steve Goodhall) Date: Sat, 2 Aug 2003 09:49:07 -0400 Subject: [AccessD] Access/Word Interaction In-Reply-To: Message-ID: BerichtThis should do what you want Regards, Steve Goodhall Senior Project Manager Compuware Corporation Option Compare Database Option Explicit Sub TestWordOne() Dim oWOrd As Word.Application, oDoc As Word.Document Set oWOrd = New Word.Application oWOrd.Visible = True Set oDoc = oWOrd.Documents.Add SJGMsgBox "Click on OK to save and close Word document", vbOKOnly oDoc.SaveAs DBLocation & "testone.doc" oDoc.Close False oWOrd.Quit False End Sub Sub TestwordTwo() Dim oDoc As Word.Document Set oDoc = New Word.Document oDoc.Application.Visible = True SJGMsgBox "Click on OK to save and close Word document", vbOKOnly oDoc.SaveAs DBLocation & "testtwo.doc" oDoc.Application.Quit False End Sub Function SJGMsgBox(sPrompt As String, Optional lButtons As Long = vbOK, _ Optional sTitle As String = "Steve Goodhall's Timed Message Box", Optional lDelay = 0) Dim lResult As Long, oShell As WshShell Set oShell = New WshShell lResult = oShell.PopUp(sPrompt, lDelay, sTitle, lButtons) SJGMsgBox = lResult Set oShell = Nothing End Function Function DBLocation() As String Dim sDBLoc As String, lPos As Long sDBLoc = CurrentDb.Name lPos = InStrRev(sDBLoc, "\") sDBLoc = Left(sDBLoc, lPos) DBLocation = sDBLoc End Function -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Michael Br?sdorf Sent: Friday, August 01, 2003 9:33 AM To: Access Developers discussion and problem solving Subject: [AccessD] Access/Word Interaction Dear group, I have an Access application that creates a MS Word document and inserts some text into it and makes it visible (so that users can start working with it right away). When that process is finished I want to inform the user with a MsgBox. The problem is, that this activates MS Access (my application), but I want the Word-Dokument to stay active. Is there something like WordObj.application.Msgbox? TIA, Michael -------------- next part -------------- An HTML attachment was scrubbed... URL: From prosoft6 at hotmail.com Sat Aug 2 12:01:37 2003 From: prosoft6 at hotmail.com (Julie Reardon-Taylor) Date: Sat, 02 Aug 2003 13:01:37 -0400 Subject: [AccessD] Data Access Pages Message-ID: Hi Members, I'm in the midst of creating a simple Data Access Page in Access 2002, and can't seem to get the page to allow edits. Help tells me that I cannot have any grouping levels, along with many other restrictions. I can get the page to allow edits, addditions, etc. based on one table, but not another. I cannot get the page to allow edits or additions when based on a query with a standard join. Anyone have experience with these? Julie Reardon-Taylor PRO-SOFT OF NY, INC. www.pro-soft.net _________________________________________________________________ MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. http://join.msn.com/?page=features/virus From prosoft6 at hotmail.com Sat Aug 2 12:03:51 2003 From: prosoft6 at hotmail.com (Julie Reardon-Taylor) Date: Sat, 02 Aug 2003 13:03:51 -0400 Subject: [AccessD] Accessing Public Variables for use in a report Message-ID: Hi Again, In order to use the value of my public variables in a report, I have inserted unbound text boxes on my report, and in the OnFormat section, assigned the unbound text boxes the value of these public variables, however, all I see is zeroes! Where have I gone wrong? Julie Reardon-Taylor PRO-SOFT OF NY, INC. www.pro-soft.net _________________________________________________________________ The new MSN 8: smart spam protection and 2 months FREE* http://join.msn.com/?page=features/junkmail From harkins at iglou.com Sat Aug 2 12:15:10 2003 From: harkins at iglou.com (Susan Harkins) Date: Sat, 2 Aug 2003 13:15:10 -0400 Subject: [AccessD] Data Access Pages References: Message-ID: <013501c35919$cb45f580$d6e6ffcc@SusanOne> Can we see the SQL statement? It is true, you can't update a query that uses GROUP BY, and there are several other restrictions. Susan H. > > Hi Members, > > I'm in the midst of creating a simple Data Access Page in Access 2002, and > can't seem to get the page to allow edits. Help tells me that I cannot have > any grouping levels, along with many other restrictions. I can get the page > to allow edits, addditions, etc. based on one table, but not another. I > cannot get the page to allow edits or additions when based on a query with a > standard join. Anyone have experience with these? From harkins at iglou.com Sat Aug 2 12:16:15 2003 From: harkins at iglou.com (Susan Harkins) Date: Sat, 2 Aug 2003 13:16:15 -0400 Subject: [AccessD] Accessing Public Variables for use in a report References: Message-ID: <013601c35919$cc17c470$d6e6ffcc@SusanOne> When, where and how are you defining these public variables? Susan H. > > Hi Again, > > In order to use the value of my public variables in a report, I have > inserted unbound text boxes on my report, and in the OnFormat section, > assigned the unbound text boxes the value of these public variables, > however, all I see is zeroes! Where have I gone wrong? From harkins at iglou.com Sat Aug 2 18:17:05 2003 From: harkins at iglou.com (Susan Harkins) Date: Sat, 2 Aug 2003 19:17:05 -0400 Subject: [AccessD] Circle method Message-ID: <010e01c3594c$43a32de0$1a4afccc@SusanOne> expression.Circle(flags, X, Y, radius, color, start, end, aspect) The above is from Help; it's the syntax for using the Circle method. Help also says flags is required. However, I've not seen any examples that actually use it -- is this a mistake in Help or am I just missing something. I've found no explanation for what flags is -- Help just says a required integer and then proceeds to use an example that doesn't seem to use it! Another question, why are the X/Y coordinates always shown in ()? Me.Circle(X, Y) radius, color, start, end, aspect -- despite the above syntax? I found nothing on msdn or the knowledge base, but then I'm search challenged. Susan H. From rjhjr at cox.net Sat Aug 2 20:31:59 2003 From: rjhjr at cox.net (Bob Hall) Date: Sat, 2 Aug 2003 21:31:59 -0400 Subject: [AccessD] Circle method In-Reply-To: <010e01c3594c$43a32de0$1a4afccc@SusanOne> References: <010e01c3594c$43a32de0$1a4afccc@SusanOne> Message-ID: <20030803013159.GA19881@kongemord.krig.net> On Sat, Aug 02, 2003 at 07:17:05PM -0400, Susan Harkins wrote: > expression.Circle(flags, X, Y, radius, color, start, end, aspect) > > The above is from Help; it's the syntax for using the Circle method. Help > also says flags is required. However, I've not seen any examples that > actually use it -- is this a mistake in Help or am I just missing > something. I've found no explanation for what flags is -- Help just says a > required integer and then proceeds to use an example that doesn't seem to > use it! Try this URL: http://www.juicystudio.com/tutorial/vb/graphics.html According to this article, only the X and Y coordinates are required. > Another question, why are the X/Y coordinates always shown in ()? Because the person who designed the interface was in Redmond, and his mind was lying on a beach in Cancun drinking rum and fruit juice. > Me.Circle(X, Y) radius, color, start, end, aspect -- despite the above > syntax? I found nothing on msdn or the knowledge base, but then I'm search > challenged. > > Susan H. > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From harkins at iglou.com Sat Aug 2 20:39:48 2003 From: harkins at iglou.com (Susan Harkins) Date: Sat, 2 Aug 2003 21:39:48 -0400 Subject: [AccessD] Circle method References: <010e01c3594c$43a32de0$1a4afccc@SusanOne> <20030803013159.GA19881@kongemord.krig.net> Message-ID: <01fe01c35960$21959710$1a4afccc@SusanOne> > Because the person who designed the interface was in Redmond, and his > mind was lying on a beach in Cancun drinking rum and fruit juice. ==========That explains a lot! ;) Thanks! Susan H. From gustav at cactus.dk Sun Aug 3 02:10:54 2003 From: gustav at cactus.dk (Gustav Brock) Date: Sun, 3 Aug 2003 09:10:54 +0200 Subject: [AccessD] Circle method In-Reply-To: <20030803013159.GA19881@kongemord.krig.net> References: <010e01c3594c$43a32de0$1a4afccc@SusanOne> <20030803013159.GA19881@kongemord.krig.net> Message-ID: <1965332227.20030803091054@cactus.dk> Hi Susan Steps/Flags deals with if the coordinates are relative or absolute. However, more info is mixed into the Flags. I haven't worked with this but here's a nice article in German explaining some more ... at least the code examples give some pointers: http://www.aboutvb.de/khw/artikel/khwucldraw.htm /gustav >> expression.Circle(flags, X, Y, radius, color, start, end, aspect) >> >> The above is from Help; it's the syntax for using the Circle method. Help >> also says flags is required. However, I've not seen any examples that >> actually use it -- is this a mistake in Help or am I just missing >> something. I've found no explanation for what flags is -- Help just says a >> required integer and then proceeds to use an example that doesn't seem to >> use it! > Try this URL: http://www.juicystudio.com/tutorial/vb/graphics.html > According to this article, only the X and Y coordinates are required. >> Another question, why are the X/Y coordinates always shown in ()? > Because the person who designed the interface was in Redmond, and his > mind was lying on a beach in Cancun drinking rum and fruit juice. >> Me.Circle(X, Y) radius, color, start, end, aspect -- despite the above >> syntax? I found nothing on msdn or the knowledge base, but then I'm search >> challenged. From prosoft6 at hotmail.com Sun Aug 3 08:34:01 2003 From: prosoft6 at hotmail.com (Julie Reardon-Taylor) Date: Sun, 03 Aug 2003 09:34:01 -0400 Subject: [AccessD] Accessing Public Variables for use in a report Message-ID: Susan, They are declared in the General section of the code behind the form. Julie Reardon-Taylor PRO-SOFT OF NY, INC. www.pro-soft.net _________________________________________________________________ Help STOP SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail From prosoft6 at hotmail.com Sun Aug 3 08:35:19 2003 From: prosoft6 at hotmail.com (Julie Reardon-Taylor) Date: Sun, 03 Aug 2003 09:35:19 -0400 Subject: [AccessD] Data Access Pages Message-ID: Susan, Here is the sql statement. Hope this helps. Why so many restrictions on DAP's? SELECT CardInventory.item_no, CardInventory.item_desc_1, CardInventory.prod_cat, CardInventory.loc, CardInventory.item_weight, CardInventory.user_def_fld_1, CardInventory.user_def_fld_2, dbo_IMLSMST_SQL.ser_lot_no, CardInventory.user_def_fld_3 FROM dbo_IMLSMST_SQL INNER JOIN CardInventory ON dbo_IMLSMST_SQL.item_no = CardInventory.item_no WHERE (((CardInventory.loc)="c")); Julie Reardon-Taylor PRO-SOFT OF NY, INC. www.pro-soft.net _________________________________________________________________ MSN 8 with e-mail virus protection service: 2 months FREE* http://join.msn.com/?page=features/virus From harkins at iglou.com Sun Aug 3 09:00:01 2003 From: harkins at iglou.com (Susan Harkins) Date: Sun, 3 Aug 2003 10:00:01 -0400 Subject: [AccessD] Data Access Pages References: Message-ID: <006201c359c7$8ce333d0$b9e6ffcc@SusanOne> Julie, set the page's Recordset Type property to Dynaset (Inconsistent Update). Susan H. > Susan, > > > Here is the sql statement. Hope this helps. Why so many restrictions on > DAP's? > > SELECT CardInventory.item_no, CardInventory.item_desc_1, > CardInventory.prod_cat, CardInventory.loc, CardInventory.item_weight, > CardInventory.user_def_fld_1, CardInventory.user_def_fld_2, > dbo_IMLSMST_SQL.ser_lot_no, CardInventory.user_def_fld_3 > FROM dbo_IMLSMST_SQL INNER JOIN CardInventory ON dbo_IMLSMST_SQL.item_no = > CardInventory.item_no > WHERE (((CardInventory.loc)="c")); > > > > Julie Reardon-Taylor > PRO-SOFT OF NY, INC. > www.pro-soft.net > > _________________________________________________________________ > MSN 8 with e-mail virus protection service: 2 months FREE* > http://join.msn.com/?page=features/virus > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From prosoft6 at hotmail.com Sun Aug 3 09:05:30 2003 From: prosoft6 at hotmail.com (Julie Reardon-Taylor) Date: Sun, 03 Aug 2003 10:05:30 -0400 Subject: [AccessD] Data Access Pages Message-ID: Thanks Susan! Julie Reardon-Taylor PRO-SOFT OF NY, INC. www.pro-soft.net _________________________________________________________________ The new MSN 8: smart spam protection and 2 months FREE* http://join.msn.com/?page=features/junkmail From prosoft6 at hotmail.com Sun Aug 3 09:10:30 2003 From: prosoft6 at hotmail.com (Julie Reardon-Taylor) Date: Sun, 03 Aug 2003 10:10:30 -0400 Subject: [AccessD] Data Access Pages Message-ID: Susan, Tried that. Still won't let me update, add, delete. Very frustrating. Julie Reardon-Taylor PRO-SOFT OF NY, INC. www.pro-soft.net _________________________________________________________________ Tired of spam? Get advanced junk mail protection with MSN 8. http://join.msn.com/?page=features/junkmail From harkins at iglou.com Sun Aug 3 09:15:15 2003 From: harkins at iglou.com (Susan Harkins) Date: Sun, 3 Aug 2003 10:15:15 -0400 Subject: [AccessD] Accessing Public Variables for use in a report References: Message-ID: <009d01c359c9$aac26130$b9e6ffcc@SusanOne> You're going to kill me, but um.... I don't remember the original question! I generally delete these messages as soon as I've read them. Susan H. > Susan, > > They are declared in the General section of the code behind the form. From harkins at iglou.com Sun Aug 3 09:18:37 2003 From: harkins at iglou.com (Susan Harkins) Date: Sun, 3 Aug 2003 10:18:37 -0400 Subject: [AccessD] Circle method References: <010e01c3594c$43a32de0$1a4afccc@SusanOne> <20030803013159.GA19881@kongemord.krig.net> <1965332227.20030803091054@cactus.dk> Message-ID: <00a101c359ca$22eb07c0$b9e6ffcc@SusanOne> I don't think you can do what I want to do -- at least, not without more pain than it's worth. I was hoping to find some way to pinpoint a field's position (for each record) and then, based on criteria, either draw a circle around the value or not... can't figure out a way to pinpoint where the field begins and ends -- can pinpoint the record and the record's height, but not the field. Could possibly still glean something off the control's Border property perhaps, but haven't ventured in yet. Susan H. > Hi Susan > > Steps/Flags deals with if the coordinates are relative or absolute. > However, more info is mixed into the Flags. > > I haven't worked with this but here's a nice article in German > explaining some more ... at least the code examples give some > pointers: > > http://www.aboutvb.de/khw/artikel/khwucldraw.htm > > /gustav > > > >> expression.Circle(flags, X, Y, radius, color, start, end, aspect) > >> > >> The above is from Help; it's the syntax for using the Circle method. Help > >> also says flags is required. However, I've not seen any examples that > >> actually use it -- is this a mistake in Help or am I just missing > >> something. I've found no explanation for what flags is -- Help just says a > >> required integer and then proceeds to use an example that doesn't seem to > >> use it! > > > Try this URL: > http://www.juicystudio.com/tutorial/vb/graphics.html > > According to this article, only the X and Y coordinates are required. > > >> Another question, why are the X/Y coordinates always shown in ()? > > > Because the person who designed the interface was in Redmond, and his > > mind was lying on a beach in Cancun drinking rum and fruit juice. > > >> Me.Circle(X, Y) radius, color, start, end, aspect -- despite the above > >> syntax? I found nothing on msdn or the knowledge base, but then I'm search > >> challenged. > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From jimdettman at earthlink.net Sun Aug 3 09:33:07 2003 From: jimdettman at earthlink.net (Jim Dettman) Date: Sun, 3 Aug 2003 10:33:07 -0400 Subject: [AccessD] Circle method In-Reply-To: <00a101c359ca$22eb07c0$b9e6ffcc@SusanOne> Message-ID: Susan, I'd take the easy route: set the controls background to transparent, then place a second control behind the fist with whatever type of graphic you want. Make it visible or not as conditions warrant. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan Harkins Sent: Sunday, August 03, 2003 10:19 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Circle method I don't think you can do what I want to do -- at least, not without more pain than it's worth. I was hoping to find some way to pinpoint a field's position (for each record) and then, based on criteria, either draw a circle around the value or not... can't figure out a way to pinpoint where the field begins and ends -- can pinpoint the record and the record's height, but not the field. Could possibly still glean something off the control's Border property perhaps, but haven't ventured in yet. Susan H. > Hi Susan > > Steps/Flags deals with if the coordinates are relative or absolute. > However, more info is mixed into the Flags. > > I haven't worked with this but here's a nice article in German > explaining some more ... at least the code examples give some > pointers: > > http://www.aboutvb.de/khw/artikel/khwucldraw.htm > > /gustav > > > >> expression.Circle(flags, X, Y, radius, color, start, end, aspect) > >> > >> The above is from Help; it's the syntax for using the Circle method. Help > >> also says flags is required. However, I've not seen any examples that > >> actually use it -- is this a mistake in Help or am I just missing > >> something. I've found no explanation for what flags is -- Help just says a > >> required integer and then proceeds to use an example that doesn't seem to > >> use it! > > > Try this URL: > http://www.juicystudio.com/tutorial/vb/graphics.html > > According to this article, only the X and Y coordinates are required. > > >> Another question, why are the X/Y coordinates always shown in ()? > > > Because the person who designed the interface was in Redmond, and his > > mind was lying on a beach in Cancun drinking rum and fruit juice. > > >> Me.Circle(X, Y) radius, color, start, end, aspect -- despite the above > >> syntax? I found nothing on msdn or the knowledge base, but then I'm search > >> challenged. > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From harkins at iglou.com Sun Aug 3 09:48:24 2003 From: harkins at iglou.com (Susan Harkins) Date: Sun, 3 Aug 2003 10:48:24 -0400 Subject: [AccessD] Circle method References: Message-ID: <00c601c359ce$4c4485c0$b9e6ffcc@SusanOne> I was considering that with an OLE object that's a simple circle. Problem is, it still isn't dynamic -- if anything in the report changes, you have to adjust the size of the bitmap. But, it's an easy alternative. :) Susan H. > Susan, > > I'd take the easy route: set the controls background to transparent, then > place a second control behind the fist with whatever type of graphic you > want. Make it visible or not as conditions warrant. From jimdettman at earthlink.net Sun Aug 3 11:12:46 2003 From: jimdettman at earthlink.net (Jim Dettman) Date: Sun, 3 Aug 2003 12:12:46 -0400 Subject: [AccessD] Circle method In-Reply-To: <00c601c359ce$4c4485c0$b9e6ffcc@SusanOne> Message-ID: Susan, <> Set the size mode to stretch, then adjust top, left, height, and width as needed. You could also flip between different size circles as far as the OLE bitmap. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan Harkins Sent: Sunday, August 03, 2003 10:48 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Circle method I was considering that with an OLE object that's a simple circle. Problem is, it still isn't dynamic -- if anything in the report changes, you have to adjust the size of the bitmap. But, it's an easy alternative. :) Susan H. > Susan, > > I'd take the easy route: set the controls background to transparent, then > place a second control behind the fist with whatever type of graphic you > want. Make it visible or not as conditions warrant. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Subscriptions at servicexp.com Sun Aug 3 11:58:59 2003 From: Subscriptions at servicexp.com (Robert Gracie) Date: Sun, 3 Aug 2003 12:58:59 -0400 Subject: [AccessD] The Dreaded "Error Message: Error Accessing File. Network Connection May Have Been Lost." In-Reply-To: Message-ID: Well it just happened to me, and I have about 11 hours worth of work that maybe lost (is lost from what I have been reading) The problem is that I did have the "Office 2000 Service Pack 3" installed. So since MS says this will stop the problem from happening in the future, and obviously it does not, how can I protect myself.. Such a pain....!!!! What cause the corruption.... "Save As" some reports..... Any pearls of wisdom?? Robert Gracie www.servicexp.com From harkins at iglou.com Sun Aug 3 12:10:55 2003 From: harkins at iglou.com (Susan Harkins) Date: Sun, 3 Aug 2003 13:10:55 -0400 Subject: [AccessD] Circle method References: Message-ID: <004c01c359e2$345718b0$3e4afccc@SusanOne> > > < is, it still isn't dynamic -->> > > Set the size mode to stretch, then adjust top, left, height, and width as > needed. You could also flip between different size circles as far as the > OLE bitmap. =========Ah... bet you're right -- might create a problem with the aspect, but as long as it doesn't matter, should work well enough. Thanks! Susan H. From artful at rogers.com Sun Aug 3 17:26:48 2003 From: artful at rogers.com (Arthur Fuller) Date: Sun, 3 Aug 2003 18:26:48 -0400 Subject: [AccessD] The Dreaded "Error Message: Error Accessing File. NetworkConnection May Have Been Lost." In-Reply-To: Message-ID: <004d01c35a0e$5417e540$8e01a8c0@Rock> I forget who wrote it now, but I disagree with a recent statement to the effect that "VSS is overkill for single developer projects." No it isn't, and now you know why. The alternative (which I have used extensively as well) is a new MDB|ADP every hour or so, named and dated as such (i.e. My_App_20030801_A.ADP). Either way the most you lose is an hour's work. Way back (and I mean way back) in the days of CP/M, I used WordStar. I was writing a screenplay, doing an all-nighter, and my housemate awoke and plugged the toaster in, blowing the fuse onto which my computer was wired and costing me six hours of ostensibly brilliant writing (when you lose it, it's always brilliant)! Learned then, haven't been prone to a loss bigger than an hour since. May you be able to say the same soon. A. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Robert Gracie Sent: August 3, 2003 12:59 PM To: Access Developers discussion and problem solving Subject: [AccessD] The Dreaded "Error Message: Error Accessing File. NetworkConnection May Have Been Lost." Well it just happened to me, and I have about 11 hours worth of work that maybe lost (is lost from what I have been reading) The problem is that I did have the "Office 2000 Service Pack 3" installed. So since MS says this will stop the problem from happening in the future, and obviously it does not, how can I protect myself.. Such a pain....!!!! What cause the corruption.... "Save As" some reports..... Any pearls of wisdom?? Robert Gracie www.servicexp.com From wdhindman at bellsouth.net Sun Aug 3 19:11:28 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Sun, 3 Aug 2003 20:11:28 -0400 Subject: [AccessD] Circle method References: <004c01c359e2$345718b0$3e4afccc@SusanOne> Message-ID: <000801c35a1c$f39ef190$6101a8c0@amd2k512> Susan ... www.lebans.com has a sample mdb showing how to do this with an image control overlaying your text box ...HTH :) William Hindman "You know the world is going crazy when the best rapper is a white guy, the best golfer is a black guy, The Swiss hold the America's Cup, France is accusing the US of arrogance, and Germany doesn't want to go to war." ----- Original Message ----- From: "Susan Harkins" To: "Access Developers discussion and problem solving" Sent: Sunday, August 03, 2003 1:10 PM Subject: Re: [AccessD] Circle method > > > > < Problem > > is, it still isn't dynamic -->> > > > > Set the size mode to stretch, then adjust top, left, height, and width > as > > needed. You could also flip between different size circles as far as the > > OLE bitmap. > > =========Ah... bet you're right -- might create a problem with the aspect, > but as long as it doesn't matter, should work well enough. Thanks! > > Susan H. > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From d.dick at uws.edu.au Sun Aug 3 21:02:54 2003 From: d.dick at uws.edu.au (Darren DICK) Date: Mon, 4 Aug 2003 12:02:54 +1000 Subject: [AccessD] A2K:Create MDA dB to hold code Message-ID: <013901c35a2c$856bc800$3c619a89@DDICK> Hello all I want to separate my 'favourite's code bits and pieces into a separate db (MDA?) then have any new dB 'reference' the MDA. 1 How do I go about this? 2 What are the 'gotchas' etc? Many thanks in advance Darren From kathryn at bassett.net Sun Aug 3 22:43:49 2003 From: kathryn at bassett.net (Kathryn Bassett) Date: Sun, 3 Aug 2003 20:43:49 -0700 Subject: [AccessD] Report stopped triggering In-Reply-To: <013901c35a2c$856bc800$3c619a89@DDICK> Message-ID: Some of you remember my church database that has pictures. I have a report that prints pages with the names and the pictures. Two problems. 1) It has worked fine until this morning. I tried to print the report before going to church, and it printed to screen just fine. But when I then clicked to print it to the printer, it calculated everything, then "printed" page one except it was blank; then it printed page two just fine. After church, I had more pictures to add, and did so. Then this evening, I wanted to try the report again to see if the blank first page happened again, only this time . . . 2) It won't even print to screen. No *lasting* error message, though *something* flashes to quickly to read. But it doesn't come up with any debug errors or anything like that. Just nothing... Obviously, I need to solve problem 2 before I can work on problem 1. Any ideas? Oh, I had not changed the report in any way, except I changed the name of the report (not the query it's based on). -- Kathryn Rhinehart Bassett (Pasadena CA) "Genealogy is my bag" "GH is my soap" kathryn at bassett.net http://bassett.net From kathryn at bassett.net Sun Aug 3 22:47:38 2003 From: kathryn at bassett.net (Kathryn Bassett) Date: Sun, 3 Aug 2003 20:47:38 -0700 Subject: [AccessD] Print one page of report? In-Reply-To: Message-ID: When generating a report, and I have it on screen, how do I get it to print just one of the pages, instead of the whole report? It doesn't trigger the usual print dialog that allows you to say to print just certain pages. Access2k if that makes a difference. -- Kathryn Rhinehart Bassett (Pasadena CA) "Genealogy is my bag" "GH is my soap" kathryn at bassett.net http://bassett.net From rjhjr at cox.net Sun Aug 3 22:52:04 2003 From: rjhjr at cox.net (Bob Hall) Date: Sun, 3 Aug 2003 23:52:04 -0400 Subject: [AccessD] A2K:Create MDA dB to hold code In-Reply-To: <013901c35a2c$856bc800$3c619a89@DDICK> References: <013901c35a2c$856bc800$3c619a89@DDICK> Message-ID: <20030804035204.GA23334@kongemord.krig.net> On Mon, Aug 04, 2003 at 12:02:54PM +1000, Darren DICK wrote: > Hello all > I want to separate my 'favourite's code bits and pieces into a separate db (MDA?) then > have any new dB 'reference' the MDA. > > 1 How do I go about this? You can do this with an mdb file, but mdas and mdes will work also. Put the file anyplace where you can find it from your project mdb's browser. In the VBA IDE, select the References item from the Tool menu. Browse for your library, and double click it. After that, the public procedures in any standard modules in your library will be available in your project mdb. > 2 What are the 'gotchas' etc? If your mdb is going to be used by anyone other than you, then it's not worth it, for two reasons: 1) If you have code in two files instead of one, then you've got two files to keep track of, instead of one. You'll be amazed how many times you'll forget to include the library file with the main file. I'm sometimes forced to divide code between two different files, but I avoid it when possible. 2) Access sets four references for VBA, by default. Additional references tend to break. To make your code reliable, you have to put code in a start-up form that checks the references and repairs any broken references. If you don't do this, you are going to have to fix the references for your users whenever they break. I have a library of string-parsing routines that I like to keep handy for various tasks. For example, I've got a routine that finds the first occurence of a substring after the Nth occurence of another substring. I always import any routine I use into the mdb that uses it. The hassle associated with add-ins isn't worth it. Bob Hall From tortise at paradise.net.nz Sun Aug 3 23:03:21 2003 From: tortise at paradise.net.nz (Tortise@Paradise) Date: Mon, 4 Aug 2003 16:03:21 +1200 Subject: [AccessD] Accessing Public Variables for use in a report References: <009d01c359c9$aac26130$b9e6ffcc@SusanOne> Message-ID: <027201c35a3d$58228cb0$0900a8c0@P1200n> Not at all!!! It may also be the answer to my question of how do you access a public function as an expression in a query? Kind regards, David Hingston _________________________________________________________________________ Engines2Go - Now THAT's a Search Engine! Automated major search engine manager Makes searching quicker and easier - Have you tried it? http://www.engines2go.com/ http://www.cheqsoft.com/ The home of Clipboard Express, MP3 Detective, TimesOwn and Break Reminder. ----- Original Message ----- From: "Susan Harkins" To: "Access Developers discussion and problem solving" Sent: Monday, August 04, 2003 2:15 AM Subject: Re: [AccessD] Accessing Public Variables for use in a report You're going to kill me, but um.... I don't remember the original question! I generally delete these messages as soon as I've read them. Susan H. From wdhindman at bellsouth.net Sun Aug 3 23:31:43 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Mon, 4 Aug 2003 00:31:43 -0400 Subject: [AccessD] Print one page of report? References: Message-ID: <000401c35a41$4f102ca0$6101a8c0@amd2k512> ...file/print doesn't give you the dialog? William Hindman "You know the world is going crazy when the best rapper is a white guy, the best golfer is a black guy, The Swiss hold the America's Cup, France is accusing the US of arrogance, and Germany doesn't want to go to war." ----- Original Message ----- From: "Kathryn Bassett" To: "dbAdvisors (AccessD)" Sent: Sunday, August 03, 2003 11:47 PM Subject: [AccessD] Print one page of report? > When generating a report, and I have it on screen, how do I get it to print just one of the pages, instead of the whole report? It doesn't trigger the usual print dialog that allows you to say to print just certain pages. > > Access2k if that makes a difference. > > -- > Kathryn Rhinehart Bassett (Pasadena CA) > "Genealogy is my bag" "GH is my soap" > kathryn at bassett.net > http://bassett.net > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From accessd at shaw.ca Sun Aug 3 23:44:38 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Sun, 03 Aug 2003 21:44:38 -0700 Subject: [AccessD] Report stopped triggering In-Reply-To: Message-ID: Hi Kathryn: First question; are your pictures linked or embedded? Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Kathryn Bassett Sent: Sunday, August 03, 2003 8:44 PM To: dbAdvisors (AccessD) Subject: [AccessD] Report stopped triggering Some of you remember my church database that has pictures. I have a report that prints pages with the names and the pictures. Two problems. 1) It has worked fine until this morning. I tried to print the report before going to church, and it printed to screen just fine. But when I then clicked to print it to the printer, it calculated everything, then "printed" page one except it was blank; then it printed page two just fine. After church, I had more pictures to add, and did so. Then this evening, I wanted to try the report again to see if the blank first page happened again, only this time . . . 2) It won't even print to screen. No *lasting* error message, though *something* flashes to quickly to read. But it doesn't come up with any debug errors or anything like that. Just nothing... Obviously, I need to solve problem 2 before I can work on problem 1. Any ideas? Oh, I had not changed the report in any way, except I changed the name of the report (not the query it's based on). -- Kathryn Rhinehart Bassett (Pasadena CA) "Genealogy is my bag" "GH is my soap" kathryn at bassett.net http://bassett.net _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From kathryn at bassett.net Sun Aug 3 23:56:32 2003 From: kathryn at bassett.net (Kathryn Bassett) Date: Sun, 3 Aug 2003 21:56:32 -0700 Subject: [AccessD] Report stopped triggering In-Reply-To: Message-ID: Linked. Have exactly the same routine going on with Muir63.mbd and that works find. I compared the properties of the two reports and they are the same. To add to the problem, I'm now having to reboot between attempts because abc.mdb locks with abc.lbd whenever I try to run things. Kathryn > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Lawrence > (AccessD) > Sent: 03 Aug 2003 9:45:PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Report stopped triggering > > > Hi Kathryn: > > First question; are your pictures linked or embedded? > > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Kathryn > Bassett > Sent: Sunday, August 03, 2003 8:44 PM > To: dbAdvisors (AccessD) > Subject: [AccessD] Report stopped triggering > > > Some of you remember my church database that has pictures. I have a report > that prints pages with the names and the pictures. > > Two problems. > > 1) It has worked fine until this morning. I tried to print the report before > going to church, and it printed to screen just fine. But when I then clicked > to print it to the printer, it calculated everything, then "printed" page > one except it was blank; then it printed page two just fine. > > After church, I had more pictures to add, and did so. Then this evening, I > wanted to try the report again to see if the blank first page happened > again, only this time . . . > > 2) It won't even print to screen. No *lasting* error message, though > *something* flashes to quickly to read. But it doesn't come up with any > debug errors or anything like that. Just nothing... > > Obviously, I need to solve problem 2 before I can work on problem 1. > > Any ideas? > > Oh, I had not changed the report in any way, except I changed the name of > the report (not the query it's based on). > > -- > Kathryn Rhinehart Bassett (Pasadena CA) > "Genealogy is my bag" "GH is my soap" > kathryn at bassett.net > http://bassett.net > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From kathryn at bassett.net Sun Aug 3 23:58:23 2003 From: kathryn at bassett.net (Kathryn Bassett) Date: Sun, 3 Aug 2003 21:58:23 -0700 Subject: [AccessD] Print one page of report? In-Reply-To: <000401c35a41$4f102ca0$6101a8c0@amd2k512> Message-ID: Never dawned on me to try file/print instead of triggering report by doubleclicking. It did give me the dialog to print specific pages, so, when the other part of problem is solved, I'll try that. Thanks. Kathryn > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of William > Hindman > Sent: 03 Aug 2003 9:32:PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Print one page of report? > > > ...file/print doesn't give you the dialog? > > William Hindman > "You know the world is going crazy when the best rapper is a white guy, the > best golfer is a black guy, The Swiss hold the America's Cup, France is > accusing the US of arrogance, and Germany doesn't want to go to war." > > ----- Original Message ----- > From: "Kathryn Bassett" > To: "dbAdvisors (AccessD)" > Sent: Sunday, August 03, 2003 11:47 PM > Subject: [AccessD] Print one page of report? > > > > When generating a report, and I have it on screen, how do I get it to > print just one of the pages, instead of the whole report? It doesn't trigger > the usual print dialog that allows you to say to print just certain pages. > > > > Access2k if that makes a difference. > > > > -- > > Kathryn Rhinehart Bassett (Pasadena CA) > > "Genealogy is my bag" "GH is my soap" > > kathryn at bassett.net > > http://bassett.net > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From andrew.haslett at ilc.gov.au Mon Aug 4 00:07:35 2003 From: andrew.haslett at ilc.gov.au (Haslett, Andrew) Date: Mon, 4 Aug 2003 14:37:35 +0930 Subject: [AccessD] Report stopped triggering Message-ID: Have you checked that the underlying image files haven't been moved or renamed? Has the print settings changed / margins / paper size etc.? When you changed the title, did it take up more space which perhaps affected the page output? Cheers, Andrew -----Original Message----- From: Kathryn Bassett [mailto:kathryn at bassett.net] Sent: Monday, 4 August 2003 2:27 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Report stopped triggering Linked. Have exactly the same routine going on with Muir63.mbd and that works find. I compared the properties of the two reports and they are the same. To add to the problem, I'm now having to reboot between attempts because abc.mdb locks with abc.lbd whenever I try to run things. Kathryn > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Lawrence > (AccessD) > Sent: 03 Aug 2003 9:45:PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Report stopped triggering > > > Hi Kathryn: > > First question; are your pictures linked or embedded? > > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Kathryn > Bassett > Sent: Sunday, August 03, 2003 8:44 PM > To: dbAdvisors (AccessD) > Subject: [AccessD] Report stopped triggering > > > Some of you remember my church database that has pictures. I have a report > that prints pages with the names and the pictures. > > Two problems. > > 1) It has worked fine until this morning. I tried to print the report before > going to church, and it printed to screen just fine. But when I then clicked > to print it to the printer, it calculated everything, then "printed" page > one except it was blank; then it printed page two just fine. > > After church, I had more pictures to add, and did so. Then this evening, I > wanted to try the report again to see if the blank first page happened > again, only this time . . . > > 2) It won't even print to screen. No *lasting* error message, though > *something* flashes to quickly to read. But it doesn't come up with any > debug errors or anything like that. Just nothing... > > Obviously, I need to solve problem 2 before I can work on problem 1. > > Any ideas? > > Oh, I had not changed the report in any way, except I changed the name of > the report (not the query it's based on). > > -- > Kathryn Rhinehart Bassett (Pasadena CA) > "Genealogy is my bag" "GH is my soap" > kathryn at bassett.net > http://bassett.net > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com IMPORTANT - PLEASE READ ******************** This email and any files transmitted with it are confidential and may contain information protected by law from disclosure. If you have received this message in error, please notify the sender immediately and delete this email from your system. No warranty is given that this email or files, if attached to this email, are free from computer viruses or other defects. They are provided on the basis the user assumes all responsibility for loss, damage or consequence resulting directly or indirectly from their use, whether caused by the negligence of the sender or not. From wdhindman at bellsouth.net Mon Aug 4 00:13:22 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Mon, 4 Aug 2003 01:13:22 -0400 Subject: [AccessD] Print one page of report? References: Message-ID: <000401c35a47$2092df20$6101a8c0@amd2k512> ...lol ...and in all these years I've never ever tried double clicking on a report to print it! :) William Hindman "You know the world is going crazy when the best rapper is a white guy, the best golfer is a black guy, The Swiss hold the America's Cup, France is accusing the US of arrogance, and Germany doesn't want to go to war." ----- Original Message ----- From: "Kathryn Bassett" To: "Access Developers discussion and problem solving" Sent: Monday, August 04, 2003 12:58 AM Subject: RE: [AccessD] Print one page of report? > Never dawned on me to try file/print instead of triggering report by doubleclicking. It did give me the dialog to print specific pages, so, when the other part of problem is solved, I'll try that. Thanks. > > Kathryn > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of William > > Hindman > > Sent: 03 Aug 2003 9:32:PM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Print one page of report? > > > > > > ...file/print doesn't give you the dialog? > > > > William Hindman > > "You know the world is going crazy when the best rapper is a white guy, the > > best golfer is a black guy, The Swiss hold the America's Cup, France is > > accusing the US of arrogance, and Germany doesn't want to go to war." > > > > ----- Original Message ----- > > From: "Kathryn Bassett" > > To: "dbAdvisors (AccessD)" > > Sent: Sunday, August 03, 2003 11:47 PM > > Subject: [AccessD] Print one page of report? > > > > > > > When generating a report, and I have it on screen, how do I get it to > > print just one of the pages, instead of the whole report? It doesn't trigger > > the usual print dialog that allows you to say to print just certain pages. > > > > > > Access2k if that makes a difference. > > > > > > -- > > > Kathryn Rhinehart Bassett (Pasadena CA) > > > "Genealogy is my bag" "GH is my soap" > > > kathryn at bassett.net > > > http://bassett.net > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From wdhindman at bellsouth.net Mon Aug 4 00:14:56 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Mon, 4 Aug 2003 01:14:56 -0400 Subject: [AccessD] Report stopped triggering References: Message-ID: <001101c35a47$586cd090$6101a8c0@amd2k512> ...have you tried compacting/repairing the mdb? William Hindman "You know the world is going crazy when the best rapper is a white guy, the best golfer is a black guy, The Swiss hold the America's Cup, France is accusing the US of arrogance, and Germany doesn't want to go to war." ----- Original Message ----- From: "Kathryn Bassett" To: "Access Developers discussion and problem solving" Sent: Monday, August 04, 2003 12:56 AM Subject: RE: [AccessD] Report stopped triggering > Linked. Have exactly the same routine going on with Muir63.mbd and that works find. I compared the properties of the two reports and they are the same. > > To add to the problem, I'm now having to reboot between attempts because abc.mdb locks with abc.lbd whenever I try to run things. > > Kathryn > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Lawrence > > (AccessD) > > Sent: 03 Aug 2003 9:45:PM > > To: Access Developers discussion and problem solving > > Subject: RE: [AccessD] Report stopped triggering > > > > > > Hi Kathryn: > > > > First question; are your pictures linked or embedded? > > > > Jim > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Kathryn > > Bassett > > Sent: Sunday, August 03, 2003 8:44 PM > > To: dbAdvisors (AccessD) > > Subject: [AccessD] Report stopped triggering > > > > > > Some of you remember my church database that has pictures. I have a report > > that prints pages with the names and the pictures. > > > > Two problems. > > > > 1) It has worked fine until this morning. I tried to print the report before > > going to church, and it printed to screen just fine. But when I then clicked > > to print it to the printer, it calculated everything, then "printed" page > > one except it was blank; then it printed page two just fine. > > > > After church, I had more pictures to add, and did so. Then this evening, I > > wanted to try the report again to see if the blank first page happened > > again, only this time . . . > > > > 2) It won't even print to screen. No *lasting* error message, though > > *something* flashes to quickly to read. But it doesn't come up with any > > debug errors or anything like that. Just nothing... > > > > Obviously, I need to solve problem 2 before I can work on problem 1. > > > > Any ideas? > > > > Oh, I had not changed the report in any way, except I changed the name of > > the report (not the query it's based on). > > > > -- > > Kathryn Rhinehart Bassett (Pasadena CA) > > "Genealogy is my bag" "GH is my soap" > > kathryn at bassett.net > > http://bassett.net > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From kathryn at bassett.net Mon Aug 4 00:24:11 2003 From: kathryn at bassett.net (Kathryn Bassett) Date: Sun, 3 Aug 2003 22:24:11 -0700 Subject: [AccessD] Report stopped triggering In-Reply-To: <001101c35a47$586cd090$6101a8c0@amd2k512> Message-ID: Yes. Kathryn > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of William > Hindman > Sent: 03 Aug 2003 10:15:PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Report stopped triggering > > > ...have you tried compacting/repairing the mdb? > > William Hindman From kathryn at bassett.net Mon Aug 4 00:45:08 2003 From: kathryn at bassett.net (Kathryn Bassett) Date: Sun, 3 Aug 2003 22:45:08 -0700 Subject: [AccessD] Report stopped triggering In-Reply-To: Message-ID: Half of them were new today. I link them with the "get photo" routine that Stuart McLachlan made, that allows me to go to the photo and select it - so the filenames/paths are correct. To be sure, I even went through and re-linked all of them (about 3 dozen at this point). I haven't touched the layout at all since the time it worked (to screen this morning). Added more pictures and now it doesn't work. I know size of the database isn't the problem because I have a couple hundred in the school database that uses same routine. Can't figure out why that fleeting message doesn't stay long enough to read!#$%&@$! -- Kathryn Rhinehart Bassett (Pasadena CA) "Genealogy is my bag" "GH is my soap" kathryn at bassett.net http://bassett.net > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Haslett, > Andrew > Sent: 03 Aug 2003 10:08:PM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] Report stopped triggering > > > Have you checked that the underlying image files haven't been moved or > renamed? > > Has the print settings changed / margins / paper size etc.? > > When you changed the title, did it take up more space which perhaps affected > the page output? > > Cheers, > Andrew From d.dick at uws.edu.au Mon Aug 4 02:04:40 2003 From: d.dick at uws.edu.au (Darren DICK) Date: Mon, 4 Aug 2003 17:04:40 +1000 Subject: [AccessD] A2K:Create MDA dB to hold code References: <013901c35a2c$856bc800$3c619a89@DDICK> <20030804035204.GA23334@kongemord.krig.net> Message-ID: <022101c35a56$c0013de0$3c619a89@DDICK> Hi Bob Thanks heaps for the info Darren ----- Original Message ----- From: "Bob Hall" To: "AccessD List" Sent: Monday, August 04, 2003 1:52 PM Subject: Re: [AccessD] A2K:Create MDA dB to hold code > On Mon, Aug 04, 2003 at 12:02:54PM +1000, Darren DICK wrote: > > Hello all > > I want to separate my 'favourite's code bits and pieces into a separate db (MDA?) then > > have any new dB 'reference' the MDA. > > > > 1 How do I go about this? > > You can do this with an mdb file, but mdas and mdes will work also. Put > the file anyplace where you can find it from your project mdb's browser. > In the VBA IDE, select the References item from the Tool menu. Browse > for your library, and double click it. After that, the public procedures > in any standard modules in your library will be available in your project > mdb. > > > 2 What are the 'gotchas' etc? > > If your mdb is going to be used by anyone other than you, then it's > not worth it, for two reasons: > 1) If you have code in two files instead of one, then you've got > two files to keep track of, instead of one. You'll be amazed how > many times you'll forget to include the library file with the > main file. I'm sometimes forced to divide code between two > different files, but I avoid it when possible. > 2) Access sets four references for VBA, by default. Additional > references tend to break. To make your code reliable, you > have to put code in a start-up form that checks the references and > repairs any broken references. If you don't do this, you are going > to have to fix the references for your users whenever they break. > > I have a library of string-parsing routines that I like to keep > handy for various tasks. For example, I've got a routine that finds > the first occurence of a substring after the Nth occurence of another > substring. I always import any routine I use into the mdb that uses it. > The hassle associated with add-ins isn't worth it. > > Bob Hall > _______________________________________________ > 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 Aug 4 02:07:15 2003 From: d.dick at uws.edu.au (Darren DICK) Date: Mon, 4 Aug 2003 17:07:15 +1000 Subject: [AccessD] Print one page of report? References: Message-ID: <025b01c35a57$1a541b00$3c619a89@DDICK> Hi Guys Usually right clicking somewhere on the report brings up a popup menu that has the print option (Among others) Hope this helps Darren ----- Original Message ----- From: "Kathryn Bassett" To: "Access Developers discussion and problem solving" Sent: Monday, August 04, 2003 2:58 PM Subject: RE: [AccessD] Print one page of report? > Never dawned on me to try file/print instead of triggering report by doubleclicking. It did give me the dialog to print specific pages, so, when the other part of problem is solved, I'll try that. Thanks. > > Kathryn > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of William > > Hindman > > Sent: 03 Aug 2003 9:32:PM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Print one page of report? > > > > > > ...file/print doesn't give you the dialog? > > > > William Hindman > > "You know the world is going crazy when the best rapper is a white guy, the > > best golfer is a black guy, The Swiss hold the America's Cup, France is > > accusing the US of arrogance, and Germany doesn't want to go to war." > > > > ----- Original Message ----- > > From: "Kathryn Bassett" > > To: "dbAdvisors (AccessD)" > > Sent: Sunday, August 03, 2003 11:47 PM > > Subject: [AccessD] Print one page of report? > > > > > > > When generating a report, and I have it on screen, how do I get it to > > print just one of the pages, instead of the whole report? It doesn't trigger > > the usual print dialog that allows you to say to print just certain pages. > > > > > > Access2k if that makes a difference. > > > > > > -- > > > Kathryn Rhinehart Bassett (Pasadena CA) > > > "Genealogy is my bag" "GH is my soap" > > > kathryn at bassett.net > > > http://bassett.net > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From artful at rogers.com Mon Aug 4 07:10:13 2003 From: artful at rogers.com (Arthur Fuller) Date: Mon, 4 Aug 2003 08:10:13 -0400 Subject: [AccessD] Print one page of report? In-Reply-To: <000401c35a47$2092df20$6101a8c0@amd2k512> Message-ID: <008301c35a81$5c23d8c0$8e01a8c0@Rock> That makes two of us! And here I thought we were experts :-) Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: August 4, 2003 1:13 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Print one page of report? ...lol ...and in all these years I've never ever tried double clicking on a report to print it! :) William Hindman From prosoft6 at hotmail.com Mon Aug 4 07:15:56 2003 From: prosoft6 at hotmail.com (Julie Reardon-Taylor) Date: Mon, 04 Aug 2003 08:15:56 -0400 Subject: [AccessD] Accessing Public Variables for use in a report Message-ID: Susan, Thanks for answering on a weekend! My question about public variables stemmed from some variables that I have declared in the General section of the code behind a form. I would like to use the value of those variables on a report, and can't seem to get anything out of them except zero. Should I be placing an unbound textbox on the report and then setting their value equal to the variable name on the report? I ended up trying that as well as assigning the value in the OnFormat event procedure behind the report and neither seems to work. What am I doing wrong? Do I need to reference the variables differently because they are declared behind the form instead of in a separate module? Julie Reardon-Taylor PRO-SOFT OF NY, INC. www.pro-soft.net _________________________________________________________________ The new MSN 8: advanced junk mail protection and 2 months FREE* http://join.msn.com/?page=features/junkmail From bheid at appdevgrp.com Mon Aug 4 07:27:07 2003 From: bheid at appdevgrp.com (Bobby Heid) Date: Mon, 4 Aug 2003 08:27:07 -0400 Subject: [AccessD] Age calculation function Message-ID: <916187228923D311A6FE00A0CC3FAA30527B56@ADGSERVER> LOL. Sorry, was trying to get out of the office for the weekend. What I was saying is that technically, a day is not over until the time has reached OVER 24 hours, same for a year. Looking visually at the calendar, 12:00am to 9:00pm is one day. But if you do the math, it is only 21 hours, which is only 75% of a day. So, using your dates (03/01/1992-03/01/1987), looking at the calendar, it is easy to see that it should be 5 years. But until you reach that 1st second on 03/01/1992, you have not really used up that last full day. That is why my original code did not work. Any clearer now? Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock Sent: Saturday, August 02, 2003 5:02 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Age calculation function Hi Bobby I tried to think but I'm not quite sure I can follow you. Only newly born babies and astrologers care for the time of the day of birth, and only children are interested in ages with a resolution of months. And, of course, a new day begins at midnight. /gustav > Good point! I did not think that you were picking on me. > While thinking about this, you technically have to add 0.0001 (may could go > smaller) day. > Think about it > 12/1/99-12/1/99 is technically saying the same as > 12/1/99 12:00am 0 12/1/99 11:59:59pm, which IMHO is not 1 full day until > that last second has past (and then it is the next day). > When you are using my method, I think that maybe you have to add 0.0001 days > to get the desired results. > I modified the function to take a fraction of a day and entered .0001 as the > fraction to add and I get: > Debug.Print (Greg2JD("03/01/1992",0)-Greg2JD("03/01/1987",0.0001))/365.25= > 5.00205311425984 > What do you all think? > Bobby > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock > Sent: Friday, August 01, 2003 3:29 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Age calculation function > Hi Bobby >> This function can be made even more generic by passing in the month, day, >> year, and day fraction (or the day as a fraction 12/4/2003 6:00AM would be >> 12, 4.25, 2003). This way, the function can handle years BC. >> Just in case anyone cared. :-) > Well, could be interesting ... who knows, but it still fails an > example like this: > ? (Greg2jd("03/01/1992") - Greg2jd("03/01/1987")) / 365.25 > 4,99931553730322 > like any other method relying on dividing by 365,25. This method is > what we call a "shoemaker method" as it is a method working in "most > cases" but not all. > This is not to pick on you - because it is still published many places > - but for the records, so no list member should be tempted to use a > quick and dirty suggestion for serious use. > /gustav >> Public Function Greg2JD(ByVal strDate As String) As Double >> Dim A As Long >> Dim B As Long >> Dim MM As Long >> Dim YY As Long >> Dim DD As Single >> MM = Month(strDate) >> YY = Year(strDate) >> DD = Day(strDate) >> 'note, you could pass the time of day in as a fraction of a day. >> 'if you do so, simply add the fraction of the day to DD >> 'As is, this code assumes 0 hour, i.e. if it is the 4th, >> 'then it assumed to be the 4th at 12:00:00 AM >> 'DD = DD + sDayFrac 'sDayFrac is the variable holding fraction of >> day >> If MM < 3 Then >> YY = YY - 1 >> MM = MM + 12 >> End If >> A = YY \ 100 'integer math >> B = 2 - A + A \ 4 'integer math >> Greg2JD = Int(365.25 * (YY + 4716)) + Int(30.6001 * (MM + 1)) + DD + B > - >> 1524.5 >> End Function >> To work out our example, I called it with: >> Debug.Print (Greg2JD("02/18/2002") - Greg2JD("02/29/1988")) / 365.25 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Mon Aug 4 07:46:20 2003 From: gustav at cactus.dk (Gustav Brock) Date: Mon, 4 Aug 2003 14:46:20 +0200 Subject: [AccessD] Age calculation function In-Reply-To: <916187228923D311A6FE00A0CC3FAA30527B56@ADGSERVER> References: <916187228923D311A6FE00A0CC3FAA30527B56@ADGSERVER> Message-ID: <19821026985.20030804144620@cactus.dk> Hi Bobby Yes, much clearer. And you may have touched the core of a task like this - that it is very easy to tell and even show how to do it but the coding contains a lot of traps. /gustav > LOL. > Sorry, was trying to get out of the office for the weekend. > What I was saying is that technically, a day is not over until the time has > reached OVER 24 hours, same for a year. Looking visually at the calendar, > 12:00am to 9:00pm is one day. But if you do the math, it is only 21 hours, > which is only 75% of a day. > So, using your dates (03/01/1992-03/01/1987), looking at the calendar, it is > easy to see that it should be 5 years. But until you reach that 1st second > on 03/01/1992, you have not really used up that last full day. That is why > my original code did not work. > Any clearer now? > Bobby > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock > Sent: Saturday, August 02, 2003 5:02 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Age calculation function > Hi Bobby > I tried to think but I'm not quite sure I can follow you. Only newly > born babies and astrologers care for the time of the day of birth, and > only children are interested in ages with a resolution of months. And, > of course, a new day begins at midnight. > /gustav >> Good point! I did not think that you were picking on me. >> While thinking about this, you technically have to add 0.0001 (may could >> go smaller) day. >> Think about it >> 12/1/99-12/1/99 is technically saying the same as >> 12/1/99 12:00am 0 12/1/99 11:59:59pm, which IMHO is not 1 full day until >> that last second has past (and then it is the next day). >> When you are using my method, I think that maybe you have to add 0.0001 >> days to get the desired results. >> I modified the function to take a fraction of a day and entered .0001 as >> the fraction to add and I get: >> Debug.Print (Greg2JD("03/01/1992",0)-Greg2JD("03/01/1987",0.0001))/365.25= >> 5.00205311425984 >> What do you all think? From gustav at cactus.dk Mon Aug 4 07:50:22 2003 From: gustav at cactus.dk (Gustav Brock) Date: Mon, 4 Aug 2003 14:50:22 +0200 Subject: [AccessD] Print one page of report? In-Reply-To: <008301c35a81$5c23d8c0$8e01a8c0@Rock> References: <008301c35a81$5c23d8c0$8e01a8c0@Rock> Message-ID: <10421268903.20030804145022@cactus.dk> Hi Arthur and William If it can bring any relief to you, count me in as the third ... /gustav > That makes two of us! And here I thought we were experts :-) > Arthur > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman > Sent: August 4, 2003 1:13 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Print one page of report? > ...lol ...and in all these years I've never ever tried double clicking on a > report to print it! :) > William Hindman From gustav at cactus.dk Mon Aug 4 07:53:51 2003 From: gustav at cactus.dk (Gustav Brock) Date: Mon, 4 Aug 2003 14:53:51 +0200 Subject: [AccessD] Accessing Public Variables for use in a report In-Reply-To: References: Message-ID: <15721478033.20030804145351@cactus.dk> Hi Julie You need to move those public variables to a stand alone module. In a cbf-module they are public to the code of that form/report only. /gustav > My question about public variables stemmed from some variables that I have > declared in the General section of the code behind a form. I would like to > use the value of those variables on a report, and can't seem to get anything > out of them except zero. Should I be placing an unbound textbox on the > report and then setting their value equal to the variable name on the > report? I ended up trying that as well as assigning the value in the > OnFormat event procedure behind the report and neither seems to work. What > am I doing wrong? Do I need to reference the variables differently because > they are declared behind the form instead of in a separate module? From garykjos at hotmail.com Mon Aug 4 08:22:56 2003 From: garykjos at hotmail.com (Gary Kjos) Date: Mon, 04 Aug 2003 08:22:56 -0500 Subject: [AccessD] Report stopped triggering Message-ID: If you change the name back to it's original name does it work? Do you have a control - possibly an image control pointing to another control that has the name/path of the picture file it is displaying? Or perhaps some event code that has the report name hard coded in it that got broken when you changed the report name? Gary Kjos garykjos at hotmail.com >From: "Kathryn Bassett" >Reply-To: Access Developers discussion and problem >solving >To: "Access Developers discussion and problem >solving" >Subject: RE: [AccessD] Report stopped triggering >Date: Sun, 3 Aug 2003 22:45:08 -0700 > >Half of them were new today. I link them with the "get photo" routine that >Stuart McLachlan made, that allows me to go to the photo and select it - so >the filenames/paths are correct. To be sure, I even went through and >re-linked all of them (about 3 dozen at this point). I haven't touched the >layout at all since the time it worked (to screen this morning). Added more >pictures and now it doesn't work. I know size of the database isn't the >problem because I have a couple hundred in the school database that uses >same routine. > >Can't figure out why that fleeting message doesn't stay long enough to >read!#$%&@$! > >-- >Kathryn Rhinehart Bassett (Pasadena CA) >"Genealogy is my bag" "GH is my soap" >kathryn at bassett.net >http://bassett.net > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Haslett, > > Andrew > > Sent: 03 Aug 2003 10:08:PM > > To: 'Access Developers discussion and problem solving' > > Subject: RE: [AccessD] Report stopped triggering > > > > > > Have you checked that the underlying image files haven't been moved or > > renamed? > > > > Has the print settings changed / margins / paper size etc.? > > > > When you changed the title, did it take up more space which perhaps >affected > > the page output? > > > > Cheers, > > Andrew > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ The new MSN 8: advanced junk mail protection and 2 months FREE* http://join.msn.com/?page=features/junkmail From prosoft6 at hotmail.com Mon Aug 4 08:54:25 2003 From: prosoft6 at hotmail.com (Julie Reardon-Taylor) Date: Mon, 04 Aug 2003 09:54:25 -0400 Subject: [AccessD] Accessing Public Variables for use in a report Message-ID: Thank you Gustav. Done! Julie Reardon-Taylor PRO-SOFT OF NY, INC. www.pro-soft.net _________________________________________________________________ Tired of spam? Get advanced junk mail protection with MSN 8. http://join.msn.com/?page=features/junkmail From mwhittinghill at symphonyinfo.com Mon Aug 4 09:23:54 2003 From: mwhittinghill at symphonyinfo.com (Mark Whittinghill) Date: Mon, 4 Aug 2003 09:23:54 -0500 Subject: [AccessD] Age calculation function References: <916187228923D311A6FE00A0CC3FAA30527B53@ADGSERVER><000e01c35864$661482e0$0400000a@PASCAL> <1695797947.20030802112421@cactus.dk> Message-ID: <01b401c35a94$08c42dc0$0400000a@PASCAL> Gustav, I've been out of the office over the weekend, but I will try this one. Thanks. Mark Whittinghill Symphony Information Services 612-333-1311 mwhittinghill at symphonyinfo.com ----- Original Message ----- From: "Gustav Brock" To: "Access Developers discussion and problem solving" Sent: Saturday, August 02, 2003 4:24 AM Subject: Re: [AccessD] Age calculation function > Hi Mark > > > Is there a solution to this? > > Certainly. It can be found here at Drew's archive: > > http://www.wolfwares.com/AccessD/postinfo.asp?Post=29448 > > However, Drew, the indenting is bad, so below is again the function we > use. > > I'm not claiming this method to be the mother of anything but it works > without errors. To quote myself from 2002-10-04: > > > > We have have had the need to calculate the correct age no matter what, > and I have yet to see this function fail. It has been posted before but > with so many "Age_is_just_about()" functions it seems to be the time to > post it again. > > The crucial point is the correct age count for those poor souls born on > the 29th of February: > > > Function Age(ByVal datDateOfBirth As Date, Optional ByVal varDate As Variant) As Integer > > ' Calculates age at today's date or at a specified date earlier or later in time. > ' Uses Years() for calculating difference in years. > ' > ' Gustav Brock, Cactus Data ApS. > ' 2000-11-03. > > Dim datDate As Date > > ' No special error handling. > On Error Resume Next > > If IsDate(varDate) Then > datDate = CDate(varDate) > Else > datDate = Date > End If > > Age = Years(datDateOfBirth, datDate) > > End Function > > Function Years(ByVal datDate1 As Date, ByVal datDate2 As Date) As Integer > > ' Returns the difference in full years between datDate1 and datDate2. > ' > ' Calculates correctly for: > ' negative differences > ' leap years > ' dates of 29. February > ' date/time values with embedded time values > ' negative date/time values (prior to 1899-12-29) > ' > ' Gustav Brock, Cactus Data ApS. > ' 2000-11-03. > ' 2000-12-16. Leap year correction modified to be symmetrical. > ' Calculation of intDaysDiff simplified. > ' Renamed from YearsDiff() to Years(). > ' 2000-12-18. Added cbytMonthDaysMax. > > ' Constants for leap year calculation. Last normal date of February. > Const cbytFebMonth As Byte = 2 > Const cbytFebLastDay As Byte = 28 > ' Maximum number of days in a month. > Const cbytMonthDaysMax As Byte = 31 > > Dim intYears As Integer > Dim intDaysDiff As Integer > Dim intReversed As Integer > > ' No special error handling. > On Error Resume Next > > intYears = DateDiff("yyyy", datDate1, datDate2) > If intYears = 0 Then > ' Both dates fall within the same year. > Else > ' Check for ultimo February and leap years. > If (Month(datDate1) = cbytFebMonth) And (Month(datDate2) = cbytFebMonth) Then > ' Both dates fall in February. > ' Check if dates are at ultimo February. > If (Day(datDate1) >= cbytFebLastDay) And (Day(datDate2) >= cbytFebLastDay) Then > ' Both dates are at ultimo February. > ' Check if the dates fall in leap years. > If Day(DateSerial(Year(datDate1), cbytFebMonth + 1, 0)) = cbytFebLastDay Xor _ > Day(DateSerial(Year(datDate2), cbytFebMonth + 1, 0)) = cbytFebLastDay Then > ' Only one date falls within a leap year. > ' Adjust both dates to day 28 of February. > datDate1 = DateAdd("d", cbytFebLastDay - Day(datDate1), datDate1) > datDate2 = DateAdd("d", cbytFebLastDay - Day(datDate2), datDate2) > Else > ' Both dates fall either in leap years or non leap years. > ' No adjustment needed. > End If > End If > End If > ' Calculate day difference using months and days as Days() will fail when > ' comparing leap years with non leap years for dates after February. > intDaysDiff = (Month(datDate1) * cbytMonthDaysMax + Day(datDate1)) - (Month(datDate2) * cbytMonthDaysMax + Day(datDate2)) > intReversed = Sgn(intYears) > ' Decrease count of years by one if dates are closer than one year. > intYears = intYears + (intReversed * ((intReversed * intDaysDiff) > 0)) > End If > > Years = intYears > > End Function > > > > /gustav > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From cfoust at infostatsystems.com Mon Aug 4 10:17:13 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 4 Aug 2003 08:17:13 -0700 Subject: [AccessD] A2K:Create MDA dB to hold code Message-ID: Actually, we use a code library in our commercial applications. That's what the recent thread on broken references dealt with. It's a standard part of our installation. Charlotte Foust -----Original Message----- From: Darren DICK [mailto:d.dick at uws.edu.au] Sent: Sunday, August 03, 2003 11:05 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] A2K:Create MDA dB to hold code Hi Bob Thanks heaps for the info Darren ----- Original Message ----- From: "Bob Hall" To: "AccessD List" Sent: Monday, August 04, 2003 1:52 PM Subject: Re: [AccessD] A2K:Create MDA dB to hold code > On Mon, Aug 04, 2003 at 12:02:54PM +1000, Darren DICK wrote: > > Hello all > > I want to separate my 'favourite's code bits and pieces into a > > separate db (MDA?) then have any new dB 'reference' the MDA. > > > > 1 How do I go about this? > > You can do this with an mdb file, but mdas and mdes will work also. > Put > the file anyplace where you can find it from your project mdb's browser. > In the VBA IDE, select the References item from the Tool menu. Browse > for your library, and double click it. After that, the public procedures > in any standard modules in your library will be available in your project > mdb. > > > 2 What are the 'gotchas' etc? > > If your mdb is going to be used by anyone other than you, then it's > not worth it, for two reasons: > 1) If you have code in two files instead of one, then you've got > two files to keep track of, instead of one. You'll be amazed how > many times you'll forget to include the library file with the > main file. I'm sometimes forced to divide code between two > different files, but I avoid it when possible. > 2) Access sets four references for VBA, by default. Additional > references tend to break. To make your code reliable, you > have to put code in a start-up form that checks the references and > repairs any broken references. If you don't do this, you are going > to have to fix the references for your users whenever they break. > > I have a library of string-parsing routines that I like to keep > handy for various tasks. For example, I've got a routine that finds > the first occurence of a substring after the Nth occurence of another > substring. I always import any routine I use into the mdb that uses it. > The hassle associated with add-ins isn't worth it. > > Bob Hall > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Mon Aug 4 10:23:13 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 4 Aug 2003 08:23:13 -0700 Subject: [AccessD] The Dreaded "Error Message: Error Accessing File.NetworkConnection May Have Been Lost." Message-ID: There seems to be some oddness built into the 2002 version of vbe6.dll. In a machine with NO Office 2000 ever installed on it, I will sometimes see a reference to the Utilities.mda or one of the wizards in the project explorer pane. I have no idea where they came from because if I close Access and then reopen the database, the phantom references will be gone. On my personal machine, I haven't seen that error message since I installed SR3, but I have seen the same kind of phantom references. When I spot them in A2k, I shut the session down immediately just as a safety precaution. Charlotte Foust -----Original Message----- From: Arthur Fuller [mailto:artful at rogers.com] Sent: Sunday, August 03, 2003 2:27 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] The Dreaded "Error Message: Error Accessing File.NetworkConnection May Have Been Lost." I forget who wrote it now, but I disagree with a recent statement to the effect that "VSS is overkill for single developer projects." No it isn't, and now you know why. The alternative (which I have used extensively as well) is a new MDB|ADP every hour or so, named and dated as such (i.e. My_App_20030801_A.ADP). Either way the most you lose is an hour's work. Way back (and I mean way back) in the days of CP/M, I used WordStar. I was writing a screenplay, doing an all-nighter, and my housemate awoke and plugged the toaster in, blowing the fuse onto which my computer was wired and costing me six hours of ostensibly brilliant writing (when you lose it, it's always brilliant)! Learned then, haven't been prone to a loss bigger than an hour since. May you be able to say the same soon. A. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Robert Gracie Sent: August 3, 2003 12:59 PM To: Access Developers discussion and problem solving Subject: [AccessD] The Dreaded "Error Message: Error Accessing File. NetworkConnection May Have Been Lost." Well it just happened to me, and I have about 11 hours worth of work that maybe lost (is lost from what I have been reading) The problem is that I did have the "Office 2000 Service Pack 3" installed. So since MS says this will stop the problem from happening in the future, and obviously it does not, how can I protect myself.. Such a pain....!!!! What cause the corruption.... "Save As" some reports..... Any pearls of wisdom?? Robert Gracie www.servicexp.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Mon Aug 4 10:46:45 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Mon, 04 Aug 2003 08:46:45 -0700 Subject: [AccessD] Report stopped triggering In-Reply-To: Message-ID: Hi Kathyrn: My prognosis, as you have probably already assumed, is that the particular database has somehow become corrupted. I would open up the bad db, create and open a new db and copy and paste the components and code from one to the other, as the standard repair and compact has failed to work. I have no more to offer than the standard solutions and... HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Kathryn Bassett Sent: Sunday, August 03, 2003 9:57 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Report stopped triggering Linked. Have exactly the same routine going on with Muir63.mbd and that works find. I compared the properties of the two reports and they are the same. To add to the problem, I'm now having to reboot between attempts because abc.mdb locks with abc.lbd whenever I try to run things. Kathryn > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Lawrence > (AccessD) > Sent: 03 Aug 2003 9:45:PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Report stopped triggering > > > Hi Kathryn: > > First question; are your pictures linked or embedded? > > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Kathryn > Bassett > Sent: Sunday, August 03, 2003 8:44 PM > To: dbAdvisors (AccessD) > Subject: [AccessD] Report stopped triggering > > > Some of you remember my church database that has pictures. I have a report > that prints pages with the names and the pictures. > > Two problems. > > 1) It has worked fine until this morning. I tried to print the report before > going to church, and it printed to screen just fine. But when I then clicked > to print it to the printer, it calculated everything, then "printed" page > one except it was blank; then it printed page two just fine. > > After church, I had more pictures to add, and did so. Then this evening, I > wanted to try the report again to see if the blank first page happened > again, only this time . . . > > 2) It won't even print to screen. No *lasting* error message, though > *something* flashes to quickly to read. But it doesn't come up with any > debug errors or anything like that. Just nothing... > > Obviously, I need to solve problem 2 before I can work on problem 1. > > Any ideas? > > Oh, I had not changed the report in any way, except I changed the name of > the report (not the query it's based on). > > -- > Kathryn Rhinehart Bassett (Pasadena CA) > "Genealogy is my bag" "GH is my soap" > kathryn at bassett.net > http://bassett.net > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Mon Aug 4 10:56:41 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Mon, 04 Aug 2003 08:56:41 -0700 Subject: [AccessD] Report stopped triggering In-Reply-To: Message-ID: Hi Kathyrn: One other obvious possibility could be that a particular image(s) has become corrupted. Just try loading the non-printing image(s) into your graphic program. HTH Jim From john at winhaven.net Mon Aug 4 10:59:59 2003 From: john at winhaven.net (John Bartow) Date: Mon, 4 Aug 2003 10:59:59 -0500 Subject: [AccessD] A2K:Create MDA dB to hold code In-Reply-To: Message-ID: Ditto's to that here. If you include the library in your installation script it isn't a problem. If you're passing it around with out a script then if you always place the library db in the System32 folder it shouldn't be a problem either. IMO its a personal preference and there's pros and cons to both. One pro - other developers can use the exact same reference rather than copying the code or referencing your app db. If you put a listing of your library code procedures and what they do on your intranet and always install the library in system32 so it is an easy refernce it can save some time and reduncancy. One con is when you use an mde library (to protect the code) you always have to compile with the exact same library - therefore you have to synch the library with the app. What we do is put generic (and very reliable) code in a library and app specific or new code in the app db. HTH John Bartow > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte > Foust > Sent: Monday, August 04, 2003 10:17 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] A2K:Create MDA dB to hold code > > > Actually, we use a code library in our commercial applications. That's > what the recent thread on broken references dealt with. It's a standard > part of our installation. > > Charlotte Foust > > -----Original Message----- > From: Darren DICK [mailto:d.dick at uws.edu.au] > Sent: Sunday, August 03, 2003 11:05 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] A2K:Create MDA dB to hold code > > > Hi Bob > Thanks heaps for the info > > Darren > > ----- Original Message ----- > From: "Bob Hall" > To: "AccessD List" > Sent: Monday, August 04, 2003 1:52 PM > Subject: Re: [AccessD] A2K:Create MDA dB to hold code > > > > On Mon, Aug 04, 2003 at 12:02:54PM +1000, Darren DICK wrote: > > > Hello all > > > I want to separate my 'favourite's code bits and pieces into a > > > separate db (MDA?) then have any new dB 'reference' the MDA. > > > > > > 1 How do I go about this? > > > > You can do this with an mdb file, but mdas and mdes will work also. > > Put > > the file anyplace where you can find it from your project mdb's > browser. > > In the VBA IDE, select the References item from the Tool menu. Browse > > for your library, and double click it. After that, the public > procedures > > in any standard modules in your library will be available in your > project > > mdb. > > > > > 2 What are the 'gotchas' etc? > > > > If your mdb is going to be used by anyone other than you, then it's > > not worth it, for two reasons: > > 1) If you have code in two files instead of one, then you've got > > two files to keep track of, instead of one. You'll be amazed how > > many times you'll forget to include the library file with the > > main file. I'm sometimes forced to divide code between two > > different files, but I avoid it when possible. > > 2) Access sets four references for VBA, by default. Additional > > references tend to break. To make your code reliable, you > > have to put code in a start-up form that checks the references and > > repairs any broken references. If you don't do this, you are going > > to have to fix the references for your users whenever they break. > > > > I have a library of string-parsing routines that I like to keep > > handy for various tasks. For example, I've got a routine that finds > > the first occurence of a substring after the Nth occurence of another > > substring. I always import any routine I use into the mdb that uses > it. > > The hassle associated with add-ins isn't worth it. > > > > Bob Hall > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From andy at minstersystems.co.uk Mon Aug 4 12:21:52 2003 From: andy at minstersystems.co.uk (Andy Lacey) Date: Mon, 4 Aug 2003 18:21:52 +0100 Subject: [AccessD] OT: Contact Mangement In-Reply-To: Message-ID: <000501c35aac$e5311620$b274d0d5@minster33c3r25> Apologies for the OT. If anyone has any experience, good or bad, of the Goldmine contact management package or MS's CRM (or another they think is great) could they mail me off-line? Thanks. I'll get off the line now. Andy Lacey http://www.minstersystems.co.uk From Mark.Mitsules at ngc.com Mon Aug 4 13:47:37 2003 From: Mark.Mitsules at ngc.com (Mitsules, Mark) Date: Mon, 4 Aug 2003 14:47:37 -0400 Subject: [AccessD] Folder Security Permissions Message-ID: Group, What permissions are necessary at the folder level of a Win2K server to allow different database actions? I plan on having four main groups. Developer/Admin, Data Entry, Supervisors, and Users. Read only is self-explanatory, but, for instance, what level would allow a user to run a report where the Record Source is set dynamically at run-time? Or, if I have compact-on-close enabled, does that require a certain level? Is there a table somewhere that lists this information? Obviously I'm looking to grant the lowest level possible for each potential group. The choices are: Full Control Modify Read & Execute List Folder Contents Read Write Thanks, Mark From Lembit.Soobik at t-online.de Mon Aug 4 13:57:23 2003 From: Lembit.Soobik at t-online.de (Lembit Soobik) Date: Mon, 4 Aug 2003 20:57:23 +0200 Subject: [AccessD] Folder Security Permissions References: Message-ID: <02c201c35aba$416e7240$0200a8c0@S856> you need at least read and write and delete for everybody, since opening a db means writing an ldb file and closing means deleting this ldb file Lembit Soobik ----- Original Message ----- From: "Mitsules, Mark" To: "'[AccessD]'" Sent: Monday, August 04, 2003 8:47 PM Subject: [AccessD] Folder Security Permissions > Group, > > What permissions are necessary at the folder level of a Win2K server to > allow different database actions? I plan on having four main groups. > Developer/Admin, Data Entry, Supervisors, and Users. Read only is > self-explanatory, but, for instance, what level would allow a user to run a > report where the Record Source is set dynamically at run-time? Or, if I > have compact-on-close enabled, does that require a certain level? Is there > a table somewhere that lists this information? Obviously I'm looking to > grant the lowest level possible for each potential group. > > The choices are: > Full Control > Modify > Read & Execute > List Folder Contents > Read > Write > > > Thanks, > > Mark > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From sgeller at cce.umn.edu Mon Aug 4 14:08:14 2003 From: sgeller at cce.umn.edu (Susan Geller) Date: Mon, 4 Aug 2003 14:08:14 -0500 Subject: [AccessD] The Dreaded "Error Message: Error Accessing File. NetworkConnection May Have Been Lost." Message-ID: Robert, I'm jumping into the middle of this thread and can't find the beginning, but here's an idea -- it won't necessarily get your old work back, but it may prevent it in the future. It's advise I got from MS a while back when I was having this problem: Check vbe6.dll - if have version number 6.3 and have Access 2000, then need hotfix for 2000 which installs a newer version of MSAccess.exe for 2000 - version # 9.0.0.6013. Lower versions should be fine. Have to get hotfix from MS. --Susan -----Original Message----- From: Robert Gracie [mailto:Subscriptions at servicexp.com] Sent: Sunday, August 03, 2003 11:59 AM To: Access Developers discussion and problem solving Subject: [AccessD] The Dreaded "Error Message: Error Accessing File. NetworkConnection May Have Been Lost." Well it just happened to me, and I have about 11 hours worth of work that maybe lost (is lost from what I have been reading) The problem is that I did have the "Office 2000 Service Pack 3" installed. So since MS says this will stop the problem from happening in the future, and obviously it does not, how can I protect myself.. Such a pain....!!!! What cause the corruption.... "Save As" some reports..... Any pearls of wisdom?? Robert Gracie www.servicexp.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bheygood at abestsystems.com Mon Aug 4 14:10:49 2003 From: bheygood at abestsystems.com (Bob Heygood) Date: Mon, 4 Aug 2003 12:10:49 -0700 Subject: [AccessD] Excel Code In-Reply-To: Message-ID: Hey to the Group, I have found some great code to go to an excel sheet and total a column. It works in excel fine. But when I try and adapt it to automate excel from Access, I get errors for the "Cells(xxxx)" object. I have been successful in instancing the Excel application and the Excel workbook. I have tried to understand the cell thing but cannot get the Excel object model to show up in the object browser in Access. So, how do I get this to work in Access. And, how can one explore the excel model from Access. Code: Dim cRows As Long cRows = Cells(Rows.Count,"A").End(xlUp).Row Cells(cRows+1,"A").FormulaR1C1 = "=SUM(R1C1:R[-1]C1)" This is for column A, change the "A" and C1 if a different column required. Code End: TIA Bob From Philippe.Pons19 at wanadoo.fr Mon Aug 4 14:17:20 2003 From: Philippe.Pons19 at wanadoo.fr (Philippe PONS) Date: Mon, 4 Aug 2003 21:17:20 +0200 Subject: [AccessD] Excel Code References: Message-ID: <000d01c35abd$07259c50$d21f3551@linceo2nddisk> Hi Bob, If you can't gain access to the Excel object model from Access, it is because you did not declare a reference to the Excel library from Tool/References... Do it, and you will get it! Regards, Philippe. ----- Original Message ----- From: "Bob Heygood" To: "Access Developers discussion and problem solving" Sent: Monday, August 04, 2003 9:10 PM Subject: [AccessD] Excel Code > Hey to the Group, > > I have found some great code to go to an excel sheet and total a column. It > works in excel fine. But when I try and adapt it to automate excel from > Access, I get errors for the "Cells(xxxx)" object. I have been successful in > instancing the Excel application and the Excel workbook. I have tried to > understand the cell thing but cannot get the Excel object model to show up > in the object browser in Access. > > So, how do I get this to work in Access. And, how can one explore the excel > model from Access. > > Code: > > Dim cRows As Long > > cRows = Cells(Rows.Count,"A").End(xlUp).Row > Cells(cRows+1,"A").FormulaR1C1 = "=SUM(R1C1:R[-1]C1)" > > This is for column A, change the "A" and C1 if a different column required. > > Code End: > > TIA > > Bob > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From Erwin.Craps at ithelps.be Mon Aug 4 14:29:15 2003 From: Erwin.Craps at ithelps.be (Erwin Craps) Date: Mon, 4 Aug 2003 21:29:15 +0200 Subject: [AccessD] The Dreaded "Error Message: Error AccessingFile.NetworkConnection May Have Been Lost." Message-ID: Hi Charlotte I seen the Utilities.mda reference to. At my recollection Utilities.mda is an referenced library that was used in, I believe, Access 2. If you convert a A2.0 database to a more recent version the reference is still there. Erwin -----Oorspronkelijk bericht----- Van: Charlotte Foust [mailto:cfoust at infostatsystems.com] Verzonden: maandag 4 augustus 2003 17:23 Aan: Access Developers discussion and problem solving Onderwerp: RE: [AccessD] The Dreaded "Error Message: Error AccessingFile.NetworkConnection May Have Been Lost." There seems to be some oddness built into the 2002 version of vbe6.dll. In a machine with NO Office 2000 ever installed on it, I will sometimes see a reference to the Utilities.mda or one of the wizards in the project explorer pane. I have no idea where they came from because if I close Access and then reopen the database, the phantom references will be gone. On my personal machine, I haven't seen that error message since I installed SR3, but I have seen the same kind of phantom references. When I spot them in A2k, I shut the session down immediately just as a safety precaution. Charlotte Foust -----Original Message----- From: Arthur Fuller [mailto:artful at rogers.com] Sent: Sunday, August 03, 2003 2:27 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] The Dreaded "Error Message: Error Accessing File.NetworkConnection May Have Been Lost." I forget who wrote it now, but I disagree with a recent statement to the effect that "VSS is overkill for single developer projects." No it isn't, and now you know why. The alternative (which I have used extensively as well) is a new MDB|ADP every hour or so, named and dated as such (i.e. My_App_20030801_A.ADP). Either way the most you lose is an hour's work. Way back (and I mean way back) in the days of CP/M, I used WordStar. I was writing a screenplay, doing an all-nighter, and my housemate awoke and plugged the toaster in, blowing the fuse onto which my computer was wired and costing me six hours of ostensibly brilliant writing (when you lose it, it's always brilliant)! Learned then, haven't been prone to a loss bigger than an hour since. May you be able to say the same soon. A. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Robert Gracie Sent: August 3, 2003 12:59 PM To: Access Developers discussion and problem solving Subject: [AccessD] The Dreaded "Error Message: Error Accessing File. NetworkConnection May Have Been Lost." Well it just happened to me, and I have about 11 hours worth of work that maybe lost (is lost from what I have been reading) The problem is that I did have the "Office 2000 Service Pack 3" installed. So since MS says this will stop the problem from happening in the future, and obviously it does not, how can I protect myself.. Such a pain....!!!! What cause the corruption.... "Save As" some reports..... Any pearls of wisdom?? Robert Gracie www.servicexp.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bheygood at abestsystems.com Mon Aug 4 14:35:35 2003 From: bheygood at abestsystems.com (Bob Heygood) Date: Mon, 4 Aug 2003 12:35:35 -0700 Subject: [AccessD] Excel Code In-Reply-To: <000d01c35abd$07259c50$d21f3551@linceo2nddisk> Message-ID: Hey Philippe, Wow I thought I did but sure enough I removed it to accommodate a user that has a different version of Excel. Still would love for an Excel guru to help me make the code work. Thanks, Bob -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Philippe PONS Sent: Monday, August 04, 2003 12:17 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Excel Code Hi Bob, If you can't gain access to the Excel object model from Access, it is because you did not declare a reference to the Excel library from Tool/References... Do it, and you will get it! Regards, Philippe. ----- Original Message ----- From: "Bob Heygood" To: "Access Developers discussion and problem solving" Sent: Monday, August 04, 2003 9:10 PM Subject: [AccessD] Excel Code > Hey to the Group, > > I have found some great code to go to an excel sheet and total a column. It > works in excel fine. But when I try and adapt it to automate excel from > Access, I get errors for the "Cells(xxxx)" object. I have been successful in > instancing the Excel application and the Excel workbook. I have tried to > understand the cell thing but cannot get the Excel object model to show up > in the object browser in Access. > > So, how do I get this to work in Access. And, how can one explore the excel > model from Access. > > Code: > > Dim cRows As Long > > cRows = Cells(Rows.Count,"A").End(xlUp).Row > Cells(cRows+1,"A").FormulaR1C1 = "=SUM(R1C1:R[-1]C1)" > > This is for column A, change the "A" and C1 if a different column required. > > Code End: > > TIA > > Bob > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From wdhindman at bellsouth.net Mon Aug 4 14:37:08 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Mon, 4 Aug 2003 15:37:08 -0400 Subject: [AccessD] OT: Contact Mangement References: <000501c35aac$e5311620$b274d0d5@minster33c3r25> Message-ID: <001001c35abf$cae9f710$6101a8c0@amd2k512> ...actually Andy, I'd be interested as well ...had a client just ask me about Goldmine and tying it in with his existing Access db. William Hindman "You know the world is going crazy when the best rapper is a white guy, the best golfer is a black guy, The Swiss hold the America's Cup, France is accusing the US of arrogance, and Germany doesn't want to go to war." ----- Original Message ----- From: "Andy Lacey" To: "'Access Developers discussion and problem solving'" Sent: Monday, August 04, 2003 1:21 PM Subject: [AccessD] OT: Contact Mangement > Apologies for the OT. If anyone has any experience, good or bad, of the > Goldmine contact management package or MS's CRM (or another they think > is great) could they mail me off-line? Thanks. I'll get off the line > now. > > Andy Lacey > http://www.minstersystems.co.uk > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From Mark.Mitsules at ngc.com Mon Aug 4 14:38:06 2003 From: Mark.Mitsules at ngc.com (Mitsules, Mark) Date: Mon, 4 Aug 2003 15:38:06 -0400 Subject: [AccessD] Folder Security Permissions Message-ID: Thank you. So does that mean 'Read & Execute' and 'Write' are a minimum for opening a database, or would I need to include 'Modify' as well? Mark -----Original Message----- From: Lembit.Soobik at t-online.de [mailto:Lembit.Soobik at t-online.de] Sent: Monday, August 04, 2003 2:57 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Folder Security Permissions you need at least read and write and delete for everybody, since opening a db means writing an ldb file and closing means deleting this ldb file Lembit Soobik ----- Original Message ----- From: "Mitsules, Mark" To: "'[AccessD]'" Sent: Monday, August 04, 2003 8:47 PM Subject: [AccessD] Folder Security Permissions > Group, > > What permissions are necessary at the folder level of a Win2K server > to allow different database actions? I plan on having four main > groups. Developer/Admin, Data Entry, Supervisors, and Users. Read > only is self-explanatory, but, for instance, what level would allow a > user to run a report where the Record Source is set dynamically at > run-time? Or, if I have compact-on-close enabled, does that require a > certain level? Is there a table somewhere that lists this > information? Obviously I'm looking to grant the lowest level possible > for each potential group. > > The choices are: > Full Control > Modify > Read & Execute > List Folder Contents > Read > Write > > > Thanks, > > Mark > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From BBarabash at TappeConstruction.com Mon Aug 4 14:45:42 2003 From: BBarabash at TappeConstruction.com (Brett Barabash) Date: Mon, 4 Aug 2003 14:45:42 -0500 Subject: [AccessD] The Dreaded "Error Message: Error AccessingFile.Net workConnection May Have Been Lost." Message-ID: <426071E0B0A6D311B3C0006008B0AB2338C8B6@TAPPEEXCH01> Utility.mda is used in Access 2.0. Definitely not Utilities.mda (not an 8.3 filename). -----Original Message----- From: Erwin Craps [mailto:Erwin.Craps at ithelps.be] Sent: Monday, August 04, 2003 2:29 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] The Dreaded "Error Message: Error AccessingFile.NetworkConnection May Have Been Lost." Hi Charlotte I seen the Utilities.mda reference to. At my recollection Utilities.mda is an referenced library that was used in, I believe, Access 2. If you convert a A2.0 database to a more recent version the reference is still there. Erwin -----Oorspronkelijk bericht----- Van: Charlotte Foust [mailto:cfoust at infostatsystems.com] Verzonden: maandag 4 augustus 2003 17:23 Aan: Access Developers discussion and problem solving Onderwerp: RE: [AccessD] The Dreaded "Error Message: Error AccessingFile.NetworkConnection May Have Been Lost." There seems to be some oddness built into the 2002 version of vbe6.dll. In a machine with NO Office 2000 ever installed on it, I will sometimes see a reference to the Utilities.mda or one of the wizards in the project explorer pane. I have no idea where they came from because if I close Access and then reopen the database, the phantom references will be gone. On my personal machine, I haven't seen that error message since I installed SR3, but I have seen the same kind of phantom references. When I spot them in A2k, I shut the session down immediately just as a safety precaution. Charlotte Foust -----Original Message----- From: Arthur Fuller [mailto:artful at rogers.com] Sent: Sunday, August 03, 2003 2:27 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] The Dreaded "Error Message: Error Accessing File.NetworkConnection May Have Been Lost." I forget who wrote it now, but I disagree with a recent statement to the effect that "VSS is overkill for single developer projects." No it isn't, and now you know why. The alternative (which I have used extensively as well) is a new MDB|ADP every hour or so, named and dated as such (i.e. My_App_20030801_A.ADP). Either way the most you lose is an hour's work. Way back (and I mean way back) in the days of CP/M, I used WordStar. I was writing a screenplay, doing an all-nighter, and my housemate awoke and plugged the toaster in, blowing the fuse onto which my computer was wired and costing me six hours of ostensibly brilliant writing (when you lose it, it's always brilliant)! Learned then, haven't been prone to a loss bigger than an hour since. May you be able to say the same soon. A. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Robert Gracie Sent: August 3, 2003 12:59 PM To: Access Developers discussion and problem solving Subject: [AccessD] The Dreaded "Error Message: Error Accessing File. NetworkConnection May Have Been Lost." Well it just happened to me, and I have about 11 hours worth of work that maybe lost (is lost from what I have been reading) The problem is that I did have the "Office 2000 Service Pack 3" installed. So since MS says this will stop the problem from happening in the future, and obviously it does not, how can I protect myself.. Such a pain....!!!! What cause the corruption.... "Save As" some reports..... Any pearls of wisdom?? Robert Gracie www.servicexp.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------------------------------------------------------------------------------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the originator of the message. This footer also confirms that this email message has been scanned for the presence of computer viruses. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. From Erwin.Craps at ithelps.be Mon Aug 4 15:03:29 2003 From: Erwin.Craps at ithelps.be (Erwin Craps) Date: Mon, 4 Aug 2003 22:03:29 +0200 Subject: [AccessD] The Dreaded "Error Message: Error AccessingFile.NetworkConnection May Have Been Lost." Message-ID: Thats is so true Bratt... -----Oorspronkelijk bericht----- Van: Brett Barabash [mailto:BBarabash at TappeConstruction.com] Verzonden: maandag 4 augustus 2003 21:46 Aan: 'Access Developers discussion and problem solving' Onderwerp: RE: [AccessD] The Dreaded "Error Message: Error AccessingFile.NetworkConnection May Have Been Lost." Utility.mda is used in Access 2.0. Definitely not Utilities.mda (not an 8.3 filename). -----Original Message----- From: Erwin Craps [mailto:Erwin.Craps at ithelps.be] Sent: Monday, August 04, 2003 2:29 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] The Dreaded "Error Message: Error AccessingFile.NetworkConnection May Have Been Lost." Hi Charlotte I seen the Utilities.mda reference to. At my recollection Utilities.mda is an referenced library that was used in, I believe, Access 2. If you convert a A2.0 database to a more recent version the reference is still there. Erwin -----Oorspronkelijk bericht----- Van: Charlotte Foust [mailto:cfoust at infostatsystems.com] Verzonden: maandag 4 augustus 2003 17:23 Aan: Access Developers discussion and problem solving Onderwerp: RE: [AccessD] The Dreaded "Error Message: Error AccessingFile.NetworkConnection May Have Been Lost." There seems to be some oddness built into the 2002 version of vbe6.dll. In a machine with NO Office 2000 ever installed on it, I will sometimes see a reference to the Utilities.mda or one of the wizards in the project explorer pane. I have no idea where they came from because if I close Access and then reopen the database, the phantom references will be gone. On my personal machine, I haven't seen that error message since I installed SR3, but I have seen the same kind of phantom references. When I spot them in A2k, I shut the session down immediately just as a safety precaution. Charlotte Foust -----Original Message----- From: Arthur Fuller [mailto:artful at rogers.com] Sent: Sunday, August 03, 2003 2:27 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] The Dreaded "Error Message: Error Accessing File.NetworkConnection May Have Been Lost." I forget who wrote it now, but I disagree with a recent statement to the effect that "VSS is overkill for single developer projects." No it isn't, and now you know why. The alternative (which I have used extensively as well) is a new MDB|ADP every hour or so, named and dated as such (i.e. My_App_20030801_A.ADP). Either way the most you lose is an hour's work. Way back (and I mean way back) in the days of CP/M, I used WordStar. I was writing a screenplay, doing an all-nighter, and my housemate awoke and plugged the toaster in, blowing the fuse onto which my computer was wired and costing me six hours of ostensibly brilliant writing (when you lose it, it's always brilliant)! Learned then, haven't been prone to a loss bigger than an hour since. May you be able to say the same soon. A. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Robert Gracie Sent: August 3, 2003 12:59 PM To: Access Developers discussion and problem solving Subject: [AccessD] The Dreaded "Error Message: Error Accessing File. NetworkConnection May Have Been Lost." Well it just happened to me, and I have about 11 hours worth of work that maybe lost (is lost from what I have been reading) The problem is that I did have the "Office 2000 Service Pack 3" installed. So since MS says this will stop the problem from happening in the future, and obviously it does not, how can I protect myself.. Such a pain....!!!! What cause the corruption.... "Save As" some reports..... Any pearls of wisdom?? Robert Gracie www.servicexp.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ------------------------------------------------------------------------ -------------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the originator of the message. This footer also confirms that this email message has been scanned for the presence of computer viruses. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Mon Aug 4 15:25:01 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 4 Aug 2003 13:25:01 -0700 Subject: [AccessD] The Dreaded "Error Message: ErrorAccessingFile.NetworkConnection May Have Been Lost." Message-ID: Well, I haven't worked with Access 2.0 since 97 was released, so I don't know where the little devil is coming from when I see it. A97 is the earliest version ever installed on this machine or on my personal machine. Charlotte Foust -----Original Message----- From: Erwin Craps [mailto:Erwin.Craps at ithelps.be] Sent: Monday, August 04, 2003 11:29 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] The Dreaded "Error Message: ErrorAccessingFile.NetworkConnection May Have Been Lost." Hi Charlotte I seen the Utilities.mda reference to. At my recollection Utilities.mda is an referenced library that was used in, I believe, Access 2. If you convert a A2.0 database to a more recent version the reference is still there. Erwin -----Oorspronkelijk bericht----- Van: Charlotte Foust [mailto:cfoust at infostatsystems.com] Verzonden: maandag 4 augustus 2003 17:23 Aan: Access Developers discussion and problem solving Onderwerp: RE: [AccessD] The Dreaded "Error Message: Error AccessingFile.NetworkConnection May Have Been Lost." There seems to be some oddness built into the 2002 version of vbe6.dll. In a machine with NO Office 2000 ever installed on it, I will sometimes see a reference to the Utilities.mda or one of the wizards in the project explorer pane. I have no idea where they came from because if I close Access and then reopen the database, the phantom references will be gone. On my personal machine, I haven't seen that error message since I installed SR3, but I have seen the same kind of phantom references. When I spot them in A2k, I shut the session down immediately just as a safety precaution. Charlotte Foust -----Original Message----- From: Arthur Fuller [mailto:artful at rogers.com] Sent: Sunday, August 03, 2003 2:27 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] The Dreaded "Error Message: Error Accessing File.NetworkConnection May Have Been Lost." I forget who wrote it now, but I disagree with a recent statement to the effect that "VSS is overkill for single developer projects." No it isn't, and now you know why. The alternative (which I have used extensively as well) is a new MDB|ADP every hour or so, named and dated as such (i.e. My_App_20030801_A.ADP). Either way the most you lose is an hour's work. Way back (and I mean way back) in the days of CP/M, I used WordStar. I was writing a screenplay, doing an all-nighter, and my housemate awoke and plugged the toaster in, blowing the fuse onto which my computer was wired and costing me six hours of ostensibly brilliant writing (when you lose it, it's always brilliant)! Learned then, haven't been prone to a loss bigger than an hour since. May you be able to say the same soon. A. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Robert Gracie Sent: August 3, 2003 12:59 PM To: Access Developers discussion and problem solving Subject: [AccessD] The Dreaded "Error Message: Error Accessing File. NetworkConnection May Have Been Lost." Well it just happened to me, and I have about 11 hours worth of work that maybe lost (is lost from what I have been reading) The problem is that I did have the "Office 2000 Service Pack 3" installed. So since MS says this will stop the problem from happening in the future, and obviously it does not, how can I protect myself.. Such a pain....!!!! What cause the corruption.... "Save As" some reports..... Any pearls of wisdom?? Robert Gracie www.servicexp.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Mon Aug 4 15:26:43 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 4 Aug 2003 13:26:43 -0700 Subject: [AccessD] The Dreaded "Error Message: Error Accessing File.NetworkConnection May Have Been Lost." Message-ID: The hotfix is no longer available because it was included in SR-3 for O2k. Charlotte Foust -----Original Message----- From: Susan Geller [mailto:sgeller at cce.umn.edu] Sent: Monday, August 04, 2003 11:08 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] The Dreaded "Error Message: Error Accessing File.NetworkConnection May Have Been Lost." Robert, I'm jumping into the middle of this thread and can't find the beginning, but here's an idea -- it won't necessarily get your old work back, but it may prevent it in the future. It's advise I got from MS a while back when I was having this problem: Check vbe6.dll - if have version number 6.3 and have Access 2000, then need hotfix for 2000 which installs a newer version of MSAccess.exe for 2000 - version # 9.0.0.6013. Lower versions should be fine. Have to get hotfix from MS. --Susan -----Original Message----- From: Robert Gracie [mailto:Subscriptions at servicexp.com] Sent: Sunday, August 03, 2003 11:59 AM To: Access Developers discussion and problem solving Subject: [AccessD] The Dreaded "Error Message: Error Accessing File. NetworkConnection May Have Been Lost." Well it just happened to me, and I have about 11 hours worth of work that maybe lost (is lost from what I have been reading) The problem is that I did have the "Office 2000 Service Pack 3" installed. So since MS says this will stop the problem from happening in the future, and obviously it does not, how can I protect myself.. Such a pain....!!!! What cause the corruption.... "Save As" some reports..... Any pearls of wisdom?? Robert Gracie www.servicexp.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Erwin.Craps at ithelps.be Mon Aug 4 15:30:21 2003 From: Erwin.Craps at ithelps.be (Erwin Craps) Date: Mon, 4 Aug 2003 22:30:21 +0200 Subject: [AccessD] The Dreaded "Error Message:ErrorAccessingFile.NetworkConnection May Have Been Lost." Message-ID: Charlotte Did you do a search on your disk for this file and try to find if it has some clues in the properties of the file, or even the folder location of this file can give you a clue. -----Oorspronkelijk bericht----- Van: Charlotte Foust [mailto:cfoust at infostatsystems.com] Verzonden: maandag 4 augustus 2003 22:25 Aan: Access Developers discussion and problem solving Onderwerp: RE: [AccessD] The Dreaded "Error Message:ErrorAccessingFile.NetworkConnection May Have Been Lost." Well, I haven't worked with Access 2.0 since 97 was released, so I don't know where the little devil is coming from when I see it. A97 is the earliest version ever installed on this machine or on my personal machine. Charlotte Foust -----Original Message----- From: Erwin Craps [mailto:Erwin.Craps at ithelps.be] Sent: Monday, August 04, 2003 11:29 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] The Dreaded "Error Message: ErrorAccessingFile.NetworkConnection May Have Been Lost." Hi Charlotte I seen the Utilities.mda reference to. At my recollection Utilities.mda is an referenced library that was used in, I believe, Access 2. If you convert a A2.0 database to a more recent version the reference is still there. Erwin -----Oorspronkelijk bericht----- Van: Charlotte Foust [mailto:cfoust at infostatsystems.com] Verzonden: maandag 4 augustus 2003 17:23 Aan: Access Developers discussion and problem solving Onderwerp: RE: [AccessD] The Dreaded "Error Message: Error AccessingFile.NetworkConnection May Have Been Lost." There seems to be some oddness built into the 2002 version of vbe6.dll. In a machine with NO Office 2000 ever installed on it, I will sometimes see a reference to the Utilities.mda or one of the wizards in the project explorer pane. I have no idea where they came from because if I close Access and then reopen the database, the phantom references will be gone. On my personal machine, I haven't seen that error message since I installed SR3, but I have seen the same kind of phantom references. When I spot them in A2k, I shut the session down immediately just as a safety precaution. Charlotte Foust -----Original Message----- From: Arthur Fuller [mailto:artful at rogers.com] Sent: Sunday, August 03, 2003 2:27 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] The Dreaded "Error Message: Error Accessing File.NetworkConnection May Have Been Lost." I forget who wrote it now, but I disagree with a recent statement to the effect that "VSS is overkill for single developer projects." No it isn't, and now you know why. The alternative (which I have used extensively as well) is a new MDB|ADP every hour or so, named and dated as such (i.e. My_App_20030801_A.ADP). Either way the most you lose is an hour's work. Way back (and I mean way back) in the days of CP/M, I used WordStar. I was writing a screenplay, doing an all-nighter, and my housemate awoke and plugged the toaster in, blowing the fuse onto which my computer was wired and costing me six hours of ostensibly brilliant writing (when you lose it, it's always brilliant)! Learned then, haven't been prone to a loss bigger than an hour since. May you be able to say the same soon. A. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Robert Gracie Sent: August 3, 2003 12:59 PM To: Access Developers discussion and problem solving Subject: [AccessD] The Dreaded "Error Message: Error Accessing File. NetworkConnection May Have Been Lost." Well it just happened to me, and I have about 11 hours worth of work that maybe lost (is lost from what I have been reading) The problem is that I did have the "Office 2000 Service Pack 3" installed. So since MS says this will stop the problem from happening in the future, and obviously it does not, how can I protect myself.. Such a pain....!!!! What cause the corruption.... "Save As" some reports..... Any pearls of wisdom?? Robert Gracie www.servicexp.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From tim at irwin-greenhouses.com Mon Aug 4 15:26:45 2003 From: tim at irwin-greenhouses.com (Tim Thiessen) Date: Mon, 4 Aug 2003 15:26:45 -0500 Subject: [AccessD] Append Query Problems In-Reply-To: <1032565729.20030802103029@cactus.dk> Message-ID: <011801c35ac6$ba3d2660$6600a8c0@tim> Thanks to Gustav and Don. Gustav, I used your suggestion - I had about 88,000 records to append. It didn't take too long to find the bad record. Thanks again. Tim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock Sent: Saturday, August 02, 2003 3:30 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Append Query Problems Hi Tim > I am using A97. I need to append the records from one table to another > identical in structure. The query gets about half way done and then stops > with the following error message: "You tried to assign the Null value to a > variable that isn't a Varient data type." I am assuming that there is > corruption in one of the records. How do I go about finding that record? Do a binary approximation ... append half of the records. If it has no errors, append the other half - this should fail. Now, follow this route by appending half of the failing recordset and so on - eventually you'll have tracked down the failing record. /gustav _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Erwin.Craps at ithelps.be Mon Aug 4 15:50:56 2003 From: Erwin.Craps at ithelps.be (Erwin Craps) Date: Mon, 4 Aug 2003 22:50:56 +0200 Subject: [AccessD] Excel Code Message-ID: Wauw Bob Thats some piece of code you got there :-) I been strugling months trying to create some nicely formated Excel sheets from Access. Pretty heavy stuff... First of all, I noticed, while developing that Access looses sometimes and pretty often partialy the reference to Excel. Some primary objects where still working but Cells just constantly gave errors. Saving the code, closing excel, resetting (stop button) in MSA_VBE was needed to regain control over the object. Sometimes Excel needed to be terminated by means of the taskmanager. Closing and reopening access was sometimes needed. There is an issue with early and late bounding to, in early bounding I had trouble makeing a object twice to Excel during same session. Some functions would fail. Late bounding is adviced by MS to Excel. This was all true for MSA2K and Excel 2K. Ok now for some code. Please note that I adapted some code to make it readable, the code beneath will not work on its on, I supose what you are looking for is the worksheetfunction or formula property. 'With Cells you can reference by number, thus making programmable variables able. lngRowposFrom = 1 lngRowposTO = 9 lngRowpos = 10 lngColPos = 1 With ObjExcelSheet .Cells(lngRowpos, lngColPos).HorizontalAlignment = xlHAlignLeft End with 'Calculate Column totals If itmDLFormat.CalculateColumnSum = True Then With .Cells(lngRowpos , lngColPos) 'This line result in a figure (only one line needed) .Value = WorksheetFunction.Sum(.Range(.Cells(lngRowposFrom , lngColPos), .Cells(lngRowposTO, lngColPos ))) 'This line result in a formula in excel (only one line needed) .Formula = "=SUM(" & objExcelWorkSheet.Cells(lngRowposFrom , lngColPos ).Address _ & ":" _ & objExcelWorkSheet.Cells(lngRowposTO, lngColPos ).Address _ & ")" End With Erwin -----Oorspronkelijk bericht----- Van: Bob Heygood [mailto:bheygood at abestsystems.com] Verzonden: maandag 4 augustus 2003 21:36 Aan: Access Developers discussion and problem solving Onderwerp: RE: [AccessD] Excel Code Hey Philippe, Wow I thought I did but sure enough I removed it to accommodate a user that has a different version of Excel. Still would love for an Excel guru to help me make the code work. Thanks, Bob -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Philippe PONS Sent: Monday, August 04, 2003 12:17 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Excel Code Hi Bob, If you can't gain access to the Excel object model from Access, it is because you did not declare a reference to the Excel library from Tool/References... Do it, and you will get it! Regards, Philippe. ----- Original Message ----- From: "Bob Heygood" To: "Access Developers discussion and problem solving" Sent: Monday, August 04, 2003 9:10 PM Subject: [AccessD] Excel Code > Hey to the Group, > > I have found some great code to go to an excel sheet and total a > column. It > works in excel fine. But when I try and adapt it to automate excel > from Access, I get errors for the "Cells(xxxx)" object. I have been > successful in > instancing the Excel application and the Excel workbook. I have tried > to understand the cell thing but cannot get the Excel object model to > show up in the object browser in Access. > > So, how do I get this to work in Access. And, how can one explore the excel > model from Access. > > Code: > > Dim cRows As Long > > cRows = Cells(Rows.Count,"A").End(xlUp).Row > Cells(cRows+1,"A").FormulaR1C1 = "=SUM(R1C1:R[-1]C1)" > > This is for column A, change the "A" and C1 if a different column required. > > Code End: > > TIA > > Bob > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Aug 4 16:06:14 2003 From: Erwin.Craps at ithelps.be (Erwin Craps) Date: Mon, 4 Aug 2003 23:06:14 +0200 Subject: [AccessD] Excel Code Message-ID: Another thing...and probably THE thing You are not referencing to the excel object. Cells(Rows.Count,"A").End(xlUp).Row Should be objExcelWorkSheet.cells And rows() should be objExcelWorkSheet.rows. Before you can create the objExcelWorkSheet object you need to create a objExcelWorkbook And before you can create an objExcelWorkbook you need to create a objExcel Be sure to set all objects to nothing when finishing your code. Try not to terminate and restart code execution while developing, but first try to nicely close all objects. -----Oorspronkelijk bericht----- Van: Erwin Craps Verzonden: maandag 4 augustus 2003 22:51 Aan: Access Developers discussion and problem solving Onderwerp: RE: [AccessD] Excel Code Wauw Bob Thats some piece of code you got there :-) I been strugling months trying to create some nicely formated Excel sheets from Access. Pretty heavy stuff... First of all, I noticed, while developing that Access looses sometimes and pretty often partialy the reference to Excel. Some primary objects where still working but Cells just constantly gave errors. Saving the code, closing excel, resetting (stop button) in MSA_VBE was needed to regain control over the object. Sometimes Excel needed to be terminated by means of the taskmanager. Closing and reopening access was sometimes needed. There is an issue with early and late bounding to, in early bounding I had trouble makeing a object twice to Excel during same session. Some functions would fail. Late bounding is adviced by MS to Excel. This was all true for MSA2K and Excel 2K. Ok now for some code. Please note that I adapted some code to make it readable, the code beneath will not work on its on, I supose what you are looking for is the worksheetfunction or formula property. 'With Cells you can reference by number, thus making programmable variables able. lngRowposFrom = 1 lngRowposTO = 9 lngRowpos = 10 lngColPos = 1 With ObjExcelSheet .Cells(lngRowpos, lngColPos).HorizontalAlignment = xlHAlignLeft End with 'Calculate Column totals If itmDLFormat.CalculateColumnSum = True Then With .Cells(lngRowpos , lngColPos) 'This line result in a figure (only one line needed) .Value = WorksheetFunction.Sum(.Range(.Cells(lngRowposFrom , lngColPos), .Cells(lngRowposTO, lngColPos ))) 'This line result in a formula in excel (only one line needed) .Formula = "=SUM(" & objExcelWorkSheet.Cells(lngRowposFrom , lngColPos ).Address _ & ":" _ & objExcelWorkSheet.Cells(lngRowposTO, lngColPos ).Address _ & ")" End With Erwin -----Oorspronkelijk bericht----- Van: Bob Heygood [mailto:bheygood at abestsystems.com] Verzonden: maandag 4 augustus 2003 21:36 Aan: Access Developers discussion and problem solving Onderwerp: RE: [AccessD] Excel Code Hey Philippe, Wow I thought I did but sure enough I removed it to accommodate a user that has a different version of Excel. Still would love for an Excel guru to help me make the code work. Thanks, Bob -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Philippe PONS Sent: Monday, August 04, 2003 12:17 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Excel Code Hi Bob, If you can't gain access to the Excel object model from Access, it is because you did not declare a reference to the Excel library from Tool/References... Do it, and you will get it! Regards, Philippe. ----- Original Message ----- From: "Bob Heygood" To: "Access Developers discussion and problem solving" Sent: Monday, August 04, 2003 9:10 PM Subject: [AccessD] Excel Code > Hey to the Group, > > I have found some great code to go to an excel sheet and total a > column. It > works in excel fine. But when I try and adapt it to automate excel > from Access, I get errors for the "Cells(xxxx)" object. I have been > successful in > instancing the Excel application and the Excel workbook. I have tried > to understand the cell thing but cannot get the Excel object model to > show up in the object browser in Access. > > So, how do I get this to work in Access. And, how can one explore the excel > model from Access. > > Code: > > Dim cRows As Long > > cRows = Cells(Rows.Count,"A").End(xlUp).Row > Cells(cRows+1,"A").FormulaR1C1 = "=SUM(R1C1:R[-1]C1)" > > This is for column A, change the "A" and C1 if a different column required. > > Code End: > > TIA > > Bob > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Mon Aug 4 16:14:29 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 4 Aug 2003 14:14:29 -0700 Subject: [AccessD] The Dreaded "ErrorMessage:ErrorAccessingFile.NetworkConnection May Have Been Lost." Message-ID: The Utility.mda shows up in the Project explorer under references, not in the references list. It is lurking in my Office 10 folder and in the runtime folder, but I don't have a clue as to where it came from or why it periodically shows up in the references group. It does, however, have the same date as the other Office 10 files. Charlotte Foust -----Original Message----- From: Erwin Craps [mailto:Erwin.Craps at ithelps.be] Sent: Monday, August 04, 2003 12:30 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] The Dreaded "ErrorMessage:ErrorAccessingFile.NetworkConnection May Have Been Lost." Charlotte Did you do a search on your disk for this file and try to find if it has some clues in the properties of the file, or even the folder location of this file can give you a clue. -----Oorspronkelijk bericht----- Van: Charlotte Foust [mailto:cfoust at infostatsystems.com] Verzonden: maandag 4 augustus 2003 22:25 Aan: Access Developers discussion and problem solving Onderwerp: RE: [AccessD] The Dreaded "Error Message:ErrorAccessingFile.NetworkConnection May Have Been Lost." Well, I haven't worked with Access 2.0 since 97 was released, so I don't know where the little devil is coming from when I see it. A97 is the earliest version ever installed on this machine or on my personal machine. Charlotte Foust -----Original Message----- From: Erwin Craps [mailto:Erwin.Craps at ithelps.be] Sent: Monday, August 04, 2003 11:29 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] The Dreaded "Error Message: ErrorAccessingFile.NetworkConnection May Have Been Lost." Hi Charlotte I seen the Utilities.mda reference to. At my recollection Utilities.mda is an referenced library that was used in, I believe, Access 2. If you convert a A2.0 database to a more recent version the reference is still there. Erwin -----Oorspronkelijk bericht----- Van: Charlotte Foust [mailto:cfoust at infostatsystems.com] Verzonden: maandag 4 augustus 2003 17:23 Aan: Access Developers discussion and problem solving Onderwerp: RE: [AccessD] The Dreaded "Error Message: Error AccessingFile.NetworkConnection May Have Been Lost." There seems to be some oddness built into the 2002 version of vbe6.dll. In a machine with NO Office 2000 ever installed on it, I will sometimes see a reference to the Utilities.mda or one of the wizards in the project explorer pane. I have no idea where they came from because if I close Access and then reopen the database, the phantom references will be gone. On my personal machine, I haven't seen that error message since I installed SR3, but I have seen the same kind of phantom references. When I spot them in A2k, I shut the session down immediately just as a safety precaution. Charlotte Foust -----Original Message----- From: Arthur Fuller [mailto:artful at rogers.com] Sent: Sunday, August 03, 2003 2:27 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] The Dreaded "Error Message: Error Accessing File.NetworkConnection May Have Been Lost." I forget who wrote it now, but I disagree with a recent statement to the effect that "VSS is overkill for single developer projects." No it isn't, and now you know why. The alternative (which I have used extensively as well) is a new MDB|ADP every hour or so, named and dated as such (i.e. My_App_20030801_A.ADP). Either way the most you lose is an hour's work. Way back (and I mean way back) in the days of CP/M, I used WordStar. I was writing a screenplay, doing an all-nighter, and my housemate awoke and plugged the toaster in, blowing the fuse onto which my computer was wired and costing me six hours of ostensibly brilliant writing (when you lose it, it's always brilliant)! Learned then, haven't been prone to a loss bigger than an hour since. May you be able to say the same soon. A. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Robert Gracie Sent: August 3, 2003 12:59 PM To: Access Developers discussion and problem solving Subject: [AccessD] The Dreaded "Error Message: Error Accessing File. NetworkConnection May Have Been Lost." Well it just happened to me, and I have about 11 hours worth of work that maybe lost (is lost from what I have been reading) The problem is that I did have the "Office 2000 Service Pack 3" installed. So since MS says this will stop the problem from happening in the future, and obviously it does not, how can I protect myself.. Such a pain....!!!! What cause the corruption.... "Save As" some reports..... Any pearls of wisdom?? Robert Gracie www.servicexp.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Mon Aug 4 16:35:54 2003 From: dwaters at usinternet.com (Dan Waters) Date: Mon, 4 Aug 2003 16:35:54 -0500 Subject: [AccessD] OT: Contact Mangement In-Reply-To: <001001c35abf$cae9f710$6101a8c0@amd2k512> Message-ID: <000001c35ad0$62389a80$de1811d8@DanWaters> William, You may want to go to Amazon to look at the customer reviews. Only 2/5 stars! Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Monday, August 04, 2003 1:37 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Contact Mangement ...actually Andy, I'd be interested as well ...had a client just ask me about Goldmine and tying it in with his existing Access db. William Hindman "You know the world is going crazy when the best rapper is a white guy, the best golfer is a black guy, The Swiss hold the America's Cup, France is accusing the US of arrogance, and Germany doesn't want to go to war." ----- Original Message ----- From: "Andy Lacey" To: "'Access Developers discussion and problem solving'" Sent: Monday, August 04, 2003 1:21 PM Subject: [AccessD] OT: Contact Mangement > Apologies for the OT. If anyone has any experience, good or bad, of > the Goldmine contact management package or MS's CRM (or another they > think is great) could they mail me off-line? Thanks. I'll get off the > line now. > > Andy Lacey > http://www.minstersystems.co.uk > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Subscriptions at servicexp.com Mon Aug 4 16:40:14 2003 From: Subscriptions at servicexp.com (Robert Gracie) Date: Mon, 4 Aug 2003 17:40:14 -0400 Subject: [AccessD] The Dreaded "Error Message: Error Accessing File.NetworkConnection May Have Been Lost." In-Reply-To: Message-ID: The problem as stated in KB 304548 (http://support.microsoft.com/default.aspx?scid=kb;en-us;Q304548) is indeed what is going on, the MAJOR Issue here is,....it is not fixed with SP3. (would anyone like to confirm this..) So just a warning to others that have version 6.3.91.8 of the Vbe6.dll, and are using A2K, even with the patch. Don't, whatever you do, import or "save as" an object and close that db, with out compiling first. It will trash your db... Robert Gracie www.servicexp.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan Geller Sent: Monday, August 04, 2003 3:08 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] The Dreaded "Error Message: Error Accessing File.NetworkConnection May Have Been Lost." Robert, I'm jumping into the middle of this thread and can't find the beginning, but here's an idea -- it won't necessarily get your old work back, but it may prevent it in the future. It's advise I got from MS a while back when I was having this problem: Check vbe6.dll - if have version number 6.3 and have Access 2000, then need hotfix for 2000 which installs a newer version of MSAccess.exe for 2000 - version # 9.0.0.6013. Lower versions should be fine. Have to get hotfix from MS. --Susan -----Original Message----- From: Robert Gracie [mailto:Subscriptions at servicexp.com] Sent: Sunday, August 03, 2003 11:59 AM To: Access Developers discussion and problem solving Subject: [AccessD] The Dreaded "Error Message: Error Accessing File. NetworkConnection May Have Been Lost." Well it just happened to me, and I have about 11 hours worth of work that maybe lost (is lost from what I have been reading) The problem is that I did have the "Office 2000 Service Pack 3" installed. So since MS says this will stop the problem from happening in the future, and obviously it does not, how can I protect myself.. Such a pain....!!!! What cause the corruption.... "Save As" some reports..... Any pearls of wisdom?? Robert Gracie www.servicexp.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From szayko at secor.com Mon Aug 4 16:50:27 2003 From: szayko at secor.com (Stephen R. Zayko) Date: Mon, 4 Aug 2003 17:50:27 -0400 Subject: [AccessD] System Root In-Reply-To: <00bf01c2fdff$512bfbc0$16330cd8@hargrove.internal> Message-ID: <000501c35ad2$6e0af630$343da8c0@STEVE2K> Group: How do I determine if the system root is C:\Windows, C:\Winnt, or something else in VBA? I would like to call a program in %SystemRoot%\System32 from a shell function but intX = Shell("%SystemRoot%\system32\calc.exe",1) does not work. However, one of these will work if it is calling the correct root directory name: intX = Shell("C:\Windows\system32\calc.exe",1) ' For Windows OS intX = Shell("C:\Winnt\system32\calc.exe",1) ' For NT OS Thanks in Advance, Stephen R. Zayko, P.E. SECOR International Inc. 2321 Club Meridian Drive, Ste E Okemos, MI 48864 (p) (517) 349-9499 ex24 (f) (517) 349-6863 (m) (517) 204-5136 szayko at secor.com www.secor.com -----Original Message----- From: Mike and Doris Manning [mailto:mikedorism at ntelos.net] Sent: Tuesday, April 08, 2003 02:47 PM To: szayko at secor.com Subject: RE: [AccessD] Runtime Driver Here you go... Function CheckConnection is what you will need to look at. It uses to constants that are set up at the top of the module. Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: Stephen R. Zayko [mailto:szayko at secor.com] Sent: Tuesday, April 08, 2003 02:36 PM To: mikedorism at ntelos.net Subject: FW: [AccessD] Runtime Driver Doris Thanks for the offer. If you could e-mail it to me at this address I would be very grateful. Also thanks for putting the 'mail me offline' remark. Those tend to quell the 'me too's. I think that this will be just what I need. I will post to the list if this works. Thanks -Z Stephen R. Zayko SECOR International Inc. 2321 Club meridian Drive Ste. E Okemos MI, 48864 517 349 9499 ph 517 349 6863 fx szayko at secor.com www.secorlansing.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mike and Doris Manning Sent: Tuesday, April 08, 2003 12:32 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Runtime Driver I've got code that checks for a specified SQL Server System DSN and creates it if it doesn't exist. You should be able to modify it to work with MySQL. Email me offline if you want it. Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] Sent: Tuesday, April 08, 2003 11:41 AM To: AccessD at databaseadvisors.com Subject: [AccessD] Runtime Driver Group: Is it possible to include the drivers needed for a runtime solution? I have an A2K database which I would like to package as a runtime. It is an A2K FE with a MySQL BE accessed via ODBC through the web. Trouble with the distribution is that people must install the MySQL ODBC driver, and then create/link to the machine data source of the MySQL database (I think I said that right). What I would like to do is this... Create the runtime with the drivers and the source database info. Then when a user unpacks/installs the runtime, A: The MYSQL driver installs on that machine and B: The ODBC data source is created with all the needed info. A looks pretty simple to do. You just include that in the files to be included during the packaging of the app. B however, I am not too sure about. Can I do this through code? Has anyone else done this before? thanks in advance. -Z Stephen R. Zayko SECOR International Inc. 2321 Club meridian Drive Ste. E Okemos MI, 48864 517 349 9499 ph 517 349 6863 fx szayko at secor.com www.secorlansing.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Mon Aug 4 16:53:47 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 4 Aug 2003 14:53:47 -0700 Subject: [AccessD] The Dreaded "Error Message: Error AccessingFile.NetworkConnection May Have Been Lost." Message-ID: All I can say is that SP3 has fixed it on the machines I've encountered. Believe me, the situation without the patch was infinitely worse! Charlotte Foust -----Original Message----- From: Robert Gracie [mailto:Subscriptions at servicexp.com] Sent: Monday, August 04, 2003 1:40 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] The Dreaded "Error Message: Error AccessingFile.NetworkConnection May Have Been Lost." The problem as stated in KB 304548 (http://support.microsoft.com/default.aspx?scid=kb;en-us;Q304548) is indeed what is going on, the MAJOR Issue here is,....it is not fixed with SP3. (would anyone like to confirm this..) So just a warning to others that have version 6.3.91.8 of the Vbe6.dll, and are using A2K, even with the patch. Don't, whatever you do, import or "save as" an object and close that db, with out compiling first. It will trash your db... Robert Gracie www.servicexp.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan Geller Sent: Monday, August 04, 2003 3:08 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] The Dreaded "Error Message: Error Accessing File.NetworkConnection May Have Been Lost." Robert, I'm jumping into the middle of this thread and can't find the beginning, but here's an idea -- it won't necessarily get your old work back, but it may prevent it in the future. It's advise I got from MS a while back when I was having this problem: Check vbe6.dll - if have version number 6.3 and have Access 2000, then need hotfix for 2000 which installs a newer version of MSAccess.exe for 2000 - version # 9.0.0.6013. Lower versions should be fine. Have to get hotfix from MS. --Susan -----Original Message----- From: Robert Gracie [mailto:Subscriptions at servicexp.com] Sent: Sunday, August 03, 2003 11:59 AM To: Access Developers discussion and problem solving Subject: [AccessD] The Dreaded "Error Message: Error Accessing File. NetworkConnection May Have Been Lost." Well it just happened to me, and I have about 11 hours worth of work that maybe lost (is lost from what I have been reading) The problem is that I did have the "Office 2000 Service Pack 3" installed. So since MS says this will stop the problem from happening in the future, and obviously it does not, how can I protect myself.. Such a pain....!!!! What cause the corruption.... "Save As" some reports..... Any pearls of wisdom?? Robert Gracie www.servicexp.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Erwin.Craps at ithelps.be Mon Aug 4 17:00:29 2003 From: Erwin.Craps at ithelps.be (Erwin Craps) Date: Tue, 5 Aug 2003 00:00:29 +0200 Subject: [AccessD] The Dreaded"ErrorMessage:ErrorAccessingFile.NetworkConnection May Have Been Lost." Message-ID: I have the file to (MSO 2K2 Dutch version). It seems like a regular Office file. You can open it in access and see the content. The zoom and dialer forms are in there. And some tables. I would not worry about it... -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Monday, August 04, 2003 11:14 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] The Dreaded"ErrorMessage:ErrorAccessingFile.NetworkConnection May Have Been Lost." The Utility.mda shows up in the Project explorer under references, not in the references list. It is lurking in my Office 10 folder and in the runtime folder, but I don't have a clue as to where it came from or why it periodically shows up in the references group. It does, however, have the same date as the other Office 10 files. Charlotte Foust -----Original Message----- From: Erwin Craps [mailto:Erwin.Craps at ithelps.be] Sent: Monday, August 04, 2003 12:30 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] The Dreaded "ErrorMessage:ErrorAccessingFile.NetworkConnection May Have Been Lost." Charlotte Did you do a search on your disk for this file and try to find if it has some clues in the properties of the file, or even the folder location of this file can give you a clue. -----Oorspronkelijk bericht----- Van: Charlotte Foust [mailto:cfoust at infostatsystems.com] Verzonden: maandag 4 augustus 2003 22:25 Aan: Access Developers discussion and problem solving Onderwerp: RE: [AccessD] The Dreaded "Error Message:ErrorAccessingFile.NetworkConnection May Have Been Lost." Well, I haven't worked with Access 2.0 since 97 was released, so I don't know where the little devil is coming from when I see it. A97 is the earliest version ever installed on this machine or on my personal machine. Charlotte Foust -----Original Message----- From: Erwin Craps [mailto:Erwin.Craps at ithelps.be] Sent: Monday, August 04, 2003 11:29 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] The Dreaded "Error Message: ErrorAccessingFile.NetworkConnection May Have Been Lost." Hi Charlotte I seen the Utilities.mda reference to. At my recollection Utilities.mda is an referenced library that was used in, I believe, Access 2. If you convert a A2.0 database to a more recent version the reference is still there. Erwin -----Oorspronkelijk bericht----- Van: Charlotte Foust [mailto:cfoust at infostatsystems.com] Verzonden: maandag 4 augustus 2003 17:23 Aan: Access Developers discussion and problem solving Onderwerp: RE: [AccessD] The Dreaded "Error Message: Error AccessingFile.NetworkConnection May Have Been Lost." There seems to be some oddness built into the 2002 version of vbe6.dll. In a machine with NO Office 2000 ever installed on it, I will sometimes see a reference to the Utilities.mda or one of the wizards in the project explorer pane. I have no idea where they came from because if I close Access and then reopen the database, the phantom references will be gone. On my personal machine, I haven't seen that error message since I installed SR3, but I have seen the same kind of phantom references. When I spot them in A2k, I shut the session down immediately just as a safety precaution. Charlotte Foust -----Original Message----- From: Arthur Fuller [mailto:artful at rogers.com] Sent: Sunday, August 03, 2003 2:27 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] The Dreaded "Error Message: Error Accessing File.NetworkConnection May Have Been Lost." I forget who wrote it now, but I disagree with a recent statement to the effect that "VSS is overkill for single developer projects." No it isn't, and now you know why. The alternative (which I have used extensively as well) is a new MDB|ADP every hour or so, named and dated as such (i.e. My_App_20030801_A.ADP). Either way the most you lose is an hour's work. Way back (and I mean way back) in the days of CP/M, I used WordStar. I was writing a screenplay, doing an all-nighter, and my housemate awoke and plugged the toaster in, blowing the fuse onto which my computer was wired and costing me six hours of ostensibly brilliant writing (when you lose it, it's always brilliant)! Learned then, haven't been prone to a loss bigger than an hour since. May you be able to say the same soon. A. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Robert Gracie Sent: August 3, 2003 12:59 PM To: Access Developers discussion and problem solving Subject: [AccessD] The Dreaded "Error Message: Error Accessing File. NetworkConnection May Have Been Lost." Well it just happened to me, and I have about 11 hours worth of work that maybe lost (is lost from what I have been reading) The problem is that I did have the "Office 2000 Service Pack 3" installed. So since MS says this will stop the problem from happening in the future, and obviously it does not, how can I protect myself.. Such a pain....!!!! What cause the corruption.... "Save As" some reports..... Any pearls of wisdom?? Robert Gracie www.servicexp.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Aug 4 17:03:12 2003 From: Erwin.Craps at ithelps.be (Erwin Craps) Date: Tue, 5 Aug 2003 00:03:12 +0200 Subject: [AccessD] System Root Message-ID: Did you tried "cmd %systemroot% etc"? You should be able to get the path from the environment (Set in dos) I'm sure there are some API calls to get this to. -----Original Message----- From: Stephen R. Zayko [mailto:szayko at secor.com] Sent: Monday, August 04, 2003 11:50 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] System Root Group: How do I determine if the system root is C:\Windows, C:\Winnt, or something else in VBA? I would like to call a program in %SystemRoot%\System32 from a shell function but intX = Shell("%SystemRoot%\system32\calc.exe",1) does not work. However, one of these will work if it is calling the correct root directory name: intX = Shell("C:\Windows\system32\calc.exe",1) ' For Windows OS intX = Shell("C:\Winnt\system32\calc.exe",1) ' For NT OS Thanks in Advance, Stephen R. Zayko, P.E. SECOR International Inc. 2321 Club Meridian Drive, Ste E Okemos, MI 48864 (p) (517) 349-9499 ex24 (f) (517) 349-6863 (m) (517) 204-5136 szayko at secor.com www.secor.com -----Original Message----- From: Mike and Doris Manning [mailto:mikedorism at ntelos.net] Sent: Tuesday, April 08, 2003 02:47 PM To: szayko at secor.com Subject: RE: [AccessD] Runtime Driver Here you go... Function CheckConnection is what you will need to look at. It uses to constants that are set up at the top of the module. Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: Stephen R. Zayko [mailto:szayko at secor.com] Sent: Tuesday, April 08, 2003 02:36 PM To: mikedorism at ntelos.net Subject: FW: [AccessD] Runtime Driver Doris Thanks for the offer. If you could e-mail it to me at this address I would be very grateful. Also thanks for putting the 'mail me offline' remark. Those tend to quell the 'me too's. I think that this will be just what I need. I will post to the list if this works. Thanks -Z Stephen R. Zayko SECOR International Inc. 2321 Club meridian Drive Ste. E Okemos MI, 48864 517 349 9499 ph 517 349 6863 fx szayko at secor.com www.secorlansing.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mike and Doris Manning Sent: Tuesday, April 08, 2003 12:32 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Runtime Driver I've got code that checks for a specified SQL Server System DSN and creates it if it doesn't exist. You should be able to modify it to work with MySQL. Email me offline if you want it. Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] Sent: Tuesday, April 08, 2003 11:41 AM To: AccessD at databaseadvisors.com Subject: [AccessD] Runtime Driver Group: Is it possible to include the drivers needed for a runtime solution? I have an A2K database which I would like to package as a runtime. It is an A2K FE with a MySQL BE accessed via ODBC through the web. Trouble with the distribution is that people must install the MySQL ODBC driver, and then create/link to the machine data source of the MySQL database (I think I said that right). What I would like to do is this... Create the runtime with the drivers and the source database info. Then when a user unpacks/installs the runtime, A: The MYSQL driver installs on that machine and B: The ODBC data source is created with all the needed info. A looks pretty simple to do. You just include that in the files to be included during the packaging of the app. B however, I am not too sure about. Can I do this through code? Has anyone else done this before? thanks in advance. -Z Stephen R. Zayko SECOR International Inc. 2321 Club meridian Drive Ste. E Okemos MI, 48864 517 349 9499 ph 517 349 6863 fx szayko at secor.com www.secorlansing.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Aug 4 17:06:28 2003 From: Erwin.Craps at ithelps.be (Erwin Craps) Date: Tue, 5 Aug 2003 00:06:28 +0200 Subject: [AccessD] The Dreaded "Error Message: ErrorAccessingFile.NetworkConnection May Have Been Lost." Message-ID: I confirm, never solved.... When importing code in modules or forms/reports I always click "save" first in VBA. I'm not sure if compiling is sufficiant, I always click save. Never found a solution in MSKB Erwin -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Monday, August 04, 2003 11:54 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] The Dreaded "Error Message: ErrorAccessingFile.NetworkConnection May Have Been Lost." All I can say is that SP3 has fixed it on the machines I've encountered. Believe me, the situation without the patch was infinitely worse! Charlotte Foust -----Original Message----- From: Robert Gracie [mailto:Subscriptions at servicexp.com] Sent: Monday, August 04, 2003 1:40 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] The Dreaded "Error Message: Error AccessingFile.NetworkConnection May Have Been Lost." The problem as stated in KB 304548 (http://support.microsoft.com/default.aspx?scid=kb;en-us;Q304548) is indeed what is going on, the MAJOR Issue here is,....it is not fixed with SP3. (would anyone like to confirm this..) So just a warning to others that have version 6.3.91.8 of the Vbe6.dll, and are using A2K, even with the patch. Don't, whatever you do, import or "save as" an object and close that db, with out compiling first. It will trash your db... Robert Gracie www.servicexp.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan Geller Sent: Monday, August 04, 2003 3:08 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] The Dreaded "Error Message: Error Accessing File.NetworkConnection May Have Been Lost." Robert, I'm jumping into the middle of this thread and can't find the beginning, but here's an idea -- it won't necessarily get your old work back, but it may prevent it in the future. It's advise I got from MS a while back when I was having this problem: Check vbe6.dll - if have version number 6.3 and have Access 2000, then need hotfix for 2000 which installs a newer version of MSAccess.exe for 2000 - version # 9.0.0.6013. Lower versions should be fine. Have to get hotfix from MS. --Susan -----Original Message----- From: Robert Gracie [mailto:Subscriptions at servicexp.com] Sent: Sunday, August 03, 2003 11:59 AM To: Access Developers discussion and problem solving Subject: [AccessD] The Dreaded "Error Message: Error Accessing File. NetworkConnection May Have Been Lost." Well it just happened to me, and I have about 11 hours worth of work that maybe lost (is lost from what I have been reading) The problem is that I did have the "Office 2000 Service Pack 3" installed. So since MS says this will stop the problem from happening in the future, and obviously it does not, how can I protect myself.. Such a pain....!!!! What cause the corruption.... "Save As" some reports..... Any pearls of wisdom?? Robert Gracie www.servicexp.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Mon Aug 4 17:07:59 2003 From: donald.a.Mcgillivray at mail.sprint.com (Mcgillivray, Donald [ITS]) Date: Mon, 4 Aug 2003 17:07:59 -0500 Subject: [AccessD] System Root Message-ID: <6FC1C7A6E7BD5540AB0A8436713C43BF0354760B@PKDWB01C.ad.sprint.com> You can use the Environ function to return the value of any system environment variable. Something like: strShellCommandLine = Environ("SystemRoot") & "\system32\calc.exe" intX = Shell(strShellCommandLine,1) Hope this helps. Don McGillivray -----Original Message----- From: Stephen R. Zayko [mailto:szayko at secor.com] Sent: Monday, August 04, 2003 2:50 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] System Root Group: How do I determine if the system root is C:\Windows, C:\Winnt, or something else in VBA? I would like to call a program in %SystemRoot%\System32 from a shell function but intX = Shell("%SystemRoot%\system32\calc.exe",1) does not work. However, one of these will work if it is calling the correct root directory name: intX = Shell("C:\Windows\system32\calc.exe",1) ' For Windows OS intX = Shell("C:\Winnt\system32\calc.exe",1) ' For NT OS Thanks in Advance, Stephen R. Zayko, P.E. SECOR International Inc. 2321 Club Meridian Drive, Ste E Okemos, MI 48864 (p) (517) 349-9499 ex24 (f) (517) 349-6863 (m) (517) 204-5136 szayko at secor.com www.secor.com -----Original Message----- From: Mike and Doris Manning [mailto:mikedorism at ntelos.net] Sent: Tuesday, April 08, 2003 02:47 PM To: szayko at secor.com Subject: RE: [AccessD] Runtime Driver Here you go... Function CheckConnection is what you will need to look at. It uses to constants that are set up at the top of the module. Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: Stephen R. Zayko [mailto:szayko at secor.com] Sent: Tuesday, April 08, 2003 02:36 PM To: mikedorism at ntelos.net Subject: FW: [AccessD] Runtime Driver Doris Thanks for the offer. If you could e-mail it to me at this address I would be very grateful. Also thanks for putting the 'mail me offline' remark. Those tend to quell the 'me too's. I think that this will be just what I need. I will post to the list if this works. Thanks -Z Stephen R. Zayko SECOR International Inc. 2321 Club meridian Drive Ste. E Okemos MI, 48864 517 349 9499 ph 517 349 6863 fx szayko at secor.com www.secorlansing.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mike and Doris Manning Sent: Tuesday, April 08, 2003 12:32 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Runtime Driver I've got code that checks for a specified SQL Server System DSN and creates it if it doesn't exist. You should be able to modify it to work with MySQL. Email me offline if you want it. Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] Sent: Tuesday, April 08, 2003 11:41 AM To: AccessD at databaseadvisors.com Subject: [AccessD] Runtime Driver Group: Is it possible to include the drivers needed for a runtime solution? I have an A2K database which I would like to package as a runtime. It is an A2K FE with a MySQL BE accessed via ODBC through the web. Trouble with the distribution is that people must install the MySQL ODBC driver, and then create/link to the machine data source of the MySQL database (I think I said that right). What I would like to do is this... Create the runtime with the drivers and the source database info. Then when a user unpacks/installs the runtime, A: The MYSQL driver installs on that machine and B: The ODBC data source is created with all the needed info. A looks pretty simple to do. You just include that in the files to be included during the packaging of the app. B however, I am not too sure about. Can I do this through code? Has anyone else done this before? thanks in advance. -Z Stephen R. Zayko SECOR International Inc. 2321 Club meridian Drive Ste. E Okemos MI, 48864 517 349 9499 ph 517 349 6863 fx szayko at secor.com www.secorlansing.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From davesharpe2 at cox.net Mon Aug 4 17:09:12 2003 From: davesharpe2 at cox.net (dave sharpe) Date: Mon, 4 Aug 2003 18:09:12 -0400 Subject: [AccessD] System Root References: <000501c35ad2$6e0af630$343da8c0@STEVE2K> Message-ID: <01db01c35ad5$09631c50$dd2f0a44@bcsext6137> Stephen The environmental variable ( systemroot ) is what You need. I hope that the following helps. Dave ============================= Sub ttest() Dim aroot As String aroot = Environ$("systemroot") Debug.Print aroot End Sub ----- Original Message ----- From: "Stephen R. Zayko" To: "'Access Developers discussion and problem solving'" Sent: Monday, August 04, 2003 5:50 PM Subject: [AccessD] System Root > Group: > > How do I determine if the system root is C:\Windows, C:\Winnt, or > something else in VBA? I would like to call a program in > %SystemRoot%\System32 from a shell function but > > intX = Shell("%SystemRoot%\system32\calc.exe",1) > > does not work. However, one of these will work if it is calling the > correct root directory name: > intX = Shell("C:\Windows\system32\calc.exe",1) ' For Windows OS > intX = Shell("C:\Winnt\system32\calc.exe",1) ' For NT OS > > Thanks in Advance, > > Stephen R. Zayko, P.E. > > SECOR International Inc. > 2321 Club Meridian Drive, Ste E > Okemos, MI 48864 > > (p) (517) 349-9499 ex24 > (f) (517) 349-6863 > (m) (517) 204-5136 > > szayko at secor.com > www.secor.com > > -----Original Message----- > From: Mike and Doris Manning [mailto:mikedorism at ntelos.net] > Sent: Tuesday, April 08, 2003 02:47 PM > To: szayko at secor.com > Subject: RE: [AccessD] Runtime Driver > > Here you go... Function CheckConnection is what you will need to look > at. > It uses to constants that are set up at the top of the module. > > Doris Manning > Database Administrator > Hargrove Inc. > www.hargroveinc.com > > > -----Original Message----- > From: Stephen R. Zayko [mailto:szayko at secor.com] > Sent: Tuesday, April 08, 2003 02:36 PM > To: mikedorism at ntelos.net > Subject: FW: [AccessD] Runtime Driver > > > Doris > > Thanks for the offer. If you could e-mail it to me at this address I > would > be very grateful. Also thanks for putting the 'mail me offline' remark. > Those tend to quell the 'me too's. I think that this will be just what > I > need. I will post to the list if this works. > > Thanks > > -Z > > Stephen R. Zayko > > SECOR International Inc. > 2321 Club meridian Drive Ste. E > Okemos MI, 48864 > > 517 349 9499 ph > 517 349 6863 fx > > szayko at secor.com > www.secorlansing.com > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mike and Doris > Manning > Sent: Tuesday, April 08, 2003 12:32 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Runtime Driver > > > I've got code that checks for a specified SQL Server System DSN and > creates > it if it doesn't exist. You should be able to modify it to work with > MySQL. > Email me offline if you want it. > > Doris Manning > Database Administrator > Hargrove Inc. > www.hargroveinc.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] > Sent: Tuesday, April 08, 2003 11:41 AM > To: AccessD at databaseadvisors.com > Subject: [AccessD] Runtime Driver > > > Group: > > Is it possible to include the drivers needed for a runtime solution? I > have > an A2K database which I would like to package as a runtime. It is an > A2K FE > with a MySQL BE accessed via ODBC through the web. Trouble with the > distribution is that people must install the MySQL ODBC driver, and then > create/link to the machine data source of the MySQL database (I think I > said > that right). > > What I would like to do is this... > > Create the runtime with the drivers and the source database info. Then > when > a user unpacks/installs the runtime, > A: The MYSQL driver installs on that machine and > B: The ODBC data source is created with all the needed info. > > A looks pretty simple to do. You just include that in the files to be > included during the packaging of the app. B however, I am not too sure > about. Can I do this through code? Has anyone else done this before? > > thanks in advance. > > -Z > > Stephen R. Zayko > > SECOR International Inc. > 2321 Club meridian Drive Ste. E > Okemos MI, 48864 > > 517 349 9499 ph > 517 349 6863 fx > > szayko at secor.com > www.secorlansing.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From my.lists at verizon.net Mon Aug 4 17:19:14 2003 From: my.lists at verizon.net (Francisco H Tapia) Date: Mon, 4 Aug 2003 15:19:14 -0700 Subject: [AccessD] System Root References: Message-ID: <00ff01c35ad6$703860b0$b615010a@FHTAPIA> Don't remember where I got this but it works well, probably DevAshish' site '******************** Code Start ************************** Private Const MAX_PATH As Integer = 255 Private Declare Function apiGetSystemDirectory& Lib "kernel32" _ Alias "GetSystemDirectoryA" _ (ByVal lpBuffer As String, ByVal nSize As Long) Private Declare Function apiGetWindowsDirectory& Lib "kernel32" _ Alias "GetWindowsDirectoryA" _ (ByVal lpBuffer As String, ByVal nSize As Long) Private Declare Function apiGetTempDir Lib "kernel32" _ Alias "GetTempPathA" (ByVal nBufferLength As Long, _ ByVal lpBuffer As String) As Long Function fReturnDir(ByVal strDir As String) 'Returns Requested folder, compiled the original functions to 1 function with a string parameter Dim lngx As Long Dim strDirectory As String strDirectory = strDir strDir = String$(MAX_PATH, 0) Select Case strDirectory Case "Temp" lngx = apiGetTempDir(MAX_PATH, strDir) If lngx <> 0 Then fReturnDir = Left$(strDir, lngx) Else fReturnDir = "" End If Case "System" lngx = apiGetSystemDirectory(strDir, MAX_PATH) If lngx <> 0 Then fReturnDir = Left$(strDir, lngx) Else fReturnDir = "" End If Case "Windows" lngx = apiGetWindowsDirectory(strDir, MAX_PATH) If lngx <> 0 Then fReturnDir = Left$(strDir, lngx) Else fReturnDir = "" End If Case Else fReturnDir = "Invalid Parameter. Valid Types: Temp; System; Windows" End Select End Function -Francisco http://rcm.netfirms.com On Monday, August 04, 2003 3:03 PM [GMT-8], Erwin Craps wrote: : Did you tried "cmd %systemroot% etc"? : You should be able to get the path from the environment (Set in dos) : I'm sure there are some API calls to get this to. : : : -----Original Message----- : From: Stephen R. Zayko [mailto:szayko at secor.com] : Sent: Monday, August 04, 2003 11:50 PM : To: 'Access Developers discussion and problem solving' : Subject: [AccessD] System Root : : : Group: : : How do I determine if the system root is C:\Windows, C:\Winnt, or : something else in VBA? I would like to call a program in : %SystemRoot%\System32 from a shell function but : : intX = Shell("%SystemRoot%\system32\calc.exe",1) : : does not work. However, one of these will work if it is calling the : correct root directory name: intX = : Shell("C:\Windows\system32\calc.exe",1) ' For Windows OS intX = : Shell("C:\Winnt\system32\calc.exe",1) ' For NT OS : : Thanks in Advance, : : Stephen R. Zayko, P.E. : : SECOR International Inc. : 2321 Club Meridian Drive, Ste E : Okemos, MI 48864 : : (p) (517) 349-9499 ex24 : (f) (517) 349-6863 : (m) (517) 204-5136 : : szayko at secor.com : www.secor.com : : -----Original Message----- : From: Mike and Doris Manning [mailto:mikedorism at ntelos.net] : Sent: Tuesday, April 08, 2003 02:47 PM : To: szayko at secor.com : Subject: RE: [AccessD] Runtime Driver : : Here you go... Function CheckConnection is what you will need to look : at. It uses to constants that are set up at the top of the module. : : Doris Manning : Database Administrator : Hargrove Inc. : www.hargroveinc.com : : : -----Original Message----- : From: Stephen R. Zayko [mailto:szayko at secor.com] : Sent: Tuesday, April 08, 2003 02:36 PM : To: mikedorism at ntelos.net : Subject: FW: [AccessD] Runtime Driver : : : Doris : : Thanks for the offer. If you could e-mail it to me at this address I : would be very grateful. Also thanks for putting the 'mail me offline' : remark. Those tend to quell the 'me too's. I think that this will be : just what I need. I will post to the list if this works. : : Thanks : : -Z : : Stephen R. Zayko : : SECOR International Inc. : 2321 Club meridian Drive Ste. E : Okemos MI, 48864 : : 517 349 9499 ph : 517 349 6863 fx : : szayko at secor.com : www.secorlansing.com : : : : -----Original Message----- : From: accessd-bounces at databaseadvisors.com : [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mike and : Doris Manning : Sent: Tuesday, April 08, 2003 12:32 PM : To: accessd at databaseadvisors.com : Subject: RE: [AccessD] Runtime Driver : : : I've got code that checks for a specified SQL Server System DSN and : creates it if it doesn't exist. You should be able to modify it to : work with MySQL. Email me offline if you want it. : : Doris Manning : Database Administrator : Hargrove Inc. : www.hargroveinc.com : : -----Original Message----- : From: accessd-bounces at databaseadvisors.com : [mailto:accessd-bounces at databaseadvisors.com] : Sent: Tuesday, April 08, 2003 11:41 AM : To: AccessD at databaseadvisors.com : Subject: [AccessD] Runtime Driver : : : Group: : : Is it possible to include the drivers needed for a runtime solution? : I have an A2K database which I would like to package as a runtime. : It is an A2K FE with a MySQL BE accessed via ODBC through the web. : Trouble with the distribution is that people must install the MySQL : ODBC driver, and then create/link to the machine data source of the : MySQL database (I think I said that right). : : What I would like to do is this... : : Create the runtime with the drivers and the source database info. Then : when a user unpacks/installs the runtime, : A: The MYSQL driver installs on that machine and : B: The ODBC data source is created with all the needed info. : : A looks pretty simple to do. You just include that in the files to be : included during the packaging of the app. B however, I am not too sure : about. Can I do this through code? Has anyone else done this before? : : thanks in advance. : : -Z : : Stephen R. Zayko : : SECOR International Inc. : 2321 Club meridian Drive Ste. E : Okemos MI, 48864 : : 517 349 9499 ph : 517 349 6863 fx : : szayko at secor.com : www.secorlansing.com : : _______________________________________________ : AccessD mailing list : AccessD at databaseadvisors.com : http://databaseadvisors.com/mailman/listinfo/accessd : Website: http://www.databaseadvisors.com : : : _______________________________________________ : AccessD mailing list : AccessD at databaseadvisors.com : http://databaseadvisors.com/mailman/listinfo/accessd : Website: http://www.databaseadvisors.com : _______________________________________________ : AccessD mailing list : AccessD at databaseadvisors.com : http://databaseadvisors.com/mailman/listinfo/accessd : Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Mon Aug 4 17:25:19 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 4 Aug 2003 15:25:19 -0700 Subject: [AccessD] The Dreaded "Error Message:ErrorAccessingFile.NetworkConnection May Have Been Lost." Message-ID: Without the patch, clicking Save would not necessarily help you. I encountered the bug in its full glory early in Office 2000 history and toasted several databases until I discovered the cause and got the patch. Charlotte Foust -----Original Message----- From: Erwin Craps [mailto:Erwin.Craps at ithelps.be] Sent: Monday, August 04, 2003 2:06 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] The Dreaded "Error Message:ErrorAccessingFile.NetworkConnection May Have Been Lost." I confirm, never solved.... When importing code in modules or forms/reports I always click "save" first in VBA. I'm not sure if compiling is sufficiant, I always click save. Never found a solution in MSKB Erwin -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Monday, August 04, 2003 11:54 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] The Dreaded "Error Message: ErrorAccessingFile.NetworkConnection May Have Been Lost." All I can say is that SP3 has fixed it on the machines I've encountered. Believe me, the situation without the patch was infinitely worse! Charlotte Foust -----Original Message----- From: Robert Gracie [mailto:Subscriptions at servicexp.com] Sent: Monday, August 04, 2003 1:40 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] The Dreaded "Error Message: Error AccessingFile.NetworkConnection May Have Been Lost." The problem as stated in KB 304548 (http://support.microsoft.com/default.aspx?scid=kb;en-us;Q304548) is indeed what is going on, the MAJOR Issue here is,....it is not fixed with SP3. (would anyone like to confirm this..) So just a warning to others that have version 6.3.91.8 of the Vbe6.dll, and are using A2K, even with the patch. Don't, whatever you do, import or "save as" an object and close that db, with out compiling first. It will trash your db... Robert Gracie www.servicexp.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan Geller Sent: Monday, August 04, 2003 3:08 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] The Dreaded "Error Message: Error Accessing File.NetworkConnection May Have Been Lost." Robert, I'm jumping into the middle of this thread and can't find the beginning, but here's an idea -- it won't necessarily get your old work back, but it may prevent it in the future. It's advise I got from MS a while back when I was having this problem: Check vbe6.dll - if have version number 6.3 and have Access 2000, then need hotfix for 2000 which installs a newer version of MSAccess.exe for 2000 - version # 9.0.0.6013. Lower versions should be fine. Have to get hotfix from MS. --Susan -----Original Message----- From: Robert Gracie [mailto:Subscriptions at servicexp.com] Sent: Sunday, August 03, 2003 11:59 AM To: Access Developers discussion and problem solving Subject: [AccessD] The Dreaded "Error Message: Error Accessing File. NetworkConnection May Have Been Lost." Well it just happened to me, and I have about 11 hours worth of work that maybe lost (is lost from what I have been reading) The problem is that I did have the "Office 2000 Service Pack 3" installed. So since MS says this will stop the problem from happening in the future, and obviously it does not, how can I protect myself.. Such a pain....!!!! What cause the corruption.... "Save As" some reports..... Any pearls of wisdom?? Robert Gracie www.servicexp.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Subscriptions at servicexp.com Mon Aug 4 17:40:56 2003 From: Subscriptions at servicexp.com (Robert Gracie) Date: Mon, 4 Aug 2003 18:40:56 -0400 Subject: [AccessD] The Dreaded "ErrorMessage:ErrorAccessingFile.NetworkConnection May Have Been Lost." In-Reply-To: Message-ID: Charlotte, If you find some time, would you mind testing this on a machine that matches the criteria in the KB? I'm running Window XP Pro with all SP installed I'm ONLY running Office 2K Pro with all SP's Installed I'm not sure what program installed the latest version of that .dll on my machine Thanks Robert Gracie www.servicexp.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Monday, August 04, 2003 6:25 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] The Dreaded "ErrorMessage:ErrorAccessingFile.NetworkConnection May Have Been Lost." Without the patch, clicking Save would not necessarily help you. I encountered the bug in its full glory early in Office 2000 history and toasted several databases until I discovered the cause and got the patch. Charlotte Foust -----Original Message----- From: Erwin Craps [mailto:Erwin.Craps at ithelps.be] Sent: Monday, August 04, 2003 2:06 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] The Dreaded "Error Message:ErrorAccessingFile.NetworkConnection May Have Been Lost." I confirm, never solved.... When importing code in modules or forms/reports I always click "save" first in VBA. I'm not sure if compiling is sufficiant, I always click save. Never found a solution in MSKB Erwin -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Monday, August 04, 2003 11:54 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] The Dreaded "Error Message: ErrorAccessingFile.NetworkConnection May Have Been Lost." All I can say is that SP3 has fixed it on the machines I've encountered. Believe me, the situation without the patch was infinitely worse! Charlotte Foust -----Original Message----- From: Robert Gracie [mailto:Subscriptions at servicexp.com] Sent: Monday, August 04, 2003 1:40 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] The Dreaded "Error Message: Error AccessingFile.NetworkConnection May Have Been Lost." The problem as stated in KB 304548 (http://support.microsoft.com/default.aspx?scid=kb;en-us;Q304548) is indeed what is going on, the MAJOR Issue here is,....it is not fixed with SP3. (would anyone like to confirm this..) So just a warning to others that have version 6.3.91.8 of the Vbe6.dll, and are using A2K, even with the patch. Don't, whatever you do, import or "save as" an object and close that db, with out compiling first. It will trash your db... Robert Gracie www.servicexp.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan Geller Sent: Monday, August 04, 2003 3:08 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] The Dreaded "Error Message: Error Accessing File.NetworkConnection May Have Been Lost." Robert, I'm jumping into the middle of this thread and can't find the beginning, but here's an idea -- it won't necessarily get your old work back, but it may prevent it in the future. It's advise I got from MS a while back when I was having this problem: Check vbe6.dll - if have version number 6.3 and have Access 2000, then need hotfix for 2000 which installs a newer version of MSAccess.exe for 2000 - version # 9.0.0.6013. Lower versions should be fine. Have to get hotfix from MS. --Susan -----Original Message----- From: Robert Gracie [mailto:Subscriptions at servicexp.com] Sent: Sunday, August 03, 2003 11:59 AM To: Access Developers discussion and problem solving Subject: [AccessD] The Dreaded "Error Message: Error Accessing File. NetworkConnection May Have Been Lost." Well it just happened to me, and I have about 11 hours worth of work that maybe lost (is lost from what I have been reading) The problem is that I did have the "Office 2000 Service Pack 3" installed. So since MS says this will stop the problem from happening in the future, and obviously it does not, how can I protect myself.. Such a pain....!!!! What cause the corruption.... "Save As" some reports..... Any pearls of wisdom?? Robert Gracie www.servicexp.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Aug 4 17:54:11 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Mon, 04 Aug 2003 15:54:11 -0700 Subject: [AccessD] System Root References: <000501c35ad2$6e0af630$343da8c0@STEVE2K> <01db01c35ad5$09631c50$dd2f0a44@bcsext6137> Message-ID: <3F2EE413.8010604@shaw.ca> To see all the environ variables names and values and no I don't know what rosebud means;) Sub testenviron() Dim i As Long Dim envStr As String For i = 1 To 30 envStr = Environ(i) Debug.Print i & "=" & envStr Next End Sub dave sharpe wrote: >Stephen > >The environmental variable ( systemroot ) is what You need. >I hope that the following helps. > >Dave >============================= > >Sub ttest() > >Dim aroot As String >aroot = Environ$("systemroot") > >Debug.Print aroot > > >End Sub > > >----- Original Message ----- >From: "Stephen R. Zayko" >To: "'Access Developers discussion and problem solving'" > >Sent: Monday, August 04, 2003 5:50 PM >Subject: [AccessD] System Root > > > > >>Group: >> >>How do I determine if the system root is C:\Windows, C:\Winnt, or >>something else in VBA? I would like to call a program in >>%SystemRoot%\System32 from a shell function but >> >>intX = Shell("%SystemRoot%\system32\calc.exe",1) >> >>does not work. However, one of these will work if it is calling the >>correct root directory name: >>intX = Shell("C:\Windows\system32\calc.exe",1) ' For Windows OS >>intX = Shell("C:\Winnt\system32\calc.exe",1) ' For NT OS >> >>Thanks in Advance, >> >>Stephen R. Zayko, P.E. >> >>SECOR International Inc. >>2321 Club Meridian Drive, Ste E >>Okemos, MI 48864 >> >>(p) (517) 349-9499 ex24 >>(f) (517) 349-6863 >>(m) (517) 204-5136 >> >>szayko at secor.com >>www.secor.com >> >>-----Original Message----- >>From: Mike and Doris Manning [mailto:mikedorism at ntelos.net] >>Sent: Tuesday, April 08, 2003 02:47 PM >>To: szayko at secor.com >>Subject: RE: [AccessD] Runtime Driver >> >>Here you go... Function CheckConnection is what you will need to look >>at. >>It uses to constants that are set up at the top of the module. >> >>Doris Manning >>Database Administrator >>Hargrove Inc. >>www.hargroveinc.com >> >> >>-----Original Message----- >>From: Stephen R. Zayko [mailto:szayko at secor.com] >>Sent: Tuesday, April 08, 2003 02:36 PM >>To: mikedorism at ntelos.net >>Subject: FW: [AccessD] Runtime Driver >> >> >>Doris >> >>Thanks for the offer. If you could e-mail it to me at this address I >>would >>be very grateful. Also thanks for putting the 'mail me offline' remark. >>Those tend to quell the 'me too's. I think that this will be just what >>I >>need. I will post to the list if this works. >> >>Thanks >> >>-Z >> >>Stephen R. Zayko >> >>SECOR International Inc. >>2321 Club meridian Drive Ste. E >>Okemos MI, 48864 >> >>517 349 9499 ph >>517 349 6863 fx >> >>szayko at secor.com >>www.secorlansing.com >> >> >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mike and Doris >>Manning >>Sent: Tuesday, April 08, 2003 12:32 PM >>To: accessd at databaseadvisors.com >>Subject: RE: [AccessD] Runtime Driver >> >> >>I've got code that checks for a specified SQL Server System DSN and >>creates >>it if it doesn't exist. You should be able to modify it to work with >>MySQL. >>Email me offline if you want it. >> >>Doris Manning >>Database Administrator >>Hargrove Inc. >>www.hargroveinc.com >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com] >>Sent: Tuesday, April 08, 2003 11:41 AM >>To: AccessD at databaseadvisors.com >>Subject: [AccessD] Runtime Driver >> >> >>Group: >> >>Is it possible to include the drivers needed for a runtime solution? I >>have >>an A2K database which I would like to package as a runtime. It is an >>A2K FE >>with a MySQL BE accessed via ODBC through the web. Trouble with the >>distribution is that people must install the MySQL ODBC driver, and then >>create/link to the machine data source of the MySQL database (I think I >>said >>that right). >> >>What I would like to do is this... >> >>Create the runtime with the drivers and the source database info. Then >>when >>a user unpacks/installs the runtime, >>A: The MYSQL driver installs on that machine and >>B: The ODBC data source is created with all the needed info. >> >>A looks pretty simple to do. You just include that in the files to be >>included during the packaging of the app. B however, I am not too sure >>about. Can I do this through code? Has anyone else done this before? >> >>thanks in advance. >> >>-Z >> >>Stephen R. Zayko >> >>SECOR International Inc. >>2321 Club meridian Drive Ste. E >>Okemos MI, 48864 >> >>517 349 9499 ph >>517 349 6863 fx >> >>szayko at secor.com >>www.secorlansing.com >> >>_______________________________________________ >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >> >> >>_______________________________________________ >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >> >> >> > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > From mikedorism at ntelos.net Mon Aug 4 17:55:07 2003 From: mikedorism at ntelos.net (Mike and Doris Manning) Date: Mon, 4 Aug 2003 18:55:07 -0400 Subject: [AccessD] System Root In-Reply-To: <000501c35ad2$6e0af630$343da8c0@STEVE2K> Message-ID: <000001c35adb$77668150$f9330cd8@hargrove.internal> Have you tried just shelling out to Calc.exe and letting the system take care of itself? 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 Stephen R. Zayko Sent: Monday, August 04, 2003 5:50 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] System Root Group: How do I determine if the system root is C:\Windows, C:\Winnt, or something else in VBA? I would like to call a program in %SystemRoot%\System32 from a shell function but intX = Shell("%SystemRoot%\system32\calc.exe",1) does not work. However, one of these will work if it is calling the correct root directory name: intX = Shell("C:\Windows\system32\calc.exe",1) ' For Windows OS intX = Shell("C:\Winnt\system32\calc.exe",1) ' For NT OS Thanks in Advance, Stephen R. Zayko, P.E. SECOR International Inc. 2321 Club Meridian Drive, Ste E Okemos, MI 48864 (p) (517) 349-9499 ex24 (f) (517) 349-6863 (m) (517) 204-5136 szayko at secor.com www.secor.com -----Original Message----- From: Mike and Doris Manning [mailto:mikedorism at ntelos.net] Sent: Tuesday, April 08, 2003 02:47 PM To: szayko at secor.com Subject: RE: [AccessD] Runtime Driver Here you go... Function CheckConnection is what you will need to look at. It uses to constants that are set up at the top of the module. Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: Stephen R. Zayko [mailto:szayko at secor.com] Sent: Tuesday, April 08, 2003 02:36 PM To: mikedorism at ntelos.net Subject: FW: [AccessD] Runtime Driver Doris Thanks for the offer. If you could e-mail it to me at this address I would be very grateful. Also thanks for putting the 'mail me offline' remark. Those tend to quell the 'me too's. I think that this will be just what I need. I will post to the list if this works. Thanks -Z Stephen R. Zayko SECOR International Inc. 2321 Club meridian Drive Ste. E Okemos MI, 48864 517 349 9499 ph 517 349 6863 fx szayko at secor.com www.secorlansing.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mike and Doris Manning Sent: Tuesday, April 08, 2003 12:32 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Runtime Driver I've got code that checks for a specified SQL Server System DSN and creates it if it doesn't exist. You should be able to modify it to work with MySQL. Email me offline if you want it. Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] Sent: Tuesday, April 08, 2003 11:41 AM To: AccessD at databaseadvisors.com Subject: [AccessD] Runtime Driver Group: Is it possible to include the drivers needed for a runtime solution? I have an A2K database which I would like to package as a runtime. It is an A2K FE with a MySQL BE accessed via ODBC through the web. Trouble with the distribution is that people must install the MySQL ODBC driver, and then create/link to the machine data source of the MySQL database (I think I said that right). What I would like to do is this... Create the runtime with the drivers and the source database info. Then when a user unpacks/installs the runtime, A: The MYSQL driver installs on that machine and B: The ODBC data source is created with all the needed info. A looks pretty simple to do. You just include that in the files to be included during the packaging of the app. B however, I am not too sure about. Can I do this through code? Has anyone else done this before? thanks in advance. -Z Stephen R. Zayko SECOR International Inc. 2321 Club meridian Drive Ste. E Okemos MI, 48864 517 349 9499 ph 517 349 6863 fx szayko at secor.com www.secorlansing.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bheygood at abestsystems.com Mon Aug 4 18:01:33 2003 From: bheygood at abestsystems.com (Bob Heygood) Date: Mon, 4 Aug 2003 16:01:33 -0700 Subject: [AccessD] Excel Code In-Reply-To: Message-ID: Erwin, maybe my problem now is setting up my object variables. how about : ' Change to the correct path for xls file Set xlbook = xlapp.workbooks.Open(strFileLocation) ' Change to the correct name of your worksheet Set xlapp.xlbook.xlsheet = xlapp.Worksheet.Open("June_2003_Sales") Seems to crash on the last line....] TIA Bob -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Erwin Craps Sent: Monday, August 04, 2003 2:06 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Excel Code Another thing...and probably THE thing You are not referencing to the excel object. Cells(Rows.Count,"A").End(xlUp).Row Should be objExcelWorkSheet.cells And rows() should be objExcelWorkSheet.rows. Before you can create the objExcelWorkSheet object you need to create a objExcelWorkbook And before you can create an objExcelWorkbook you need to create a objExcel Be sure to set all objects to nothing when finishing your code. Try not to terminate and restart code execution while developing, but first try to nicely close all objects. -----Oorspronkelijk bericht----- Van: Erwin Craps Verzonden: maandag 4 augustus 2003 22:51 Aan: Access Developers discussion and problem solving Onderwerp: RE: [AccessD] Excel Code Wauw Bob Thats some piece of code you got there :-) I been strugling months trying to create some nicely formated Excel sheets from Access. Pretty heavy stuff... First of all, I noticed, while developing that Access looses sometimes and pretty often partialy the reference to Excel. Some primary objects where still working but Cells just constantly gave errors. Saving the code, closing excel, resetting (stop button) in MSA_VBE was needed to regain control over the object. Sometimes Excel needed to be terminated by means of the taskmanager. Closing and reopening access was sometimes needed. There is an issue with early and late bounding to, in early bounding I had trouble makeing a object twice to Excel during same session. Some functions would fail. Late bounding is adviced by MS to Excel. This was all true for MSA2K and Excel 2K. Ok now for some code. Please note that I adapted some code to make it readable, the code beneath will not work on its on, I supose what you are looking for is the worksheetfunction or formula property. 'With Cells you can reference by number, thus making programmable variables able. lngRowposFrom = 1 lngRowposTO = 9 lngRowpos = 10 lngColPos = 1 With ObjExcelSheet .Cells(lngRowpos, lngColPos).HorizontalAlignment = xlHAlignLeft End with 'Calculate Column totals If itmDLFormat.CalculateColumnSum = True Then With .Cells(lngRowpos , lngColPos) 'This line result in a figure (only one line needed) .Value = WorksheetFunction.Sum(.Range(.Cells(lngRowposFrom , lngColPos), .Cells(lngRowposTO, lngColPos ))) 'This line result in a formula in excel (only one line needed) .Formula = "=SUM(" & objExcelWorkSheet.Cells(lngRowposFrom , lngColPos ).Address _ & ":" _ & objExcelWorkSheet.Cells(lngRowposTO, lngColPos ).Address _ & ")" End With Erwin -----Oorspronkelijk bericht----- Van: Bob Heygood [mailto:bheygood at abestsystems.com] Verzonden: maandag 4 augustus 2003 21:36 Aan: Access Developers discussion and problem solving Onderwerp: RE: [AccessD] Excel Code Hey Philippe, Wow I thought I did but sure enough I removed it to accommodate a user that has a different version of Excel. Still would love for an Excel guru to help me make the code work. Thanks, Bob -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Philippe PONS Sent: Monday, August 04, 2003 12:17 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Excel Code Hi Bob, If you can't gain access to the Excel object model from Access, it is because you did not declare a reference to the Excel library from Tool/References... Do it, and you will get it! Regards, Philippe. ----- Original Message ----- From: "Bob Heygood" To: "Access Developers discussion and problem solving" Sent: Monday, August 04, 2003 9:10 PM Subject: [AccessD] Excel Code > Hey to the Group, > > I have found some great code to go to an excel sheet and total a > column. It > works in excel fine. But when I try and adapt it to automate excel > from Access, I get errors for the "Cells(xxxx)" object. I have been > successful in > instancing the Excel application and the Excel workbook. I have tried > to understand the cell thing but cannot get the Excel object model to > show up in the object browser in Access. > > So, how do I get this to work in Access. And, how can one explore the excel > model from Access. > > Code: > > Dim cRows As Long > > cRows = Cells(Rows.Count,"A").End(xlUp).Row > Cells(cRows+1,"A").FormulaR1C1 = "=SUM(R1C1:R[-1]C1)" > > This is for column A, change the "A" and C1 if a different column required. > > Code End: > > TIA > > Bob > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bheygood at abestsystems.com Mon Aug 4 19:29:47 2003 From: bheygood at abestsystems.com (Bob Heygood) Date: Mon, 4 Aug 2003 17:29:47 -0700 Subject: [AccessD] Excel Code In-Reply-To: Message-ID: Hey Erwin, Got it. Should have been: Set xlsheet = xlbook.Worksheets("Whatever") Yes, I will be careful to include closing/setting to nothing all the objects when done. Unfortunately I have to use late binding to accommodate users with different versions of Excel. Thanks again for your time and help. Bob From d.dick at uws.edu.au Mon Aug 4 19:58:15 2003 From: d.dick at uws.edu.au (Darren DICK) Date: Tue, 5 Aug 2003 10:58:15 +1000 Subject: [AccessD] A2K:Create MDA dB to hold code References: Message-ID: <004201c35aec$a72bc0b0$3c619a89@DDICK> NO ARCHIVE Thanks John Good info DD ----- Original Message ----- From: "John Bartow" To: "Access Developers discussion and problem solving" Sent: Tuesday, August 05, 2003 1:59 AM Subject: RE: [AccessD] A2K:Create MDA dB to hold code > Ditto's to that here. > > If you include the library in your installation script it isn't a problem. > If you're passing it around with out a script then if you always place the > library db in the System32 folder it shouldn't be a problem either. > > IMO its a personal preference and there's pros and cons to both. > > One pro - other developers can use the exact same reference rather than > copying the code or referencing your app db. If you put a listing of your > library code procedures and what they do on your intranet and always install > the library in system32 so it is an easy refernce it can save some time and > reduncancy. > > One con is when you use an mde library (to protect the code) you always have > to compile with the exact same library - therefore you have to synch the > library with the app. > > What we do is put generic (and very reliable) code in a library and app > specific or new code in the app db. > > HTH > John Bartow > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte > > Foust > > Sent: Monday, August 04, 2003 10:17 AM > > To: Access Developers discussion and problem solving > > Subject: RE: [AccessD] A2K:Create MDA dB to hold code > > > > > > Actually, we use a code library in our commercial applications. That's > > what the recent thread on broken references dealt with. It's a standard > > part of our installation. > > > > Charlotte Foust > > > > -----Original Message----- > > From: Darren DICK [mailto:d.dick at uws.edu.au] > > Sent: Sunday, August 03, 2003 11:05 PM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] A2K:Create MDA dB to hold code > > > > > > Hi Bob > > Thanks heaps for the info > > > > Darren > > > > ----- Original Message ----- > > From: "Bob Hall" > > To: "AccessD List" > > Sent: Monday, August 04, 2003 1:52 PM > > Subject: Re: [AccessD] A2K:Create MDA dB to hold code > > > > > > > On Mon, Aug 04, 2003 at 12:02:54PM +1000, Darren DICK wrote: > > > > Hello all > > > > I want to separate my 'favourite's code bits and pieces into a > > > > separate db (MDA?) then have any new dB 'reference' the MDA. > > > > > > > > 1 How do I go about this? > > > > > > You can do this with an mdb file, but mdas and mdes will work also. > > > Put > > > the file anyplace where you can find it from your project mdb's > > browser. > > > In the VBA IDE, select the References item from the Tool menu. Browse > > > for your library, and double click it. After that, the public > > procedures > > > in any standard modules in your library will be available in your > > project > > > mdb. > > > > > > > 2 What are the 'gotchas' etc? > > > > > > If your mdb is going to be used by anyone other than you, then it's > > > not worth it, for two reasons: > > > 1) If you have code in two files instead of one, then you've got > > > two files to keep track of, instead of one. You'll be amazed how > > > many times you'll forget to include the library file with the > > > main file. I'm sometimes forced to divide code between two > > > different files, but I avoid it when possible. > > > 2) Access sets four references for VBA, by default. Additional > > > references tend to break. To make your code reliable, you > > > have to put code in a start-up form that checks the references and > > > repairs any broken references. If you don't do this, you are going > > > to have to fix the references for your users whenever they break. > > > > > > I have a library of string-parsing routines that I like to keep > > > handy for various tasks. For example, I've got a routine that finds > > > the first occurence of a substring after the Nth occurence of another > > > substring. I always import any routine I use into the mdb that uses > > it. > > > The hassle associated with add-ins isn't worth it. > > > > > > Bob Hall > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > _______________________________________________ > 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 Aug 4 19:58:55 2003 From: d.dick at uws.edu.au (Darren DICK) Date: Tue, 5 Aug 2003 10:58:55 +1000 Subject: [AccessD] A2K:Create MDA dB to hold code References: Message-ID: <004801c35aec$bee5d1a0$3c619a89@DDICK> NO ARCHIVE Thank you Charlotte I really do appreciate your input DD ----- Original Message ----- From: "Charlotte Foust" To: "Access Developers discussion and problem solving" Sent: Tuesday, August 05, 2003 1:17 AM Subject: RE: [AccessD] A2K:Create MDA dB to hold code > Actually, we use a code library in our commercial applications. That's > what the recent thread on broken references dealt with. It's a standard > part of our installation. > > Charlotte Foust > > -----Original Message----- > From: Darren DICK [mailto:d.dick at uws.edu.au] > Sent: Sunday, August 03, 2003 11:05 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] A2K:Create MDA dB to hold code > > > Hi Bob > Thanks heaps for the info > > Darren > > ----- Original Message ----- > From: "Bob Hall" > To: "AccessD List" > Sent: Monday, August 04, 2003 1:52 PM > Subject: Re: [AccessD] A2K:Create MDA dB to hold code > > > > On Mon, Aug 04, 2003 at 12:02:54PM +1000, Darren DICK wrote: > > > Hello all > > > I want to separate my 'favourite's code bits and pieces into a > > > separate db (MDA?) then have any new dB 'reference' the MDA. > > > > > > 1 How do I go about this? > > > > You can do this with an mdb file, but mdas and mdes will work also. > > Put > > the file anyplace where you can find it from your project mdb's > browser. > > In the VBA IDE, select the References item from the Tool menu. Browse > > for your library, and double click it. After that, the public > procedures > > in any standard modules in your library will be available in your > project > > mdb. > > > > > 2 What are the 'gotchas' etc? > > > > If your mdb is going to be used by anyone other than you, then it's > > not worth it, for two reasons: > > 1) If you have code in two files instead of one, then you've got > > two files to keep track of, instead of one. You'll be amazed how > > many times you'll forget to include the library file with the > > main file. I'm sometimes forced to divide code between two > > different files, but I avoid it when possible. > > 2) Access sets four references for VBA, by default. Additional > > references tend to break. To make your code reliable, you > > have to put code in a start-up form that checks the references and > > repairs any broken references. If you don't do this, you are going > > to have to fix the references for your users whenever they break. > > > > I have a library of string-parsing routines that I like to keep > > handy for various tasks. For example, I've got a routine that finds > > the first occurence of a substring after the Nth occurence of another > > substring. I always import any routine I use into the mdb that uses > it. > > The hassle associated with add-ins isn't worth it. > > > > Bob Hall > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From kathryn at bassett.net Mon Aug 4 21:53:37 2003 From: kathryn at bassett.net (Kathryn Bassett) Date: Mon, 4 Aug 2003 19:53:37 -0700 Subject: [AccessD] Report stopped triggering - & it's locking mdb In-Reply-To: Message-ID: Problem that may or may not be connected. When I try to run the report and it doesn't work, it will lock the database (leaving .ldb). I have to reboot the computer for the .ldb to go away so I can do further testing. First, a correction - Jim Lawrence asked: > First question; are your pictures linked or embedded? and I replied they were linked. But that's wrong, they are embedded. What goes in the text field for the photo is the link, so I was thinking link. William Hindman asked: > ...have you tried compacting/repairing the mdb? And I replied yes. I also ran Tool > Analyze > Performance. The recommendations are all to add an index field to field ... The ideas: Application is not saved in a fully compiled state Form 'Get Photos': Use an Option Explicit Statement Report 'PhotoDirectory - Photos Done - Connected': Use an Option Explicit Statement Module 'Module1': Use an Option Explicit Statement So, first I tried compiling. I got: The Report Name 'PhotoDirectory - Photos done NOT used' you entered in either the property sheet or macro is misspelled or refers to a report that doesn't exist. If the invalid report name is in a macro, an Action Failed dilog box will display the macro name and the macro's arguments after you click OK. Open the Macro window, and enter the correct report name. It takes 4 times of clicking OK before that message goes away and says Module Not Found. Now, the funny thing is - 'PhotoDirectory - Photos done NOT used' is a report that I dumped because I don't use it. There are NO macros, and the only module is Module1 which has General and Declarations as the two dropdown boxes, and the content below. I see nothing that refers to that report name. The correct report name is 'PhotoDirectory - Photos Done - Connected' though I had changed it to eliminate the last part, so it would be "PhotoDirectory - Photos Done'. Changed it back because Gary asked: "If you change the name back to it's original name does it work?" so I did to test but the answer is no. As a side note, I now can't change it again - When I try, it tries again to trigger the report, then changes it back to the old name. Copying it to a different name, still doesn't give me the report. Module1 content: Option Compare Database Option Explicit '*************************************************** 'File selection browser Declare Function GetOpenFileName Lib "comdlg32.dll" Alias _ "GetOpenFileNameA" (pOpenfilename As OPENFILENAME) As Long Type OPENFILENAME lStructSize As Long hwndOwner As Long hInstance As Long lpstrFilter As String lpstrCustomFilter As String nMaxCustFilter As Long nFilterIndex As Long lpstrFile As String nMaxFile As Long lpstrFileTitle As String nMaxFileTitle As Long lpstrInitialDir As String lpstrTitle As String flags As Long nFileOffset As Integer nFileExtension As Integer lpstrDefExt As String lCustData As Long lpfnHook As Long lpTemplateName As String End Type '************************************************************ 'Displays a dialog box that enables the user to select a shell folder. Public Declare Function SHBrowseForFolder Lib "shell32.dll" _ Alias "SHBrowseForFolderA" (lpBrowseInfo As BROWSEINFO) As Long Public Declare Function SHGetPathFromIDList Lib "shell32.dll" _ Alias "SHGetPathFromIDListA" _ (ByVal pidl As Long, _ ByVal pszPath As String) As Long Public Declare Sub CoTaskMemFree Lib "ole32.dll" (ByVal pv As Long) 'parameters for SHBrowseForFolder Public Type BROWSEINFO 'BI hOwner As Long pidlRoot As Long pszDisplayName As String lpszTitle As String ulFlags As Long lpfn As Long lParam As Long iImage As Long End Type 'BROWSEINFO.ulFlags values: Public Const BIF_RETURNONLYFSDIRS = &H1 'Only file system directories Public Const BIF_DONTGOBELOWDOMAIN = &H2 'No network folders below domain level Public Const BIF_STATUSTEXT = &H4 'Includes status area in the dialog (for callback) Public Const BIF_RETURNFSANCESTORS = &H8 'Only returns file system ancestors Public Const BIF_EDITBOX = &H10 'Allows user to rename selection Public Const BIF_VALIDATE = &H20 'Insist on valid editbox result (or CANCEL) Public Const BIF_BROWSEFORCOMPUTER = &H1000 'Only returns computers. Public Const BIF_BROWSEFORPRINTER = &H2000 'Only returns printers. Public Const BIF_BROWSEINCLUDEFILES = &H4000 'Browse for everything Public Const MAX_PATH = 260 end of Module1 content. Note I didn't write it, I think it is part of what was written by Stuart McLachlan, and he said there is stuff in what he wrote that isn't needed by me. Gary asked: > Do you have a control - possibly an image control pointing to another > control that has the name/path of the picture file it is displaying? Or > perhaps some event code that has the report name hard coded in it that got > broken when you changed the report name? Huh? I don't know exactly what you mean. I know that tables and queries can be referred to by reports, but I didn't think anything would have a report name except a macro. And there are no macros. Jim Lawrence said: > One other obvious possibility could be that a particular image(s) has become > corrupted. Just try loading the non-printing image(s) into your graphic > program. In Explorer, I have no problem doubleclicking to open all the graphics. If there is a problem with a particular image, I have no way of telling because the error message flashes past to fast to see. Jim Lawrence said: > My prognosis, as you have probably already assumed, is that the particular > database has somehow become corrupted. I would open up the bad db, create > and open a new db and copy and paste the components and code from one to the > other, as the standard repair and compact has failed to work. Since there is that recompile problem, I'm leaving this for now. I kinda got a feeling I wouldn't get everything copied I would need to. Well, anybody have any more ideas? Obviously compiling has something to do with it, but what? -- Kathryn Rhinehart Bassett (Pasadena CA) "Genealogy is my bag" "GH is my soap" kathryn at bassett.net http://bassett.net From selina at easydatabases.com.au Mon Aug 4 22:26:54 2003 From: selina at easydatabases.com.au (Selina Iddon) Date: Tue, 5 Aug 2003 13:26:54 +1000 Subject: [AccessD] Computer Identifier References: <000501c35ad2$6e0af630$343da8c0@STEVE2K> <01db01c35ad5$09631c50$dd2f0a44@bcsext6137> Message-ID: <016201c35b01$6be88000$6465000a@venus> Good Afternoon Everyone I am trying to confirm that a computer is eligible to open a distributed .mde file by the startup screen first checking to see if it's identifier exists in a separate password protected file. To do this I need to be able to extract an unique identifier for each computer (say the Windows Registry key or something). Can anyone offer a suggestion of a PC identifier to use and how I would retrieve it using code? TIA Cheers Selina From Erwin.Craps at ithelps.be Mon Aug 4 23:26:02 2003 From: Erwin.Craps at ithelps.be (Erwin Craps) Date: Tue, 5 Aug 2003 06:26:02 +0200 Subject: [AccessD] The Dreaded "ErrorMessage:ErrorAccessingFile.NetworkConnection May Have Been Lost." Message-ID: Then please tell me where the path is beause, I did not find any article telling me there a patch available. -----Oorspronkelijk bericht----- Van: Charlotte Foust [mailto:cfoust at infostatsystems.com] Verzonden: dinsdag 5 augustus 2003 0:25 Aan: Access Developers discussion and problem solving Onderwerp: RE: [AccessD] The Dreaded "ErrorMessage:ErrorAccessingFile.NetworkConnection May Have Been Lost." Without the patch, clicking Save would not necessarily help you. I encountered the bug in its full glory early in Office 2000 history and toasted several databases until I discovered the cause and got the patch. Charlotte Foust -----Original Message----- From: Erwin Craps [mailto:Erwin.Craps at ithelps.be] Sent: Monday, August 04, 2003 2:06 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] The Dreaded "Error Message:ErrorAccessingFile.NetworkConnection May Have Been Lost." I confirm, never solved.... When importing code in modules or forms/reports I always click "save" first in VBA. I'm not sure if compiling is sufficiant, I always click save. Never found a solution in MSKB Erwin -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Monday, August 04, 2003 11:54 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] The Dreaded "Error Message: ErrorAccessingFile.NetworkConnection May Have Been Lost." All I can say is that SP3 has fixed it on the machines I've encountered. Believe me, the situation without the patch was infinitely worse! Charlotte Foust -----Original Message----- From: Robert Gracie [mailto:Subscriptions at servicexp.com] Sent: Monday, August 04, 2003 1:40 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] The Dreaded "Error Message: Error AccessingFile.NetworkConnection May Have Been Lost." The problem as stated in KB 304548 (http://support.microsoft.com/default.aspx?scid=kb;en-us;Q304548) is indeed what is going on, the MAJOR Issue here is,....it is not fixed with SP3. (would anyone like to confirm this..) So just a warning to others that have version 6.3.91.8 of the Vbe6.dll, and are using A2K, even with the patch. Don't, whatever you do, import or "save as" an object and close that db, with out compiling first. It will trash your db... Robert Gracie www.servicexp.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan Geller Sent: Monday, August 04, 2003 3:08 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] The Dreaded "Error Message: Error Accessing File.NetworkConnection May Have Been Lost." Robert, I'm jumping into the middle of this thread and can't find the beginning, but here's an idea -- it won't necessarily get your old work back, but it may prevent it in the future. It's advise I got from MS a while back when I was having this problem: Check vbe6.dll - if have version number 6.3 and have Access 2000, then need hotfix for 2000 which installs a newer version of MSAccess.exe for 2000 - version # 9.0.0.6013. Lower versions should be fine. Have to get hotfix from MS. --Susan -----Original Message----- From: Robert Gracie [mailto:Subscriptions at servicexp.com] Sent: Sunday, August 03, 2003 11:59 AM To: Access Developers discussion and problem solving Subject: [AccessD] The Dreaded "Error Message: Error Accessing File. NetworkConnection May Have Been Lost." Well it just happened to me, and I have about 11 hours worth of work that maybe lost (is lost from what I have been reading) The problem is that I did have the "Office 2000 Service Pack 3" installed. So since MS says this will stop the problem from happening in the future, and obviously it does not, how can I protect myself.. Such a pain....!!!! What cause the corruption.... "Save As" some reports..... Any pearls of wisdom?? Robert Gracie www.servicexp.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Aug 4 23:29:14 2003 From: Erwin.Craps at ithelps.be (Erwin Craps) Date: Tue, 5 Aug 2003 06:29:14 +0200 Subject: [AccessD] Excel Code Message-ID: You are mixing a sheet with a workbook, i'll come back later today... -----Oorspronkelijk bericht----- Van: Bob Heygood [mailto:bheygood at abestsystems.com] Verzonden: dinsdag 5 augustus 2003 1:02 Aan: Access Developers discussion and problem solving Onderwerp: RE: [AccessD] Excel Code Erwin, maybe my problem now is setting up my object variables. how about : ' Change to the correct path for xls file Set xlbook = xlapp.workbooks.Open(strFileLocation) ' Change to the correct name of your worksheet Set xlapp.xlbook.xlsheet = xlapp.Worksheet.Open("June_2003_Sales") Seems to crash on the last line....] TIA Bob -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Erwin Craps Sent: Monday, August 04, 2003 2:06 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Excel Code Another thing...and probably THE thing You are not referencing to the excel object. Cells(Rows.Count,"A").End(xlUp).Row Should be objExcelWorkSheet.cells And rows() should be objExcelWorkSheet.rows. Before you can create the objExcelWorkSheet object you need to create a objExcelWorkbook And before you can create an objExcelWorkbook you need to create a objExcel Be sure to set all objects to nothing when finishing your code. Try not to terminate and restart code execution while developing, but first try to nicely close all objects. -----Oorspronkelijk bericht----- Van: Erwin Craps Verzonden: maandag 4 augustus 2003 22:51 Aan: Access Developers discussion and problem solving Onderwerp: RE: [AccessD] Excel Code Wauw Bob Thats some piece of code you got there :-) I been strugling months trying to create some nicely formated Excel sheets from Access. Pretty heavy stuff... First of all, I noticed, while developing that Access looses sometimes and pretty often partialy the reference to Excel. Some primary objects where still working but Cells just constantly gave errors. Saving the code, closing excel, resetting (stop button) in MSA_VBE was needed to regain control over the object. Sometimes Excel needed to be terminated by means of the taskmanager. Closing and reopening access was sometimes needed. There is an issue with early and late bounding to, in early bounding I had trouble makeing a object twice to Excel during same session. Some functions would fail. Late bounding is adviced by MS to Excel. This was all true for MSA2K and Excel 2K. Ok now for some code. Please note that I adapted some code to make it readable, the code beneath will not work on its on, I supose what you are looking for is the worksheetfunction or formula property. 'With Cells you can reference by number, thus making programmable variables able. lngRowposFrom = 1 lngRowposTO = 9 lngRowpos = 10 lngColPos = 1 With ObjExcelSheet .Cells(lngRowpos, lngColPos).HorizontalAlignment = xlHAlignLeft End with 'Calculate Column totals If itmDLFormat.CalculateColumnSum = True Then With .Cells(lngRowpos , lngColPos) 'This line result in a figure (only one line needed) .Value = WorksheetFunction.Sum(.Range(.Cells(lngRowposFrom , lngColPos), .Cells(lngRowposTO, lngColPos ))) 'This line result in a formula in excel (only one line needed) .Formula = "=SUM(" & objExcelWorkSheet.Cells(lngRowposFrom , lngColPos ).Address _ & ":" _ & objExcelWorkSheet.Cells(lngRowposTO, lngColPos ).Address _ & ")" End With Erwin -----Oorspronkelijk bericht----- Van: Bob Heygood [mailto:bheygood at abestsystems.com] Verzonden: maandag 4 augustus 2003 21:36 Aan: Access Developers discussion and problem solving Onderwerp: RE: [AccessD] Excel Code Hey Philippe, Wow I thought I did but sure enough I removed it to accommodate a user that has a different version of Excel. Still would love for an Excel guru to help me make the code work. Thanks, Bob -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Philippe PONS Sent: Monday, August 04, 2003 12:17 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Excel Code Hi Bob, If you can't gain access to the Excel object model from Access, it is because you did not declare a reference to the Excel library from Tool/References... Do it, and you will get it! Regards, Philippe. ----- Original Message ----- From: "Bob Heygood" To: "Access Developers discussion and problem solving" Sent: Monday, August 04, 2003 9:10 PM Subject: [AccessD] Excel Code > Hey to the Group, > > I have found some great code to go to an excel sheet and total a > column. It > works in excel fine. But when I try and adapt it to automate excel > from Access, I get errors for the "Cells(xxxx)" object. I have been > successful in > instancing the Excel application and the Excel workbook. I have tried > to understand the cell thing but cannot get the Excel object model to > show up in the object browser in Access. > > So, how do I get this to work in Access. And, how can one explore the excel > model from Access. > > Code: > > Dim cRows As Long > > cRows = Cells(Rows.Count,"A").End(xlUp).Row > Cells(cRows+1,"A").FormulaR1C1 = "=SUM(R1C1:R[-1]C1)" > > This is for column A, change the "A" and C1 if a different column required. > > Code End: > > TIA > > Bob > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From wdhindman at bellsouth.net Tue Aug 5 00:05:00 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Tue, 5 Aug 2003 01:05:00 -0400 Subject: [AccessD] Computer Identifier References: <000501c35ad2$6e0af630$343da8c0@STEVE2K><01db01c35ad5$09631c50$dd2f0a44@bcsext6137> <016201c35b01$6be88000$6465000a@venus> Message-ID: <000801c35b0f$1fb02360$6101a8c0@amd2k512> ...the MAC code uniquely identifies each computer on the network if thats what you're looking for ...take a look in the archives for sample code using it ...HTH :) William Hindman "You know the world is going crazy when the best rapper is a white guy, the best golfer is a black guy, The Swiss hold the America's Cup, France is accusing the US of arrogance, and Germany doesn't want to go to war." ----- Original Message ----- From: "Selina Iddon" To: "Access Developers discussion and problem solving" Sent: Monday, August 04, 2003 11:26 PM Subject: [AccessD] Computer Identifier > Good Afternoon Everyone > > I am trying to confirm that a computer is eligible to open a distributed > .mde file by the startup screen first checking to see if it's identifier > exists in a separate password protected file. To do this I need to be able > to extract an unique identifier for each computer (say the Windows Registry > key or something). > > Can anyone offer a suggestion of a PC identifier to use and how I would > retrieve it using code? > > TIA > Cheers > Selina > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From thewaddles at sbcglobal.net Tue Aug 5 00:08:46 2003 From: thewaddles at sbcglobal.net (Kevin Waddle) Date: Mon, 4 Aug 2003 22:08:46 -0700 Subject: [AccessD] Computer Identifier In-Reply-To: <016201c35b01$6be88000$6465000a@venus> Message-ID: Selina, Two Functions to return unique computer name... Declare Function GetComputerName& Lib "kernel32" Alias _ "GetComputerNameA" (ByVal lbbuffer As String, nsize As Long) Function ReturnName() Dim str As String * 64 Call GetComputerName(str, 64) ReturnName = str End Function Sub GetCPUname() Dim CPUname As String CPUname = Left(ReturnName(), 64) MsgBox CPUname End Sub HTH, Kevin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Selina Iddon Sent: Monday, August 04, 2003 8:27 PM To: Access Developers discussion and problem solving Subject: [AccessD] Computer Identifier Good Afternoon Everyone I am trying to confirm that a computer is eligible to open a distributed .mde file by the startup screen first checking to see if it's identifier exists in a separate password protected file. To do this I need to be able to extract an unique identifier for each computer (say the Windows Registry key or something). Can anyone offer a suggestion of a PC identifier to use and how I would retrieve it using code? TIA Cheers Selina _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Erwin.Craps at ithelps.be Tue Aug 5 00:35:12 2003 From: Erwin.Craps at ithelps.be (Erwin Craps) Date: Tue, 5 Aug 2003 07:35:12 +0200 Subject: [AccessD] Excel Code Message-ID: Late binding is ok... -----Original Message----- From: Bob Heygood [mailto:bheygood at abestsystems.com] Sent: Tuesday, August 05, 2003 2:30 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Excel Code Hey Erwin, Got it. Should have been: Set xlsheet = xlbook.Worksheets("Whatever") Yes, I will be careful to include closing/setting to nothing all the objects when done. Unfortunately I have to use late binding to accommodate users with different versions of Excel. Thanks again for your time and help. Bob _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Erwin.Craps at ithelps.be Tue Aug 5 00:50:23 2003 From: Erwin.Craps at ithelps.be (Erwin Craps) Date: Tue, 5 Aug 2003 07:50:23 +0200 Subject: [AccessD] Computer Identifier Message-ID: The combination of severall items. Windows version etc.. But the most unique I know, will be the serial number of the hard disk. The serial of the processor but not al cpu have one, or turned off. MAC address of the nic is also unique but can be easealy spoofed. PC name should be unique in same domain. Please note that the last two would require a network installed!!! Public SysInfo As SYSTEM_INFO Type SYSTEM_INFO dwOemID As Long dwPageSize As Long lpMinimumApplicationAddress As Long lpMaximumApplicationAddress As Long dwActiveProcessorMask As Long dwNumberOrfProcessors As Long dwProcessorType As Long dwAllocationGranularity As Long dwReserved As Long End Type Declare Function GetVolumeInformation Lib "kernel32" Alias "GetVolumeInformationA" (ByVal lpRootPathName As String, ByVal lpVolumeNameBuffer As String, ByVal nVolumeNameSize As Long, lpVolumeSerialNumber As Long, lpMaximumComponentLength As Long, lpFileSystemFlags As Long, ByVal lpFileSystemNameBuffer As String, ByVal nFileSystemNameSize As Long) As Long Declare Sub GetSystemInfo Lib "kernel32" (lpSystemInfo As SYSTEM_INFO) Declare Function GetSystemDefaultLangID Lib "kernel32" () As Integer Declare Function GetVersion Lib "kernel32" () As Long Declare Function GetComputerName Lib "kernel32" Alias "GetComputerNameA" (ByVal lpBuffer As String, nSize As Long) As Long Dim ctrSysinfo As SysInfo Dim Result As Integer Dim RootPathName As String, VolumeNameBuffer As String Dim VolumeNameSize As Long, VolumeSerialNumber As Long Dim MaximumComponentLength As Long, FileSystemFlags As Long Dim FileSystemNameBuffer As String, FileSystemNameSize As Long Result = GetVolumeInformation(RootPathName, VolumeNameBuffer, VolumeNameSize, VolumeSerialNumber, MaximumComponentLength, FileSystemFlags, FileSystemNameBuffer, FileSystemNameSize) -----Original Message----- From: Selina Iddon [mailto:selina at easydatabases.com.au] Sent: Tuesday, August 05, 2003 5:27 AM To: Access Developers discussion and problem solving Subject: [AccessD] Computer Identifier Good Afternoon Everyone I am trying to confirm that a computer is eligible to open a distributed .mde file by the startup screen first checking to see if it's identifier exists in a separate password protected file. To do this I need to be able to extract an unique identifier for each computer (say the Windows Registry key or something). Can anyone offer a suggestion of a PC identifier to use and how I would retrieve it using code? TIA Cheers Selina _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From actebs at actebs.com.au Tue Aug 5 00:48:41 2003 From: actebs at actebs.com.au (ACTEBS) Date: Tue, 05 Aug 2003 15:48:41 +1000 Subject: [AccessD] AXP Text File Import Crashes Access Message-ID: <004701c35b15$3ca430a0$0c05a8c0@carlton.local> Guys, Has anyone had a problem with the File|Get External Data|Import option where is keeps crashing access when either an excel or text file is selected. I have AXP SP2 and have scoured the web to find a solution, but no go. I also have A97 installed on the same machine if that matters... Hope someone has got an answer... Regards Vlad -------------- next part -------------- An HTML attachment was scrubbed... URL: From accessd at shaw.ca Tue Aug 5 01:09:47 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Mon, 04 Aug 2003 23:09:47 -0700 Subject: [AccessD] Report stopped triggering - & it's locking mdb In-Reply-To: Message-ID: Hi Kathyrn: Now that you have informed me that you have embedded images that opens a whole-can-of-worms. On three separate occasions, with two different clients, who had databases with embedded images there were major disasters. This is not to say that embedded images do not work, it is just that when they corrupt, it can be a REAL problem. In addition, tables can bloat at amazing speed with embedded images and once the two GB limit is hit... (It is actually closer to 1.7GB from experience.)... your database may not open. My rule of thumb is to never use embeded images and I never have since and I have never had a graphic image problem since then, either. If you need sample code on how to handle linked images to forms and reports, just email. I do not mean to sound strident but when you have been deep fried a couple of times.... HTH Jim PS: Export all the objects out of the current corrupting db into a nice new one. That will give you a grace period. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Kathryn Bassett Sent: Monday, August 04, 2003 7:54 PM To: Access Developers discussion and problem solving Subject: [AccessD] Report stopped triggering - & it's locking mdb Problem that may or may not be connected. When I try to run the report and it doesn't work, it will lock the database (leaving .ldb). I have to reboot the computer for the .ldb to go away so I can do further testing. First, a correction - Jim Lawrence asked: > First question; are your pictures linked or embedded? and I replied they were linked. But that's wrong, they are embedded. What goes in the text field for the photo is the link, so I was thinking link. William Hindman asked: > ...have you tried compacting/repairing the mdb? And I replied yes. I also ran Tool > Analyze > Performance. The recommendations are all to add an index field to field ... The ideas: Application is not saved in a fully compiled state Form 'Get Photos': Use an Option Explicit Statement Report 'PhotoDirectory - Photos Done - Connected': Use an Option Explicit Statement Module 'Module1': Use an Option Explicit Statement So, first I tried compiling. I got: The Report Name 'PhotoDirectory - Photos done NOT used' you entered in either the property sheet or macro is misspelled or refers to a report that doesn't exist. If the invalid report name is in a macro, an Action Failed dilog box will display the macro name and the macro's arguments after you click OK. Open the Macro window, and enter the correct report name. It takes 4 times of clicking OK before that message goes away and says Module Not Found. Now, the funny thing is - 'PhotoDirectory - Photos done NOT used' is a report that I dumped because I don't use it. There are NO macros, and the only module is Module1 which has General and Declarations as the two dropdown boxes, and the content below. I see nothing that refers to that report name. The correct report name is 'PhotoDirectory - Photos Done - Connected' though I had changed it to eliminate the last part, so it would be "PhotoDirectory - Photos Done'. Changed it back because Gary asked: "If you change the name back to it's original name does it work?" so I did to test but the answer is no. As a side note, I now can't change it again - When I try, it tries again to trigger the report, then changes it back to the old name. Copying it to a different name, still doesn't give me the report. Module1 content: Option Compare Database Option Explicit '*************************************************** 'File selection browser Declare Function GetOpenFileName Lib "comdlg32.dll" Alias _ "GetOpenFileNameA" (pOpenfilename As OPENFILENAME) As Long Type OPENFILENAME lStructSize As Long hwndOwner As Long hInstance As Long lpstrFilter As String lpstrCustomFilter As String nMaxCustFilter As Long nFilterIndex As Long lpstrFile As String nMaxFile As Long lpstrFileTitle As String nMaxFileTitle As Long lpstrInitialDir As String lpstrTitle As String flags As Long nFileOffset As Integer nFileExtension As Integer lpstrDefExt As String lCustData As Long lpfnHook As Long lpTemplateName As String End Type '************************************************************ 'Displays a dialog box that enables the user to select a shell folder. Public Declare Function SHBrowseForFolder Lib "shell32.dll" _ Alias "SHBrowseForFolderA" (lpBrowseInfo As BROWSEINFO) As Long Public Declare Function SHGetPathFromIDList Lib "shell32.dll" _ Alias "SHGetPathFromIDListA" _ (ByVal pidl As Long, _ ByVal pszPath As String) As Long Public Declare Sub CoTaskMemFree Lib "ole32.dll" (ByVal pv As Long) 'parameters for SHBrowseForFolder Public Type BROWSEINFO 'BI hOwner As Long pidlRoot As Long pszDisplayName As String lpszTitle As String ulFlags As Long lpfn As Long lParam As Long iImage As Long End Type 'BROWSEINFO.ulFlags values: Public Const BIF_RETURNONLYFSDIRS = &H1 'Only file system directories Public Const BIF_DONTGOBELOWDOMAIN = &H2 'No network folders below domain level Public Const BIF_STATUSTEXT = &H4 'Includes status area in the dialog (for callback) Public Const BIF_RETURNFSANCESTORS = &H8 'Only returns file system ancestors Public Const BIF_EDITBOX = &H10 'Allows user to rename selection Public Const BIF_VALIDATE = &H20 'Insist on valid editbox result (or CANCEL) Public Const BIF_BROWSEFORCOMPUTER = &H1000 'Only returns computers. Public Const BIF_BROWSEFORPRINTER = &H2000 'Only returns printers. Public Const BIF_BROWSEINCLUDEFILES = &H4000 'Browse for everything Public Const MAX_PATH = 260 end of Module1 content. Note I didn't write it, I think it is part of what was written by Stuart McLachlan, and he said there is stuff in what he wrote that isn't needed by me. Gary asked: > Do you have a control - possibly an image control pointing to another > control that has the name/path of the picture file it is displaying? Or > perhaps some event code that has the report name hard coded in it that got > broken when you changed the report name? Huh? I don't know exactly what you mean. I know that tables and queries can be referred to by reports, but I didn't think anything would have a report name except a macro. And there are no macros. Jim Lawrence said: > One other obvious possibility could be that a particular image(s) has become > corrupted. Just try loading the non-printing image(s) into your graphic > program. In Explorer, I have no problem doubleclicking to open all the graphics. If there is a problem with a particular image, I have no way of telling because the error message flashes past to fast to see. Jim Lawrence said: > My prognosis, as you have probably already assumed, is that the particular > database has somehow become corrupted. I would open up the bad db, create > and open a new db and copy and paste the components and code from one to the > other, as the standard repair and compact has failed to work. Since there is that recompile problem, I'm leaving this for now. I kinda got a feeling I wouldn't get everything copied I would need to. Well, anybody have any more ideas? Obviously compiling has something to do with it, but what? -- Kathryn Rhinehart Bassett (Pasadena CA) "Genealogy is my bag" "GH is my soap" kathryn at bassett.net http://bassett.net _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Tue Aug 5 01:39:27 2003 From: gustav at cactus.dk (Gustav Brock) Date: Tue, 5 Aug 2003 08:39:27 +0200 Subject: [AccessD] No Office 2003 ODE (Office Developer Edition)? In-Reply-To: <3F1B645E.7070902@shaw.ca> References: <200307201721.SAA22981@hosea.qub.ac.uk> <7938568478.20030720192939@cactus.dk> <3F1AD9FC.5060702@shaw.ca> <3F1B645E.7070902@shaw.ca> Message-ID: <1141810283.20030805083927@cactus.dk> Hi Marty and Martin I'm slightly confused ... Does this mean you'll have to buy all this - in addition to Office 2003 Pro, of course - just to create an Access 2003 runtime: 1. Visual Studio 2. Visual Studio Tools for the Microsoft Office System 3. Access 2003 Developer Extensions as well as to soil your dearly beloved workstation with IIS? And which version of Visual Studio? I don't have it as I've never had a need for it. /gustav > Looks like below doesn't contain the Access deployment features > Access 2003 Developer Extensions Overview > http://www.microsoft.com/office/preview/editions/accessdav.asp > from recent posting newsgroup microsoft.public.vsnet.vstools.office > Subject: Re: Access 2003 Developer Extensions > From: "Peter Torr \(MS\)" Sent: 7/16/2003 > 10:19:41 AM > "Urs Stettler" wrote in message > news:090401c34b7f$926f8de0$a401280a at phx.gbl... > > According to the product description of the VS tools for > > Office, Access 2003 Developer Extensions are supposed to > > be part of it. > > > > Well, I purchased the Office 03 beta, purchased VS 03 just > > to be able to use Access depoloyment features. Having > > installed the VS tools, I can't find any packaging wizard > > or any link in Access 03 to start the packaging process. > > Am I missing something? > Hi, > The Access Developer Extensions will be in the final retail product, which > has not shipped yet. The beta release of Visual Studio Tools for Office > just contains the Word and Excel managed code projects. From andy at minstersystems.co.uk Tue Aug 5 01:45:52 2003 From: andy at minstersystems.co.uk (Andy Lacey) Date: Tue, 5 Aug 2003 07:45:52 +0100 Subject: [AccessD] OT: Contact Mangement In-Reply-To: <000001c35ad0$62389a80$de1811d8@DanWaters> Message-ID: <002701c35b1d$3721d850$b274d0d5@minster33c3r25> Thanks a million to everyone who has replied on this thread, on-list or off. I've masses of info now. Thanks again. You're great. Andy Lacey http://www.minstersystems.co.uk From shamil at smsconsulting.spb.ru Tue Aug 5 02:06:27 2003 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Tue, 5 Aug 2003 11:06:27 +0400 Subject: [AccessD] Automation Error 8001010A when Automating Word 2000 Message-ID: <002c01c35b20$25689d80$b501010a@DAISY.local> Hi All, Have anybody seen the subject error, which appears when the following VBA code line is executed: set wapp = CreateObject("Word.Application") or set wapp = CreateObject("Word.Application.9") where wapp is defined as: dim wapp as Object I see nothing "criminal" here. MS say in http://support.microsoft.com/default.aspx?scid=kb;EN-US;246018 and http://support.microsoft.com/default.aspx?scid=kb;EN-US;244264 that the problem is because of Norton Antivirus installed but my customer states that there is no NAV on their PC. There are: Zone Alarm and GeCAD RAV Antivirus v8. Can they be the source of this trouble? I must also note that in http://support.microsoft.com/default.aspx?scid=kb;EN-US;246018 MS humbly writes: <<< In some cases, you may need to rename the oleaut32.dll and reinstall Office 2000. To rename oleaut32.dll, it is usually necessary to boot into MS-DOS mode because more than likely the Operating System has the file locked. STATUS Microsoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article. >>> I hope anybody have seen subject error and may give more detailed advices of its causes and how to fix it than that of MS. (The problem is that this bug appears on a remote customers PC, which I don't have access to) TIA for any information on the subject, Shamil P.S. Additional info on subject is in: http://support.microsoft.com/default.aspx?scid=kb;EN-US;244264 -- e-mail: shamil at smsconsulting.spb.ru Web: http://www.smsconsulting.spb.ru/shamil_s From gustav at cactus.dk Tue Aug 5 02:07:57 2003 From: gustav at cactus.dk (Gustav Brock) Date: Tue, 5 Aug 2003 09:07:57 +0200 Subject: [AccessD] System Root In-Reply-To: <01db01c35ad5$09631c50$dd2f0a44@bcsext6137> References: <000501c35ad2$6e0af630$343da8c0@STEVE2K> <01db01c35ad5$09631c50$dd2f0a44@bcsext6137> Message-ID: <1043519610.20030805090757@cactus.dk> Hi Stephen and Dave "windir" may be preferable. Not sure if "systemroot" exists on Win9x machines ... /gustav > Stephen > The environmental variable ( systemroot ) is what You need. > I hope that the following helps. > Dave > ============================= > Sub ttest() > Dim aroot As String > aroot = Environ$("systemroot") > Debug.Print aroot > End Sub From selina at easydatabases.com.au Tue Aug 5 03:18:34 2003 From: selina at easydatabases.com.au (Selina Iddon) Date: Tue, 5 Aug 2003 18:18:34 +1000 Subject: [AccessD] Computer Identifier References: Message-ID: <005001c35b2a$29e6c710$6465000a@venus> Thanks so much Erwin, Kevin William MUCH appreciated! Selina From accessd666 at yahoo.com Tue Aug 5 04:31:00 2003 From: accessd666 at yahoo.com (Sad Der) Date: Tue, 5 Aug 2003 02:31:00 -0700 (PDT) Subject: [AccessD] Copy range of ID's from excel In-Reply-To: <869379ABF177D4118D3100508B5EF87306D70593@corp-es00> Message-ID: <20030805093100.74702.qmail@web10002.mail.yahoo.com> thnx for the response Jim. Unfortunatly this was not what I meant. A user opens an Excel file. (S)He then selects a couple of records. EG: user clicks cell A1 and drags the mouse down to A7. So we now have a couple of cells selected in blue and with a right mouse click the user selects copy. The selected cells are now 'in' the Clibboard. The user then starts the Access application and needs to paste the selected cells, that are still in the Clipboard, into a form. Any idea how to do that? Thnx in advance Regards, Sander --- "Hale, Jim" wrote: > a quick and dirty way: > > A. Have an excel spreadsheet set up as a flat > file,ie > fld1_ID_Key fld2_Descr fld3_Include > Id1 whatever1 N > Id2 son of whatever Y > Id3 why not N > > The field headings should start in cell a1 on the > "database" sheet. > Use fld3_include to indicate if the record has been > selected. You can let > the user fill this column directly which is the > fastest but least secure way > (do not have blank cells. This could confuse Access) > Or you can hide the > "database" sheet and let the user select via list > box the choices and you > update the include field via code. > > B. link the sheet into an Access database where it > will appear as a table > . You can then > write a query with a > criteria of "Y" for the fld3_include field to select > the data and append or > update ("paste into")whatever master table you wish. > Alternatively, instead > of linking to the excel spreadsheet you can import > the sheet with the data > directly into Access as a table data> and then > manipulate it however you desire. HTH > Jim Hale > > > -----Original Message----- > From: Sad Der [mailto:accessd666 at yahoo.com] > Sent: Friday, August 01, 2003 9:03 AM > To: Acces User Group > Subject: [AccessD] Copy range of ID's from excel > > > Hi group, > > A user wants to select a list of id's and wants to > paste them into Access. After that the user wants to > make selections on the id's. > > Question: Which control is the best to use for this > and why? > > I'm thinking of using a listbox but is it possible > to > select it and paste the range into it. Remember the > range are completely random! > Question: How can I paste a range of items in an > Access object? > > Btw i'm using Access 2000 > > Regards, > > sander > > > __________________________________ > Do you Yahoo!? > Yahoo! SiteBuilder - Free, easy-to-use web site > design software > http://sitebuilder.yahoo.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com From stuart at pacific.net.hk Tue Aug 5 04:53:05 2003 From: stuart at pacific.net.hk (Stuart Sanders) Date: Tue, 5 Aug 2003 17:53:05 +0800 Subject: [AccessD] Automation Error 8001010A when Automating Word 2000 In-Reply-To: <002c01c35b20$25689d80$b501010a@DAISY.local> Message-ID: <025201c35b37$5ebefe50$5100a8c0@BITSNB02> Shamil (been a while since I've had time to read the list, so I'll try my best) I've had automation errors with Norton installed when script blocking is turned on. I'd make a guess without knowing anything about their virus software that it may likely be the problem. Things to look out for would be anything similar to script blocking, and perhaps heuristic capabilities. First thing I would suggest is to get them to test your app with the AV product disabled. If it is the culprit, they could try selectively turning heuristic scanning and/or script scanning modules (assuming the product allows that). I use zonealarm and haven't had any problems. Stuart > -----Original Message----- > Hi All, > > Have anybody seen the subject error, which appears when the > following VBA > code line is executed: > > set wapp = CreateObject("Word.Application") > > or > > set wapp = CreateObject("Word.Application.9") > > where wapp is defined as: > > dim wapp as Object > > that the problem is because of Norton Antivirus installed but my customer > states that there is no NAV on their PC. There are: > > Zone Alarm and GeCAD RAV Antivirus v8. From Lembit.Soobik at t-online.de Tue Aug 5 06:55:47 2003 From: Lembit.Soobik at t-online.de (Lembit Soobik) Date: Tue, 5 Aug 2003 13:55:47 +0200 Subject: [AccessD] Money, Money, Money makes the world go round References: Message-ID: <052c01c35b48$937f43f0$0200a8c0@S856> Friends, It is time once again to talk about money...or more accurately, the lack thereof. Since this list - like anything else - is not free, we need from time to time a little bit of money to pay our bills. Our fincancial needs are not great, but if those who feel they have received help for their project can donate a bit, I am sure we can continue to make our payments in a timely manner. Having said this, please be so kind as to visit http://www.databaseadvisors.com/donations.htm In addition, if we can secure a few companies as Corporate Sponsors - for as little as $100/year - we can live quite a while off of that. In addition to the benefits detailed at http://www.databaseadvisors.com/donations/corporate.htm, the Corporate Sponsor is allowed to include "Official Sponsor of DBA" (plus a link to his website) in his signature line. Now, this is a special offer, valid until Aug-31-2003. You get a whole year of free advertising in the signature line, plus all the free advice from the best Access Developers the world over! Surely that is worth more than $100. Thank you in advance for your conintued support of DataBase Advisors, Lembit Soobik President DBA and the Executive Team of DBA From wdhindman at bellsouth.net Tue Aug 5 06:57:24 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Tue, 5 Aug 2003 07:57:24 -0400 Subject: [AccessD] AXP Text File Import Crashes Access References: <004701c35b15$3ca430a0$0c05a8c0@carlton.local> Message-ID: <005801c35b48$bc2d6390$6101a8c0@amd2k512> MessageVlad ...do text imports this way regularly with A97 and AXP on different systems ...sorry, no crashes here (we won't talk about blue screens of death due to other things) ...used to get flaky things happening in Access when I had A97 on my AXP development system ...now I keep it on an older system on the network and don't see as many anomalies :( William Hindman "You know the world is going crazy when the best rapper is a white guy, the best golfer is a black guy, The Swiss hold the America's Cup, France is accusing the US of arrogance, and Germany doesn't want to go to war." ----- Original Message ----- From: ACTEBS To: access group Sent: Tuesday, August 05, 2003 1:48 AM Subject: [AccessD] AXP Text File Import Crashes Access Guys, Has anyone had a problem with the File|Get External Data|Import option where is keeps crashing access when either an excel or text file is selected. I have AXP SP2 and have scoured the web to find a solution, but no go. I also have A97 installed on the same machine if that matters... Hope someone has got an answer... Regards Vlad ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From actebs at actebs.com.au Tue Aug 5 07:15:55 2003 From: actebs at actebs.com.au (ACTEBS) Date: Tue, 5 Aug 2003 22:15:55 +1000 Subject: [AccessD] Money, Money, Money makes the world go round In-Reply-To: <052c01c35b48$937f43f0$0200a8c0@S856> Message-ID: <000b01c35b4b$526ee520$0c05a8c0@carlton.local> Lembit, What are you paying for hosting? I own the server that our web site is hosted on - mytakeaway.com.au - because this list has been so good to me over the years, I'd like offer you hosting for free. The only thing you'll need to do is re-direct the place where your IP is pointing to and direct it our IP address and I can configure it in IIS. The server is currently this configuration: A) Twin AMD MP 2100 - (Overkill I know, but it was all we could get that was reasonably priced in a dual configuration) B) 1GB RAM C) 14Mbit connection to the internet The only thing I need to know is how much HDD space you require as we have an unlimited Upload -> to the internet user and a limit of 2GB download -> us to the server...We download sweet FA as most of our traffic is outgoing and so is free... Get back to me if you want to go explore this further... Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lembit Soobik Sent: Tuesday, 5 August 2003 9:56 PM To: Access Developers discussion and problem solving Subject: [AccessD] Money, Money, Money makes the world go round Friends, It is time once again to talk about money...or more accurately, the lack thereof. Since this list - like anything else - is not free, we need from time to time a little bit of money to pay our bills. Our fincancial needs are not great, but if those who feel they have received help for their project can donate a bit, I am sure we can continue to make our payments in a timely manner. Having said this, please be so kind as to visit http://www.databaseadvisors.com/donations.htm In addition, if we can secure a few companies as Corporate Sponsors - for as little as $100/year - we can live quite a while off of that. In addition to the benefits detailed at http://www.databaseadvisors.com/donations/corporate.htm, the Corporate Sponsor is allowed to include "Official Sponsor of DBA" (plus a link to his website) in his signature line. Now, this is a special offer, valid until Aug-31-2003. You get a whole year of free advertising in the signature line, plus all the free advice from the best Access Developers the world over! Surely that is worth more than $100. Thank you in advance for your conintued support of DataBase Advisors, Lembit Soobik President DBA and the Executive Team of DBA _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From actebs at actebs.com.au Tue Aug 5 07:44:06 2003 From: actebs at actebs.com.au (ACTEBS) Date: Tue, 05 Aug 2003 22:44:06 +1000 Subject: [AccessD] AXP Text File Import Crashes Access In-Reply-To: <005801c35b48$bc2d6390$6101a8c0@amd2k512> Message-ID: <000c01c35b4f$44e61820$0c05a8c0@carlton.local> William, I think I figured it out - I uninstalled A97 and all is fine with the world now. I think there must have been some type of conflict between the two...Hmmm, I think I have experienced DLL Hell once more... Thanks again Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Tuesday, 5 August 2003 9:57 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] AXP Text File Import Crashes Access Vlad ...do text imports this way regularly with A97 and AXP on different systems ...sorry, no crashes here (we won't talk about blue screens of death due to other things) ...used to get flaky things happening in Access when I had A97 on my AXP development system ...now I keep it on an older system on the network and don't see as many anomalies :( William Hindman "You know the world is going crazy when the best rapper is a white guy, the best golfer is a black guy, The Swiss hold the America's Cup, France is accusing the US of arrogance, and Germany doesn't want to go to war." ----- Original Message ----- From: ACTEBS To: access group Sent: Tuesday, August 05, 2003 1:48 AM Subject: [AccessD] AXP Text File Import Crashes Access Guys, Has anyone had a problem with the File|Get External Data|Import option where is keeps crashing access when either an excel or text file is selected. I have AXP SP2 and have scoured the web to find a solution, but no go. I also have A97 installed on the same machine if that matters... Hope someone has got an answer... Regards Vlad _____ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From Lembit.Soobik at t-online.de Tue Aug 5 08:40:28 2003 From: Lembit.Soobik at t-online.de (Lembit Soobik) Date: Tue, 5 Aug 2003 15:40:28 +0200 Subject: [AccessD] Money, Money, Money makes the world go round References: <000b01c35b4b$526ee520$0c05a8c0@carlton.local> Message-ID: <059a01c35b57$2b7f6f00$0200a8c0@S856> thank you, Vlad, for the great offer, but our policy is to not accept such free offer. We have been burned, and founding this little company DBA Inc. has been done in order to become independent. It is really nice of you to offer that and thank you, but sorry, no, thank you . Lembit Lembit Soobik ----- Original Message ----- From: "ACTEBS" To: "'Access Developers discussion and problem solving'" Sent: Tuesday, August 05, 2003 2:15 PM Subject: RE: [AccessD] Money, Money, Money makes the world go round > Lembit, > > What are you paying for hosting? I own the server that our web site is > hosted on - mytakeaway.com.au - because this list has been so good to me > over the years, I'd like offer you hosting for free. The only thing you'll > need to do is re-direct the place where your IP is pointing to and direct it > our IP address and I can configure it in IIS. The server is currently this > configuration: > > A) Twin AMD MP 2100 - (Overkill I know, but it was all we could get > that was reasonably priced in a dual configuration) > B) 1GB RAM > C) 14Mbit connection to the internet > > The only thing I need to know is how much HDD space you require as we have > an unlimited Upload -> to the internet user and a limit of 2GB download -> > us to the server...We download sweet FA as most of our traffic is outgoing > and so is free... > > Get back to me if you want to go explore this further... > > Vlad > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lembit Soobik > Sent: Tuesday, 5 August 2003 9:56 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] Money, Money, Money makes the world go round > > > Friends, > > It is time once again to talk about money...or more accurately, the lack > thereof. Since this list - like anything else - is not free, we need from > time to time a little bit of money to pay our bills. > > Our fincancial needs are not great, but if those who feel they have received > help for their project can donate a bit, I am sure we can continue to make > our payments in a timely manner. > > Having said this, please be so kind as to visit > http://www.databaseadvisors.com/donations.htm > > In addition, if we can secure a few companies as Corporate Sponsors - for as > little as $100/year - we can live quite a while off of that. In addition > to the benefits detailed at > http://www.databaseadvisors.com/donations/corporate.htm, the Corporate > Sponsor is allowed to include "Official Sponsor of DBA" (plus a link to his > website) in his signature line. > > Now, this is a special offer, valid until Aug-31-2003. You get a whole year > of free advertising in the signature line, plus all the free advice from the > best Access Developers the world over! Surely that is worth more than $100. > > Thank you in advance for your conintued support of DataBase Advisors, > > > Lembit Soobik President DBA > and the Executive Team 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 szayko at secor.com Tue Aug 5 09:07:30 2003 From: szayko at secor.com (Stephen R. Zayko) Date: Tue, 5 Aug 2003 10:07:30 -0400 Subject: [AccessD] System Root In-Reply-To: <01db01c35ad5$09631c50$dd2f0a44@bcsext6137> Message-ID: <001701c35b5a$f5404500$343da8c0@STEVE2K> Thanks ALL! This has been a great help and let me avoid the hours of experimenting with the many different ways to get the same thing. Stephen R. Zayko, P.E. SECOR International Inc. 2321 Club Meridian Drive, Ste E Okemos, MI 48864 (p) (517) 349-9499 ex24 (f) (517) 349-6863 (m) (517) 204-5136 szayko at secor.com www.secor.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of dave sharpe Sent: Monday, August 04, 2003 06:09 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] System Root Stephen The environmental variable ( systemroot ) is what You need. I hope that the following helps. Dave ============================= Sub ttest() Dim aroot As String aroot = Environ$("systemroot") Debug.Print aroot End Sub ----- Original Message ----- From: "Stephen R. Zayko" To: "'Access Developers discussion and problem solving'" Sent: Monday, August 04, 2003 5:50 PM Subject: [AccessD] System Root > Group: > > How do I determine if the system root is C:\Windows, C:\Winnt, or > something else in VBA? I would like to call a program in > %SystemRoot%\System32 from a shell function but > > intX = Shell("%SystemRoot%\system32\calc.exe",1) > > does not work. However, one of these will work if it is calling the > correct root directory name: > intX = Shell("C:\Windows\system32\calc.exe",1) ' For Windows OS > intX = Shell("C:\Winnt\system32\calc.exe",1) ' For NT OS > > Thanks in Advance, > > Stephen R. Zayko, P.E. > > SECOR International Inc. > 2321 Club Meridian Drive, Ste E > Okemos, MI 48864 > > (p) (517) 349-9499 ex24 > (f) (517) 349-6863 > (m) (517) 204-5136 > > szayko at secor.com > www.secor.com > > -----Original Message----- > From: Mike and Doris Manning [mailto:mikedorism at ntelos.net] > Sent: Tuesday, April 08, 2003 02:47 PM > To: szayko at secor.com > Subject: RE: [AccessD] Runtime Driver > > Here you go... Function CheckConnection is what you will need to look > at. > It uses to constants that are set up at the top of the module. > > Doris Manning > Database Administrator > Hargrove Inc. > www.hargroveinc.com > > > -----Original Message----- > From: Stephen R. Zayko [mailto:szayko at secor.com] > Sent: Tuesday, April 08, 2003 02:36 PM > To: mikedorism at ntelos.net > Subject: FW: [AccessD] Runtime Driver > > > Doris > > Thanks for the offer. If you could e-mail it to me at this address I > would > be very grateful. Also thanks for putting the 'mail me offline' remark. > Those tend to quell the 'me too's. I think that this will be just what > I > need. I will post to the list if this works. > > Thanks > > -Z > > Stephen R. Zayko > > SECOR International Inc. > 2321 Club meridian Drive Ste. E > Okemos MI, 48864 > > 517 349 9499 ph > 517 349 6863 fx > > szayko at secor.com > www.secorlansing.com > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mike and Doris > Manning > Sent: Tuesday, April 08, 2003 12:32 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Runtime Driver > > > I've got code that checks for a specified SQL Server System DSN and > creates > it if it doesn't exist. You should be able to modify it to work with > MySQL. > Email me offline if you want it. > > Doris Manning > Database Administrator > Hargrove Inc. > www.hargroveinc.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] > Sent: Tuesday, April 08, 2003 11:41 AM > To: AccessD at databaseadvisors.com > Subject: [AccessD] Runtime Driver > > > Group: > > Is it possible to include the drivers needed for a runtime solution? I > have > an A2K database which I would like to package as a runtime. It is an > A2K FE > with a MySQL BE accessed via ODBC through the web. Trouble with the > distribution is that people must install the MySQL ODBC driver, and then > create/link to the machine data source of the MySQL database (I think I > said > that right). > > What I would like to do is this... > > Create the runtime with the drivers and the source database info. Then > when > a user unpacks/installs the runtime, > A: The MYSQL driver installs on that machine and > B: The ODBC data source is created with all the needed info. > > A looks pretty simple to do. You just include that in the files to be > included during the packaging of the app. B however, I am not too sure > about. Can I do this through code? Has anyone else done this before? > > thanks in advance. > > -Z > > Stephen R. Zayko > > SECOR International Inc. > 2321 Club meridian Drive Ste. E > Okemos MI, 48864 > > 517 349 9499 ph > 517 349 6863 fx > > szayko at secor.com > www.secorlansing.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Jdemarco at hshhp.org Tue Aug 5 09:39:16 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Tue, 5 Aug 2003 10:39:16 -0400 Subject: [AccessD] mdb in dmz Message-ID: <22F1CCD5171D17419CB37FEEE09D5F990173F336@TTNEXCHSRV1.hshhp.com> List, We just went live with our web site (http://www.hshhp.org) but had to remove a feature that displays health tips. The tips are stored in an A97 mdb but we get an "unspecified error" when hitting the page. The db is on the web server box. The server is behind the firewall in the DMZ. Does anyone know if the DMZ is an issue when trying to hit an mdb? We're using the OleDB provider for Jet 4.0. I ran comcheck and we've got that version installed. IIS 5.0 as well. TIA, Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From pctech at mybellybutton.com Tue Aug 5 09:44:40 2003 From: pctech at mybellybutton.com (Frank Tanner III) Date: Tue, 5 Aug 2003 07:44:40 -0700 (PDT) Subject: [AccessD] mdb in dmz In-Reply-To: <22F1CCD5171D17419CB37FEEE09D5F990173F336@TTNEXCHSRV1.hshhp.com> Message-ID: <20030805144440.88306.qmail@web13409.mail.yahoo.com> I'm not sure what tcp/udp port(s) that Jet and OLEdb use, but do you have those allowed to pass from the DMZ to wherever it needs to go? i.e. the internal LAN and the external Internet. Usually DMZs are configured to ONLY allow the ports necessary, such as HTTP, HTTPS, POP3, SMTP, etc. --- Jim DeMarco wrote: > List, > > We just went live with our web site > (http://www.hshhp.org) but had to remove a feature > that displays health tips. The tips are stored in > an A97 mdb but we get an "unspecified error" when > hitting the page. The db is on the web server box. > The server is behind the firewall in the DMZ. Does > anyone know if the DMZ is an issue when trying to > hit an mdb? We're using the OleDB provider for Jet > 4.0. I ran comcheck and we've got that version > installed. IIS 5.0 as well. > > TIA, > > Jim DeMarco > Director of Product Development > HealthSource/Hudson Health Plan > > > *********************************************************************************** > "This electronic message is intended to be for the > use only of the named recipient, and may contain > information from Hudson Health Plan (HHP) that is > confidential or privileged. If you are not the > intended recipient, you are hereby notified that any > disclosure, copying, distribution or use of the > contents of this message is strictly prohibited. If > you have received this message in error or are not > the named recipient, please notify us immediately, > either by contacting the sender at the electronic > mail address noted above or calling HHP at (914) > 631-1611. If you are not the intended recipient, > please do not forward this email to anyone, and > delete and destroy all copies of this message. > Thank You". > *********************************************************************************** > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From garykjos at hotmail.com Tue Aug 5 09:53:15 2003 From: garykjos at hotmail.com (Gary Kjos) Date: Tue, 05 Aug 2003 09:53:15 -0500 Subject: [AccessD] Report stopped triggering - & it's locking mdb Message-ID: Something certainly got fouled up in the system files part of the database when you did that name change. I've had it happen myself when renaming or making a new version of a form or report. You will probably have to make a new database and import what you can and may have to copy and paste the module code to get it moved to the new database. If you have another copy of the database that predates this problem, you could use a copy of it and then import the data from the broken one to freshen it. Gary Kjos garykjos at hotmail.com >From: "Kathryn Bassett" >Reply-To: Access Developers discussion and problem >solving >To: "Access Developers discussion and problem >solving" >Subject: [AccessD] Report stopped triggering - & it's locking mdb >Date: Mon, 4 Aug 2003 19:53:37 -0700 > >Problem that may or may not be connected. When I try to run the report and >it doesn't work, it will lock the database (leaving .ldb). I have to reboot >the computer for the .ldb to go away so I can do further testing. > >First, a correction - Jim Lawrence asked: > > First question; are your pictures linked or embedded? > >and I replied they were linked. But that's wrong, they are embedded. What >goes in the text field for the photo is the link, so I was thinking link. > >William Hindman asked: > > ...have you tried compacting/repairing the mdb? > >And I replied yes. I also ran Tool > Analyze > Performance. >The recommendations are all to add an index field to field ... >The ideas: >Application is not saved in a fully compiled state >Form 'Get Photos': Use an Option Explicit Statement >Report 'PhotoDirectory - Photos Done - Connected': Use an Option Explicit >Statement >Module 'Module1': Use an Option Explicit Statement > >So, first I tried compiling. I got: >The Report Name 'PhotoDirectory - Photos done NOT used' you entered in >either the property sheet or macro is misspelled or refers to a report that >doesn't exist. >If the invalid report name is in a macro, an Action Failed dilog box will >display the macro name and the macro's arguments after you click OK. Open >the Macro window, and enter the correct report name. >It takes 4 times of clicking OK before that message goes away and says >Module Not Found. > >Now, the funny thing is - 'PhotoDirectory - Photos done NOT used' is a >report that I dumped because I don't use it. There are NO macros, and the >only module is Module1 which has General and Declarations as the two >dropdown boxes, and the content below. I see nothing that refers to that >report name. The correct report name is 'PhotoDirectory - Photos Done - >Connected' though I had changed it to eliminate the last part, so it would >be "PhotoDirectory - Photos Done'. Changed it back because Gary asked: "If >you change the name back to it's original name does it work?" so I did to >test but the answer is no. > >As a side note, I now can't change it again - When I try, it tries again to >trigger the report, then changes it back to the old name. Copying it to a >different name, still doesn't give me the report. > >Module1 content: >Option Compare Database > Option Explicit >'*************************************************** >'File selection browser > Declare Function GetOpenFileName Lib "comdlg32.dll" Alias _ > "GetOpenFileNameA" (pOpenfilename As OPENFILENAME) As Long > > Type OPENFILENAME > lStructSize As Long > hwndOwner As Long > hInstance As Long > lpstrFilter As String > lpstrCustomFilter As String > nMaxCustFilter As Long > nFilterIndex As Long > lpstrFile As String > nMaxFile As Long > lpstrFileTitle As String > nMaxFileTitle As Long > lpstrInitialDir As String > lpstrTitle As String > flags As Long > nFileOffset As Integer > nFileExtension As Integer > lpstrDefExt As String > lCustData As Long > lpfnHook As Long > lpTemplateName As String > End Type > >'************************************************************ >'Displays a dialog box that enables the user to select a shell folder. >Public Declare Function SHBrowseForFolder Lib "shell32.dll" _ > Alias "SHBrowseForFolderA" (lpBrowseInfo As BROWSEINFO) As Long > >Public Declare Function SHGetPathFromIDList Lib "shell32.dll" _ > Alias "SHGetPathFromIDListA" _ > (ByVal pidl As Long, _ > ByVal pszPath As String) As Long > >Public Declare Sub CoTaskMemFree Lib "ole32.dll" (ByVal pv As Long) >'parameters for SHBrowseForFolder >Public Type BROWSEINFO 'BI > hOwner As Long > pidlRoot As Long > pszDisplayName As String > lpszTitle As String > ulFlags As Long > lpfn As Long > lParam As Long > iImage As Long >End Type > >'BROWSEINFO.ulFlags values: >Public Const BIF_RETURNONLYFSDIRS = &H1 'Only file system directories >Public Const BIF_DONTGOBELOWDOMAIN = &H2 'No network folders below >domain level >Public Const BIF_STATUSTEXT = &H4 'Includes status area in the >dialog (for callback) >Public Const BIF_RETURNFSANCESTORS = &H8 'Only returns file system >ancestors >Public Const BIF_EDITBOX = &H10 'Allows user to rename >selection >Public Const BIF_VALIDATE = &H20 'Insist on valid editbox >result (or CANCEL) >Public Const BIF_BROWSEFORCOMPUTER = &H1000 'Only returns computers. >Public Const BIF_BROWSEFORPRINTER = &H2000 'Only returns printers. >Public Const BIF_BROWSEINCLUDEFILES = &H4000 'Browse for everything >Public Const MAX_PATH = 260 > >end of Module1 content. Note I didn't write it, I think it is part of what >was written by Stuart McLachlan, and he said there is stuff in what he >wrote that isn't needed by me. > >Gary asked: > > Do you have a control - possibly an image control pointing to another > > control that has the name/path of the picture file it is displaying? Or > > perhaps some event code that has the report name hard coded in it that >got > > broken when you changed the report name? > >Huh? I don't know exactly what you mean. I know that tables and queries can >be referred to by reports, but I didn't think anything would have a report >name except a macro. And there are no macros. > >Jim Lawrence said: > > One other obvious possibility could be that a particular image(s) has >become > > corrupted. Just try loading the non-printing image(s) into your graphic > > program. > >In Explorer, I have no problem doubleclicking to open all the graphics. If >there is a problem with a particular image, I have no way of telling >because the error message flashes past to fast to see. > >Jim Lawrence said: > > My prognosis, as you have probably already assumed, is that the >particular > > database has somehow become corrupted. I would open up the bad db, >create > > and open a new db and copy and paste the components and code from one to >the > > other, as the standard repair and compact has failed to work. > >Since there is that recompile problem, I'm leaving this for now. I kinda >got a feeling I wouldn't get everything copied I would need to. > >Well, anybody have any more ideas? Obviously compiling has something to do >with it, but what? > >-- >Kathryn Rhinehart Bassett (Pasadena CA) >"Genealogy is my bag" "GH is my soap" >kathryn at bassett.net >http://bassett.net > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ The new MSN 8: advanced junk mail protection and 2 months FREE* http://join.msn.com/?page=features/junkmail From Jdemarco at hshhp.org Tue Aug 5 09:58:19 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Tue, 5 Aug 2003 10:58:19 -0400 Subject: [AccessD] mdb in dmz Message-ID: <22F1CCD5171D17419CB37FEEE09D5F990173F337@TTNEXCHSRV1.hshhp.com> Thanks Frank (where'd you find that domain on your e-mail address??). I searched msdn and found this list of Port Assignments for Common Services (http://www.microsoft.com/windows2000/techinfo/reskit/samplechapters/cnfc/cnfc_por_simw.asp - watch for wrapping). None seems to be what I'm looking (AFAICT anyway). Can anyone point me in the right direction? Thanks, Jim DeMarco -----Original Message----- From: Frank Tanner III [mailto:pctech at mybellybutton.com] Sent: Tuesday, August 05, 2003 10:45 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] mdb in dmz I'm not sure what tcp/udp port(s) that Jet and OLEdb use, but do you have those allowed to pass from the DMZ to wherever it needs to go? i.e. the internal LAN and the external Internet. Usually DMZs are configured to ONLY allow the ports necessary, such as HTTP, HTTPS, POP3, SMTP, etc. --- Jim DeMarco wrote: > List, > > We just went live with our web site > (http://www.hshhp.org) but had to remove a feature > that displays health tips. The tips are stored in > an A97 mdb but we get an "unspecified error" when > hitting the page. The db is on the web server box. > The server is behind the firewall in the DMZ. Does > anyone know if the DMZ is an issue when trying to > hit an mdb? We're using the OleDB provider for Jet > 4.0. I ran comcheck and we've got that version > installed. IIS 5.0 as well. > > TIA, > > Jim DeMarco > Director of Product Development > HealthSource/Hudson Health Plan > > > *********************************************************************************** > "This electronic message is intended to be for the > use only of the named recipient, and may contain > information from Hudson Health Plan (HHP) that is > confidential or privileged. If you are not the > intended recipient, you are hereby notified that any > disclosure, copying, distribution or use of the > contents of this message is strictly prohibited. If > you have received this message in error or are not > the named recipient, please notify us immediately, > either by contacting the sender at the electronic > mail address noted above or calling HHP at (914) > 631-1611. If you are not the intended recipient, > please do not forward this email to anyone, and > delete and destroy all copies of this message. > Thank You". > *********************************************************************************** > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From cfoust at infostatsystems.com Tue Aug 5 09:58:48 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 5 Aug 2003 07:58:48 -0700 Subject: [AccessD] The Dreaded"ErrorMessage:ErrorAccessingFile.NetworkConnection May Have Been Lost." Message-ID: As I mentioned in an earlier post, the hotfix was only available until they rolled it up into SR-3. It is no longer available separately. Charlotte Foust -----Original Message----- From: Erwin Craps [mailto:Erwin.Craps at ithelps.be] Sent: Monday, August 04, 2003 8:26 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] The Dreaded"ErrorMessage:ErrorAccessingFile.NetworkConnection May Have Been Lost." Then please tell me where the path is beause, I did not find any article telling me there a patch available. -----Oorspronkelijk bericht----- Van: Charlotte Foust [mailto:cfoust at infostatsystems.com] Verzonden: dinsdag 5 augustus 2003 0:25 Aan: Access Developers discussion and problem solving Onderwerp: RE: [AccessD] The Dreaded "ErrorMessage:ErrorAccessingFile.NetworkConnection May Have Been Lost." Without the patch, clicking Save would not necessarily help you. I encountered the bug in its full glory early in Office 2000 history and toasted several databases until I discovered the cause and got the patch. Charlotte Foust -----Original Message----- From: Erwin Craps [mailto:Erwin.Craps at ithelps.be] Sent: Monday, August 04, 2003 2:06 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] The Dreaded "Error Message:ErrorAccessingFile.NetworkConnection May Have Been Lost." I confirm, never solved.... When importing code in modules or forms/reports I always click "save" first in VBA. I'm not sure if compiling is sufficiant, I always click save. Never found a solution in MSKB Erwin -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Monday, August 04, 2003 11:54 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] The Dreaded "Error Message: ErrorAccessingFile.NetworkConnection May Have Been Lost." All I can say is that SP3 has fixed it on the machines I've encountered. Believe me, the situation without the patch was infinitely worse! Charlotte Foust -----Original Message----- From: Robert Gracie [mailto:Subscriptions at servicexp.com] Sent: Monday, August 04, 2003 1:40 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] The Dreaded "Error Message: Error AccessingFile.NetworkConnection May Have Been Lost." The problem as stated in KB 304548 (http://support.microsoft.com/default.aspx?scid=kb;en-us;Q304548) is indeed what is going on, the MAJOR Issue here is,....it is not fixed with SP3. (would anyone like to confirm this..) So just a warning to others that have version 6.3.91.8 of the Vbe6.dll, and are using A2K, even with the patch. Don't, whatever you do, import or "save as" an object and close that db, with out compiling first. It will trash your db... Robert Gracie www.servicexp.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan Geller Sent: Monday, August 04, 2003 3:08 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] The Dreaded "Error Message: Error Accessing File.NetworkConnection May Have Been Lost." Robert, I'm jumping into the middle of this thread and can't find the beginning, but here's an idea -- it won't necessarily get your old work back, but it may prevent it in the future. It's advise I got from MS a while back when I was having this problem: Check vbe6.dll - if have version number 6.3 and have Access 2000, then need hotfix for 2000 which installs a newer version of MSAccess.exe for 2000 - version # 9.0.0.6013. Lower versions should be fine. Have to get hotfix from MS. --Susan -----Original Message----- From: Robert Gracie [mailto:Subscriptions at servicexp.com] Sent: Sunday, August 03, 2003 11:59 AM To: Access Developers discussion and problem solving Subject: [AccessD] The Dreaded "Error Message: Error Accessing File. NetworkConnection May Have Been Lost." Well it just happened to me, and I have about 11 hours worth of work that maybe lost (is lost from what I have been reading) The problem is that I did have the "Office 2000 Service Pack 3" installed. So since MS says this will stop the problem from happening in the future, and obviously it does not, how can I protect myself.. Such a pain....!!!! What cause the corruption.... "Save As" some reports..... Any pearls of wisdom?? Robert Gracie www.servicexp.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Tue Aug 5 10:47:35 2003 From: reuben at gfconsultants.com (Reuben Cummings) Date: Tue, 5 Aug 2003 10:47:35 -0500 Subject: [AccessD] Report stopped triggering - & it's locking mdb In-Reply-To: Message-ID: I just now started reading this thread and it is of particular interest to me. I have one laptop with WinXP on it and some reports print fine, other can't print for anything. All reports can be previewed. However, when we try to print one of the 'bad' reports we get the "printing 1 of " dialog box and it freezes. I also can't rename these reports. I have to shut the computer off with the power button to get it going again. I have compacted and repaired, imported everything to a new mdb, decompiled and recompiled. These reports continue to work perfectly on all my Win2K machines. 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 Jim Lawrence > (AccessD) > Sent: Tuesday, August 05, 2003 1:10 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Report stopped triggering - & it's locking mdb > > > Hi Kathyrn: > > Now that you have informed me that you have embedded images that opens a > whole-can-of-worms. On three separate occasions, with two > different clients, > who had databases with embedded images there were major disasters. This is > not to say that embedded images do not work, it is just that when they > corrupt, it can be a REAL problem. In addition, tables can bloat > at amazing > speed with embedded images and once the two GB limit is hit... (It is > actually closer to 1.7GB from experience.)... your database may not open. > > My rule of thumb is to never use embeded images and I never have > since and I > have never had a graphic image problem since then, either. If you need > sample code on how to handle linked images to forms and reports, > just email. > > I do not mean to sound strident but when you have been deep fried a couple > of times.... > > HTH > Jim > > PS: Export all the objects out of the current corrupting db into > a nice new > one. That will give you a grace period. > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Kathryn > Bassett > Sent: Monday, August 04, 2003 7:54 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] Report stopped triggering - & it's locking mdb > > > Problem that may or may not be connected. When I try to run the report and > it doesn't work, it will lock the database (leaving .ldb). I have > to reboot > the computer for the .ldb to go away so I can do further testing. > > First, a correction - Jim Lawrence asked: > > First question; are your pictures linked or embedded? > > and I replied they were linked. But that's wrong, they are embedded. What > goes in the text field for the photo is the link, so I was thinking link. > > William Hindman asked: > > ...have you tried compacting/repairing the mdb? > > And I replied yes. I also ran Tool > Analyze > Performance. > The recommendations are all to add an index field to field ... > The ideas: > Application is not saved in a fully compiled state > Form 'Get Photos': Use an Option Explicit Statement > Report 'PhotoDirectory - Photos Done - Connected': Use an Option Explicit > Statement > Module 'Module1': Use an Option Explicit Statement > > So, first I tried compiling. I got: > The Report Name 'PhotoDirectory - Photos done NOT used' you entered in > either the property sheet or macro is misspelled or refers to a > report that > doesn't exist. > If the invalid report name is in a macro, an Action Failed dilog box will > display the macro name and the macro's arguments after you click OK. Open > the Macro window, and enter the correct report name. > It takes 4 times of clicking OK before that message goes away and says > Module Not Found. > > Now, the funny thing is - 'PhotoDirectory - Photos done NOT used' is a > report that I dumped because I don't use it. There are NO macros, and the > only module is Module1 which has General and Declarations as the two > dropdown boxes, and the content below. I see nothing that refers to that > report name. The correct report name is 'PhotoDirectory - Photos Done - > Connected' though I had changed it to eliminate the last part, so it would > be "PhotoDirectory - Photos Done'. Changed it back because Gary asked: "If > you change the name back to it's original name does it work?" so I did to > test but the answer is no. > > As a side note, I now can't change it again - When I try, it > tries again to > trigger the report, then changes it back to the old name. Copying it to a > different name, still doesn't give me the report. > > Module1 content: > Option Compare Database > Option Explicit > '*************************************************** > 'File selection browser > Declare Function GetOpenFileName Lib "comdlg32.dll" Alias _ > "GetOpenFileNameA" (pOpenfilename As OPENFILENAME) As Long > > Type OPENFILENAME > lStructSize As Long > hwndOwner As Long > hInstance As Long > lpstrFilter As String > lpstrCustomFilter As String > nMaxCustFilter As Long > nFilterIndex As Long > lpstrFile As String > nMaxFile As Long > lpstrFileTitle As String > nMaxFileTitle As Long > lpstrInitialDir As String > lpstrTitle As String > flags As Long > nFileOffset As Integer > nFileExtension As Integer > lpstrDefExt As String > lCustData As Long > lpfnHook As Long > lpTemplateName As String > End Type > > '************************************************************ > 'Displays a dialog box that enables the user to select a shell folder. > Public Declare Function SHBrowseForFolder Lib "shell32.dll" _ > Alias "SHBrowseForFolderA" (lpBrowseInfo As BROWSEINFO) As Long > > Public Declare Function SHGetPathFromIDList Lib "shell32.dll" _ > Alias "SHGetPathFromIDListA" _ > (ByVal pidl As Long, _ > ByVal pszPath As String) As Long > > Public Declare Sub CoTaskMemFree Lib "ole32.dll" (ByVal pv As Long) > 'parameters for SHBrowseForFolder > Public Type BROWSEINFO 'BI > hOwner As Long > pidlRoot As Long > pszDisplayName As String > lpszTitle As String > ulFlags As Long > lpfn As Long > lParam As Long > iImage As Long > End Type > > 'BROWSEINFO.ulFlags values: > Public Const BIF_RETURNONLYFSDIRS = &H1 'Only file system directories > Public Const BIF_DONTGOBELOWDOMAIN = &H2 'No network folders below > domain level > Public Const BIF_STATUSTEXT = &H4 'Includes status area in the > dialog (for callback) > Public Const BIF_RETURNFSANCESTORS = &H8 'Only returns file system > ancestors > Public Const BIF_EDITBOX = &H10 'Allows user to rename > selection > Public Const BIF_VALIDATE = &H20 'Insist on valid > editbox result > (or CANCEL) > Public Const BIF_BROWSEFORCOMPUTER = &H1000 'Only returns computers. > Public Const BIF_BROWSEFORPRINTER = &H2000 'Only returns printers. > Public Const BIF_BROWSEINCLUDEFILES = &H4000 'Browse for everything > Public Const MAX_PATH = 260 > > end of Module1 content. Note I didn't write it, I think it is part of what > was written by Stuart McLachlan, and he said there is stuff in > what he wrote > that isn't needed by me. > > Gary asked: > > Do you have a control - possibly an image control pointing to another > > control that has the name/path of the picture file it is displaying? Or > > perhaps some event code that has the report name hard coded in > it that got > > broken when you changed the report name? > > Huh? I don't know exactly what you mean. I know that tables and > queries can > be referred to by reports, but I didn't think anything would have a report > name except a macro. And there are no macros. > > Jim Lawrence said: > > One other obvious possibility could be that a particular image(s) has > become > > corrupted. Just try loading the non-printing image(s) into your graphic > > program. > > In Explorer, I have no problem doubleclicking to open all the graphics. If > there is a problem with a particular image, I have no way of > telling because > the error message flashes past to fast to see. > > Jim Lawrence said: > > My prognosis, as you have probably already assumed, is that the > particular > > database has somehow become corrupted. I would open up the bad > db, create > > and open a new db and copy and paste the components and code from one to > the > > other, as the standard repair and compact has failed to work. > > Since there is that recompile problem, I'm leaving this for now. > I kinda got > a feeling I wouldn't get everything copied I would need to. > > Well, anybody have any more ideas? Obviously compiling has something to do > with it, but what? > > -- > Kathryn Rhinehart Bassett (Pasadena CA) > "Genealogy is my bag" "GH is my soap" > kathryn at bassett.net > http://bassett.net > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From cfoust at infostatsystems.com Tue Aug 5 11:04:39 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 5 Aug 2003 09:04:39 -0700 Subject: [AccessD] The Dreaded"ErrorMessage:ErrorAccessingFile.NetworkConnection May Have Been Lost." Message-ID: The version referenced in the article is the version that installs with Office XP and some other 2002 apps like Visio, MapPoint, Project, Money, etc. Any 2002 VBA code container will install that dll. The previous hotfix and the SR-3 (at least, theoretically) patched the 2000 Access executable to make it work with that version of the VBE6.DLL. I do not have a machine running O2k that did not have the hotfix installed, since I ran into this problem early on. I have since applied SR-3, so I don't have an uncontaminated machine to check anything on. If you have SR-3 installed and you are still running into problems with Access 2000, I would suggest screaming at Microsoft about it. They pulled the hotfix after they released SR-3, so they need to at least be told it doesn't work if that is the case. I know the hotfix worked because I applied it. Charlotte Foust -----Original Message----- From: Robert Gracie [mailto:Subscriptions at servicexp.com] Sent: Monday, August 04, 2003 2:41 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] The Dreaded"ErrorMessage:ErrorAccessingFile.NetworkConnection May Have Been Lost." Charlotte, If you find some time, would you mind testing this on a machine that matches the criteria in the KB? I'm running Window XP Pro with all SP installed I'm ONLY running Office 2K Pro with all SP's Installed I'm not sure what program installed the latest version of that .dll on my machine Thanks Robert Gracie www.servicexp.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Monday, August 04, 2003 6:25 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] The Dreaded "ErrorMessage:ErrorAccessingFile.NetworkConnection May Have Been Lost." Without the patch, clicking Save would not necessarily help you. I encountered the bug in its full glory early in Office 2000 history and toasted several databases until I discovered the cause and got the patch. Charlotte Foust -----Original Message----- From: Erwin Craps [mailto:Erwin.Craps at ithelps.be] Sent: Monday, August 04, 2003 2:06 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] The Dreaded "Error Message:ErrorAccessingFile.NetworkConnection May Have Been Lost." I confirm, never solved.... When importing code in modules or forms/reports I always click "save" first in VBA. I'm not sure if compiling is sufficiant, I always click save. Never found a solution in MSKB Erwin -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Monday, August 04, 2003 11:54 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] The Dreaded "Error Message: ErrorAccessingFile.NetworkConnection May Have Been Lost." All I can say is that SP3 has fixed it on the machines I've encountered. Believe me, the situation without the patch was infinitely worse! Charlotte Foust -----Original Message----- From: Robert Gracie [mailto:Subscriptions at servicexp.com] Sent: Monday, August 04, 2003 1:40 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] The Dreaded "Error Message: Error AccessingFile.NetworkConnection May Have Been Lost." The problem as stated in KB 304548 (http://support.microsoft.com/default.aspx?scid=kb;en-us;Q304548) is indeed what is going on, the MAJOR Issue here is,....it is not fixed with SP3. (would anyone like to confirm this..) So just a warning to others that have version 6.3.91.8 of the Vbe6.dll, and are using A2K, even with the patch. Don't, whatever you do, import or "save as" an object and close that db, with out compiling first. It will trash your db... Robert Gracie www.servicexp.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan Geller Sent: Monday, August 04, 2003 3:08 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] The Dreaded "Error Message: Error Accessing File.NetworkConnection May Have Been Lost." Robert, I'm jumping into the middle of this thread and can't find the beginning, but here's an idea -- it won't necessarily get your old work back, but it may prevent it in the future. It's advise I got from MS a while back when I was having this problem: Check vbe6.dll - if have version number 6.3 and have Access 2000, then need hotfix for 2000 which installs a newer version of MSAccess.exe for 2000 - version # 9.0.0.6013. Lower versions should be fine. Have to get hotfix from MS. --Susan -----Original Message----- From: Robert Gracie [mailto:Subscriptions at servicexp.com] Sent: Sunday, August 03, 2003 11:59 AM To: Access Developers discussion and problem solving Subject: [AccessD] The Dreaded "Error Message: Error Accessing File. NetworkConnection May Have Been Lost." Well it just happened to me, and I have about 11 hours worth of work that maybe lost (is lost from what I have been reading) The problem is that I did have the "Office 2000 Service Pack 3" installed. So since MS says this will stop the problem from happening in the future, and obviously it does not, how can I protect myself.. Such a pain....!!!! What cause the corruption.... "Save As" some reports..... Any pearls of wisdom?? Robert Gracie www.servicexp.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Christian.Brock at hoffman.army.mil Tue Aug 5 11:40:47 2003 From: Christian.Brock at hoffman.army.mil (Brock, Christian T, PERSCOM) Date: Tue, 5 Aug 2003 12:40:47 -0400 Subject: [AccessD] Repaint stops after relinking Message-ID: I have a routine that relinks several back end databases on a network to a front end. This process can take a minute or so. If you go to another application and come back when the relinking is done, Access can no longer properly redraw the images on the screen. I am using Access XP on Windows XP. Access97 does not appear to have this problem. How can this be fixed? Christian Brock From jimdettman at earthlink.net Tue Aug 5 11:51:57 2003 From: jimdettman at earthlink.net (Jim Dettman) Date: Tue, 5 Aug 2003 12:51:57 -0400 Subject: [AccessD] mdb in dmz In-Reply-To: <22F1CCD5171D17419CB37FEEE09D5F990173F337@TTNEXCHSRV1.hshhp.com> Message-ID: Jim, <> Check the Firewall's log. It will show the IP address of the web server, whether it was TCP or UDP packet, and the port it was trying to use. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim DeMarco Sent: Tuesday, August 05, 2003 10:58 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] mdb in dmz Thanks Frank (where'd you find that domain on your e-mail address??). I searched msdn and found this list of Port Assignments for Common Services (http://www.microsoft.com/windows2000/techinfo/reskit/samplechapters/cnfc/cn fc_por_simw.asp - watch for wrapping). None seems to be what I'm looking (AFAICT anyway). Can anyone point me in the right direction? Thanks, Jim DeMarco -----Original Message----- From: Frank Tanner III [mailto:pctech at mybellybutton.com] Sent: Tuesday, August 05, 2003 10:45 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] mdb in dmz I'm not sure what tcp/udp port(s) that Jet and OLEdb use, but do you have those allowed to pass from the DMZ to wherever it needs to go? i.e. the internal LAN and the external Internet. Usually DMZs are configured to ONLY allow the ports necessary, such as HTTP, HTTPS, POP3, SMTP, etc. --- Jim DeMarco wrote: > List, > > We just went live with our web site > (http://www.hshhp.org) but had to remove a feature > that displays health tips. The tips are stored in > an A97 mdb but we get an "unspecified error" when > hitting the page. The db is on the web server box. > The server is behind the firewall in the DMZ. Does > anyone know if the DMZ is an issue when trying to > hit an mdb? We're using the OleDB provider for Jet > 4.0. I ran comcheck and we've got that version > installed. IIS 5.0 as well. > > TIA, > > Jim DeMarco > Director of Product Development > HealthSource/Hudson Health Plan > > > **************************************************************************** ******* > "This electronic message is intended to be for the > use only of the named recipient, and may contain > information from Hudson Health Plan (HHP) that is > confidential or privileged. If you are not the > intended recipient, you are hereby notified that any > disclosure, copying, distribution or use of the > contents of this message is strictly prohibited. If > you have received this message in error or are not > the named recipient, please notify us immediately, > either by contacting the sender at the electronic > mail address noted above or calling HHP at (914) > 631-1611. If you are not the intended recipient, > please do not forward this email to anyone, and > delete and destroy all copies of this message. > Thank You". > **************************************************************************** ******* > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _______________________________________________ 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 Tue Aug 5 11:52:28 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 5 Aug 2003 09:52:28 -0700 Subject: [AccessD] Repaint stops after relinking Message-ID: I've seen Access XP and 97 both hang on a WinXP box when you switched to another application in the middle of a process. Outlook seems to be especially bad for interrupting things. I've found that the UI is locked completely, and even though I can get to the VBE I can't release the user interface to function normally again without quiting the database. Charlotte Foust -----Original Message----- From: Brock, Christian T, PERSCOM [mailto:Christian.Brock at hoffman.army.mil] Sent: Tuesday, August 05, 2003 8:41 AM To: 'Access Developers List' Subject: [AccessD] Repaint stops after relinking I have a routine that relinks several back end databases on a network to a front end. This process can take a minute or so. If you go to another application and come back when the relinking is done, Access can no longer properly redraw the images on the screen. I am using Access XP on Windows XP. Access97 does not appear to have this problem. How can this be fixed? Christian Brock _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mwhittinghill at symphonyinfo.com Tue Aug 5 12:02:32 2003 From: mwhittinghill at symphonyinfo.com (Mark Whittinghill) Date: Tue, 5 Aug 2003 12:02:32 -0500 Subject: [AccessD] Age calculation function -SOLVED References: <916187228923D311A6FE00A0CC3FAA30527B53@ADGSERVER><000e01c35864$661482e0$0400000a@PASCAL> <1695797947.20030802112421@cactus.dk> Message-ID: <001a01c35b73$5cef9e40$0400000a@PASCAL> Thanks, Gustav. This works just peachy. I tweaked it a bit to fit what I needed, but the algorithm works just great. Mark Whittinghill Symphony Information Services 612-333-1311 mwhittinghill at symphonyinfo.com ----- Original Message ----- From: "Gustav Brock" To: "Access Developers discussion and problem solving" Sent: Saturday, August 02, 2003 4:24 AM Subject: Re: [AccessD] Age calculation function > Hi Mark > > > Is there a solution to this? > > Certainly. It can be found here at Drew's archive: > > http://www.wolfwares.com/AccessD/postinfo.asp?Post=29448 > > However, Drew, the indenting is bad, so below is again the function we > use. > > I'm not claiming this method to be the mother of anything but it works > without errors. To quote myself from 2002-10-04: > > > > We have have had the need to calculate the correct age no matter what, > and I have yet to see this function fail. It has been posted before but > with so many "Age_is_just_about()" functions it seems to be the time to > post it again. > > The crucial point is the correct age count for those poor souls born on > the 29th of February: > > > Function Age(ByVal datDateOfBirth As Date, Optional ByVal varDate As Variant) As Integer > > ' Calculates age at today's date or at a specified date earlier or later in time. > ' Uses Years() for calculating difference in years. > ' > ' Gustav Brock, Cactus Data ApS. > ' 2000-11-03. > > Dim datDate As Date > > ' No special error handling. > On Error Resume Next > > If IsDate(varDate) Then > datDate = CDate(varDate) > Else > datDate = Date > End If > > Age = Years(datDateOfBirth, datDate) > > End Function > > Function Years(ByVal datDate1 As Date, ByVal datDate2 As Date) As Integer > > ' Returns the difference in full years between datDate1 and datDate2. > ' > ' Calculates correctly for: > ' negative differences > ' leap years > ' dates of 29. February > ' date/time values with embedded time values > ' negative date/time values (prior to 1899-12-29) > ' > ' Gustav Brock, Cactus Data ApS. > ' 2000-11-03. > ' 2000-12-16. Leap year correction modified to be symmetrical. > ' Calculation of intDaysDiff simplified. > ' Renamed from YearsDiff() to Years(). > ' 2000-12-18. Added cbytMonthDaysMax. > > ' Constants for leap year calculation. Last normal date of February. > Const cbytFebMonth As Byte = 2 > Const cbytFebLastDay As Byte = 28 > ' Maximum number of days in a month. > Const cbytMonthDaysMax As Byte = 31 > > Dim intYears As Integer > Dim intDaysDiff As Integer > Dim intReversed As Integer > > ' No special error handling. > On Error Resume Next > > intYears = DateDiff("yyyy", datDate1, datDate2) > If intYears = 0 Then > ' Both dates fall within the same year. > Else > ' Check for ultimo February and leap years. > If (Month(datDate1) = cbytFebMonth) And (Month(datDate2) = cbytFebMonth) Then > ' Both dates fall in February. > ' Check if dates are at ultimo February. > If (Day(datDate1) >= cbytFebLastDay) And (Day(datDate2) >= cbytFebLastDay) Then > ' Both dates are at ultimo February. > ' Check if the dates fall in leap years. > If Day(DateSerial(Year(datDate1), cbytFebMonth + 1, 0)) = cbytFebLastDay Xor _ > Day(DateSerial(Year(datDate2), cbytFebMonth + 1, 0)) = cbytFebLastDay Then > ' Only one date falls within a leap year. > ' Adjust both dates to day 28 of February. > datDate1 = DateAdd("d", cbytFebLastDay - Day(datDate1), datDate1) > datDate2 = DateAdd("d", cbytFebLastDay - Day(datDate2), datDate2) > Else > ' Both dates fall either in leap years or non leap years. > ' No adjustment needed. > End If > End If > End If > ' Calculate day difference using months and days as Days() will fail when > ' comparing leap years with non leap years for dates after February. > intDaysDiff = (Month(datDate1) * cbytMonthDaysMax + Day(datDate1)) - (Month(datDate2) * cbytMonthDaysMax + Day(datDate2)) > intReversed = Sgn(intYears) > ' Decrease count of years by one if dates are closer than one year. > intYears = intYears + (intReversed * ((intReversed * intDaysDiff) > 0)) > End If > > Years = intYears > > End Function > > > > /gustav > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From martyconnelly at shaw.ca Tue Aug 5 12:02:41 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Tue, 05 Aug 2003 10:02:41 -0700 Subject: [AccessD] Report stopped triggering - & it's locking mdb References: Message-ID: <3F2FE331.3090907@shaw.ca> WinXP printer drivers have to be certified by MS to install without forcing an install workaround. (Ignore the certification procedure) I have found that some older portable printers are flakey and prone to errors on WinXP . Like Cannon BJC 200 series. Canon says certion versions of their drivers are compatible. MS says they aren't certified. Try switching your printer to one with a certified driver if this is the case and test. Reuben Cummings wrote: >I just now started reading this thread and it is of particular interest to >me. > >I have one laptop with WinXP on it and some reports print fine, other can't >print for anything. All reports can be previewed. However, when we try to >print one of the 'bad' reports we get the "printing 1 of " dialog box and it >freezes. I also can't rename these reports. > >I have to shut the computer off with the power button to get it going again. > >I have compacted and repaired, imported everything to a new mdb, decompiled >and recompiled. > >These reports continue to work perfectly on all my Win2K machines. > >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 Jim Lawrence >>(AccessD) >>Sent: Tuesday, August 05, 2003 1:10 AM >>To: Access Developers discussion and problem solving >>Subject: RE: [AccessD] Report stopped triggering - & it's locking mdb >> >> >>Hi Kathyrn: >> >>Now that you have informed me that you have embedded images that opens a >>whole-can-of-worms. On three separate occasions, with two >>different clients, >>who had databases with embedded images there were major disasters. This is >>not to say that embedded images do not work, it is just that when they >>corrupt, it can be a REAL problem. In addition, tables can bloat >>at amazing >>speed with embedded images and once the two GB limit is hit... (It is >>actually closer to 1.7GB from experience.)... your database may not open. >> >>My rule of thumb is to never use embeded images and I never have >>since and I >>have never had a graphic image problem since then, either. If you need >>sample code on how to handle linked images to forms and reports, >>just email. >> >>I do not mean to sound strident but when you have been deep fried a couple >>of times.... >> >>HTH >>Jim >> >>PS: Export all the objects out of the current corrupting db into >>a nice new >>one. That will give you a grace period. >> >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Kathryn >>Bassett >>Sent: Monday, August 04, 2003 7:54 PM >>To: Access Developers discussion and problem solving >>Subject: [AccessD] Report stopped triggering - & it's locking mdb >> >> >>Problem that may or may not be connected. When I try to run the report and >>it doesn't work, it will lock the database (leaving .ldb). I have >>to reboot >>the computer for the .ldb to go away so I can do further testing. >> >>First, a correction - Jim Lawrence asked: >> >> >>> First question; are your pictures linked or embedded? >>> >>> >>and I replied they were linked. But that's wrong, they are embedded. What >>goes in the text field for the photo is the link, so I was thinking link. >> >>William Hindman asked: >> >> >>>...have you tried compacting/repairing the mdb? >>> >>> >>And I replied yes. I also ran Tool > Analyze > Performance. >>The recommendations are all to add an index field to field ... >>The ideas: >>Application is not saved in a fully compiled state >>Form 'Get Photos': Use an Option Explicit Statement >>Report 'PhotoDirectory - Photos Done - Connected': Use an Option Explicit >>Statement >>Module 'Module1': Use an Option Explicit Statement >> >>So, first I tried compiling. I got: >>The Report Name 'PhotoDirectory - Photos done NOT used' you entered in >>either the property sheet or macro is misspelled or refers to a >>report that >>doesn't exist. >>If the invalid report name is in a macro, an Action Failed dilog box will >>display the macro name and the macro's arguments after you click OK. Open >>the Macro window, and enter the correct report name. >>It takes 4 times of clicking OK before that message goes away and says >>Module Not Found. >> >>Now, the funny thing is - 'PhotoDirectory - Photos done NOT used' is a >>report that I dumped because I don't use it. There are NO macros, and the >>only module is Module1 which has General and Declarations as the two >>dropdown boxes, and the content below. I see nothing that refers to that >>report name. The correct report name is 'PhotoDirectory - Photos Done - >>Connected' though I had changed it to eliminate the last part, so it would >>be "PhotoDirectory - Photos Done'. Changed it back because Gary asked: "If >>you change the name back to it's original name does it work?" so I did to >>test but the answer is no. >> >>As a side note, I now can't change it again - When I try, it >>tries again to >>trigger the report, then changes it back to the old name. Copying it to a >>different name, still doesn't give me the report. >> >>Module1 content: >>Option Compare Database >> Option Explicit >>'*************************************************** >>'File selection browser >> Declare Function GetOpenFileName Lib "comdlg32.dll" Alias _ >> "GetOpenFileNameA" (pOpenfilename As OPENFILENAME) As Long >> >> Type OPENFILENAME >> lStructSize As Long >> hwndOwner As Long >> hInstance As Long >> lpstrFilter As String >> lpstrCustomFilter As String >> nMaxCustFilter As Long >> nFilterIndex As Long >> lpstrFile As String >> nMaxFile As Long >> lpstrFileTitle As String >> nMaxFileTitle As Long >> lpstrInitialDir As String >> lpstrTitle As String >> flags As Long >> nFileOffset As Integer >> nFileExtension As Integer >> lpstrDefExt As String >> lCustData As Long >> lpfnHook As Long >> lpTemplateName As String >> End Type >> >>'************************************************************ >>'Displays a dialog box that enables the user to select a shell folder. >>Public Declare Function SHBrowseForFolder Lib "shell32.dll" _ >> Alias "SHBrowseForFolderA" (lpBrowseInfo As BROWSEINFO) As Long >> >>Public Declare Function SHGetPathFromIDList Lib "shell32.dll" _ >> Alias "SHGetPathFromIDListA" _ >> (ByVal pidl As Long, _ >> ByVal pszPath As String) As Long >> >>Public Declare Sub CoTaskMemFree Lib "ole32.dll" (ByVal pv As Long) >>'parameters for SHBrowseForFolder >>Public Type BROWSEINFO 'BI >> hOwner As Long >> pidlRoot As Long >> pszDisplayName As String >> lpszTitle As String >> ulFlags As Long >> lpfn As Long >> lParam As Long >> iImage As Long >>End Type >> >>'BROWSEINFO.ulFlags values: >>Public Const BIF_RETURNONLYFSDIRS = &H1 'Only file system directories >>Public Const BIF_DONTGOBELOWDOMAIN = &H2 'No network folders below >>domain level >>Public Const BIF_STATUSTEXT = &H4 'Includes status area in the >>dialog (for callback) >>Public Const BIF_RETURNFSANCESTORS = &H8 'Only returns file system >>ancestors >>Public Const BIF_EDITBOX = &H10 'Allows user to rename >>selection >>Public Const BIF_VALIDATE = &H20 'Insist on valid >>editbox result >>(or CANCEL) >>Public Const BIF_BROWSEFORCOMPUTER = &H1000 'Only returns computers. >>Public Const BIF_BROWSEFORPRINTER = &H2000 'Only returns printers. >>Public Const BIF_BROWSEINCLUDEFILES = &H4000 'Browse for everything >>Public Const MAX_PATH = 260 >> >>end of Module1 content. Note I didn't write it, I think it is part of what >>was written by Stuart McLachlan, and he said there is stuff in >>what he wrote >>that isn't needed by me. >> >>Gary asked: >> >> >>>Do you have a control - possibly an image control pointing to another >>>control that has the name/path of the picture file it is displaying? Or >>>perhaps some event code that has the report name hard coded in >>> >>> >>it that got >> >> >>>broken when you changed the report name? >>> >>> >>Huh? I don't know exactly what you mean. I know that tables and >>queries can >>be referred to by reports, but I didn't think anything would have a report >>name except a macro. And there are no macros. >> >>Jim Lawrence said: >> >> >>>One other obvious possibility could be that a particular image(s) has >>> >>> >>become >> >> >>>corrupted. Just try loading the non-printing image(s) into your graphic >>>program. >>> >>> >>In Explorer, I have no problem doubleclicking to open all the graphics. If >>there is a problem with a particular image, I have no way of >>telling because >>the error message flashes past to fast to see. >> >>Jim Lawrence said: >> >> >>>My prognosis, as you have probably already assumed, is that the >>> >>> >>particular >> >> >>>database has somehow become corrupted. I would open up the bad >>> >>> >>db, create >> >> >>>and open a new db and copy and paste the components and code from one to >>> >>> >>the >> >> >>>other, as the standard repair and compact has failed to work. >>> >>> >>Since there is that recompile problem, I'm leaving this for now. >>I kinda got >>a feeling I wouldn't get everything copied I would need to. >> >>Well, anybody have any more ideas? Obviously compiling has something to do >>with it, but what? >> >>-- >>Kathryn Rhinehart Bassett (Pasadena CA) >>"Genealogy is my bag" "GH is my soap" >>kathryn at bassett.net >>http://bassett.net >> >>_______________________________________________ >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >> >>_______________________________________________ >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >> >> >> >> > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > From gustav at cactus.dk Tue Aug 5 12:21:17 2003 From: gustav at cactus.dk (Gustav Brock) Date: Tue, 5 Aug 2003 19:21:17 +0200 Subject: [AccessD] Age calculation function -SOLVED In-Reply-To: <001a01c35b73$5cef9e40$0400000a@PASCAL> References: <916187228923D311A6FE00A0CC3FAA30527B53@ADGSERVER><000e01c35864$661482e0$0400000a@PASCAL> <001a01c35b73$5cef9e40$0400000a@PASCAL> Message-ID: <8740319646.20030805192117@cactus.dk> Hi Mark Peachy? Never thought of it that way ... /gustav > Thanks, Gustav. This works just peachy. I tweaked it a bit to fit what I > needed, but the algorithm works just great. > Mark Whittinghill > Symphony Information Services > 612-333-1311 > mwhittinghill at symphonyinfo.com > ----- Original Message ----- > From: "Gustav Brock" > To: "Access Developers discussion and problem solving" > > Sent: Saturday, August 02, 2003 4:24 AM > Subject: Re: [AccessD] Age calculation function From martyconnelly at shaw.ca Tue Aug 5 12:22:38 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Tue, 05 Aug 2003 10:22:38 -0700 Subject: [AccessD] No Office 2003 ODE (Office Developer Edition)? References: <200307201721.SAA22981@hosea.qub.ac.uk> <7938568478.20030720192939@cactus.dk> <3F1AD9FC.5060702@shaw.ca> <3F1B645E.7070902@shaw.ca> <1141810283.20030805083927@cactus.dk> Message-ID: <3F2FE7DE.4050501@shaw.ca> This hasn't been set in stone yet by Microsoft. Maybe they are waiting for a marketing decision. 1. Is VS Net 2003 2 and 3 are free downloads. Who knows they may switch to an MSI install, which would require 2 CD's much like SageKeys Office XP MSI wizard. The Microsoft Installer may require two CD's to be shipped, the Access 2003 Application CD created by the Packaging Wizard and the Office 2003 Windows Update CD. When the user inserts the Application CD, they are prompted to load the Update CD first which loads the required preconditioning components onto the target PC. By the way IIS must be installed prior to loading VS Net, if you plan to use any of its features. You can still use things like Net WinForms without IIS but not Web Forms. If you install IIS after VS Net you can only use internal Web Forms . To fix you have to do a clear and reinstall in correct order, usually takes a couple of hours. Gustav Brock wrote: >Hi Marty and Martin > >I'm slightly confused ... > >Does this mean you'll have to buy all this - in addition to Office >2003 Pro, of course - just to create an Access 2003 runtime: > > 1. Visual Studio > 2. Visual Studio Tools for the Microsoft Office System > 3. Access 2003 Developer Extensions > >as well as to soil your dearly beloved workstation with IIS? > >And which version of Visual Studio? I don't have it as I've never had >a need for it. > >/gustav > > > > >>Looks like below doesn't contain the Access deployment features >>Access 2003 Developer Extensions Overview >> >> > > > >>http://www.microsoft.com/office/preview/editions/accessdav.asp >> >> > > > >>from recent posting newsgroup microsoft.public.vsnet.vstools.office >> >> > > > >>Subject: Re: Access 2003 Developer Extensions >>From: "Peter Torr \(MS\)" Sent: 7/16/2003 >>10:19:41 AM >>"Urs Stettler" wrote in message >>news:090401c34b7f$926f8de0$a401280a at phx.gbl... >> >> > > > >> > According to the product description of the VS tools for >> > Office, Access 2003 Developer Extensions are supposed to >> > be part of it. >> > >> > Well, I purchased the Office 03 beta, purchased VS 03 just >> > to be able to use Access depoloyment features. Having >> > installed the VS tools, I can't find any packaging wizard >> > or any link in Access 03 to start the packaging process. >> > Am I missing something? >> >> > > > >>Hi, >> >> > > > >>The Access Developer Extensions will be in the final retail product, which >>has not shipped yet. The beta release of Visual Studio Tools for Office >>just contains the Word and Excel managed code projects. >> >> > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > From martyconnelly at shaw.ca Tue Aug 5 12:36:51 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Tue, 05 Aug 2003 10:36:51 -0700 Subject: [AccessD] Copy range of ID's from excel References: <20030805093100.74702.qmail@web10002.mail.yahoo.com> Message-ID: <3F2FEB33.4070007@shaw.ca> In Access XP there is a clipboard object that you can parse for the data. A bit more difficult in lower levels of Access, as you have to use API's see Dev Ashish's site for api methods http://www.mvps.org/access Sad Der wrote: >thnx for the response Jim. > >Unfortunatly this was not what I meant. A user opens >an Excel file. (S)He then selects a couple of records. >EG: user clicks cell A1 and drags the mouse down to >A7. So we now have a couple of cells selected in blue >and with a right mouse click the user selects copy. >The selected cells are now 'in' the Clibboard. The >user then starts the Access application and needs to >paste the selected cells, that are still in the >Clipboard, into a form. > >Any idea how to do that? > >Thnx in advance > >Regards, > >Sander >--- "Hale, Jim" wrote: > > >>a quick and dirty way: >> >>A. Have an excel spreadsheet set up as a flat >>file,ie >>fld1_ID_Key fld2_Descr fld3_Include >>Id1 whatever1 N >>Id2 son of whatever Y >>Id3 why not N >> >>The field headings should start in cell a1 on the >>"database" sheet. >>Use fld3_include to indicate if the record has been >>selected. You can let >>the user fill this column directly which is the >>fastest but least secure way >>(do not have blank cells. This could confuse Access) >>Or you can hide the >>"database" sheet and let the user select via list >>box the choices and you >>update the include field via code. >> >>B. link the sheet into an Access database where it >>will appear as a table >>. You can then >>write a query with a >>criteria of "Y" for the fld3_include field to select >>the data and append or >>update ("paste into")whatever master table you wish. >>Alternatively, instead >>of linking to the excel spreadsheet you can import >>the sheet with the data >>directly into Access as a table >data> and then >>manipulate it however you desire. HTH >>Jim Hale >> >> >>-----Original Message----- >>From: Sad Der [mailto:accessd666 at yahoo.com] >>Sent: Friday, August 01, 2003 9:03 AM >>To: Acces User Group >>Subject: [AccessD] Copy range of ID's from excel >> >> >>Hi group, >> >>A user wants to select a list of id's and wants to >>paste them into Access. After that the user wants to >>make selections on the id's. >> >>Question: Which control is the best to use for this >>and why? >> >>I'm thinking of using a listbox but is it possible >>to >>select it and paste the range into it. Remember the >>range are completely random! >>Question: How can I paste a range of items in an >>Access object? >> >>Btw i'm using Access 2000 >> >>Regards, >> >>sander >> >> >>__________________________________ >>Do you Yahoo!? >>Yahoo! SiteBuilder - Free, easy-to-use web site >>design software >>http://sitebuilder.yahoo.com >>_______________________________________________ >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >> >> >>>_______________________________________________ >>> >>> >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >> >> >> > > >__________________________________ >Do you Yahoo!? >Yahoo! SiteBuilder - Free, easy-to-use web site design software >http://sitebuilder.yahoo.com >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > From Jdemarco at hshhp.org Tue Aug 5 13:02:09 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Tue, 5 Aug 2003 14:02:09 -0400 Subject: [AccessD] mdb in dmz Message-ID: <22F1CCD5171D17419CB37FEEE09D5F9901765079@TTNEXCHSRV1.hshhp.com> Looks like everything is going over port 80. The real drag is I can't be sure it's even a hardware problem. We simplified the code to this (it's ASP/VBScript so no data types,etc.): dim connectstring dim cnn dim dbpath dbpath = "D:\db\HshhpTips.mdb" connectstring = "Provider=Microsoft.Jet.OLEDB.4.0; Data Source=" & dbpath Set cnn = Server.CreateObject("ADODB.Connection") 'cnn.open connectstring Response.Write "testing" The code runs if we leave the cnn.open line commented out but when we put it back we now get a page not found error. Works fine on our dev machine of course. I would think if it was a data access problem the code would bail on the CreateObject call. Server's running Win2K BTW. Jim DeMarco -----Original Message----- From: Jim Dettman [mailto:jimdettman at earthlink.net] Sent: Tuesday, August 05, 2003 12:52 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] mdb in dmz Jim, <> Check the Firewall's log. It will show the IP address of the web server, whether it was TCP or UDP packet, and the port it was trying to use. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim DeMarco Sent: Tuesday, August 05, 2003 10:58 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] mdb in dmz Thanks Frank (where'd you find that domain on your e-mail address??). I searched msdn and found this list of Port Assignments for Common Services (http://www.microsoft.com/windows2000/techinfo/reskit/samplechapters/cnfc/cn fc_por_simw.asp - watch for wrapping). None seems to be what I'm looking (AFAICT anyway). Can anyone point me in the right direction? Thanks, Jim DeMarco -----Original Message----- From: Frank Tanner III [mailto:pctech at mybellybutton.com] Sent: Tuesday, August 05, 2003 10:45 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] mdb in dmz I'm not sure what tcp/udp port(s) that Jet and OLEdb use, but do you have those allowed to pass from the DMZ to wherever it needs to go? i.e. the internal LAN and the external Internet. Usually DMZs are configured to ONLY allow the ports necessary, such as HTTP, HTTPS, POP3, SMTP, etc. --- Jim DeMarco wrote: > List, > > We just went live with our web site > (http://www.hshhp.org) but had to remove a feature > that displays health tips. The tips are stored in > an A97 mdb but we get an "unspecified error" when > hitting the page. The db is on the web server box. > The server is behind the firewall in the DMZ. Does > anyone know if the DMZ is an issue when trying to > hit an mdb? We're using the OleDB provider for Jet > 4.0. I ran comcheck and we've got that version > installed. IIS 5.0 as well. > > TIA, > > Jim DeMarco > Director of Product Development > HealthSource/Hudson Health Plan > > > **************************************************************************** ******* > "This electronic message is intended to be for the > use only of the named recipient, and may contain > information from Hudson Health Plan (HHP) that is > confidential or privileged. If you are not the > intended recipient, you are hereby notified that any > disclosure, copying, distribution or use of the > contents of this message is strictly prohibited. If > you have received this message in error or are not > the named recipient, please notify us immediately, > either by contacting the sender at the electronic > mail address noted above or calling HHP at (914) > 631-1611. If you are not the intended recipient, > please do not forward this email to anyone, and > delete and destroy all copies of this message. > Thank You". > **************************************************************************** ******* > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _______________________________________________ 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 prosoft6 at hotmail.com Tue Aug 5 13:10:38 2003 From: prosoft6 at hotmail.com (Julie Reardon-Taylor) Date: Tue, 05 Aug 2003 14:10:38 -0400 Subject: [AccessD] Data Access Pages-Problem Solved Message-ID: Susan, Just to let everyone know, the problem with my DAP was solved by double clicking on the header bar and setting the "Unique Table" property on the data tab to the one side of my joined tables. Who knew?! Julie Reardon-Taylor PRO-SOFT OF NY, INC. www.pro-soft.net _________________________________________________________________ STOP MORE SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail From jimdettman at earthlink.net Tue Aug 5 13:11:24 2003 From: jimdettman at earthlink.net (Jim Dettman) Date: Tue, 5 Aug 2003 14:11:24 -0400 Subject: [AccessD] mdb in dmz In-Reply-To: <22F1CCD5171D17419CB37FEEE09D5F9901765079@TTNEXCHSRV1.hshhp.com> Message-ID: Jim, Wish I could help, but I'm still living in the stone age: I have never done any web work and I've only used ADO on a single project several years ago. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim DeMarco Sent: Tuesday, August 05, 2003 2:02 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] mdb in dmz Looks like everything is going over port 80. The real drag is I can't be sure it's even a hardware problem. We simplified the code to this (it's ASP/VBScript so no data types,etc.): dim connectstring dim cnn dim dbpath dbpath = "D:\db\HshhpTips.mdb" connectstring = "Provider=Microsoft.Jet.OLEDB.4.0; Data Source=" & dbpath Set cnn = Server.CreateObject("ADODB.Connection") 'cnn.open connectstring Response.Write "testing" The code runs if we leave the cnn.open line commented out but when we put it back we now get a page not found error. Works fine on our dev machine of course. I would think if it was a data access problem the code would bail on the CreateObject call. Server's running Win2K BTW. Jim DeMarco -----Original Message----- From: Jim Dettman [mailto:jimdettman at earthlink.net] Sent: Tuesday, August 05, 2003 12:52 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] mdb in dmz Jim, <> Check the Firewall's log. It will show the IP address of the web server, whether it was TCP or UDP packet, and the port it was trying to use. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim DeMarco Sent: Tuesday, August 05, 2003 10:58 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] mdb in dmz Thanks Frank (where'd you find that domain on your e-mail address??). I searched msdn and found this list of Port Assignments for Common Services (http://www.microsoft.com/windows2000/techinfo/reskit/samplechapters/cnfc/cn fc_por_simw.asp - watch for wrapping). None seems to be what I'm looking (AFAICT anyway). Can anyone point me in the right direction? Thanks, Jim DeMarco -----Original Message----- From: Frank Tanner III [mailto:pctech at mybellybutton.com] Sent: Tuesday, August 05, 2003 10:45 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] mdb in dmz I'm not sure what tcp/udp port(s) that Jet and OLEdb use, but do you have those allowed to pass from the DMZ to wherever it needs to go? i.e. the internal LAN and the external Internet. Usually DMZs are configured to ONLY allow the ports necessary, such as HTTP, HTTPS, POP3, SMTP, etc. --- Jim DeMarco wrote: > List, > > We just went live with our web site > (http://www.hshhp.org) but had to remove a feature > that displays health tips. The tips are stored in > an A97 mdb but we get an "unspecified error" when > hitting the page. The db is on the web server box. > The server is behind the firewall in the DMZ. Does > anyone know if the DMZ is an issue when trying to > hit an mdb? We're using the OleDB provider for Jet > 4.0. I ran comcheck and we've got that version > installed. IIS 5.0 as well. > > TIA, > > Jim DeMarco > Director of Product Development > HealthSource/Hudson Health Plan > > > **************************************************************************** ******* > "This electronic message is intended to be for the > use only of the named recipient, and may contain > information from Hudson Health Plan (HHP) that is > confidential or privileged. If you are not the > intended recipient, you are hereby notified that any > disclosure, copying, distribution or use of the > contents of this message is strictly prohibited. If > you have received this message in error or are not > the named recipient, please notify us immediately, > either by contacting the sender at the electronic > mail address noted above or calling HHP at (914) > 631-1611. If you are not the intended recipient, > please do not forward this email to anyone, and > delete and destroy all copies of this message. > Thank You". > **************************************************************************** ******* > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _______________________________________________ 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 mwp.reid at qub.ac.uk Tue Aug 5 13:20:04 2003 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Tue, 5 Aug 2003 11:20:04 -0700 Subject: [AccessD] mdb in dmz References: <22F1CCD5171D17419CB37FEEE09D5F9901765079@TTNEXCHSRV1.hshhp.com> Message-ID: <001f01c35b7e$32ab9b60$0f0b6351@martin1> Conn.Open "Provider=Microsoft.Jet.OLEDB.4.0;" & _ "Data Source=c:\somepath\myDb.mdb;" & _ "User Id=admin;" & _ "Password=" Try that Martin ----- Original Message ----- From: "Jim DeMarco" To: "Access Developers discussion and problem solving" Sent: Tuesday, August 05, 2003 11:02 AM Subject: RE: [AccessD] mdb in dmz > Looks like everything is going over port 80. The real drag is I can't be sure it's even a hardware problem. We simplified the code to this (it's ASP/VBScript so no data types,etc.): > > > dim connectstring > dim cnn > dim dbpath > > dbpath = "D:\db\HshhpTips.mdb" > connectstring = "Provider=Microsoft.Jet.OLEDB.4.0; Data Source=" & dbpath > > Set cnn = Server.CreateObject("ADODB.Connection") > 'cnn.open connectstring > > Response.Write "testing" > > > The code runs if we leave the cnn.open line commented out but when we put it back we now get a page not found error. Works fine on our dev machine of course. I would think if it was a data access problem the code would bail on the CreateObject call. Server's running Win2K BTW. > > Jim DeMarco > > > > -----Original Message----- > From: Jim Dettman [mailto:jimdettman at earthlink.net] > Sent: Tuesday, August 05, 2003 12:52 PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] mdb in dmz > > > Jim, > > <> > > Check the Firewall's log. It will show the IP address of the web server, > whether it was TCP or UDP packet, and the port it was trying to use. > > Jim Dettman > President, > Online Computer Services of WNY, Inc. > (315) 699-3443 > jimdettman at earthlink.net > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim DeMarco > Sent: Tuesday, August 05, 2003 10:58 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] mdb in dmz > > > Thanks Frank (where'd you find that domain on your e-mail address??). > > I searched msdn and found this list of Port Assignments for Common Services > (http://www.microsoft.com/windows2000/techinfo/reskit/samplechapters/cnfc/cn > fc_por_simw.asp - watch for wrapping). None seems to be what I'm looking > (AFAICT anyway). Can anyone point me in the right direction? > > Thanks, > > Jim DeMarco > > -----Original Message----- > From: Frank Tanner III [mailto:pctech at mybellybutton.com] > Sent: Tuesday, August 05, 2003 10:45 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] mdb in dmz > > > I'm not sure what tcp/udp port(s) that Jet and OLEdb > use, but do you have those allowed to pass from the > DMZ to wherever it needs to go? i.e. the internal LAN > and the external Internet. > > Usually DMZs are configured to ONLY allow the ports > necessary, such as HTTP, HTTPS, POP3, SMTP, etc. > > --- Jim DeMarco wrote: > > List, > > > > We just went live with our web site > > (http://www.hshhp.org) but had to remove a feature > > that displays health tips. The tips are stored in > > an A97 mdb but we get an "unspecified error" when > > hitting the page. The db is on the web server box. > > The server is behind the firewall in the DMZ. Does > > anyone know if the DMZ is an issue when trying to > > hit an mdb? We're using the OleDB provider for Jet > > 4.0. I ran comcheck and we've got that version > > installed. IIS 5.0 as well. > > > > TIA, > > > > Jim DeMarco > > Director of Product Development > > HealthSource/Hudson Health Plan > > > > > > > **************************************************************************** > ******* > > "This electronic message is intended to be for the > > use only of the named recipient, and may contain > > information from Hudson Health Plan (HHP) that is > > confidential or privileged. If you are not the > > intended recipient, you are hereby notified that any > > disclosure, copying, distribution or use of the > > contents of this message is strictly prohibited. If > > you have received this message in error or are not > > the named recipient, please notify us immediately, > > either by contacting the sender at the electronic > > mail address noted above or calling HHP at (914) > > 631-1611. If you are not the intended recipient, > > please do not forward this email to anyone, and > > delete and destroy all copies of this message. > > Thank You". > > > **************************************************************************** > ******* > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > 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 wdhindman at bellsouth.net Tue Aug 5 13:30:40 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Tue, 5 Aug 2003 14:30:40 -0400 Subject: [AccessD] Money, Money, Money makes the world go round References: <000b01c35b4b$526ee520$0c05a8c0@carlton.local> <059a01c35b57$2b7f6f00$0200a8c0@S856> Message-ID: <009201c35b7f$ac950f50$6101a8c0@amd2k512> ...ok ...gonna stick my nose back in the dba pie for a moment or so ...as Lembit has stated, dba came about because this list was dumped upon or held hostage on different occasions by "free" providers who for one reason or another left us in the lurch ...it is firm dba policy which I had as much or more say in creating as anyone, not to ever again allow AccessD to become dependent upon a single provider ...thus the need to pay our own way which has served us in good stead. ...however ...circumstances change ...and what was once necessary may no longer be the exact case. ...if we had at least TWO free hosts, each fully capable of meeting all of our needs, and each willing to mirror the other full time ...then I can see no reason to continue laying out hundreds of dollars for paid hosting services ...the mirroring setup ensures that dba is never dependent upon any single host for the lists continued operation ...if one goes down, the mirror is able to pick it up immediately ...which is actually better reliability than we have now. ...I remember months back writing a memo similar to Lembits in regards to an offer of free hosting by Drew ...hindsight is a wonderful thing but many of the deterrents back then are now gone. ...I'd suggest that if Vlad, Drew, and any others with sufficient space/bw available want to set-up a mirroring arrangement, that dba move to do so asap ...that will immediately stop the money bleed and allow dba to use what funds remain in more productive ways. William Hindman "You know the world is going crazy when the best rapper is a white guy, the best golfer is a black guy, The Swiss hold the America's Cup, France is accusing the US of arrogance, and Germany doesn't want to go to war." ----- Original Message ----- From: "Lembit Soobik" To: "Access Developers discussion and problem solving" Sent: Tuesday, August 05, 2003 9:40 AM Subject: Re: [AccessD] Money, Money, Money makes the world go round > thank you, Vlad, > for the great offer, but our policy is to not accept such free offer. > We have been burned, and founding this little company DBA Inc. has been done > in order to become independent. > It is really nice of you to offer that and thank you, but sorry, no, thank you . > Lembit > > Lembit Soobik > > ----- Original Message ----- > From: "ACTEBS" > To: "'Access Developers discussion and problem solving'" > > Sent: Tuesday, August 05, 2003 2:15 PM > Subject: RE: [AccessD] Money, Money, Money makes the world go round > > > > Lembit, > > > > What are you paying for hosting? I own the server that our web site is > > hosted on - mytakeaway.com.au - because this list has been so good to me > > over the years, I'd like offer you hosting for free. The only thing you'll > > need to do is re-direct the place where your IP is pointing to and direct it > > our IP address and I can configure it in IIS. The server is currently this > > configuration: > > > > A) Twin AMD MP 2100 - (Overkill I know, but it was all we could get > > that was reasonably priced in a dual configuration) > > B) 1GB RAM > > C) 14Mbit connection to the internet > > > > The only thing I need to know is how much HDD space you require as we have > > an unlimited Upload -> to the internet user and a limit of 2GB download -> > > us to the server...We download sweet FA as most of our traffic is outgoing > > and so is free... > > > > Get back to me if you want to go explore this further... > > > > Vlad > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lembit Soobik > > Sent: Tuesday, 5 August 2003 9:56 PM > > To: Access Developers discussion and problem solving > > Subject: [AccessD] Money, Money, Money makes the world go round > > > > > > Friends, > > > > It is time once again to talk about money...or more accurately, the lack > > thereof. Since this list - like anything else - is not free, we need from > > time to time a little bit of money to pay our bills. > > > > Our fincancial needs are not great, but if those who feel they have received > > help for their project can donate a bit, I am sure we can continue to make > > our payments in a timely manner. > > > > Having said this, please be so kind as to visit > > http://www.databaseadvisors.com/donations.htm > > > > In addition, if we can secure a few companies as Corporate Sponsors - for as > > little as $100/year - we can live quite a while off of that. In addition > > to the benefits detailed at > > http://www.databaseadvisors.com/donations/corporate.htm, the Corporate > > Sponsor is allowed to include "Official Sponsor of DBA" (plus a link to his > > website) in his signature line. > > > > Now, this is a special offer, valid until Aug-31-2003. You get a whole year > > of free advertising in the signature line, plus all the free advice from the > > best Access Developers the world over! Surely that is worth more than $100. > > > > Thank you in advance for your conintued support of DataBase Advisors, > > > > > > Lembit Soobik President DBA > > and the Executive Team 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 gustav at cactus.dk Tue Aug 5 13:48:31 2003 From: gustav at cactus.dk (Gustav Brock) Date: Tue, 5 Aug 2003 20:48:31 +0200 Subject: [AccessD] No Office 2003 ODE (Office Developer Edition)? In-Reply-To: <3F2FE7DE.4050501@shaw.ca> References: <200307201721.SAA22981@hosea.qub.ac.uk> <7938568478.20030720192939@cactus.dk> <3F1AD9FC.5060702@shaw.ca> <3F1B645E.7070902@shaw.ca> <1141810283.20030805083927@cactus.dk> <3F2FE7DE.4050501@shaw.ca> Message-ID: <13145554523.20030805204831@cactus.dk> Hi Marty Thanks. Sorry for being dense, but I still cannot see if/how Visual Studio fits into the picture of Access development. I'm aware that Visual Studio might bring some (Internet) features to Access development, but what is important is to distinguish between offers/features and needs. And if at all possible I do not want an IIS to run on my trusted development machine; if it _is_ needed I wish it to run on a server. By the way, what is "Office 2003 Windows Update CD"? /gustav > This hasn't been set in stone yet by Microsoft. Maybe they are waiting > for a marketing decision. > 1. Is VS Net 2003 > 2 and 3 are free downloads. > Who knows they may switch to an MSI install, which would require 2 CD's > much like SageKeys > Office XP MSI wizard. > The Microsoft Installer may require two CD's to be shipped, the Access > 2003 Application CD created by the Packaging Wizard and the Office 2003 > Windows Update CD. When the user inserts the Application CD, they are > prompted to load the Update CD first which loads the required > preconditioning components onto the target PC. > By the way IIS must be installed prior to loading VS Net, if you plan > to use any of its features. > You can still use things like Net WinForms without IIS but not Web > Forms. If you install IIS after VS Net you can only use internal Web > Forms . To fix you have to do a clear and reinstall in > correct order, usually takes a couple of hours. > Gustav Brock wrote: >>Hi Marty and Martin >> >>I'm slightly confused ... >> >>Does this mean you'll have to buy all this - in addition to Office >>2003 Pro, of course - just to create an Access 2003 runtime: >> >> 1. Visual Studio >> 2. Visual Studio Tools for the Microsoft Office System >> 3. Access 2003 Developer Extensions >> >>as well as to soil your dearly beloved workstation with IIS? >> >>And which version of Visual Studio? I don't have it as I've never had >>a need for it. >> >>/gustav >> >> >>>Looks like below doesn't contain the Access deployment features >>>Access 2003 Developer Extensions Overview >> >>>http://www.microsoft.com/office/preview/editions/accessdav.asp >> >>>from recent posting newsgroup microsoft.public.vsnet.vstools.office >> >>>Subject: Re: Access 2003 Developer Extensions >>>From: "Peter Torr \(MS\)" Sent: 7/16/2003 >>>10:19:41 AM >>>"Urs Stettler" wrote in message >>>news:090401c34b7f$926f8de0$a401280a at phx.gbl... >> >>> > According to the product description of the VS tools for >>> > Office, Access 2003 Developer Extensions are supposed to >>> > be part of it. >>> > >>> > Well, I purchased the Office 03 beta, purchased VS 03 just >>> > to be able to use Access depoloyment features. Having >>> > installed the VS tools, I can't find any packaging wizard >>> > or any link in Access 03 to start the packaging process. >>> > Am I missing something? >> >>>The Access Developer Extensions will be in the final retail product, which >>>has not shipped yet. The beta release of Visual Studio Tools for Office >>>just contains the Word and Excel managed code projects. From Tgalati at cresinsurance.com Tue Aug 5 13:58:41 2003 From: Tgalati at cresinsurance.com (TJ Galati) Date: Tue, 5 Aug 2003 11:58:41 -0700 Subject: [AccessD] Excuse me, I forgot Message-ID: <00EBD5B938DF364B8101F997CCDB2DA00793BB@server1.cresinsurance.com> What is the unsubscribe procedure? By the way, thanx for all the help in the past. TJ From gustav at cactus.dk Tue Aug 5 14:08:19 2003 From: gustav at cactus.dk (Gustav Brock) Date: Tue, 5 Aug 2003 21:08:19 +0200 Subject: [AccessD] Excuse me, I forgot In-Reply-To: <00EBD5B938DF364B8101F997CCDB2DA00793BB@server1.cresinsurance.com> References: <00EBD5B938DF364B8101F997CCDB2DA00793BB@server1.cresinsurance.com> Message-ID: <15046742221.20030805210819@cactus.dk> Hi TJ So "Happy computing" is leaving? For vacation or for good? /gustav > What is the unsubscribe procedure? > By the way, thanx for all the help in the past. > TJ From mwp.reid at qub.ac.uk Tue Aug 5 14:08:29 2003 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Tue, 5 Aug 2003 12:08:29 -0700 Subject: [AccessD] No Office 2003 ODE (Office Developer Edition)? References: <200307201721.SAA22981@hosea.qub.ac.uk> <7938568478.20030720192939@cactus.dk> <3F1AD9FC.5060702@shaw.ca> <3F1B645E.7070902@shaw.ca> <1141810283.20030805083927@cactus.dk> <3F2FE7DE.4050501@shaw.ca> <13145554523.20030805204831@cactus.dk> Message-ID: <001f01c35b84$f735ba50$0f0b6351@martin1> VS dosnt really fit in yet. The office .net tools I am aware of only apply to Word and Excel. Nothing on Access. The developers tools I have for Access are stand alone. They say they havnt yet worked out what and how to package the stuff for selling. Martin ----- Original Message ----- From: "Gustav Brock" To: "Access Developers discussion and problem solving" Sent: Tuesday, August 05, 2003 11:48 AM Subject: Re: [AccessD] No Office 2003 ODE (Office Developer Edition)? > Hi Marty > > Thanks. > Sorry for being dense, but I still cannot see if/how Visual Studio > fits into the picture of Access development. > > I'm aware that Visual Studio might bring some (Internet) features to > Access development, but what is important is to distinguish between > offers/features and needs. And if at all possible I do not want an IIS > to run on my trusted development machine; if it _is_ needed I wish it > to run on a server. > > By the way, what is "Office 2003 Windows Update CD"? > > /gustav > > > > This hasn't been set in stone yet by Microsoft. Maybe they are waiting > > for a marketing decision. > > > 1. Is VS Net 2003 > > 2 and 3 are free downloads. > > > Who knows they may switch to an MSI install, which would require 2 CD's > > much like SageKeys > > Office XP MSI wizard. > > > The Microsoft Installer may require two CD's to be shipped, the Access > > 2003 Application CD created by the Packaging Wizard and the Office 2003 > > Windows Update CD. When the user inserts the Application CD, they are > > prompted to load the Update CD first which loads the required > > preconditioning components onto the target PC. > > > By the way IIS must be installed prior to loading VS Net, if you plan > > to use any of its features. > > You can still use things like Net WinForms without IIS but not Web > > Forms. If you install IIS after VS Net you can only use internal Web > > Forms . To fix you have to do a clear and reinstall in > > correct order, usually takes a couple of hours. > > > Gustav Brock wrote: > > >>Hi Marty and Martin > >> > >>I'm slightly confused ... > >> > >>Does this mean you'll have to buy all this - in addition to Office > >>2003 Pro, of course - just to create an Access 2003 runtime: > >> > >> 1. Visual Studio > >> 2. Visual Studio Tools for the Microsoft Office System > >> 3. Access 2003 Developer Extensions > >> > >>as well as to soil your dearly beloved workstation with IIS? > >> > >>And which version of Visual Studio? I don't have it as I've never had > >>a need for it. > >> > >>/gustav > >> > >> > >>>Looks like below doesn't contain the Access deployment features > >>>Access 2003 Developer Extensions Overview > >> > >>>http://www.microsoft.com/office/preview/editions/accessdav.asp > >> > >>>from recent posting newsgroup microsoft.public.vsnet.vstools.office > >> > >>>Subject: Re: Access 2003 Developer Extensions > >>>From: "Peter Torr \(MS\)" Sent: 7/16/2003 > >>>10:19:41 AM > >>>"Urs Stettler" wrote in message > >>>news:090401c34b7f$926f8de0$a401280a at phx.gbl... > >> > >>> > According to the product description of the VS tools for > >>> > Office, Access 2003 Developer Extensions are supposed to > >>> > be part of it. > >>> > > >>> > Well, I purchased the Office 03 beta, purchased VS 03 just > >>> > to be able to use Access depoloyment features. Having > >>> > installed the VS tools, I can't find any packaging wizard > >>> > or any link in Access 03 to start the packaging process. > >>> > Am I missing something? > >> > >>>The Access Developer Extensions will be in the final retail product, which > >>>has not shipped yet. The beta release of Visual Studio Tools for Office > >>>just contains the Word and Excel managed code projects. > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From ad_tp at hotmail.com Tue Aug 5 14:10:27 2003 From: ad_tp at hotmail.com (A.D.Tejpal) Date: Wed, 6 Aug 2003 00:40:27 +0530 Subject: [AccessD] Age calculation function References: <916187228923D311A6FE00A0CC3FAA30527B56@ADGSERVER> <19821026985.20030804144620@cactus.dk> Message-ID: Gustav, Threads related to age calculation appear to remain ever popular. Any reason for limiting the return value to an integer ? Would it not be preferable to have it as single (Integer portion to represent comnpleted years and decimal portion based upon number of days lapsed in final unfinished year if any) ? The result could be used at the level of precision actually needed. Regards, A.D.Tejpal -------------- ----- Original Message ----- From: "Gustav Brock" To: "Access Developers discussion and problem solving" Sent: Saturday, August 02, 2003 4:24 AM Subject: Re: [AccessD] Age calculation function > Hi Mark > > > Is there a solution to this? > > Certainly. It can be found here at Drew's archive: > > http://www.wolfwares.com/AccessD/postinfo.asp?Post=29448 > > However, Drew, the indenting is bad, so below is again the function we > use. > > I'm not claiming this method to be the mother of anything but it works > without errors. To quote myself from 2002-10-04: > > > > We have have had the need to calculate the correct age no matter what, > and I have yet to see this function fail. It has been posted before but > with so many "Age_is_just_about()" functions it seems to be the time to > post it again. > > The crucial point is the correct age count for those poor souls born on > the 29th of February: > > > Function Age(ByVal datDateOfBirth As Date, Optional ByVal varDate As Variant) As Integer > > ' Calculates age at today's date or at a specified date earlier or later in time. > ' Uses Years() for calculating difference in years. > ' > ' Gustav Brock, Cactus Data ApS. > ' 2000-11-03. > > Dim datDate As Date > > ' No special error handling. > On Error Resume Next > > If IsDate(varDate) Then > datDate = CDate(varDate) > Else > datDate = Date > End If > > Age = Years(datDateOfBirth, datDate) > > End Function > > Function Years(ByVal datDate1 As Date, ByVal datDate2 As Date) As Integer > > ' Returns the difference in full years between datDate1 and datDate2. > ' > ' Calculates correctly for: > ' negative differences > ' leap years > ' dates of 29. February > ' date/time values with embedded time values > ' negative date/time values (prior to 1899-12-29) > ' > ' Gustav Brock, Cactus Data ApS. > ' 2000-11-03. > ' 2000-12-16. Leap year correction modified to be symmetrical. > ' Calculation of intDaysDiff simplified. > ' Renamed from YearsDiff() to Years(). > ' 2000-12-18. Added cbytMonthDaysMax. > > ' Constants for leap year calculation. Last normal date of February. > Const cbytFebMonth As Byte = 2 > Const cbytFebLastDay As Byte = 28 > ' Maximum number of days in a month. > Const cbytMonthDaysMax As Byte = 31 > > Dim intYears As Integer > Dim intDaysDiff As Integer > Dim intReversed As Integer > > ' No special error handling. > On Error Resume Next > > intYears = DateDiff("yyyy", datDate1, datDate2) > If intYears = 0 Then > ' Both dates fall within the same year. > Else > ' Check for ultimo February and leap years. > If (Month(datDate1) = cbytFebMonth) And (Month(datDate2) = cbytFebMonth) Then > ' Both dates fall in February. > ' Check if dates are at ultimo February. > If (Day(datDate1) >= cbytFebLastDay) And (Day(datDate2) >= cbytFebLastDay) Then > ' Both dates are at ultimo February. > ' Check if the dates fall in leap years. > If Day(DateSerial(Year(datDate1), cbytFebMonth + 1, 0)) = cbytFebLastDay Xor _ > Day(DateSerial(Year(datDate2), cbytFebMonth + 1, 0)) = cbytFebLastDay Then > ' Only one date falls within a leap year. > ' Adjust both dates to day 28 of February. > datDate1 = DateAdd("d", cbytFebLastDay - Day(datDate1), datDate1) > datDate2 = DateAdd("d", cbytFebLastDay - Day(datDate2), datDate2) > Else > ' Both dates fall either in leap years or non leap years. > ' No adjustment needed. > End If > End If > End If > ' Calculate day difference using months and days as Days() will fail when > ' comparing leap years with non leap years for dates after February. > intDaysDiff = (Month(datDate1) * cbytMonthDaysMax + Day(datDate1)) - (Month(datDate2) * cbytMonthDaysMax + Day(datDate2)) > intReversed = Sgn(intYears) > ' Decrease count of years by one if dates are closer than one year. > intYears = intYears + (intReversed * ((intReversed * intDaysDiff) > 0)) > End If > > Years = intYears > > End Function > > > > /gustav -------------- next part -------------- An HTML attachment was scrubbed... URL: From Alun.Garraway at otto.de Tue Aug 5 14:15:47 2003 From: Alun.Garraway at otto.de (Garraway, Alun) Date: Tue, 5 Aug 2003 21:15:47 +0200 Subject: AW: [AccessD] No Office 2003 ODE (Office Developer Edition)? Message-ID: <73584FDFECAAD611956A0000D11F919F01300945@ntovmail06.ov.otto.de> hallo Gustav, here's an article I found at devx http://www.ftponline.com/reports/vsliveny/2003/office/ for the 2003 office version vba will still be supported, but you can also use the .NET framework to write addins / classes etc. that can be used in office 2003. xml appears to be the big new toy in 2003 though. here we come back to the discussion on .NET and C#.... when office has the .NET framework integrated (which appears to be the way M$ are going) there will be a lot of .NET (C#) coders (just my opinion) alun -----Urspr?ngliche Nachricht----- Von: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]Im Auftrag von Gustav Brock Gesendet: Dienstag, 5. August 2003 20:49 An: Access Developers discussion and problem solving Betreff: Re: [AccessD] No Office 2003 ODE (Office Developer Edition)? Hi Marty Thanks. Sorry for being dense, but I still cannot see if/how Visual Studio fits into the picture of Access development. I'm aware that Visual Studio might bring some (Internet) features to Access development, but what is important is to distinguish between offers/features and needs. And if at all possible I do not want an IIS to run on my trusted development machine; if it _is_ needed I wish it to run on a server. By the way, what is "Office 2003 Windows Update CD"? /gustav > This hasn't been set in stone yet by Microsoft. Maybe they are waiting > for a marketing decision. > 1. Is VS Net 2003 > 2 and 3 are free downloads. > Who knows they may switch to an MSI install, which would require 2 CD's > much like SageKeys > Office XP MSI wizard. > The Microsoft Installer may require two CD's to be shipped, the Access > 2003 Application CD created by the Packaging Wizard and the Office 2003 > Windows Update CD. When the user inserts the Application CD, they are > prompted to load the Update CD first which loads the required > preconditioning components onto the target PC. > By the way IIS must be installed prior to loading VS Net, if you plan > to use any of its features. > You can still use things like Net WinForms without IIS but not Web > Forms. If you install IIS after VS Net you can only use internal Web > Forms . To fix you have to do a clear and reinstall in > correct order, usually takes a couple of hours. > Gustav Brock wrote: >>Hi Marty and Martin >> >>I'm slightly confused ... >> >>Does this mean you'll have to buy all this - in addition to Office >>2003 Pro, of course - just to create an Access 2003 runtime: >> >> 1. Visual Studio >> 2. Visual Studio Tools for the Microsoft Office System >> 3. Access 2003 Developer Extensions >> >>as well as to soil your dearly beloved workstation with IIS? >> >>And which version of Visual Studio? I don't have it as I've never had >>a need for it. >> >>/gustav >> >> >>>Looks like below doesn't contain the Access deployment features >>>Access 2003 Developer Extensions Overview >> >>>http://www.microsoft.com/office/preview/editions/accessdav.asp >> >>>from recent posting newsgroup microsoft.public.vsnet.vstools.office >> >>>Subject: Re: Access 2003 Developer Extensions >>>From: "Peter Torr \(MS\)" Sent: 7/16/2003 >>>10:19:41 AM >>>"Urs Stettler" wrote in message >>>news:090401c34b7f$926f8de0$a401280a at phx.gbl... >> >>> > According to the product description of the VS tools for >>> > Office, Access 2003 Developer Extensions are supposed to >>> > be part of it. >>> > >>> > Well, I purchased the Office 03 beta, purchased VS 03 just >>> > to be able to use Access depoloyment features. Having >>> > installed the VS tools, I can't find any packaging wizard >>> > or any link in Access 03 to start the packaging process. >>> > Am I missing something? >> >>>The Access Developer Extensions will be in the final retail product, which >>>has not shipped yet. The beta release of Visual Studio Tools for Office >>>just contains the Word and Excel managed code projects. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From andy at minstersystems.co.uk Tue Aug 5 14:17:48 2003 From: andy at minstersystems.co.uk (Andy Lacey) Date: Tue, 5 Aug 2003 20:17:48 +0100 Subject: [AccessD] Excuse me, I forgot In-Reply-To: <00EBD5B938DF364B8101F997CCDB2DA00793BB@server1.cresinsurance.com> Message-ID: <000501c35b86$42919bd0$b274d0d5@minster33c3r25> Sorry to see you go but if you must then go to http://www.databaseadvisors.com/lists/whatandhow.htm follow the link to the AccessD instructions and at the bottom is the unsubbing stuff. Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of TJ Galati > Sent: 05 August 2003 19:59 > To: Access Developers discussion and problem solving > Subject: [AccessD] Excuse me, I forgot > > > What is the unsubscribe procedure? > > By the way, thanx for all the help in the past. > > TJ > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/a> ccessd > Website: > http://www.databaseadvisors.com > > From Erwin.Craps at ithelps.be Tue Aug 5 14:21:11 2003 From: Erwin.Craps at ithelps.be (Erwin Craps) Date: Tue, 5 Aug 2003 21:21:11 +0200 Subject: [AccessD] mdb in dmz Message-ID: Did you check NTFS permissions it they are set to everyone R/W? on the whole dir, not only the file. Note that Jet needs to create a ldb file. Erwin -----Original Message----- From: Martin Reid [mailto:mwp.reid at qub.ac.uk] Sent: Tuesday, August 05, 2003 8:20 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] mdb in dmz Conn.Open "Provider=Microsoft.Jet.OLEDB.4.0;" & _ "Data Source=c:\somepath\myDb.mdb;" & _ "User Id=admin;" & _ "Password=" Try that Martin ----- Original Message ----- From: "Jim DeMarco" To: "Access Developers discussion and problem solving" Sent: Tuesday, August 05, 2003 11:02 AM Subject: RE: [AccessD] mdb in dmz > Looks like everything is going over port 80. The real drag is I can't > be sure it's even a hardware problem. We simplified the code to this (it's ASP/VBScript so no data types,etc.): > > > dim connectstring > dim cnn > dim dbpath > > dbpath = "D:\db\HshhpTips.mdb" > connectstring = "Provider=Microsoft.Jet.OLEDB.4.0; Data Source=" & > dbpath > > Set cnn = Server.CreateObject("ADODB.Connection") > 'cnn.open connectstring > > Response.Write "testing" > > > The code runs if we leave the cnn.open line commented out but when we > put it back we now get a page not found error. Works fine on our dev machine of course. I would think if it was a data access problem the code would bail on the CreateObject call. Server's running Win2K BTW. > > Jim DeMarco > > > > -----Original Message----- > From: Jim Dettman [mailto:jimdettman at earthlink.net] > Sent: Tuesday, August 05, 2003 12:52 PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] mdb in dmz > > > Jim, > > <> > > Check the Firewall's log. It will show the IP address of the web server, > whether it was TCP or UDP packet, and the port it was trying to use. > > Jim Dettman > President, > Online Computer Services of WNY, Inc. > (315) 699-3443 > jimdettman at earthlink.net > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim DeMarco > Sent: Tuesday, August 05, 2003 10:58 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] mdb in dmz > > > Thanks Frank (where'd you find that domain on your e-mail address??). > > I searched msdn and found this list of Port Assignments for Common Services > (http://www.microsoft.com/windows2000/techinfo/reskit/samplechapters/cnf c/cn > fc_por_simw.asp - watch for wrapping). None seems to be what I'm > looking (AFAICT anyway). Can anyone point me in the right direction? > > Thanks, > > Jim DeMarco > > -----Original Message----- > From: Frank Tanner III [mailto:pctech at mybellybutton.com] > Sent: Tuesday, August 05, 2003 10:45 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] mdb in dmz > > > I'm not sure what tcp/udp port(s) that Jet and OLEdb > use, but do you have those allowed to pass from the > DMZ to wherever it needs to go? i.e. the internal LAN > and the external Internet. > > Usually DMZs are configured to ONLY allow the ports necessary, such as > HTTP, HTTPS, POP3, SMTP, etc. > > --- Jim DeMarco wrote: > > List, > > > > We just went live with our web site > > (http://www.hshhp.org) but had to remove a feature > > that displays health tips. The tips are stored in > > an A97 mdb but we get an "unspecified error" when > > hitting the page. The db is on the web server box. > > The server is behind the firewall in the DMZ. Does > > anyone know if the DMZ is an issue when trying to > > hit an mdb? We're using the OleDB provider for Jet > > 4.0. I ran comcheck and we've got that version > > installed. IIS 5.0 as well. > > > > TIA, > > > > Jim DeMarco > > Director of Product Development > > HealthSource/Hudson Health Plan > > > > > > > ************************************************************************ **** > ******* > > "This electronic message is intended to be for the > > use only of the named recipient, and may contain information from > > Hudson Health Plan (HHP) that is confidential or privileged. If you > > are not the intended recipient, you are hereby notified that any > > disclosure, copying, distribution or use of the > > contents of this message is strictly prohibited. If > > you have received this message in error or are not > > the named recipient, please notify us immediately, > > either by contacting the sender at the electronic > > mail address noted above or calling HHP at (914) > > 631-1611. If you are not the intended recipient, > > please do not forward this email to anyone, and > > delete and destroy all copies of this message. > > Thank You". > > > ************************************************************************ **** > ******* > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > ************************************************************************ **** > ******* > "This electronic message is intended to be for the use only of the named > recipient, and may contain information from Hudson Health Plan (HHP) that is > confidential or privileged. If you are not the intended recipient, you are > hereby notified that any disclosure, copying, distribution or use of the > contents of this message is strictly prohibited. If you have received this > message in error or are not the named recipient, please notify us > immediately, either by contacting the sender at the electronic mail address > noted above or calling HHP at (914) 631-1611. If you are not the intended > recipient, please do not forward this email to anyone, and delete and > destroy all copies of this message. Thank You". > ************************************************************************ **** > ******* > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > ************************************************************************ **** ******* > "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". > ************************************************************************ **** ******* > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Jdemarco at hshhp.org Tue Aug 5 14:24:25 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Tue, 5 Aug 2003 15:24:25 -0400 Subject: [AccessD] mdb in dmz Message-ID: <22F1CCD5171D17419CB37FEEE09D5F990173F343@TTNEXCHSRV1.hshhp.com> No luck Martin. We've found a work around that we can live with while we research this though. If you look at the Insurance Programs link on our site (URL below) there are health tips in the right column. These were stored in the mdb I'm having trouble getting at. The workaround was to code them as HTML directly into the ASP page using the ASP page's "tip=" parameter to serve the corresponding tip. This is fine while we only have a few tips to post but will become a maintenance nightmare as the list grows. Thanks, Jim DeMarco -----Original Message----- From: Martin Reid [mailto:mwp.reid at qub.ac.uk] Sent: Tuesday, August 05, 2003 2:20 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] mdb in dmz Conn.Open "Provider=Microsoft.Jet.OLEDB.4.0;" & _ "Data Source=c:\somepath\myDb.mdb;" & _ "User Id=admin;" & _ "Password=" Try that Martin ----- Original Message ----- From: "Jim DeMarco" To: "Access Developers discussion and problem solving" Sent: Tuesday, August 05, 2003 11:02 AM Subject: RE: [AccessD] mdb in dmz > Looks like everything is going over port 80. The real drag is I can't be sure it's even a hardware problem. We simplified the code to this (it's ASP/VBScript so no data types,etc.): > > > dim connectstring > dim cnn > dim dbpath > > dbpath = "D:\db\HshhpTips.mdb" > connectstring = "Provider=Microsoft.Jet.OLEDB.4.0; Data Source=" & dbpath > > Set cnn = Server.CreateObject("ADODB.Connection") > 'cnn.open connectstring > > Response.Write "testing" > > > The code runs if we leave the cnn.open line commented out but when we put it back we now get a page not found error. Works fine on our dev machine of course. I would think if it was a data access problem the code would bail on the CreateObject call. Server's running Win2K BTW. > > Jim DeMarco > > > > -----Original Message----- > From: Jim Dettman [mailto:jimdettman at earthlink.net] > Sent: Tuesday, August 05, 2003 12:52 PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] mdb in dmz > > > Jim, > > <> > > Check the Firewall's log. It will show the IP address of the web server, > whether it was TCP or UDP packet, and the port it was trying to use. > > Jim Dettman > President, > Online Computer Services of WNY, Inc. > (315) 699-3443 > jimdettman at earthlink.net > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim DeMarco > Sent: Tuesday, August 05, 2003 10:58 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] mdb in dmz > > > Thanks Frank (where'd you find that domain on your e-mail address??). > > I searched msdn and found this list of Port Assignments for Common Services > (http://www.microsoft.com/windows2000/techinfo/reskit/samplechapters/cnfc/cn > fc_por_simw.asp - watch for wrapping). None seems to be what I'm looking > (AFAICT anyway). Can anyone point me in the right direction? > > Thanks, > > Jim DeMarco > > -----Original Message----- > From: Frank Tanner III [mailto:pctech at mybellybutton.com] > Sent: Tuesday, August 05, 2003 10:45 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] mdb in dmz > > > I'm not sure what tcp/udp port(s) that Jet and OLEdb > use, but do you have those allowed to pass from the > DMZ to wherever it needs to go? i.e. the internal LAN > and the external Internet. > > Usually DMZs are configured to ONLY allow the ports > necessary, such as HTTP, HTTPS, POP3, SMTP, etc. > > --- Jim DeMarco wrote: > > List, > > > > We just went live with our web site > > (http://www.hshhp.org) but had to remove a feature > > that displays health tips. The tips are stored in > > an A97 mdb but we get an "unspecified error" when > > hitting the page. The db is on the web server box. > > The server is behind the firewall in the DMZ. Does > > anyone know if the DMZ is an issue when trying to > > hit an mdb? We're using the OleDB provider for Jet > > 4.0. I ran comcheck and we've got that version > > installed. IIS 5.0 as well. > > > > TIA, > > > > Jim DeMarco > > Director of Product Development > > HealthSource/Hudson Health Plan > > > > > > > **************************************************************************** > ******* > > "This electronic message is intended to be for the > > use only of the named recipient, and may contain > > information from Hudson Health Plan (HHP) that is > > confidential or privileged. If you are not the > > intended recipient, you are hereby notified that any > > disclosure, copying, distribution or use of the > > contents of this message is strictly prohibited. If > > you have received this message in error or are not > > the named recipient, please notify us immediately, > > either by contacting the sender at the electronic > > mail address noted above or calling HHP at (914) > > 631-1611. If you are not the intended recipient, > > please do not forward this email to anyone, and > > delete and destroy all copies of this message. > > Thank You". > > > **************************************************************************** > ******* > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > **************************************************************************** > ******* > "This electronic message is intended to be for the use only of the named > recipient, and may contain information from Hudson Health Plan (HHP) that is > confidential or privileged. If you are not the intended recipient, you are > hereby notified that any disclosure, copying, distribution or use of the > contents of this message is strictly prohibited. If you have received this > message in error or are not the named recipient, please notify us > immediately, either by contacting the sender at the electronic mail address > noted above or calling HHP at (914) 631-1611. If you are not the intended > recipient, please do not forward this email to anyone, and delete and > destroy all copies of this message. Thank You". > **************************************************************************** > ******* > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > **************************************************************************** ******* > "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". > **************************************************************************** ******* > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "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 Jdemarco at hshhp.org Tue Aug 5 14:25:32 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Tue, 5 Aug 2003 15:25:32 -0400 Subject: [AccessD] mdb in dmz Message-ID: <22F1CCD5171D17419CB37FEEE09D5F990173F344@TTNEXCHSRV1.hshhp.com> Yes I did but I'm going to double check that anyway. Your referring to the folder the mdb is in as well as the file. Thanks, Jim DeMarco -----Original Message----- From: Erwin Craps [mailto:Erwin.Craps at ithelps.be] Sent: Tuesday, August 05, 2003 3:21 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] mdb in dmz Did you check NTFS permissions it they are set to everyone R/W? on the whole dir, not only the file. Note that Jet needs to create a ldb file. Erwin -----Original Message----- From: Martin Reid [mailto:mwp.reid at qub.ac.uk] Sent: Tuesday, August 05, 2003 8:20 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] mdb in dmz Conn.Open "Provider=Microsoft.Jet.OLEDB.4.0;" & _ "Data Source=c:\somepath\myDb.mdb;" & _ "User Id=admin;" & _ "Password=" Try that Martin ----- Original Message ----- From: "Jim DeMarco" To: "Access Developers discussion and problem solving" Sent: Tuesday, August 05, 2003 11:02 AM Subject: RE: [AccessD] mdb in dmz > Looks like everything is going over port 80. The real drag is I can't > be sure it's even a hardware problem. We simplified the code to this (it's ASP/VBScript so no data types,etc.): > > > dim connectstring > dim cnn > dim dbpath > > dbpath = "D:\db\HshhpTips.mdb" > connectstring = "Provider=Microsoft.Jet.OLEDB.4.0; Data Source=" & > dbpath > > Set cnn = Server.CreateObject("ADODB.Connection") > 'cnn.open connectstring > > Response.Write "testing" > > > The code runs if we leave the cnn.open line commented out but when we > put it back we now get a page not found error. Works fine on our dev machine of course. I would think if it was a data access problem the code would bail on the CreateObject call. Server's running Win2K BTW. > > Jim DeMarco > > > > -----Original Message----- > From: Jim Dettman [mailto:jimdettman at earthlink.net] > Sent: Tuesday, August 05, 2003 12:52 PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] mdb in dmz > > > Jim, > > <> > > Check the Firewall's log. It will show the IP address of the web server, > whether it was TCP or UDP packet, and the port it was trying to use. > > Jim Dettman > President, > Online Computer Services of WNY, Inc. > (315) 699-3443 > jimdettman at earthlink.net > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim DeMarco > Sent: Tuesday, August 05, 2003 10:58 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] mdb in dmz > > > Thanks Frank (where'd you find that domain on your e-mail address??). > > I searched msdn and found this list of Port Assignments for Common Services > (http://www.microsoft.com/windows2000/techinfo/reskit/samplechapters/cnf c/cn > fc_por_simw.asp - watch for wrapping). None seems to be what I'm > looking (AFAICT anyway). Can anyone point me in the right direction? > > Thanks, > > Jim DeMarco > > -----Original Message----- > From: Frank Tanner III [mailto:pctech at mybellybutton.com] > Sent: Tuesday, August 05, 2003 10:45 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] mdb in dmz > > > I'm not sure what tcp/udp port(s) that Jet and OLEdb > use, but do you have those allowed to pass from the > DMZ to wherever it needs to go? i.e. the internal LAN > and the external Internet. > > Usually DMZs are configured to ONLY allow the ports necessary, such as > HTTP, HTTPS, POP3, SMTP, etc. > > --- Jim DeMarco wrote: > > List, > > > > We just went live with our web site > > (http://www.hshhp.org) but had to remove a feature > > that displays health tips. The tips are stored in > > an A97 mdb but we get an "unspecified error" when > > hitting the page. The db is on the web server box. > > The server is behind the firewall in the DMZ. Does > > anyone know if the DMZ is an issue when trying to > > hit an mdb? We're using the OleDB provider for Jet > > 4.0. I ran comcheck and we've got that version > > installed. IIS 5.0 as well. > > > > TIA, > > > > Jim DeMarco > > Director of Product Development > > HealthSource/Hudson Health Plan > > > > > > > ************************************************************************ **** > ******* > > "This electronic message is intended to be for the > > use only of the named recipient, and may contain information from > > Hudson Health Plan (HHP) that is confidential or privileged. If you > > are not the intended recipient, you are hereby notified that any > > disclosure, copying, distribution or use of the > > contents of this message is strictly prohibited. If > > you have received this message in error or are not > > the named recipient, please notify us immediately, > > either by contacting the sender at the electronic > > mail address noted above or calling HHP at (914) > > 631-1611. If you are not the intended recipient, > > please do not forward this email to anyone, and > > delete and destroy all copies of this message. > > Thank You". > > > ************************************************************************ **** > ******* > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > ************************************************************************ **** > ******* > "This electronic message is intended to be for the use only of the named > recipient, and may contain information from Hudson Health Plan (HHP) that is > confidential or privileged. If you are not the intended recipient, you are > hereby notified that any disclosure, copying, distribution or use of the > contents of this message is strictly prohibited. If you have received this > message in error or are not the named recipient, please notify us > immediately, either by contacting the sender at the electronic mail address > noted above or calling HHP at (914) 631-1611. If you are not the intended > recipient, please do not forward this email to anyone, and delete and > destroy all copies of this message. Thank You". > ************************************************************************ **** > ******* > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > ************************************************************************ **** ******* > "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". > ************************************************************************ **** ******* > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From Erwin.Craps at ithelps.be Tue Aug 5 14:30:22 2003 From: Erwin.Craps at ithelps.be (Erwin Craps) Date: Tue, 5 Aug 2003 21:30:22 +0200 Subject: [AccessD] mdb in dmz Message-ID: I also once had the problem but I can remember if only with an ODBC config or ADO. I think it was ODBC. The prob is that access to the workgroup file (and dir due to ldb file) needs to be everyone R/W . -----Original Message----- From: Jim DeMarco [mailto:Jdemarco at hshhp.org] Sent: Tuesday, August 05, 2003 9:26 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] mdb in dmz Yes I did but I'm going to double check that anyway. Your referring to the folder the mdb is in as well as the file. Thanks, Jim DeMarco -----Original Message----- From: Erwin Craps [mailto:Erwin.Craps at ithelps.be] Sent: Tuesday, August 05, 2003 3:21 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] mdb in dmz Did you check NTFS permissions it they are set to everyone R/W? on the whole dir, not only the file. Note that Jet needs to create a ldb file. Erwin -----Original Message----- From: Martin Reid [mailto:mwp.reid at qub.ac.uk] Sent: Tuesday, August 05, 2003 8:20 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] mdb in dmz Conn.Open "Provider=Microsoft.Jet.OLEDB.4.0;" & _ "Data Source=c:\somepath\myDb.mdb;" & _ "User Id=admin;" & _ "Password=" Try that Martin ----- Original Message ----- From: "Jim DeMarco" To: "Access Developers discussion and problem solving" Sent: Tuesday, August 05, 2003 11:02 AM Subject: RE: [AccessD] mdb in dmz > Looks like everything is going over port 80. The real drag is I can't > be sure it's even a hardware problem. We simplified the code to this (it's ASP/VBScript so no data types,etc.): > > > dim connectstring > dim cnn > dim dbpath > > dbpath = "D:\db\HshhpTips.mdb" > connectstring = "Provider=Microsoft.Jet.OLEDB.4.0; Data Source=" & > > dbpath > > Set cnn = Server.CreateObject("ADODB.Connection") > 'cnn.open connectstring > > Response.Write "testing" > > > The code runs if we leave the cnn.open line commented out but when we > put it back we now get a page not found error. Works fine on our dev machine of course. I would think if it was a data access problem the code would bail on the CreateObject call. Server's running Win2K BTW. > > Jim DeMarco > > > > -----Original Message----- > From: Jim Dettman [mailto:jimdettman at earthlink.net] > Sent: Tuesday, August 05, 2003 12:52 PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] mdb in dmz > > > Jim, > > <> > > Check the Firewall's log. It will show the IP address of the web server, > whether it was TCP or UDP packet, and the port it was trying to use. > > Jim Dettman > President, > Online Computer Services of WNY, Inc. > (315) 699-3443 > jimdettman at earthlink.net > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim DeMarco > Sent: Tuesday, August 05, 2003 10:58 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] mdb in dmz > > > Thanks Frank (where'd you find that domain on your e-mail address??). > > I searched msdn and found this list of Port Assignments for Common Services > (http://www.microsoft.com/windows2000/techinfo/reskit/samplechapters/cnf c/cn > fc_por_simw.asp - watch for wrapping). None seems to be what I'm > looking (AFAICT anyway). Can anyone point me in the right direction? > > Thanks, > > Jim DeMarco > > -----Original Message----- > From: Frank Tanner III [mailto:pctech at mybellybutton.com] > Sent: Tuesday, August 05, 2003 10:45 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] mdb in dmz > > > I'm not sure what tcp/udp port(s) that Jet and OLEdb > use, but do you have those allowed to pass from the > DMZ to wherever it needs to go? i.e. the internal LAN > and the external Internet. > > Usually DMZs are configured to ONLY allow the ports necessary, such as > HTTP, HTTPS, POP3, SMTP, etc. > > --- Jim DeMarco wrote: > > List, > > > > We just went live with our web site > > (http://www.hshhp.org) but had to remove a feature > > that displays health tips. The tips are stored in > > an A97 mdb but we get an "unspecified error" when > > hitting the page. The db is on the web server box. > > The server is behind the firewall in the DMZ. Does > > anyone know if the DMZ is an issue when trying to > > hit an mdb? We're using the OleDB provider for Jet > > 4.0. I ran comcheck and we've got that version > > installed. IIS 5.0 as well. > > > > TIA, > > > > Jim DeMarco > > Director of Product Development > > HealthSource/Hudson Health Plan > > > > > > > ************************************************************************ **** > ******* > > "This electronic message is intended to be for the > > use only of the named recipient, and may contain information from > > Hudson Health Plan (HHP) that is confidential or privileged. If you > > are not the intended recipient, you are hereby notified that any > > disclosure, copying, distribution or use of the contents of this > > message is strictly prohibited. If you have received this message > > in error or are not the named recipient, please notify us > > immediately, either by contacting the sender at the electronic > > mail address noted above or calling HHP at (914) > > 631-1611. If you are not the intended recipient, > > please do not forward this email to anyone, and > > delete and destroy all copies of this message. > > Thank You". > > > ************************************************************************ **** > ******* > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > ************************************************************************ **** > ******* > "This electronic message is intended to be for the use only of the named > recipient, and may contain information from Hudson Health Plan (HHP) that is > confidential or privileged. If you are not the intended recipient, you are > hereby notified that any disclosure, copying, distribution or use of the > contents of this message is strictly prohibited. If you have received this > message in error or are not the named recipient, please notify us > immediately, either by contacting the sender at the electronic mail address > noted above or calling HHP at (914) 631-1611. If you are not the intended > recipient, please do not forward this email to anyone, and delete and > destroy all copies of this message. Thank You". > ************************************************************************ **** > ******* > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > ************************************************************************ **** ******* > "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". > ************************************************************************ **** ******* > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ************************************************************************ *********** "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 mwp.reid at qub.ac.uk Tue Aug 5 14:36:39 2003 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Tue, 5 Aug 2003 12:36:39 -0700 Subject: [AccessD] mdb in dmz References: <22F1CCD5171D17419CB37FEEE09D5F990173F344@TTNEXCHSRV1.hshhp.com> Message-ID: <001501c35b88$e47d1b70$0f0b6351@martin1> Jim Can I see the whole code where your opening the recordset as well.Apologies if you have already posted this. Martin ----- Original Message ----- From: "Jim DeMarco" To: "Access Developers discussion and problem solving" Sent: Tuesday, August 05, 2003 12:25 PM Subject: RE: [AccessD] mdb in dmz > Yes I did but I'm going to double check that anyway. Your referring to the folder the mdb is in as well as the file. > > Thanks, > > Jim DeMarco > > > > -----Original Message----- > From: Erwin Craps [mailto:Erwin.Craps at ithelps.be] > Sent: Tuesday, August 05, 2003 3:21 PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] mdb in dmz > > > Did you check NTFS permissions it they are set to everyone R/W? on the > whole dir, not only the file. > Note that Jet needs to create a ldb file. > > > Erwin > > > > -----Original Message----- > From: Martin Reid [mailto:mwp.reid at qub.ac.uk] > Sent: Tuesday, August 05, 2003 8:20 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] mdb in dmz > > > Conn.Open "Provider=Microsoft.Jet.OLEDB.4.0;" & _ > "Data Source=c:\somepath\myDb.mdb;" & _ > "User Id=admin;" & _ > "Password=" > Try that > > Martin > > > ----- Original Message ----- > From: "Jim DeMarco" > To: "Access Developers discussion and problem solving" > > Sent: Tuesday, August 05, 2003 11:02 AM > Subject: RE: [AccessD] mdb in dmz > > > > Looks like everything is going over port 80. The real drag is I can't > > > be > sure it's even a hardware problem. We simplified the code to this (it's > ASP/VBScript so no data types,etc.): > > > > > > dim connectstring > > dim cnn > > dim dbpath > > > > dbpath = "D:\db\HshhpTips.mdb" > > connectstring = "Provider=Microsoft.Jet.OLEDB.4.0; Data Source=" & > dbpath > > > > Set cnn = Server.CreateObject("ADODB.Connection") > > 'cnn.open connectstring > > > > Response.Write "testing" > > > > > > The code runs if we leave the cnn.open line commented out but when we > > put > it back we now get a page not found error. Works fine on our dev > machine of course. I would think if it was a data access problem the > code would bail on the CreateObject call. Server's running Win2K BTW. > > > > Jim DeMarco > > > > > > > > -----Original Message----- > > From: Jim Dettman [mailto:jimdettman at earthlink.net] > > Sent: Tuesday, August 05, 2003 12:52 PM > > To: Access Developers discussion and problem solving > > Subject: RE: [AccessD] mdb in dmz > > > > > > Jim, > > > > <> > > > > Check the Firewall's log. It will show the IP address of the web > server, > > whether it was TCP or UDP packet, and the port it was trying to use. > > > > Jim Dettman > > President, > > Online Computer Services of WNY, Inc. > > (315) 699-3443 > > jimdettman at earthlink.net > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim DeMarco > > Sent: Tuesday, August 05, 2003 10:58 AM > > To: Access Developers discussion and problem solving > > Subject: RE: [AccessD] mdb in dmz > > > > > > Thanks Frank (where'd you find that domain on your e-mail address??). > > > > I searched msdn and found this list of Port Assignments for Common > Services > > > (http://www.microsoft.com/windows2000/techinfo/reskit/samplechapters/cnf > c/cn > > fc_por_simw.asp - watch for wrapping). None seems to be what I'm > > looking (AFAICT anyway). Can anyone point me in the right direction? > > > > Thanks, > > > > Jim DeMarco > > > > -----Original Message----- > > From: Frank Tanner III [mailto:pctech at mybellybutton.com] > > Sent: Tuesday, August 05, 2003 10:45 AM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] mdb in dmz > > > > > > I'm not sure what tcp/udp port(s) that Jet and OLEdb > > use, but do you have those allowed to pass from the > > DMZ to wherever it needs to go? i.e. the internal LAN > > and the external Internet. > > > > Usually DMZs are configured to ONLY allow the ports necessary, such as > > > HTTP, HTTPS, POP3, SMTP, etc. > > > > --- Jim DeMarco wrote: > > > List, > > > > > > We just went live with our web site > > > (http://www.hshhp.org) but had to remove a feature > > > that displays health tips. The tips are stored in > > > an A97 mdb but we get an "unspecified error" when > > > hitting the page. The db is on the web server box. > > > The server is behind the firewall in the DMZ. Does > > > anyone know if the DMZ is an issue when trying to > > > hit an mdb? We're using the OleDB provider for Jet > > > 4.0. I ran comcheck and we've got that version > > > installed. IIS 5.0 as well. > > > > > > TIA, > > > > > > Jim DeMarco > > > Director of Product Development > > > HealthSource/Hudson Health Plan > > > > > > > > > > > > ************************************************************************ > **** > > ******* > > > "This electronic message is intended to be for the > > > use only of the named recipient, and may contain information from > > > Hudson Health Plan (HHP) that is confidential or privileged. If you > > > > are not the intended recipient, you are hereby notified that any > > > disclosure, copying, distribution or use of the > > > contents of this message is strictly prohibited. If > > > you have received this message in error or are not > > > the named recipient, please notify us immediately, > > > either by contacting the sender at the electronic > > > mail address noted above or calling HHP at (914) > > > 631-1611. If you are not the intended recipient, > > > please do not forward this email to anyone, and > > > delete and destroy all copies of this message. > > > Thank You". > > > > > > ************************************************************************ > **** > > ******* > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > > ************************************************************************ > **** > > ******* > > "This electronic message is intended to be for the use only of the > named > > recipient, and may contain information from Hudson Health Plan (HHP) > that > is > > confidential or privileged. If you are not the intended recipient, > you > are > > hereby notified that any disclosure, copying, distribution or use of > the > > contents of this message is strictly prohibited. If you have received > this > > message in error or are not the named recipient, please notify us > > immediately, either by contacting the sender at the electronic mail > address > > noted above or calling HHP at (914) 631-1611. If you are not the > intended > > recipient, please do not forward this email to anyone, and delete and > > destroy all copies of this message. Thank You". > > > ************************************************************************ > **** > > ******* > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > > ************************************************************************ > **** > ******* > > "This electronic message is intended to be for the use only of the > named > recipient, and may contain information from Hudson Health Plan (HHP) > that is > confidential or privileged. If you are not the intended recipient, you > are > hereby notified that any disclosure, copying, distribution or use of the > contents of this message is strictly prohibited. If you have received > this > message in error or are not the named recipient, please notify us > immediately, either by contacting the sender at the electronic mail > address > noted above or calling HHP at (914) 631-1611. If you are not the > intended > recipient, please do not forward this email to anyone, and delete and > destroy all copies of this message. Thank You". > > > ************************************************************************ > **** > ******* > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > **************************************************************************** ******* > "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 mwp.reid at qub.ac.uk Tue Aug 5 14:39:36 2003 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Tue, 5 Aug 2003 12:39:36 -0700 Subject: [AccessD] mdb in dmz References: Message-ID: <001d01c35b89$4e1c23a0$0f0b6351@martin1> Conn.Open "Provider=Microsoft.Jet.OLEDB.4.0;" & _ "Data Source=c:\path\db.mdb;" & _ "Jet OLEDB:System Database=System.mdw", _ "Username", "Password" If u have a workgroup Is it a Jet 4 DB as well Martin ----- Original Message ----- From: "Erwin Craps" To: "Access Developers discussion and problem solving" Sent: Tuesday, August 05, 2003 12:30 PM Subject: RE: [AccessD] mdb in dmz > I also once had the problem but I can remember if only with an ODBC > config or ADO. > I think it was ODBC. The prob is that access to the workgroup file (and > dir due to ldb file) needs to be everyone R/W . > > > -----Original Message----- > From: Jim DeMarco [mailto:Jdemarco at hshhp.org] > Sent: Tuesday, August 05, 2003 9:26 PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] mdb in dmz > > > Yes I did but I'm going to double check that anyway. Your referring to > the folder the mdb is in as well as the file. > > Thanks, > > Jim DeMarco > > > > -----Original Message----- > From: Erwin Craps [mailto:Erwin.Craps at ithelps.be] > Sent: Tuesday, August 05, 2003 3:21 PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] mdb in dmz > > > Did you check NTFS permissions it they are set to everyone R/W? on the > whole dir, not only the file. Note that Jet needs to create a ldb file. > > > Erwin > > > > -----Original Message----- > From: Martin Reid [mailto:mwp.reid at qub.ac.uk] > Sent: Tuesday, August 05, 2003 8:20 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] mdb in dmz > > > Conn.Open "Provider=Microsoft.Jet.OLEDB.4.0;" & _ > "Data Source=c:\somepath\myDb.mdb;" & _ > "User Id=admin;" & _ > "Password=" > Try that > > Martin > > > ----- Original Message ----- > From: "Jim DeMarco" > To: "Access Developers discussion and problem solving" > > Sent: Tuesday, August 05, 2003 11:02 AM > Subject: RE: [AccessD] mdb in dmz > > > > Looks like everything is going over port 80. The real drag is I can't > > > be > sure it's even a hardware problem. We simplified the code to this (it's > ASP/VBScript so no data types,etc.): > > > > > > dim connectstring > > dim cnn > > dim dbpath > > > > dbpath = "D:\db\HshhpTips.mdb" > > connectstring = "Provider=Microsoft.Jet.OLEDB.4.0; Data Source=" & > > > dbpath > > > > Set cnn = Server.CreateObject("ADODB.Connection") > > 'cnn.open connectstring > > > > Response.Write "testing" > > > > > > The code runs if we leave the cnn.open line commented out but when we > > put > it back we now get a page not found error. Works fine on our dev > machine of course. I would think if it was a data access problem the > code would bail on the CreateObject call. Server's running Win2K BTW. > > > > Jim DeMarco > > > > > > > > -----Original Message----- > > From: Jim Dettman [mailto:jimdettman at earthlink.net] > > Sent: Tuesday, August 05, 2003 12:52 PM > > To: Access Developers discussion and problem solving > > Subject: RE: [AccessD] mdb in dmz > > > > > > Jim, > > > > <> > > > > Check the Firewall's log. It will show the IP address of the web > server, > > whether it was TCP or UDP packet, and the port it was trying to use. > > > > Jim Dettman > > President, > > Online Computer Services of WNY, Inc. > > (315) 699-3443 > > jimdettman at earthlink.net > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim DeMarco > > Sent: Tuesday, August 05, 2003 10:58 AM > > To: Access Developers discussion and problem solving > > Subject: RE: [AccessD] mdb in dmz > > > > > > Thanks Frank (where'd you find that domain on your e-mail address??). > > > > I searched msdn and found this list of Port Assignments for Common > Services > > > (http://www.microsoft.com/windows2000/techinfo/reskit/samplechapters/cnf > c/cn > > fc_por_simw.asp - watch for wrapping). None seems to be what I'm > > looking (AFAICT anyway). Can anyone point me in the right direction? > > > > Thanks, > > > > Jim DeMarco > > > > -----Original Message----- > > From: Frank Tanner III [mailto:pctech at mybellybutton.com] > > Sent: Tuesday, August 05, 2003 10:45 AM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] mdb in dmz > > > > > > I'm not sure what tcp/udp port(s) that Jet and OLEdb > > use, but do you have those allowed to pass from the > > DMZ to wherever it needs to go? i.e. the internal LAN > > and the external Internet. > > > > Usually DMZs are configured to ONLY allow the ports necessary, such as > > > HTTP, HTTPS, POP3, SMTP, etc. > > > > --- Jim DeMarco wrote: > > > List, > > > > > > We just went live with our web site > > > (http://www.hshhp.org) but had to remove a feature > > > that displays health tips. The tips are stored in > > > an A97 mdb but we get an "unspecified error" when > > > hitting the page. The db is on the web server box. > > > The server is behind the firewall in the DMZ. Does > > > anyone know if the DMZ is an issue when trying to > > > hit an mdb? We're using the OleDB provider for Jet > > > 4.0. I ran comcheck and we've got that version > > > installed. IIS 5.0 as well. > > > > > > TIA, > > > > > > Jim DeMarco > > > Director of Product Development > > > HealthSource/Hudson Health Plan > > > > > > > > > > > > ************************************************************************ > **** > > ******* > > > "This electronic message is intended to be for the > > > use only of the named recipient, and may contain information from > > > Hudson Health Plan (HHP) that is confidential or privileged. If you > > > > are not the intended recipient, you are hereby notified that any > > > disclosure, copying, distribution or use of the contents of this > > > message is strictly prohibited. If you have received this message > > > in error or are not the named recipient, please notify us > > > immediately, either by contacting the sender at the electronic > > > mail address noted above or calling HHP at (914) > > > 631-1611. If you are not the intended recipient, > > > please do not forward this email to anyone, and > > > delete and destroy all copies of this message. > > > Thank You". > > > > > > ************************************************************************ > **** > > ******* > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > > ************************************************************************ > **** > > ******* > > "This electronic message is intended to be for the use only of the > named > > recipient, and may contain information from Hudson Health Plan (HHP) > that > is > > confidential or privileged. If you are not the intended recipient, > you > are > > hereby notified that any disclosure, copying, distribution or use of > the > > contents of this message is strictly prohibited. If you have received > this > > message in error or are not the named recipient, please notify us > > immediately, either by contacting the sender at the electronic mail > address > > noted above or calling HHP at (914) 631-1611. If you are not the > intended > > recipient, please do not forward this email to anyone, and delete and > > destroy all copies of this message. Thank You". > > > ************************************************************************ > **** > > ******* > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > > ************************************************************************ > **** > ******* > > "This electronic message is intended to be for the use only of the > named > recipient, and may contain information from Hudson Health Plan (HHP) > that is confidential or privileged. If you are not the intended > recipient, you are hereby notified that any disclosure, copying, > distribution or use of the contents of this message is strictly > prohibited. If you have received this message in error or are not the > named recipient, please notify us immediately, either by contacting the > sender at the electronic mail address noted above or calling HHP at > (914) 631-1611. If you are not the intended recipient, please do not > forward this email to anyone, and delete and destroy all copies of this > message. Thank You". > > > ************************************************************************ > **** > ******* > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > ************************************************************************ > *********** > "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 Tgalati at cresinsurance.com Tue Aug 5 14:39:04 2003 From: Tgalati at cresinsurance.com (TJ Galati) Date: Tue, 5 Aug 2003 12:39:04 -0700 Subject: [AccessD] Excuse me, I forgot Message-ID: <00EBD5B938DF364B8101F997CCDB2DA00793BD@server1.cresinsurance.com> Yep, we are upgrading to SQL with a VB front end. Thanx though Happy Computing... -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: Tuesday, August 05, 2003 12:08 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Excuse me, I forgot Hi TJ So "Happy computing" is leaving? For vacation or for good? /gustav > What is the unsubscribe procedure? > By the way, thanx for all the help in the past. > TJ _______________________________________________ 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 Tue Aug 5 14:46:17 2003 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Tue, 5 Aug 2003 12:46:17 -0700 Subject: [AccessD] Excuse me, I forgot References: <00EBD5B938DF364B8101F997CCDB2DA00793BD@server1.cresinsurance.com> Message-ID: <004801c35b8a$3d37afe0$0f0b6351@martin1> We also have a great SQL Server list. Martin ----- Original Message ----- From: "TJ Galati" To: "Access Developers discussion and problem solving" Sent: Tuesday, August 05, 2003 12:39 PM Subject: RE: [AccessD] Excuse me, I forgot > Yep, we are upgrading to SQL with a VB front end. > > Thanx though > > Happy Computing... > > -----Original Message----- > From: Gustav Brock [mailto:gustav at cactus.dk] > Sent: Tuesday, August 05, 2003 12:08 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Excuse me, I forgot > > > Hi TJ > > So "Happy computing" is leaving? > For vacation or for good? > > /gustav > > > > What is the unsubscribe procedure? > > > By the way, thanx for all the help in the past. > > > TJ > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From Jdemarco at hshhp.org Tue Aug 5 14:49:25 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Tue, 5 Aug 2003 15:49:25 -0400 Subject: [AccessD] mdb in dmz Message-ID: <22F1CCD5171D17419CB37FEEE09D5F990173F345@TTNEXCHSRV1.hshhp.com> Martin, Do you want more than the code I posted below? It's just test code but it's based on the live code. I'm not even getting to the point of pulling a recordset. When I try to open the connection I get a page not found error. We're going to put a sniffer on the server and one client machine to see if it could be hardware related but it's anybody's guess at this point. If you still want the live code I'll be glad to post it though. Thanks, Jim DeMarco -----Original Message----- From: Martin Reid [mailto:mwp.reid at qub.ac.uk] Sent: Tuesday, August 05, 2003 3:37 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] mdb in dmz Jim Can I see the whole code where your opening the recordset as well.Apologies if you have already posted this. Martin ----- Original Message ----- From: "Jim DeMarco" To: "Access Developers discussion and problem solving" Sent: Tuesday, August 05, 2003 12:25 PM Subject: RE: [AccessD] mdb in dmz > Yes I did but I'm going to double check that anyway. Your referring to the folder the mdb is in as well as the file. > > Thanks, > > Jim DeMarco > > > > -----Original Message----- > From: Erwin Craps [mailto:Erwin.Craps at ithelps.be] > Sent: Tuesday, August 05, 2003 3:21 PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] mdb in dmz > > > Did you check NTFS permissions it they are set to everyone R/W? on the > whole dir, not only the file. > Note that Jet needs to create a ldb file. > > > Erwin > > > > -----Original Message----- > From: Martin Reid [mailto:mwp.reid at qub.ac.uk] > Sent: Tuesday, August 05, 2003 8:20 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] mdb in dmz > > > Conn.Open "Provider=Microsoft.Jet.OLEDB.4.0;" & _ > "Data Source=c:\somepath\myDb.mdb;" & _ > "User Id=admin;" & _ > "Password=" > Try that > > Martin > > > ----- Original Message ----- > From: "Jim DeMarco" > To: "Access Developers discussion and problem solving" > > Sent: Tuesday, August 05, 2003 11:02 AM > Subject: RE: [AccessD] mdb in dmz > > > > Looks like everything is going over port 80. The real drag is I can't > > > be > sure it's even a hardware problem. We simplified the code to this (it's > ASP/VBScript so no data types,etc.): > > > > > > dim connectstring > > dim cnn > > dim dbpath > > > > dbpath = "D:\db\HshhpTips.mdb" > > connectstring = "Provider=Microsoft.Jet.OLEDB.4.0; Data Source=" & > dbpath > > > > Set cnn = Server.CreateObject("ADODB.Connection") > > 'cnn.open connectstring > > > > Response.Write "testing" > > > > > > The code runs if we leave the cnn.open line commented out but when we > > put > it back we now get a page not found error. Works fine on our dev > machine of course. I would think if it was a data access problem the > code would bail on the CreateObject call. Server's running Win2K BTW. > > > > Jim DeMarco > > > > > > > > -----Original Message----- > > From: Jim Dettman [mailto:jimdettman at earthlink.net] > > Sent: Tuesday, August 05, 2003 12:52 PM > > To: Access Developers discussion and problem solving > > Subject: RE: [AccessD] mdb in dmz > > > > > > Jim, > > > > <> > > > > Check the Firewall's log. It will show the IP address of the web > server, > > whether it was TCP or UDP packet, and the port it was trying to use. > > > > Jim Dettman > > President, > > Online Computer Services of WNY, Inc. > > (315) 699-3443 > > jimdettman at earthlink.net > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim DeMarco > > Sent: Tuesday, August 05, 2003 10:58 AM > > To: Access Developers discussion and problem solving > > Subject: RE: [AccessD] mdb in dmz > > > > > > Thanks Frank (where'd you find that domain on your e-mail address??). > > > > I searched msdn and found this list of Port Assignments for Common > Services > > > (http://www.microsoft.com/windows2000/techinfo/reskit/samplechapters/cnf > c/cn > > fc_por_simw.asp - watch for wrapping). None seems to be what I'm > > looking (AFAICT anyway). Can anyone point me in the right direction? > > > > Thanks, > > > > Jim DeMarco > > > > -----Original Message----- > > From: Frank Tanner III [mailto:pctech at mybellybutton.com] > > Sent: Tuesday, August 05, 2003 10:45 AM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] mdb in dmz > > > > > > I'm not sure what tcp/udp port(s) that Jet and OLEdb > > use, but do you have those allowed to pass from the > > DMZ to wherever it needs to go? i.e. the internal LAN > > and the external Internet. > > > > Usually DMZs are configured to ONLY allow the ports necessary, such as > > > HTTP, HTTPS, POP3, SMTP, etc. > > > > --- Jim DeMarco wrote: > > > List, > > > > > > We just went live with our web site > > > (http://www.hshhp.org) but had to remove a feature > > > that displays health tips. The tips are stored in > > > an A97 mdb but we get an "unspecified error" when > > > hitting the page. The db is on the web server box. > > > The server is behind the firewall in the DMZ. Does > > > anyone know if the DMZ is an issue when trying to > > > hit an mdb? We're using the OleDB provider for Jet > > > 4.0. I ran comcheck and we've got that version > > > installed. IIS 5.0 as well. > > > > > > TIA, > > > > > > Jim DeMarco > > > Director of Product Development > > > HealthSource/Hudson Health Plan > > > > > > > > > > > > ************************************************************************ > **** > > ******* > > > "This electronic message is intended to be for the > > > use only of the named recipient, and may contain information from > > > Hudson Health Plan (HHP) that is confidential or privileged. If you > > > > are not the intended recipient, you are hereby notified that any > > > disclosure, copying, distribution or use of the > > > contents of this message is strictly prohibited. If > > > you have received this message in error or are not > > > the named recipient, please notify us immediately, > > > either by contacting the sender at the electronic > > > mail address noted above or calling HHP at (914) > > > 631-1611. If you are not the intended recipient, > > > please do not forward this email to anyone, and > > > delete and destroy all copies of this message. > > > Thank You". > > > > > > ************************************************************************ > **** > > ******* > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > > ************************************************************************ > **** > > ******* > > "This electronic message is intended to be for the use only of the > named > > recipient, and may contain information from Hudson Health Plan (HHP) > that > is > > confidential or privileged. If you are not the intended recipient, > you > are > > hereby notified that any disclosure, copying, distribution or use of > the > > contents of this message is strictly prohibited. If you have received > this > > message in error or are not the named recipient, please notify us > > immediately, either by contacting the sender at the electronic mail > address > > noted above or calling HHP at (914) 631-1611. If you are not the > intended > > recipient, please do not forward this email to anyone, and delete and > > destroy all copies of this message. Thank You". > > > ************************************************************************ > **** > > ******* > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > > ************************************************************************ > **** > ******* > > "This electronic message is intended to be for the use only of the > named > recipient, and may contain information from Hudson Health Plan (HHP) > that is > confidential or privileged. If you are not the intended recipient, you > are > hereby notified that any disclosure, copying, distribution or use of the > contents of this message is strictly prohibited. If you have received > this > message in error or are not the named recipient, please notify us > immediately, either by contacting the sender at the electronic mail > address > noted above or calling HHP at (914) 631-1611. If you are not the > intended > recipient, please do not forward this email to anyone, and delete and > destroy all copies of this message. Thank You". > > > ************************************************************************ > **** > ******* > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > **************************************************************************** ******* > "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 Jdemarco at hshhp.org Tue Aug 5 14:50:36 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Tue, 5 Aug 2003 15:50:36 -0400 Subject: [AccessD] mdb in dmz Message-ID: <22F1CCD5171D17419CB37FEEE09D5F990173F346@TTNEXCHSRV1.hshhp.com> No workgroup. Jet 4 provider worked in dev so I guess the answer is yes (even though it's an A97 mdb). I've used this provider all along with A97. Thanks, Jim DeMarco -----Original Message----- From: Martin Reid [mailto:mwp.reid at qub.ac.uk] Sent: Tuesday, August 05, 2003 3:40 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] mdb in dmz Conn.Open "Provider=Microsoft.Jet.OLEDB.4.0;" & _ "Data Source=c:\path\db.mdb;" & _ "Jet OLEDB:System Database=System.mdw", _ "Username", "Password" If u have a workgroup Is it a Jet 4 DB as well Martin ----- Original Message ----- From: "Erwin Craps" To: "Access Developers discussion and problem solving" Sent: Tuesday, August 05, 2003 12:30 PM Subject: RE: [AccessD] mdb in dmz > I also once had the problem but I can remember if only with an ODBC > config or ADO. > I think it was ODBC. The prob is that access to the workgroup file (and > dir due to ldb file) needs to be everyone R/W . > > > -----Original Message----- > From: Jim DeMarco [mailto:Jdemarco at hshhp.org] > Sent: Tuesday, August 05, 2003 9:26 PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] mdb in dmz > > > Yes I did but I'm going to double check that anyway. Your referring to > the folder the mdb is in as well as the file. > > Thanks, > > Jim DeMarco > > > > -----Original Message----- > From: Erwin Craps [mailto:Erwin.Craps at ithelps.be] > Sent: Tuesday, August 05, 2003 3:21 PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] mdb in dmz > > > Did you check NTFS permissions it they are set to everyone R/W? on the > whole dir, not only the file. Note that Jet needs to create a ldb file. > > > Erwin > > > > -----Original Message----- > From: Martin Reid [mailto:mwp.reid at qub.ac.uk] > Sent: Tuesday, August 05, 2003 8:20 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] mdb in dmz > > > Conn.Open "Provider=Microsoft.Jet.OLEDB.4.0;" & _ > "Data Source=c:\somepath\myDb.mdb;" & _ > "User Id=admin;" & _ > "Password=" > Try that > > Martin > > > ----- Original Message ----- > From: "Jim DeMarco" > To: "Access Developers discussion and problem solving" > > Sent: Tuesday, August 05, 2003 11:02 AM > Subject: RE: [AccessD] mdb in dmz > > > > Looks like everything is going over port 80. The real drag is I can't > > > be > sure it's even a hardware problem. We simplified the code to this (it's > ASP/VBScript so no data types,etc.): > > > > > > dim connectstring > > dim cnn > > dim dbpath > > > > dbpath = "D:\db\HshhpTips.mdb" > > connectstring = "Provider=Microsoft.Jet.OLEDB.4.0; Data Source=" & > > > dbpath > > > > Set cnn = Server.CreateObject("ADODB.Connection") > > 'cnn.open connectstring > > > > Response.Write "testing" > > > > > > The code runs if we leave the cnn.open line commented out but when we > > put > it back we now get a page not found error. Works fine on our dev > machine of course. I would think if it was a data access problem the > code would bail on the CreateObject call. Server's running Win2K BTW. > > > > Jim DeMarco > > > > > > > > -----Original Message----- > > From: Jim Dettman [mailto:jimdettman at earthlink.net] > > Sent: Tuesday, August 05, 2003 12:52 PM > > To: Access Developers discussion and problem solving > > Subject: RE: [AccessD] mdb in dmz > > > > > > Jim, > > > > <> > > > > Check the Firewall's log. It will show the IP address of the web > server, > > whether it was TCP or UDP packet, and the port it was trying to use. > > > > Jim Dettman > > President, > > Online Computer Services of WNY, Inc. > > (315) 699-3443 > > jimdettman at earthlink.net > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim DeMarco > > Sent: Tuesday, August 05, 2003 10:58 AM > > To: Access Developers discussion and problem solving > > Subject: RE: [AccessD] mdb in dmz > > > > > > Thanks Frank (where'd you find that domain on your e-mail address??). > > > > I searched msdn and found this list of Port Assignments for Common > Services > > > (http://www.microsoft.com/windows2000/techinfo/reskit/samplechapters/cnf > c/cn > > fc_por_simw.asp - watch for wrapping). None seems to be what I'm > > looking (AFAICT anyway). Can anyone point me in the right direction? > > > > Thanks, > > > > Jim DeMarco > > > > -----Original Message----- > > From: Frank Tanner III [mailto:pctech at mybellybutton.com] > > Sent: Tuesday, August 05, 2003 10:45 AM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] mdb in dmz > > > > > > I'm not sure what tcp/udp port(s) that Jet and OLEdb > > use, but do you have those allowed to pass from the > > DMZ to wherever it needs to go? i.e. the internal LAN > > and the external Internet. > > > > Usually DMZs are configured to ONLY allow the ports necessary, such as > > > HTTP, HTTPS, POP3, SMTP, etc. > > > > --- Jim DeMarco wrote: > > > List, > > > > > > We just went live with our web site > > > (http://www.hshhp.org) but had to remove a feature > > > that displays health tips. The tips are stored in > > > an A97 mdb but we get an "unspecified error" when > > > hitting the page. The db is on the web server box. > > > The server is behind the firewall in the DMZ. Does > > > anyone know if the DMZ is an issue when trying to > > > hit an mdb? We're using the OleDB provider for Jet > > > 4.0. I ran comcheck and we've got that version > > > installed. IIS 5.0 as well. > > > > > > TIA, > > > > > > Jim DeMarco > > > Director of Product Development > > > HealthSource/Hudson Health Plan > > > > > > > > > > > > ************************************************************************ > **** > > ******* > > > "This electronic message is intended to be for the > > > use only of the named recipient, and may contain information from > > > Hudson Health Plan (HHP) that is confidential or privileged. If you > > > > are not the intended recipient, you are hereby notified that any > > > disclosure, copying, distribution or use of the contents of this > > > message is strictly prohibited. If you have received this message > > > in error or are not the named recipient, please notify us > > > immediately, either by contacting the sender at the electronic > > > mail address noted above or calling HHP at (914) > > > 631-1611. If you are not the intended recipient, > > > please do not forward this email to anyone, and > > > delete and destroy all copies of this message. > > > Thank You". > > > > > > ************************************************************************ > **** > > ******* > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > > ************************************************************************ > **** > > ******* > > "This electronic message is intended to be for the use only of the > named > > recipient, and may contain information from Hudson Health Plan (HHP) > that > is > > confidential or privileged. If you are not the intended recipient, > you > are > > hereby notified that any disclosure, copying, distribution or use of > the > > contents of this message is strictly prohibited. If you have received > this > > message in error or are not the named recipient, please notify us > > immediately, either by contacting the sender at the electronic mail > address > > noted above or calling HHP at (914) 631-1611. If you are not the > intended > > recipient, please do not forward this email to anyone, and delete and > > destroy all copies of this message. Thank You". > > > ************************************************************************ > **** > > ******* > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > > ************************************************************************ > **** > ******* > > "This electronic message is intended to be for the use only of the > named > recipient, and may contain information from Hudson Health Plan (HHP) > that is confidential or privileged. If you are not the intended > recipient, you are hereby notified that any disclosure, copying, > distribution or use of the contents of this message is strictly > prohibited. If you have received this message in error or are not the > named recipient, please notify us immediately, either by contacting the > sender at the electronic mail address noted above or calling HHP at > (914) 631-1611. If you are not the intended recipient, please do not > forward this email to anyone, and delete and destroy all copies of this > message. Thank You". > > > ************************************************************************ > **** > ******* > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > ************************************************************************ > *********** > "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 mikedorism at ntelos.net Tue Aug 5 14:53:06 2003 From: mikedorism at ntelos.net (Mike and Doris Manning) Date: Tue, 5 Aug 2003 15:53:06 -0400 Subject: [AccessD] Money, Money, Money makes the world go round In-Reply-To: <009201c35b7f$ac950f50$6101a8c0@amd2k512> Message-ID: <000b01c35b8b$33f08b90$1c3d0cd8@hargrove.internal> Sounds like an excellent idea William. I really think it is something we should consider because hosting costs are our biggest pocket drain. 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 William Hindman Sent: Tuesday, August 05, 2003 2:31 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Money, Money, Money makes the world go round ...ok ...gonna stick my nose back in the dba pie for a moment or so ...as Lembit has stated, dba came about because this list was dumped upon or held hostage on different occasions by "free" providers who for one reason or another left us in the lurch ...it is firm dba policy which I had as much or more say in creating as anyone, not to ever again allow AccessD to become dependent upon a single provider ...thus the need to pay our own way which has served us in good stead. ...however ...circumstances change ...and what was once necessary may no longer be the exact case. ...if we had at least TWO free hosts, each fully capable of meeting all of our needs, and each willing to mirror the other full time ...then I can see no reason to continue laying out hundreds of dollars for paid hosting services ...the mirroring setup ensures that dba is never dependent upon any single host for the lists continued operation ...if one goes down, the mirror is able to pick it up immediately ...which is actually better reliability than we have now. ...I remember months back writing a memo similar to Lembits in regards to an offer of free hosting by Drew ...hindsight is a wonderful thing but many of the deterrents back then are now gone. ...I'd suggest that if Vlad, Drew, and any others with sufficient space/bw available want to set-up a mirroring arrangement, that dba move to do so asap ...that will immediately stop the money bleed and allow dba to use what funds remain in more productive ways. William Hindman "You know the world is going crazy when the best rapper is a white guy, the best golfer is a black guy, The Swiss hold the America's Cup, France is accusing the US of arrogance, and Germany doesn't want to go to war." ----- Original Message ----- From: "Lembit Soobik" To: "Access Developers discussion and problem solving" Sent: Tuesday, August 05, 2003 9:40 AM Subject: Re: [AccessD] Money, Money, Money makes the world go round > thank you, Vlad, > for the great offer, but our policy is to not accept such free offer. > We have been burned, and founding this little company DBA Inc. has > been done > in order to become independent. > It is really nice of you to offer that and thank you, but sorry, no, > thank you . > Lembit > > Lembit Soobik > > ----- Original Message ----- > From: "ACTEBS" > To: "'Access Developers discussion and problem solving'" > > Sent: Tuesday, August 05, 2003 2:15 PM > Subject: RE: [AccessD] Money, Money, Money makes the world go round > > > > Lembit, > > > > What are you paying for hosting? I own the server that our web site > > is hosted on - mytakeaway.com.au - because this list has been so > > good to me over the years, I'd like offer you hosting for free. The > > only thing you'll > > need to do is re-direct the place where your IP is pointing to and direct it > > our IP address and I can configure it in IIS. The server is > > currently this > > configuration: > > > > A) Twin AMD MP 2100 - (Overkill I know, but it was all we could get > > that was reasonably priced in a dual configuration) > > B) 1GB RAM > > C) 14Mbit connection to the internet > > > > The only thing I need to know is how much HDD space you require as > > we have > > an unlimited Upload -> to the internet user and a limit of 2GB download -> > > us to the server...We download sweet FA as most of our traffic is outgoing > > and so is free... > > > > Get back to me if you want to go explore this further... > > > > Vlad > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lembit > > Soobik > > Sent: Tuesday, 5 August 2003 9:56 PM > > To: Access Developers discussion and problem solving > > Subject: [AccessD] Money, Money, Money makes the world go round > > > > > > Friends, > > > > It is time once again to talk about money...or more accurately, the > > lack thereof. Since this list - like anything else - is not free, we > > need from > > time to time a little bit of money to pay our bills. > > > > Our fincancial needs are not great, but if those who feel they have received > > help for their project can donate a bit, I am sure we can continue > > to make > > our payments in a timely manner. > > > > Having said this, please be so kind as to visit > > http://www.databaseadvisors.com/donations.htm > > > > In addition, if we can secure a few companies as Corporate Sponsors > > - for as > > little as $100/year - we can live quite a while off of that. In addition > > to the benefits detailed at > > http://www.databaseadvisors.com/donations/corporate.htm, the > > Corporate Sponsor is allowed to include "Official Sponsor of DBA" > > (plus a link to his > > website) in his signature line. > > > > Now, this is a special offer, valid until Aug-31-2003. You get a > > whole year > > of free advertising in the signature line, plus all the free advice > > from the > > best Access Developers the world over! Surely that is worth more > > than $100. > > > > Thank you in advance for your conintued support of DataBase > > Advisors, > > > > > > Lembit Soobik President DBA > > and the Executive Team 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 _______________________________________________ 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 Tue Aug 5 14:58:18 2003 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Tue, 5 Aug 2003 12:58:18 -0700 Subject: [AccessD] mdb in dmz References: <22F1CCD5171D17419CB37FEEE09D5F990173F345@TTNEXCHSRV1.hshhp.com> Message-ID: <006401c35b8b$eb143e20$0f0b6351@martin1> fire it over. Of list if you prefer. Martin ----- Original Message ----- From: "Jim DeMarco" To: "Access Developers discussion and problem solving" Sent: Tuesday, August 05, 2003 12:49 PM Subject: RE: [AccessD] mdb in dmz > Martin, > > Do you want more than the code I posted below? It's just test code but it's based on the live code. I'm not even getting to the point of pulling a recordset. When I try to open the connection I get a page not found error. We're going to put a sniffer on the server and one client machine to see if it could be hardware related but it's anybody's guess at this point. > > If you still want the live code I'll be glad to post it though. > > Thanks, > > Jim DeMarco > > > -----Original Message----- > From: Martin Reid [mailto:mwp.reid at qub.ac.uk] > Sent: Tuesday, August 05, 2003 3:37 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] mdb in dmz > > > Jim > > Can I see the whole code where your opening the recordset as well.Apologies > if you have already posted this. > > Martin > > > > > ----- Original Message ----- > From: "Jim DeMarco" > To: "Access Developers discussion and problem solving" > > Sent: Tuesday, August 05, 2003 12:25 PM > Subject: RE: [AccessD] mdb in dmz > > > > Yes I did but I'm going to double check that anyway. Your referring to > the folder the mdb is in as well as the file. > > > > Thanks, > > > > Jim DeMarco > > > > > > > > -----Original Message----- > > From: Erwin Craps [mailto:Erwin.Craps at ithelps.be] > > Sent: Tuesday, August 05, 2003 3:21 PM > > To: Access Developers discussion and problem solving > > Subject: RE: [AccessD] mdb in dmz > > > > > > Did you check NTFS permissions it they are set to everyone R/W? on the > > whole dir, not only the file. > > Note that Jet needs to create a ldb file. > > > > > > Erwin > > > > > > > > -----Original Message----- > > From: Martin Reid [mailto:mwp.reid at qub.ac.uk] > > Sent: Tuesday, August 05, 2003 8:20 PM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] mdb in dmz > > > > > > Conn.Open "Provider=Microsoft.Jet.OLEDB.4.0;" & _ > > "Data Source=c:\somepath\myDb.mdb;" & _ > > "User Id=admin;" & _ > > "Password=" > > Try that > > > > Martin > > > > > > ----- Original Message ----- > > From: "Jim DeMarco" > > To: "Access Developers discussion and problem solving" > > > > Sent: Tuesday, August 05, 2003 11:02 AM > > Subject: RE: [AccessD] mdb in dmz > > > > > > > Looks like everything is going over port 80. The real drag is I can't > > > > > be > > sure it's even a hardware problem. We simplified the code to this (it's > > ASP/VBScript so no data types,etc.): > > > > > > > > > dim connectstring > > > dim cnn > > > dim dbpath > > > > > > dbpath = "D:\db\HshhpTips.mdb" > > > connectstring = "Provider=Microsoft.Jet.OLEDB.4.0; Data Source=" & > > dbpath > > > > > > Set cnn = Server.CreateObject("ADODB.Connection") > > > 'cnn.open connectstring > > > > > > Response.Write "testing" > > > > > > > > > The code runs if we leave the cnn.open line commented out but when we > > > put > > it back we now get a page not found error. Works fine on our dev > > machine of course. I would think if it was a data access problem the > > code would bail on the CreateObject call. Server's running Win2K BTW. > > > > > > Jim DeMarco > > > > > > > > > > > > -----Original Message----- > > > From: Jim Dettman [mailto:jimdettman at earthlink.net] > > > Sent: Tuesday, August 05, 2003 12:52 PM > > > To: Access Developers discussion and problem solving > > > Subject: RE: [AccessD] mdb in dmz > > > > > > > > > Jim, > > > > > > <> > > > > > > Check the Firewall's log. It will show the IP address of the web > > server, > > > whether it was TCP or UDP packet, and the port it was trying to use. > > > > > > Jim Dettman > > > President, > > > Online Computer Services of WNY, Inc. > > > (315) 699-3443 > > > jimdettman at earthlink.net > > > > > > -----Original Message----- > > > From: accessd-bounces at databaseadvisors.com > > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim DeMarco > > > Sent: Tuesday, August 05, 2003 10:58 AM > > > To: Access Developers discussion and problem solving > > > Subject: RE: [AccessD] mdb in dmz > > > > > > > > > Thanks Frank (where'd you find that domain on your e-mail address??). > > > > > > I searched msdn and found this list of Port Assignments for Common > > Services > > > > > (http://www.microsoft.com/windows2000/techinfo/reskit/samplechapters/cnf > > c/cn > > > fc_por_simw.asp - watch for wrapping). None seems to be what I'm > > > looking (AFAICT anyway). Can anyone point me in the right direction? > > > > > > Thanks, > > > > > > Jim DeMarco > > > > > > -----Original Message----- > > > From: Frank Tanner III [mailto:pctech at mybellybutton.com] > > > Sent: Tuesday, August 05, 2003 10:45 AM > > > To: Access Developers discussion and problem solving > > > Subject: Re: [AccessD] mdb in dmz > > > > > > > > > I'm not sure what tcp/udp port(s) that Jet and OLEdb > > > use, but do you have those allowed to pass from the > > > DMZ to wherever it needs to go? i.e. the internal LAN > > > and the external Internet. > > > > > > Usually DMZs are configured to ONLY allow the ports necessary, such as > > > > > HTTP, HTTPS, POP3, SMTP, etc. > > > > > > --- Jim DeMarco wrote: > > > > List, > > > > > > > > We just went live with our web site > > > > (http://www.hshhp.org) but had to remove a feature > > > > that displays health tips. The tips are stored in > > > > an A97 mdb but we get an "unspecified error" when > > > > hitting the page. The db is on the web server box. > > > > The server is behind the firewall in the DMZ. Does > > > > anyone know if the DMZ is an issue when trying to > > > > hit an mdb? We're using the OleDB provider for Jet > > > > 4.0. I ran comcheck and we've got that version > > > > installed. IIS 5.0 as well. > > > > > > > > TIA, > > > > > > > > Jim DeMarco > > > > Director of Product Development > > > > HealthSource/Hudson Health Plan > > > > > > > > > > > > > > > > > ************************************************************************ > > **** > > > ******* > > > > "This electronic message is intended to be for the > > > > use only of the named recipient, and may contain information from > > > > Hudson Health Plan (HHP) that is confidential or privileged. If you > > > > > > are not the intended recipient, you are hereby notified that any > > > > disclosure, copying, distribution or use of the > > > > contents of this message is strictly prohibited. If > > > > you have received this message in error or are not > > > > the named recipient, please notify us immediately, > > > > either by contacting the sender at the electronic > > > > mail address noted above or calling HHP at (914) > > > > 631-1611. If you are not the intended recipient, > > > > please do not forward this email to anyone, and > > > > delete and destroy all copies of this message. > > > > Thank You". > > > > > > > > > ************************************************************************ > > **** > > > ******* > > > > > > > > _______________________________________________ > > > > AccessD mailing list > > > > AccessD at databaseadvisors.com > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > Website: http://www.databaseadvisors.com > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > ************************************************************************ > > **** > > > ******* > > > "This electronic message is intended to be for the use only of the > > named > > > recipient, and may contain information from Hudson Health Plan (HHP) > > that > > is > > > confidential or privileged. If you are not the intended recipient, > > you > > are > > > hereby notified that any disclosure, copying, distribution or use of > > the > > > contents of this message is strictly prohibited. If you have received > > this > > > message in error or are not the named recipient, please notify us > > > immediately, either by contacting the sender at the electronic mail > > address > > > noted above or calling HHP at (914) 631-1611. If you are not the > > intended > > > recipient, please do not forward this email to anyone, and delete and > > > destroy all copies of this message. Thank You". > > > > > ************************************************************************ > > **** > > > ******* > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > ************************************************************************ > > **** > > ******* > > > "This electronic message is intended to be for the use only of the > > named > > recipient, and may contain information from Hudson Health Plan (HHP) > > that is > > confidential or privileged. If you are not the intended recipient, you > > are > > hereby notified that any disclosure, copying, distribution or use of the > > contents of this message is strictly prohibited. If you have received > > this > > message in error or are not the named recipient, please notify us > > immediately, either by contacting the sender at the electronic mail > > address > > noted above or calling HHP at (914) 631-1611. If you are not the > > intended > > recipient, please do not forward this email to anyone, and delete and > > destroy all copies of this message. Thank You". > > > > > ************************************************************************ > > **** > > ******* > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > > **************************************************************************** > ******* > > "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 James at fcidms.com Tue Aug 5 15:18:51 2003 From: James at fcidms.com (James Barash) Date: Tue, 5 Aug 2003 16:18:51 -0400 Subject: [AccessD] mdb in dmz In-Reply-To: Message-ID: Jim, Are you sure D:\db\ exists and is visible from IIS on the server, including permissions for the IIS account? I tested your code using a path to a directory that did not exist and I get a page not found error so maybe that's it. I usually create a db directory under the root for the website. Then you can access the file using dbpath = Server.MapPath("./db/HshhpTips.mdb") That way you don't have to worry about moving the files to a different server, the relative paths stay the same. James Barash -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim DeMarco Sent: Tuesday, August 05, 2003 2:02 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] mdb in dmz Looks like everything is going over port 80. The real drag is I can't be sure it's even a hardware problem. We simplified the code to this (it's ASP/VBScript so no data types,etc.): dim connectstring dim cnn dim dbpath dbpath = "D:\db\HshhpTips.mdb" connectstring = "Provider=Microsoft.Jet.OLEDB.4.0; Data Source=" & dbpath Set cnn = Server.CreateObject("ADODB.Connection") 'cnn.open connectstring Response.Write "testing" The code runs if we leave the cnn.open line commented out but when we put it back we now get a page not found error. Works fine on our dev machine of course. I would think if it was a data access problem the code would bail on the CreateObject call. Server's running Win2K BTW. Jim DeMarco -----Original Message----- From: Jim Dettman [mailto:jimdettman at earthlink.net] Sent: Tuesday, August 05, 2003 12:52 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] mdb in dmz Jim, <> Check the Firewall's log. It will show the IP address of the web server, whether it was TCP or UDP packet, and the port it was trying to use. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim DeMarco Sent: Tuesday, August 05, 2003 10:58 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] mdb in dmz Thanks Frank (where'd you find that domain on your e-mail address??). I searched msdn and found this list of Port Assignments for Common Services (http://www.microsoft.com/windows2000/techinfo/reskit/samplechapters/cnf c/cn fc_por_simw.asp - watch for wrapping). None seems to be what I'm looking (AFAICT anyway). Can anyone point me in the right direction? Thanks, Jim DeMarco -----Original Message----- From: Frank Tanner III [mailto:pctech at mybellybutton.com] Sent: Tuesday, August 05, 2003 10:45 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] mdb in dmz I'm not sure what tcp/udp port(s) that Jet and OLEdb use, but do you have those allowed to pass from the DMZ to wherever it needs to go? i.e. the internal LAN and the external Internet. Usually DMZs are configured to ONLY allow the ports necessary, such as HTTP, HTTPS, POP3, SMTP, etc. --- Jim DeMarco wrote: > List, > > We just went live with our web site > (http://www.hshhp.org) but had to remove a feature > that displays health tips. The tips are stored in > an A97 mdb but we get an "unspecified error" when > hitting the page. The db is on the web server box. > The server is behind the firewall in the DMZ. Does > anyone know if the DMZ is an issue when trying to > hit an mdb? We're using the OleDB provider for Jet > 4.0. I ran comcheck and we've got that version > installed. IIS 5.0 as well. > > TIA, > > Jim DeMarco > Director of Product Development > HealthSource/Hudson Health Plan > > > ************************************************************************ **** ******* > "This electronic message is intended to be for the > use only of the named recipient, and may contain > information from Hudson Health Plan (HHP) that is confidential or > privileged. If you are not the intended recipient, you are hereby > notified that any disclosure, copying, distribution or use of the > contents of this message is strictly prohibited. If you have received > this message in error or are not the named recipient, please notify us > immediately, either by contacting the sender at the electronic > mail address noted above or calling HHP at (914) > 631-1611. If you are not the intended recipient, > please do not forward this email to anyone, and > delete and destroy all copies of this message. > Thank You". > ************************************************************************ **** ******* > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _______________________________________________ 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 mwp.reid at qub.ac.uk Tue Aug 5 15:42:55 2003 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Tue, 5 Aug 2003 13:42:55 -0700 Subject: [AccessD] Debugging References: <22F1CCD5171D17419CB37FEEE09D5F990173F346@TTNEXCHSRV1.hshhp.com> Message-ID: <011201c35b92$266a7650$0f0b6351@martin1> Sitting in the VBA IDE in Access 2003 (Should not matter). Whatever I try to step into some code it dosnt work. Any ideas? Martin From cfoust at infostatsystems.com Tue Aug 5 15:47:30 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 5 Aug 2003 13:47:30 -0700 Subject: [AccessD] Debugging Message-ID: What does "doesn't work" mean in this context, Martin? It won't let you break into code, or what? Does it give you an error message? Charlotte Foust -----Original Message----- From: Martin Reid [mailto:mwp.reid at qub.ac.uk] Sent: Tuesday, August 05, 2003 12:43 PM To: Access Developers discussion and problem solving Subject: [AccessD] Debugging Sitting in the VBA IDE in Access 2003 (Should not matter). Whatever I try to step into some code it dosnt work. Any ideas? Martin _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Subscriptions at servicexp.com Tue Aug 5 15:53:08 2003 From: Subscriptions at servicexp.com (Robert Gracie) Date: Tue, 5 Aug 2003 16:53:08 -0400 Subject: [AccessD] TheDreaded"ErrorMessage:ErrorAccessingFile.NetworkConnection May Have Been Lost." In-Reply-To: Message-ID: You have me a bit confused (i'm sure I missed something here), if you don't have the .dll in question on a machine with A2k, and have not tried to duplicated the problem, how do you know it worked? Robert Gracie -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Tuesday, August 05, 2003 12:05 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] TheDreaded"ErrorMessage:ErrorAccessingFile.NetworkConnection May Have Been Lost." The version referenced in the article is the version that installs with Office XP and some other 2002 apps like Visio, MapPoint, Project, Money, etc. Any 2002 VBA code container will install that dll. The previous hotfix and the SR-3 (at least, theoretically) patched the 2000 Access executable to make it work with that version of the VBE6.DLL. I do not have a machine running O2k that did not have the hotfix installed, since I ran into this problem early on. I have since applied SR-3, so I don't have an uncontaminated machine to check anything on. If you have SR-3 installed and you are still running into problems with Access 2000, I would suggest screaming at Microsoft about it. They pulled the hotfix after they released SR-3, so they need to at least be told it doesn't work if that is the case. I know the hotfix worked because I applied it. Charlotte Foust SNIP From mwp.reid at qub.ac.uk Tue Aug 5 15:54:42 2003 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Tue, 5 Aug 2003 13:54:42 -0700 Subject: [AccessD] Debugging References: Message-ID: <012a01c35b93$cbe79da0$0f0b6351@martin1> Sorry it will not step into the code at all. Martin ----- Original Message ----- From: "Charlotte Foust" To: "Access Developers discussion and problem solving" Sent: Tuesday, August 05, 2003 1:47 PM Subject: RE: [AccessD] Debugging > What does "doesn't work" mean in this context, Martin? It won't let you > break into code, or what? Does it give you an error message? > > Charlotte Foust > > -----Original Message----- > From: Martin Reid [mailto:mwp.reid at qub.ac.uk] > Sent: Tuesday, August 05, 2003 12:43 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] Debugging > > > Sitting in the VBA IDE in Access 2003 (Should not matter). Whatever I > try to step into some code it dosnt work. Any ideas? > > Martin > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From cfoust at infostatsystems.com Tue Aug 5 16:43:40 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 5 Aug 2003 14:43:40 -0700 Subject: [AccessD] Debugging Message-ID: XP won't always let you step into code either. Once it gets the bit in its teeth, it refuses to stop. What happens if you put a breakpoint in the code? In XP, anyhow, it at least comes back and says it can't break into code right now. Charlotte Foust -----Original Message----- From: Martin Reid [mailto:mwp.reid at qub.ac.uk] Sent: Tuesday, August 05, 2003 12:55 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Debugging Sorry it will not step into the code at all. Martin ----- Original Message ----- From: "Charlotte Foust" To: "Access Developers discussion and problem solving" Sent: Tuesday, August 05, 2003 1:47 PM Subject: RE: [AccessD] Debugging > What does "doesn't work" mean in this context, Martin? It won't let > you break into code, or what? Does it give you an error message? > > Charlotte Foust > > -----Original Message----- > From: Martin Reid [mailto:mwp.reid at qub.ac.uk] > Sent: Tuesday, August 05, 2003 12:43 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] Debugging > > > Sitting in the VBA IDE in Access 2003 (Should not matter). Whatever I > try to step into some code it dosnt work. Any ideas? > > Martin > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Tue Aug 5 16:48:24 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 5 Aug 2003 14:48:24 -0700 Subject: [AccessD]TheDreaded"ErrorMessage:ErrorAccessingFile.NetworkConnection May Have BeenLost." Message-ID: I do have the dll in question on my O2k machine, but I also have the hotfix that preceding SR-3 on that machine. That means there isn't any way for me to test whether SR-3 worked as opposed to the hotfix. I *know* the hotfix worked because I applied it a long time ago. If you have any of the 2002 code containers on a machine, not just Office apps, but any of the others as well, then you have that dll on your machine because it's the one that comes with the 2002 apps. I have it on my XP Developer machine as well. Charlotte Foust -----Original Message----- From: Robert Gracie [mailto:Subscriptions at servicexp.com] Sent: Tuesday, August 05, 2003 12:53 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD]TheDreaded"ErrorMessage:ErrorAccessingFile.NetworkConnection May Have BeenLost." You have me a bit confused (i'm sure I missed something here), if you don't have the .dll in question on a machine with A2k, and have not tried to duplicated the problem, how do you know it worked? Robert Gracie -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Tuesday, August 05, 2003 12:05 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] TheDreaded"ErrorMessage:ErrorAccessingFile.NetworkConnection May Have Been Lost." The version referenced in the article is the version that installs with Office XP and some other 2002 apps like Visio, MapPoint, Project, Money, etc. Any 2002 VBA code container will install that dll. The previous hotfix and the SR-3 (at least, theoretically) patched the 2000 Access executable to make it work with that version of the VBE6.DLL. I do not have a machine running O2k that did not have the hotfix installed, since I ran into this problem early on. I have since applied SR-3, so I don't have an uncontaminated machine to check anything on. If you have SR-3 installed and you are still running into problems with Access 2000, I would suggest screaming at Microsoft about it. They pulled the hotfix after they released SR-3, so they need to at least be told it doesn't work if that is the case. I know the hotfix worked because I applied it. Charlotte Foust SNIP _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From lists at jbsolutions.com.au Tue Aug 5 18:54:11 2003 From: lists at jbsolutions.com.au (Joshua B) Date: Wed, 6 Aug 2003 9:54:11 +1000 Subject: [AccessD] Unbound image on continuous form Message-ID: <200308052353.h75NrmQ11606@databaseadvisors.com> Hi Group I have a client who scans documents into their Access database (not made by me). They have a continuous form set up which shows thumbnails of these images (*.tifs stored in an OLE container). They came to me because now, with 600-odd records, their database has (of course) grown to 600meg. I have recommended storing the images on the system, only storing the image name in the db, and inserting the image into an unbound image holder on the fly. Only problem with this is, with continuous forms this cannot be done. Has anyone come up with a solution to this in the past? I've been thinking filtered recordsets and temp tables storing current images, but was hoping there may be an easier way I havent thought of. TIA. Best regards. Joshua B lists at jbsolutions.com.au www.jbsolutions.com.au 2003-08-06 From stuart at lexacorp.com.pg Tue Aug 5 19:15:18 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 06 Aug 2003 10:15:18 +1000 Subject: [AccessD] Unbound image on continuous form In-Reply-To: <200308052353.h75NrmQ11606@databaseadvisors.com> Message-ID: <3F30D536.5950.4A544C@localhost> On 6 Aug 2003 at 9:54, Joshua B wrote: > Hi Group > > I have a client who scans documents into their Access database (not > made by me). They have a continuous form set up which shows thumbnails > of these images (*.tifs stored in an OLE container). They came to me > because now, with 600-odd records, their database has (of course) > grown to 600meg. I have recommended storing the images on the system, > only storing the image name in the db, and inserting the image into an > unbound image holder on the fly. Only problem with this is, with > continuous forms this cannot be done. Has anyone come up with a > solution to this in the past? I've been thinking filtered recordsets > and temp tables storing current images, but was hoping there may be an > easier way I havent thought of. TIA. > You could try putting an unbound image control in the header or footer or embed the continuous form in a parent form and put an unbound image control on the parent form. Then set the source of the image in the continuous form's on_current event. You can't see more than one image at a time that way, but you can scroll through them easily. Alternatively use a combined approach. Create small thumbnails images which are stored in the table with the full sized original stored on disk. -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From kathryn at bassett.net Tue Aug 5 19:23:55 2003 From: kathryn at bassett.net (Kathryn Bassett) Date: Tue, 5 Aug 2003 17:23:55 -0700 Subject: [AccessD] Report stopped triggering - & it's locking mdb In-Reply-To: Message-ID: OK, before I start exporting/importing, copy/pasting etc. Explain this to me. What is the difference in how linking and embedding works. My table is a single one - Last name, first name, a couple of notes fields, one y/n field, and the photo field. The photo field is text, 100 in length, and no in each of Required, Allow zero length, Indexed, and Unicode compression. The content of the photo field is the path - like, D:\MyFiles\Online\abc\photos\b\bassettdavekathryn.jpg The query that the report is based on is (qryPhotosDone): SELECT members.last, members.first, members.connections, members.updated, members.notes, members.private, members.photo, members.WebYN, members.NameID FROM members WHERE (((members.photo)<>"empty")) ORDER BY members.last, members.first; Now comes an interesting part. If I choose the properties of the report, I have this: Picture - (none) Picture Type - embedded Picture Size Mode - clip Picture Tiling - no Picture Pages - all pages but if I choose the properties of the sample picture that is in the layout, the picture is Linked. The picture in the layout is D:\MyFiles\Online\abc\photos\b\bassettdavid.jpg So, what should be where? I *don't* want to inflate my mdb by having a copy of the photos in the mdb itself. Doesn't embedding mean that a copy is in the mdb? I'm sure that isn't the case, because the mdb is only 528kb. Isn't the way I have it linked? I'm assuming that the embedding in this case just means that when the report is run, embed the picture. What way is better? Confusedly yours, -- Kathryn Rhinehart Bassett (Pasadena CA) "Genealogy is my bag" "GH is my soap" kathryn at bassett.net http://bassett.net > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Lawrence > (AccessD) > Sent: 04 Aug 2003 11:10:PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Report stopped triggering - & it's locking mdb > > > Hi Kathyrn: > > Now that you have informed me that you have embedded images that opens a > whole-can-of-worms. On three separate occasions, with two different clients, > who had databases with embedded images there were major disasters. This is > not to say that embedded images do not work, it is just that when they > corrupt, it can be a REAL problem. In addition, tables can bloat at amazing > speed with embedded images and once the two GB limit is hit... (It is > actually closer to 1.7GB from experience.)... your database may not open. > > My rule of thumb is to never use embeded images and I never have since and I > have never had a graphic image problem since then, either. If you need > sample code on how to handle linked images to forms and reports, just email. > > I do not mean to sound strident but when you have been deep fried a couple > of times.... > > HTH > Jim > > PS: Export all the objects out of the current corrupting db into a nice new > one. That will give you a grace period. > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Kathryn > Bassett > Sent: Monday, August 04, 2003 7:54 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] Report stopped triggering - & it's locking mdb > > > Problem that may or may not be connected. When I try to run the report and > it doesn't work, it will lock the database (leaving .ldb). I have to reboot > the computer for the .ldb to go away so I can do further testing. > > First, a correction - Jim Lawrence asked: > > First question; are your pictures linked or embedded? > > and I replied they were linked. But that's wrong, they are embedded. What > goes in the text field for the photo is the link, so I was thinking link. > > William Hindman asked: > > ...have you tried compacting/repairing the mdb? > > And I replied yes. I also ran Tool > Analyze > Performance. > The recommendations are all to add an index field to field ... > The ideas: > Application is not saved in a fully compiled state > Form 'Get Photos': Use an Option Explicit Statement > Report 'PhotoDirectory - Photos Done - Connected': Use an Option Explicit > Statement > Module 'Module1': Use an Option Explicit Statement > > So, first I tried compiling. I got: > The Report Name 'PhotoDirectory - Photos done NOT used' you entered in > either the property sheet or macro is misspelled or refers to a report that > doesn't exist. > If the invalid report name is in a macro, an Action Failed dilog box will > display the macro name and the macro's arguments after you click OK. Open > the Macro window, and enter the correct report name. > It takes 4 times of clicking OK before that message goes away and says > Module Not Found. > > Now, the funny thing is - 'PhotoDirectory - Photos done NOT used' is a > report that I dumped because I don't use it. There are NO macros, and the > only module is Module1 which has General and Declarations as the two > dropdown boxes, and the content below. I see nothing that refers to that > report name. The correct report name is 'PhotoDirectory - Photos Done - > Connected' though I had changed it to eliminate the last part, so it would > be "PhotoDirectory - Photos Done'. Changed it back because Gary asked: "If > you change the name back to it's original name does it work?" so I did to > test but the answer is no. > > As a side note, I now can't change it again - When I try, it tries again to > trigger the report, then changes it back to the old name. Copying it to a > different name, still doesn't give me the report. > > Module1 content: > Option Compare Database > Option Explicit > '*************************************************** > 'File selection browser > Declare Function GetOpenFileName Lib "comdlg32.dll" Alias _ > "GetOpenFileNameA" (pOpenfilename As OPENFILENAME) As Long > > Type OPENFILENAME > lStructSize As Long > hwndOwner As Long > hInstance As Long > lpstrFilter As String > lpstrCustomFilter As String > nMaxCustFilter As Long > nFilterIndex As Long > lpstrFile As String > nMaxFile As Long > lpstrFileTitle As String > nMaxFileTitle As Long > lpstrInitialDir As String > lpstrTitle As String > flags As Long > nFileOffset As Integer > nFileExtension As Integer > lpstrDefExt As String > lCustData As Long > lpfnHook As Long > lpTemplateName As String > End Type > > '************************************************************ > 'Displays a dialog box that enables the user to select a shell folder. > Public Declare Function SHBrowseForFolder Lib "shell32.dll" _ > Alias "SHBrowseForFolderA" (lpBrowseInfo As BROWSEINFO) As Long > > Public Declare Function SHGetPathFromIDList Lib "shell32.dll" _ > Alias "SHGetPathFromIDListA" _ > (ByVal pidl As Long, _ > ByVal pszPath As String) As Long > > Public Declare Sub CoTaskMemFree Lib "ole32.dll" (ByVal pv As Long) > 'parameters for SHBrowseForFolder > Public Type BROWSEINFO 'BI > hOwner As Long > pidlRoot As Long > pszDisplayName As String > lpszTitle As String > ulFlags As Long > lpfn As Long > lParam As Long > iImage As Long > End Type > > 'BROWSEINFO.ulFlags values: > Public Const BIF_RETURNONLYFSDIRS = &H1 'Only file system directories > Public Const BIF_DONTGOBELOWDOMAIN = &H2 'No network folders below > domain level > Public Const BIF_STATUSTEXT = &H4 'Includes status area in the > dialog (for callback) > Public Const BIF_RETURNFSANCESTORS = &H8 'Only returns file system > ancestors > Public Const BIF_EDITBOX = &H10 'Allows user to rename > selection > Public Const BIF_VALIDATE = &H20 'Insist on valid editbox result > (or CANCEL) > Public Const BIF_BROWSEFORCOMPUTER = &H1000 'Only returns computers. > Public Const BIF_BROWSEFORPRINTER = &H2000 'Only returns printers. > Public Const BIF_BROWSEINCLUDEFILES = &H4000 'Browse for everything > Public Const MAX_PATH = 260 > > end of Module1 content. Note I didn't write it, I think it is part of what > was written by Stuart McLachlan, and he said there is stuff in what he wrote > that isn't needed by me. > > Gary asked: > > Do you have a control - possibly an image control pointing to another > > control that has the name/path of the picture file it is displaying? Or > > perhaps some event code that has the report name hard coded in it that got > > broken when you changed the report name? > > Huh? I don't know exactly what you mean. I know that tables and queries can > be referred to by reports, but I didn't think anything would have a report > name except a macro. And there are no macros. > > Jim Lawrence said: > > One other obvious possibility could be that a particular image(s) has > become > > corrupted. Just try loading the non-printing image(s) into your graphic > > program. > > In Explorer, I have no problem doubleclicking to open all the graphics. If > there is a problem with a particular image, I have no way of telling because > the error message flashes past to fast to see. > > Jim Lawrence said: > > My prognosis, as you have probably already assumed, is that the particular > > database has somehow become corrupted. I would open up the bad db, create > > and open a new db and copy and paste the components and code from one to > the > > other, as the standard repair and compact has failed to work. > > Since there is that recompile problem, I'm leaving this for now. I kinda got > a feeling I wouldn't get everything copied I would need to. > > Well, anybody have any more ideas? Obviously compiling has something to do > with it, but what? > > -- > Kathryn Rhinehart Bassett (Pasadena CA) > "Genealogy is my bag" "GH is my soap" > kathryn at bassett.net > http://bassett.net > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Tue Aug 5 19:34:44 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Tue, 05 Aug 2003 17:34:44 -0700 Subject: [AccessD] No Office 2003 ODE (Office Developer Edition)? References: <200307201721.SAA22981@hosea.qub.ac.uk> <7938568478.20030720192939@cactus.dk> <3F1AD9FC.5060702@shaw.ca> <3F1B645E.7070902@shaw.ca> <1141810283.20030805083927@cactus.dk> <3F2FE7DE.4050501@shaw.ca> <13145554523.20030805204831@cactus.dk> Message-ID: <3F304D24.3010200@shaw.ca> "Office 2003 Windows Update CD"? I am assuming they are going to do it the way SageKey does MSI for Access 2002 with an automatic upgrade of patches for Access 2002 in the update CD before an install. An Office 2002 Windows Update CD. The first run through of Access 2003 will hopefully have no immediate patches so it won't be required at first. You don't have to expose IIS to the world, you can retain it to a local LAN, ie. an intranet or even an individual machine. I haven't really looked at IIS 6 that comes with VS.Net 2003. Gustav Brock wrote: >Hi Marty > >Thanks. >Sorry for being dense, but I still cannot see if/how Visual Studio >fits into the picture of Access development. > >I'm aware that Visual Studio might bring some (Internet) features to >Access development, but what is important is to distinguish between >offers/features and needs. And if at all possible I do not want an IIS >to run on my trusted development machine; if it _is_ needed I wish it >to run on a server. > >By the way, what is "Office 2003 Windows Update CD"? > >/gustav > > > > >>This hasn't been set in stone yet by Microsoft. Maybe they are waiting >>for a marketing decision. >> >> > > > >> 1. Is VS Net 2003 >> 2 and 3 are free downloads. >> >> > > > >>Who knows they may switch to an MSI install, which would require 2 CD's >>much like SageKeys >>Office XP MSI wizard. >> >> > > > >>The Microsoft Installer may require two CD's to be shipped, the Access >>2003 Application CD created by the Packaging Wizard and the Office 2003 >>Windows Update CD. When the user inserts the Application CD, they are >>prompted to load the Update CD first which loads the required >>preconditioning components onto the target PC. >> >> > > > >> By the way IIS must be installed prior to loading VS Net, if you plan >>to use any of its features. >>You can still use things like Net WinForms without IIS but not Web >>Forms. If you install IIS after VS Net you can only use internal Web >>Forms . To fix you have to do a clear and reinstall in >>correct order, usually takes a couple of hours. >> >> > > > >>Gustav Brock wrote: >> >> > > > >>>Hi Marty and Martin >>> >>>I'm slightly confused ... >>> >>>Does this mean you'll have to buy all this - in addition to Office >>>2003 Pro, of course - just to create an Access 2003 runtime: >>> >>> 1. Visual Studio >>> 2. Visual Studio Tools for the Microsoft Office System >>> 3. Access 2003 Developer Extensions >>> >>>as well as to soil your dearly beloved workstation with IIS? >>> >>>And which version of Visual Studio? I don't have it as I've never had >>>a need for it. >>> >>>/gustav >>> >>> >>> >>> >>>>Looks like below doesn't contain the Access deployment features >>>>Access 2003 Developer Extensions Overview >>>> >>>> >>>>http://www.microsoft.com/office/preview/editions/accessdav.asp >>>> >>>> >>>>from recent posting newsgroup microsoft.public.vsnet.vstools.office >>> >>> >>> >>>>Subject: Re: Access 2003 Developer Extensions >>>>From: "Peter Torr \(MS\)" Sent: 7/16/2003 >>>>10:19:41 AM >>>>"Urs Stettler" wrote in message >>>>news:090401c34b7f$926f8de0$a401280a at phx.gbl... >>>> >>>> >>>>>According to the product description of the VS tools for >>>>>Office, Access 2003 Developer Extensions are supposed to >>>>>be part of it. >>>>> >>>>>Well, I purchased the Office 03 beta, purchased VS 03 just >>>>>to be able to use Access depoloyment features. Having >>>>>installed the VS tools, I can't find any packaging wizard >>>>>or any link in Access 03 to start the packaging process. >>>>>Am I missing something? >>>>> >>>>> >>>>The Access Developer Extensions will be in the final retail product, which >>>>has not shipped yet. The beta release of Visual Studio Tools for Office >>>>just contains the Word and Excel managed code projects. >>>> >>>> > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > From martyconnelly at shaw.ca Tue Aug 5 19:39:13 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Tue, 05 Aug 2003 17:39:13 -0700 Subject: [AccessD] Debugging References: <22F1CCD5171D17419CB37FEEE09D5F990173F346@TTNEXCHSRV1.hshhp.com> <011201c35b92$266a7650$0f0b6351@martin1> Message-ID: <3F304E31.80306@shaw.ca> Are you running the Beta 2 refresh or update. Whatever they call it. I noticed some "step into" methods didn't seem to work on original Beta 2. Martin Reid wrote: >Sitting in the VBA IDE in Access 2003 (Should not matter). Whatever I try to >step into some code it dosnt work. Any ideas? > >Martin > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > From SDSSoftware at Optusnet.com.au Tue Aug 5 20:42:59 2003 From: SDSSoftware at Optusnet.com.au (Software Design & Solutions Pty Ltd.) Date: Wed, 6 Aug 2003 11:42:59 +1000 Subject: [AccessD] AXP Text File Import Crashes Access References: <004701c35b15$3ca430a0$0c05a8c0@carlton.local> <005801c35b48$bc2d6390$6101a8c0@amd2k512> Message-ID: <00d001c35bbc$1195b8f0$54dd31d2@OfficePC> MessageWilliam - great tag on your email! Kath ----- Original Message ----- From: William Hindman To: Access Developers discussion and problem solving Sent: Tuesday, August 05, 2003 9:57 PM Subject: Re: [AccessD] AXP Text File Import Crashes Access Vlad ...do text imports this way regularly with A97 and AXP on different systems ...sorry, no crashes here (we won't talk about blue screens of death due to other things) ...used to get flaky things happening in Access when I had A97 on my AXP development system ...now I keep it on an older system on the network and don't see as many anomalies :( William Hindman "You know the world is going crazy when the best rapper is a white guy, the best golfer is a black guy, The Swiss hold the America's Cup, France is accusing the US of arrogance, and Germany doesn't want to go to war." ----- Original Message ----- From: ACTEBS To: access group Sent: Tuesday, August 05, 2003 1:48 AM Subject: [AccessD] AXP Text File Import Crashes Access Guys, Has anyone had a problem with the File|Get External Data|Import option where is keeps crashing access when either an excel or text file is selected. I have AXP SP2 and have scoured the web to find a solution, but no go. I also have A97 installed on the same machine if that matters... Hope someone has got an answer... Regards Vlad ---------------------------------------------------------------------------- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From SDSSoftware at Optusnet.com.au Tue Aug 5 20:46:36 2003 From: SDSSoftware at Optusnet.com.au (Software Design & Solutions Pty Ltd.) Date: Wed, 6 Aug 2003 11:46:36 +1000 Subject: [AccessD] No Office 2003 ODE (Office Developer Edition)? References: <200307201721.SAA22981@hosea.qub.ac.uk><7938568478.20030720192939@cactus.dk> <3F1AD9FC.5060702@shaw.ca><3F1B645E.7070902@shaw.ca> <1141810283.20030805083927@cactus.dk><3F2FE7DE.4050501@shaw.ca> <13145554523.20030805204831@cactus.dk> Message-ID: <011001c35bbc$92c74ce0$54dd31d2@OfficePC> Gustav - I am just starting to learn about IIS in so much as I am starting looking at ASP - why do you prefer not to have IIS installed on your dev machine? Kath ----- Original Message ----- From: Gustav Brock To: Access Developers discussion and problem solving Sent: Wednesday, August 06, 2003 4:48 AM Subject: Re: [AccessD] No Office 2003 ODE (Office Developer Edition)? Hi Marty Thanks. Sorry for being dense, but I still cannot see if/how Visual Studio fits into the picture of Access development. I'm aware that Visual Studio might bring some (Internet) features to Access development, but what is important is to distinguish between offers/features and needs. And if at all possible I do not want an IIS to run on my trusted development machine; if it _is_ needed I wish it to run on a server. By the way, what is "Office 2003 Windows Update CD"? /gustav > This hasn't been set in stone yet by Microsoft. Maybe they are waiting > for a marketing decision. > 1. Is VS Net 2003 > 2 and 3 are free downloads. > Who knows they may switch to an MSI install, which would require 2 CD's > much like SageKeys > Office XP MSI wizard. > The Microsoft Installer may require two CD's to be shipped, the Access > 2003 Application CD created by the Packaging Wizard and the Office 2003 > Windows Update CD. When the user inserts the Application CD, they are > prompted to load the Update CD first which loads the required > preconditioning components onto the target PC. > By the way IIS must be installed prior to loading VS Net, if you plan > to use any of its features. > You can still use things like Net WinForms without IIS but not Web > Forms. If you install IIS after VS Net you can only use internal Web > Forms . To fix you have to do a clear and reinstall in > correct order, usually takes a couple of hours. > Gustav Brock wrote: >>Hi Marty and Martin >> >>I'm slightly confused ... >> >>Does this mean you'll have to buy all this - in addition to Office >>2003 Pro, of course - just to create an Access 2003 runtime: >> >> 1. Visual Studio >> 2. Visual Studio Tools for the Microsoft Office System >> 3. Access 2003 Developer Extensions >> >>as well as to soil your dearly beloved workstation with IIS? >> >>And which version of Visual Studio? I don't have it as I've never had >>a need for it. >> >>/gustav >> >> >>>Looks like below doesn't contain the Access deployment features >>>Access 2003 Developer Extensions Overview >> >>>http://www.microsoft.com/office/preview/editions/accessdav.asp >> >>>from recent posting newsgroup microsoft.public.vsnet.vstools.office >> >>>Subject: Re: Access 2003 Developer Extensions >>>From: "Peter Torr \(MS\)" Sent: 7/16/2003 >>>10:19:41 AM >>>"Urs Stettler" wrote in message >>>news:090401c34b7f$926f8de0$a401280a at phx.gbl... >> >>> > According to the product description of the VS tools for >>> > Office, Access 2003 Developer Extensions are supposed to >>> > be part of it. >>> > >>> > Well, I purchased the Office 03 beta, purchased VS 03 just >>> > to be able to use Access depoloyment features. Having >>> > installed the VS tools, I can't find any packaging wizard >>> > or any link in Access 03 to start the packaging process. >>> > Am I missing something? >> >>>The Access Developer Extensions will be in the final retail product, which >>>has not shipped yet. The beta release of Visual Studio Tools for Office >>>just contains the Word and Excel managed code projects. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From accessd at shaw.ca Tue Aug 5 21:29:00 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Tue, 05 Aug 2003 19:29:00 -0700 Subject: [AccessD] Report stopped triggering - & it's locking mdb In-Reply-To: Message-ID: Hi Kathyrn: Linking only stores the linking string to the data ie "\\myserver\data\pictures\myfriendspicture.jpg" or "http://picturestorage.kathyrnssite.com/pictures/myfriendspicture.jpg" while embedding store the picture and the any objects required to display graphics, for every picture in the MDB. A slight speed increase results from embedding but other than that a waste of resources and a potential time-bomb. 1. A field, called "txtPictureName" is on the report and that stores the picture name, one for each row. It can be visible or invisible depending on requirements. This comes from the source table. 2. To load the picture in the report form, in the Detail_Format event: Private Sub Detail_Format(Cancel As Integer, FormatCount As Integer) On Error GoTo Err_Detail_Format PhotoImage.Picture = "D:\MyFiles\Online\abc\photos\b\" & Me![txtPictureName] & ".jpg" Exit_Detail_Format: Exit Sub Err_Detail_Format: ' Catch null pictures and ignore them. If Err.Number = 2220 Then Resume Exit_Detail_Format End If End Sub 3. Properties of the Image object called "PhotoImage", placed on the report: Picture - Is being continually populated through the Detail_format event. Picture Type - Linked Picture Size Mode - doesn't matter Picture Tiling - no Picture Pages - all pages That is all there is to it, a lot simpler than you thought. :-) HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Kathryn Bassett Sent: Tuesday, August 05, 2003 5:24 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Report stopped triggering - & it's locking mdb OK, before I start exporting/importing, copy/pasting etc. Explain this to me. What is the difference in how linking and embedding works. My table is a single one - Last name, first name, a couple of notes fields, one y/n field, and the photo field. The photo field is text, 100 in length, and no in each of Required, Allow zero length, Indexed, and Unicode compression. The content of the photo field is the path - like, D:\MyFiles\Online\abc\photos\b\bassettdavekathryn.jpg The query that the report is based on is (qryPhotosDone): SELECT members.last, members.first, members.connections, members.updated, members.notes, members.private, members.photo, members.WebYN, members.NameID FROM members WHERE (((members.photo)<>"empty")) ORDER BY members.last, members.first; Now comes an interesting part. If I choose the properties of the report, I have this: Picture - (none) Picture Type - embedded Picture Size Mode - clip Picture Tiling - no Picture Pages - all pages but if I choose the properties of the sample picture that is in the layout, the picture is Linked. The picture in the layout is D:\MyFiles\Online\abc\photos\b\bassettdavid.jpg So, what should be where? I *don't* want to inflate my mdb by having a copy of the photos in the mdb itself. Doesn't embedding mean that a copy is in the mdb? I'm sure that isn't the case, because the mdb is only 528kb. Isn't the way I have it linked? I'm assuming that the embedding in this case just means that when the report is run, embed the picture. What way is better? Confusedly yours, -- Kathryn Rhinehart Bassett (Pasadena CA) "Genealogy is my bag" "GH is my soap" kathryn at bassett.net http://bassett.net > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Lawrence > (AccessD) > Sent: 04 Aug 2003 11:10:PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Report stopped triggering - & it's locking mdb > > > Hi Kathyrn: > > Now that you have informed me that you have embedded images that opens a > whole-can-of-worms. On three separate occasions, with two different clients, > who had databases with embedded images there were major disasters. This is > not to say that embedded images do not work, it is just that when they > corrupt, it can be a REAL problem. In addition, tables can bloat at amazing > speed with embedded images and once the two GB limit is hit... (It is > actually closer to 1.7GB from experience.)... your database may not open. > > My rule of thumb is to never use embeded images and I never have since and I > have never had a graphic image problem since then, either. If you need > sample code on how to handle linked images to forms and reports, just email. > > I do not mean to sound strident but when you have been deep fried a couple > of times.... > > HTH > Jim > > PS: Export all the objects out of the current corrupting db into a nice new > one. That will give you a grace period. > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Kathryn > Bassett > Sent: Monday, August 04, 2003 7:54 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] Report stopped triggering - & it's locking mdb > > > Problem that may or may not be connected. When I try to run the report and > it doesn't work, it will lock the database (leaving .ldb). I have to reboot > the computer for the .ldb to go away so I can do further testing. > > First, a correction - Jim Lawrence asked: > > First question; are your pictures linked or embedded? > > and I replied they were linked. But that's wrong, they are embedded. What > goes in the text field for the photo is the link, so I was thinking link. > > William Hindman asked: > > ...have you tried compacting/repairing the mdb? > > And I replied yes. I also ran Tool > Analyze > Performance. > The recommendations are all to add an index field to field ... > The ideas: > Application is not saved in a fully compiled state > Form 'Get Photos': Use an Option Explicit Statement > Report 'PhotoDirectory - Photos Done - Connected': Use an Option Explicit > Statement > Module 'Module1': Use an Option Explicit Statement > > So, first I tried compiling. I got: > The Report Name 'PhotoDirectory - Photos done NOT used' you entered in > either the property sheet or macro is misspelled or refers to a report that > doesn't exist. > If the invalid report name is in a macro, an Action Failed dilog box will > display the macro name and the macro's arguments after you click OK. Open > the Macro window, and enter the correct report name. > It takes 4 times of clicking OK before that message goes away and says > Module Not Found. > > Now, the funny thing is - 'PhotoDirectory - Photos done NOT used' is a > report that I dumped because I don't use it. There are NO macros, and the > only module is Module1 which has General and Declarations as the two > dropdown boxes, and the content below. I see nothing that refers to that > report name. The correct report name is 'PhotoDirectory - Photos Done - > Connected' though I had changed it to eliminate the last part, so it would > be "PhotoDirectory - Photos Done'. Changed it back because Gary asked: "If > you change the name back to it's original name does it work?" so I did to > test but the answer is no. > > As a side note, I now can't change it again - When I try, it tries again to > trigger the report, then changes it back to the old name. Copying it to a > different name, still doesn't give me the report. > > Module1 content: > Option Compare Database > Option Explicit > '*************************************************** > 'File selection browser > Declare Function GetOpenFileName Lib "comdlg32.dll" Alias _ > "GetOpenFileNameA" (pOpenfilename As OPENFILENAME) As Long > > Type OPENFILENAME > lStructSize As Long > hwndOwner As Long > hInstance As Long > lpstrFilter As String > lpstrCustomFilter As String > nMaxCustFilter As Long > nFilterIndex As Long > lpstrFile As String > nMaxFile As Long > lpstrFileTitle As String > nMaxFileTitle As Long > lpstrInitialDir As String > lpstrTitle As String > flags As Long > nFileOffset As Integer > nFileExtension As Integer > lpstrDefExt As String > lCustData As Long > lpfnHook As Long > lpTemplateName As String > End Type > > '************************************************************ > 'Displays a dialog box that enables the user to select a shell folder. > Public Declare Function SHBrowseForFolder Lib "shell32.dll" _ > Alias "SHBrowseForFolderA" (lpBrowseInfo As BROWSEINFO) As Long > > Public Declare Function SHGetPathFromIDList Lib "shell32.dll" _ > Alias "SHGetPathFromIDListA" _ > (ByVal pidl As Long, _ > ByVal pszPath As String) As Long > > Public Declare Sub CoTaskMemFree Lib "ole32.dll" (ByVal pv As Long) > 'parameters for SHBrowseForFolder > Public Type BROWSEINFO 'BI > hOwner As Long > pidlRoot As Long > pszDisplayName As String > lpszTitle As String > ulFlags As Long > lpfn As Long > lParam As Long > iImage As Long > End Type > > 'BROWSEINFO.ulFlags values: > Public Const BIF_RETURNONLYFSDIRS = &H1 'Only file system directories > Public Const BIF_DONTGOBELOWDOMAIN = &H2 'No network folders below > domain level > Public Const BIF_STATUSTEXT = &H4 'Includes status area in the > dialog (for callback) > Public Const BIF_RETURNFSANCESTORS = &H8 'Only returns file system > ancestors > Public Const BIF_EDITBOX = &H10 'Allows user to rename > selection > Public Const BIF_VALIDATE = &H20 'Insist on valid editbox result > (or CANCEL) > Public Const BIF_BROWSEFORCOMPUTER = &H1000 'Only returns computers. > Public Const BIF_BROWSEFORPRINTER = &H2000 'Only returns printers. > Public Const BIF_BROWSEINCLUDEFILES = &H4000 'Browse for everything > Public Const MAX_PATH = 260 > > end of Module1 content. Note I didn't write it, I think it is part of what > was written by Stuart McLachlan, and he said there is stuff in what he wrote > that isn't needed by me. > > Gary asked: > > Do you have a control - possibly an image control pointing to another > > control that has the name/path of the picture file it is displaying? Or > > perhaps some event code that has the report name hard coded in it that got > > broken when you changed the report name? > > Huh? I don't know exactly what you mean. I know that tables and queries can > be referred to by reports, but I didn't think anything would have a report > name except a macro. And there are no macros. > > Jim Lawrence said: > > One other obvious possibility could be that a particular image(s) has > become > > corrupted. Just try loading the non-printing image(s) into your graphic > > program. > > In Explorer, I have no problem doubleclicking to open all the graphics. If > there is a problem with a particular image, I have no way of telling because > the error message flashes past to fast to see. > > Jim Lawrence said: > > My prognosis, as you have probably already assumed, is that the particular > > database has somehow become corrupted. I would open up the bad db, create > > and open a new db and copy and paste the components and code from one to > the > > other, as the standard repair and compact has failed to work. > > Since there is that recompile problem, I'm leaving this for now. I kinda got > a feeling I wouldn't get everything copied I would need to. > > Well, anybody have any more ideas? Obviously compiling has something to do > with it, but what? > > -- > Kathryn Rhinehart Bassett (Pasadena CA) > "Genealogy is my bag" "GH is my soap" > kathryn at bassett.net > http://bassett.net > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From wdhindman at bellsouth.net Tue Aug 5 22:18:23 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Tue, 5 Aug 2003 23:18:23 -0400 Subject: [AccessD] AXP Text File Import Crashes Access References: <004701c35b15$3ca430a0$0c05a8c0@carlton.local><005801c35b48$bc2d6390$6101a8c0@amd2k512> <00d001c35bbc$1195b8f0$54dd31d2@OfficePC> Message-ID: <002301c35bc9$64d1c8d0$6101a8c0@amd2k512> Message...lol ...well at least with this one, there are no militant protesters threatening to e-bomb my mail server :) William Hindman "You know the world is going crazy when the best rapper is a white guy, the best golfer is a black guy, The Swiss hold the America's Cup, France is accusing the US of arrogance, and Germany doesn't want to go to war." ----- Original Message ----- From: Software Design & Solutions Pty Ltd. To: Access Developers discussion and problem solving Sent: Tuesday, August 05, 2003 9:42 PM Subject: Re: [AccessD] AXP Text File Import Crashes Access William - great tag on your email! Kath ----- Original Message ----- From: William Hindman To: Access Developers discussion and problem solving Sent: Tuesday, August 05, 2003 9:57 PM Subject: Re: [AccessD] AXP Text File Import Crashes Access Vlad ...do text imports this way regularly with A97 and AXP on different systems ...sorry, no crashes here (we won't talk about blue screens of death due to other things) ...used to get flaky things happening in Access when I had A97 on my AXP development system ...now I keep it on an older system on the network and don't see as many anomalies :( William Hindman "You know the world is going crazy when the best rapper is a white guy, the best golfer is a black guy, The Swiss hold the America's Cup, France is accusing the US of arrogance, and Germany doesn't want to go to war." ----- Original Message ----- From: ACTEBS To: access group Sent: Tuesday, August 05, 2003 1:48 AM Subject: [AccessD] AXP Text File Import Crashes Access Guys, Has anyone had a problem with the File|Get External Data|Import option where is keeps crashing access when either an excel or text file is selected. I have AXP SP2 and have scoured the web to find a solution, but no go. I also have A97 installed on the same machine if that matters... Hope someone has got an answer... Regards Vlad -------------------------------------------------------------------------- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------------------------------- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From SDSSoftware at Optusnet.com.au Tue Aug 5 22:26:36 2003 From: SDSSoftware at Optusnet.com.au (Software Design & Solutions Pty Ltd.) Date: Wed, 6 Aug 2003 13:26:36 +1000 Subject: [AccessD] AXP Text File Import Crashes Access References: <004701c35b15$3ca430a0$0c05a8c0@carlton.local><005801c35b48$bc2d6390$6101a8c0@amd2k512><00d001c35bbc$1195b8f0$54dd31d2@OfficePC> <002301c35bc9$64d1c8d0$6101a8c0@amd2k512> Message-ID: <002e01c35bca$8b2cdb40$54dd31d2@OfficePC> Message..........not yet anyway...:)) ----- Original Message ----- From: William Hindman To: Access Developers discussion and problem solving Sent: Wednesday, August 06, 2003 1:18 PM Subject: Re: [AccessD] AXP Text File Import Crashes Access ...lol ...well at least with this one, there are no militant protesters threatening to e-bomb my mail server :) William Hindman "You know the world is going crazy when the best rapper is a white guy, the best golfer is a black guy, The Swiss hold the America's Cup, France is accusing the US of arrogance, and Germany doesn't want to go to war." ----- Original Message ----- From: Software Design & Solutions Pty Ltd. To: Access Developers discussion and problem solving Sent: Tuesday, August 05, 2003 9:42 PM Subject: Re: [AccessD] AXP Text File Import Crashes Access William - great tag on your email! Kath ----- Original Message ----- From: William Hindman To: Access Developers discussion and problem solving Sent: Tuesday, August 05, 2003 9:57 PM Subject: Re: [AccessD] AXP Text File Import Crashes Access Vlad ...do text imports this way regularly with A97 and AXP on different systems ...sorry, no crashes here (we won't talk about blue screens of death due to other things) ...used to get flaky things happening in Access when I had A97 on my AXP development system ...now I keep it on an older system on the network and don't see as many anomalies :( William Hindman "You know the world is going crazy when the best rapper is a white guy, the best golfer is a black guy, The Swiss hold the America's Cup, France is accusing the US of arrogance, and Germany doesn't want to go to war." ----- Original Message ----- From: ACTEBS To: access group Sent: Tuesday, August 05, 2003 1:48 AM Subject: [AccessD] AXP Text File Import Crashes Access Guys, Has anyone had a problem with the File|Get External Data|Import option where is keeps crashing access when either an excel or text file is selected. I have AXP SP2 and have scoured the web to find a solution, but no go. I also have A97 installed on the same machine if that matters... Hope someone has got an answer... Regards Vlad ------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------------------------------------------------------------------- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------------------------------- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From mwp.reid at qub.ac.uk Wed Aug 6 01:17:09 2003 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Tue, 5 Aug 2003 23:17:09 -0700 Subject: [AccessD] Debugging References: <22F1CCD5171D17419CB37FEEE09D5F990173F346@TTNEXCHSRV1.hshhp.com> <011201c35b92$266a7650$0f0b6351@martin1> <3F304E31.80306@shaw.ca> Message-ID: <004601c35be2$5eacb820$0f0b6351@martin1> Yeah Beta TR 2 Martin ----- Original Message ----- From: "MartyConnelly" To: "Access Developers discussion and problem solving" Sent: Tuesday, August 05, 2003 5:39 PM Subject: Re: [AccessD] Debugging > Are you running the Beta 2 refresh or update. Whatever they call it. > I noticed some "step into" methods didn't seem to work on original > Beta 2. > > > Martin Reid wrote: > > >Sitting in the VBA IDE in Access 2003 (Should not matter). Whatever I try to > >step into some code it dosnt work. Any ideas? > > > >Martin > > > >_______________________________________________ > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > > > > > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From rgilimited at btconnect.com Wed Aug 6 03:17:00 2003 From: rgilimited at btconnect.com (Robin Lawrence) Date: Wed, 6 Aug 2003 09:17:00 +0100 Subject: [AccessD] Disable Office links? Message-ID: <000401c35bf3$1cf848c0$5373a8c0@local> Greetings all...... Is it possible to disable the built in Office Links (Export to Excel/Word...) toolbar for a particular form only?? Tia & Regards Robin Lawrence robin at rolledgold.co.uk -------------- next part -------------- An HTML attachment was scrubbed... URL: From gustav at cactus.dk Wed Aug 6 03:38:13 2003 From: gustav at cactus.dk (Gustav Brock) Date: Wed, 6 Aug 2003 10:38:13 +0200 Subject: [AccessD] No Office 2003 ODE (Office Developer Edition)? In-Reply-To: <011001c35bbc$92c74ce0$54dd31d2@OfficePC> References: <200307201721.SAA22981@hosea.qub.ac.uk><7938568478.20030720192939@cactus.dk> <3F1AD9FC.5060702@shaw.ca><3F1B645E.7070902@shaw.ca> <1141810283.20030805083927@cactus.dk><3F2FE7DE.4050501@shaw.ca> <011001c35bbc$92c74ce0$54dd31d2@OfficePC> Message-ID: <637239810.20030806103813@cactus.dk> Hi Software I'm of the old school - server software belong to servers. And no one else than you should have access to your workstation. /gustav > Gustav - I am just starting to learn about IIS in so much as I am > starting looking at ASP - why do you prefer not to have IIS > installed on your dev machine? From gustav at cactus.dk Wed Aug 6 03:44:55 2003 From: gustav at cactus.dk (Gustav Brock) Date: Wed, 6 Aug 2003 10:44:55 +0200 Subject: [AccessD] Age calculation function In-Reply-To: References: <916187228923D311A6FE00A0CC3FAA30527B56@ADGSERVER> Message-ID: <1477641227.20030806104455@cactus.dk> Hi A.D.Tejpal You could do that (I haven't had the need) but in that case I would suggest to return months or even days, as a decimal year doesn't really mean anything except for comparison - but if this is mandatory I would prefer Currency as return value type as Single can cause a lot of trouble due to the lack of resolution. /gustav > Threads related to age calculation appear to remain ever popular. > Any reason for limiting the return value to an integer ? Would it not be preferable to have it as single (Integer portion to represent comnpleted years and decimal portion based upon number of > days lapsed in final unfinished year if any) ? The result could be used at the level of precision actually needed. From andy at minstersystems.co.uk Wed Aug 6 03:52:35 2003 From: andy at minstersystems.co.uk (Andy Lacey) Date: Wed, 6 Aug 2003 9:52:35 +0100 Subject: [AccessD] Disable Office links? Message-ID: <20030806085233.13973234783@smithers.nildram.co.uk> An HTML attachment was scrubbed... URL: From Erwin.Craps at ithelps.be Wed Aug 6 04:11:24 2003 From: Erwin.Craps at ithelps.be (Erwin Craps) Date: Wed, 6 Aug 2003 11:11:24 +0200 Subject: [AccessD] OT (compleetly): .NET I love to see troubles I recognise, at someone else site... Message-ID: Look at this guys Don't you love seeing this it at a big company? www.dell.com Click support and have a big laugh.... In case they have corrected it, I saved the page at http://www.ithelps.be/temp/Runtime%20Error.htm Erwin Craps Zaakvoerder www.ithelps.be/jonathan This E-mail is confidential, may be legally privileged, and is for the intended recipient only. Access, disclosure, copying, distribution, or reliance on any of it by anyone else is prohibited and may be a criminal offence. Please delete if obtained in error and E-mail confirmation to the sender. IT Helps - I.T. Help Center *** Box Office Belgium & Luxembourg www.ithelps.be * www.boxoffice.be * www.stadleuven.be IT Helps bvba* ** Mercatorpad 3 ** 3000 Leuven IT Helps * Phone: +32 16 296 404 * Fax: +32 16 296 405 E-mail: Info at ithelps.be Box Office ** Fax: +32 16 296 406 ** Box Office E-mail: Staff at boxoffice.be -------------- next part -------------- An HTML attachment was scrubbed... URL: From rgilimited at btconnect.com Wed Aug 6 04:14:08 2003 From: rgilimited at btconnect.com (Robin Lawrence) Date: Wed, 6 Aug 2003 10:14:08 +0100 Subject: [AccessD] Disable Office links? In-Reply-To: <20030806085233.13973234783@smithers.nildram.co.uk> Message-ID: <001001c35bfb$18d05050$5373a8c0@local> Andy, Ok thks will have a look at that - was hoping I could just disable those particular buttons. Rgds Robin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey Sent: 06 August 2003 09:53 To: AccessD at databaseadvisors.com Subject: Re: [AccessD] Disable Office links? Robin, I think you'd have to build your own custom toolbar without the links, and attach that to the form. If necessary you can also then close the standard one in the form's OnOpen and reopen it in the OnClose. -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Robin Lawrence" To: "AccessD at databaseadvisors.com" Subject: [AccessD] Disable Office links? Date: 06/08/03 08:27 Greetings all...... Is it possible to disable the built in Office Links (Export to Excel/Word...) toolbar for a particular form only?? Tia & Regards Robin Lawrence robin at rolledgold.co.uk _____ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From shamil at smsconsulting.spb.ru Wed Aug 6 04:28:09 2003 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Wed, 6 Aug 2003 13:28:09 +0400 Subject: [AccessD] Automation Error 8001010A when Automating Word 2000 References: <025201c35b37$5ebefe50$5100a8c0@BITSNB02> Message-ID: <019601c35bfd$0d9f19d0$b501010a@DAISY.local> Thanks for your reply Stuart - but they say they DON'T have NAV installed and that disabling their GeCAD RAV Antivirus v8 doesn't help to solve the subject's problem... Shamil ----- Original Message ----- From: "Stuart Sanders" To: "'Access Developers discussion and problem solving'" Sent: Tuesday, August 05, 2003 1:53 PM Subject: RE: [AccessD] Automation Error 8001010A when Automating Word 2000 > Shamil > > (been a while since I've had time to read the list, so I'll try my best) > > I've had automation errors with Norton installed when script blocking is > turned on. > > I'd make a guess without knowing anything about their virus software > that it may likely be the problem. Things to look out for would be > anything similar to script blocking, and perhaps heuristic capabilities. > > > First thing I would suggest is to get them to test your app with the AV > product disabled. If it is the culprit, they could try selectively > turning heuristic scanning and/or script scanning modules (assuming the > product allows that). > > I use zonealarm and haven't had any problems. > > Stuart > > > -----Original Message----- > > Hi All, > > > > Have anybody seen the subject error, which appears when the > > following VBA > > code line is executed: > > > > set wapp = CreateObject("Word.Application") > > > > or > > > > set wapp = CreateObject("Word.Application.9") > > > > where wapp is defined as: > > > > dim wapp as Object > > > > that the problem is because of Norton Antivirus installed but my > customer > > states that there is no NAV on their PC. There are: > > > > Zone Alarm and GeCAD RAV Antivirus v8. > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From rgilimited at btconnect.com Wed Aug 6 04:44:27 2003 From: rgilimited at btconnect.com (Robin Lawrence) Date: Wed, 6 Aug 2003 10:44:27 +0100 Subject: [AccessD] Disable Office links? In-Reply-To: <20030806085233.13973234783@smithers.nildram.co.uk> Message-ID: <000001c35bff$546f3c30$5373a8c0@local> Andy, I've successfully replaced the standard bar as you suggested by using me.toolbar = "test" (a quick test toolbar) in the OnLoad property of the form Unfortunately it appears the Office link is on a database custom toolbar as it still displays below my test toolbar. Any ideas how I can get to that for this form only? Rgds -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey Sent: 06 August 2003 09:53 To: AccessD at databaseadvisors.com Subject: Re: [AccessD] Disable Office links? Robin, I think you'd have to build your own custom toolbar without the links, and attach that to the form. If necessary you can also then close the standard one in the form's OnOpen and reopen it in the OnClose. -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Robin Lawrence" To: "AccessD at databaseadvisors.com" Subject: [AccessD] Disable Office links? Date: 06/08/03 08:27 Greetings all...... Is it possible to disable the built in Office Links (Export to Excel/Word...) toolbar for a particular form only?? Tia & Regards Robin Lawrence robin at rolledgold.co.uk _____ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From andy at minstersystems.co.uk Wed Aug 6 06:04:39 2003 From: andy at minstersystems.co.uk (Andy Lacey) Date: Wed, 6 Aug 2003 12:04:39 +0100 Subject: [AccessD] Disable Office links? Message-ID: <20030806110435.D80B623438E@smithers.nildram.co.uk> An HTML attachment was scrubbed... URL: From dajomigo at tpg.com.au Wed Aug 6 06:07:30 2003 From: dajomigo at tpg.com.au (David & Joanne Gould) Date: Wed, 06 Aug 2003 21:07:30 +1000 Subject: [AccessD] Access form and report anomalies In-Reply-To: <013901c35774$b9fa0920$8e01a8c0@Rock> References: <5.1.0.14.2.20030731224659.036b0e40@mail.tpg.com.au> Message-ID: <5.1.0.14.2.20030806205759.01dcf978@mail.tpg.com.au> Sorry for the delay in replying. In answer to your questions: * yes, each form has a subform that just reports on extra data. The user can't add any data to them. * The combo sits above the tab form. * Is it possible to set the recordsource to a tab sheet. I set the recordsource to the whole form. * I'm not sure what you mean by your suggestion. * The same result happens no matter what computer I am using. At 11:02 31/07/2003 -0400, you wrote: >Maybe I'd have to see the form to understand your request better. Do you >have a subform on each of two tab pages? Does the combo sit on a tab page or >above it in the form header? Or alternatively does the selected record >source populate both tab pages? What about creating an additional hidden >field and pointing each record set at its own hidden field? You'd have to >modify one query slightly but that way the confusion might be eliminated. > >On the reports issue, is there a chance that the printer is set up for 3 >copies? > >Hth, >Arthur > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David & Joanne >Gould >Sent: July 31, 2003 8:57 AM >To: accessd at databaseadvisors.com >Subject: [AccessD] Access form and report anomalies > > >I have found two confusing problems with a database I am writing. > >1. I have a tab form where the record source is decided from a combo box. >The record sources are both queries that are changed depending which tab is >picked. both queries rely on a record number in a hidden field. If I leave >the data in this field as is when changing record sources the form works >perfectly except that the data on the chosen tab form uses the record >number from the other form to display its data. I tried to clear the data >in this field so that each time a form opens it opens clean. but I kept >getting the message that I was changing the record source and the form >would crash. This only happened to the second of the form tabs while the >first still kept working fine. Does anyone have any ideas what may be >causing this. > >2. I have four similar reports that for some reason print in triplicate >everytime they are run. This results whenever these reports are run, even >if they are just previewed. Other than this hiccup the reports work >perfectly. I hope someone can help me out of my confusion and to solve this >anomaly. > >TIA > >David > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com From shamil at smsconsulting.spb.ru Wed Aug 6 06:51:07 2003 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Wed, 6 Aug 2003 15:51:07 +0400 Subject: [AccessD] OT: Preserving state of user interaction in ASP.NET applications Message-ID: <006701c35c11$06a5e280$b501010a@DAISY.local> Hi All, I have watched MSDN webcast (http://www.microsoft.com/usa/webcasts) yesterday : ASP.NET: Building Data Driven Web Applications Using ASP.NET and ADO.NET... Looks interesting and as usual with MS presentations - "life is easy and cheese is free" - making ASP.NET applications is very similar now to designing MS Access (projects) forms. But what they showed was a rather simple sample application with sometimes ugly interface and with very frequent round-trips to the server. And it was completely stateless i.e. every front-end interaction used to create(reuse pooled?) connection on server side, recreate dataadapter object, datasets etc... The question is: Does anybody here investigated the subj in all the details? What is wanted is to have the state of the user->Server interactions preserved between server calls - there are third party tools - e.g. WebObjects from ComponentOne, which look like serving this purpose but I expected that all that can be done without extra efforts and by using build-in ASP.NET features - was I wrong? TIA for any info, Shamil From Jdemarco at hshhp.org Wed Aug 6 07:29:25 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Wed, 6 Aug 2003 08:29:25 -0400 Subject: [AccessD] mdb in dmz Message-ID: <22F1CCD5171D17419CB37FEEE09D5F990173F348@TTNEXCHSRV1.hshhp.com> James, First, using Server.MapPath is a good idea. Our db folder is actually one level above the root as you describe so this will help with future deployment. Problem is the code still won't run but at least the page not found error is gone and this one is back: Microsoft JET Database Engine error '80004005' Unspecified error /test.asp, line 22 I don't know if that's a good thing or not but... Thanks, Jim DeMarco -----Original Message----- From: James Barash [mailto:James at fcidms.com] Sent: Tuesday, August 05, 2003 4:19 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] mdb in dmz Jim, Are you sure D:\db\ exists and is visible from IIS on the server, including permissions for the IIS account? I tested your code using a path to a directory that did not exist and I get a page not found error so maybe that's it. I usually create a db directory under the root for the website. Then you can access the file using dbpath = Server.MapPath("./db/HshhpTips.mdb") That way you don't have to worry about moving the files to a different server, the relative paths stay the same. James Barash -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim DeMarco Sent: Tuesday, August 05, 2003 2:02 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] mdb in dmz Looks like everything is going over port 80. The real drag is I can't be sure it's even a hardware problem. We simplified the code to this (it's ASP/VBScript so no data types,etc.): dim connectstring dim cnn dim dbpath dbpath = "D:\db\HshhpTips.mdb" connectstring = "Provider=Microsoft.Jet.OLEDB.4.0; Data Source=" & dbpath Set cnn = Server.CreateObject("ADODB.Connection") 'cnn.open connectstring Response.Write "testing" The code runs if we leave the cnn.open line commented out but when we put it back we now get a page not found error. Works fine on our dev machine of course. I would think if it was a data access problem the code would bail on the CreateObject call. Server's running Win2K BTW. Jim DeMarco -----Original Message----- From: Jim Dettman [mailto:jimdettman at earthlink.net] Sent: Tuesday, August 05, 2003 12:52 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] mdb in dmz Jim, <> Check the Firewall's log. It will show the IP address of the web server, whether it was TCP or UDP packet, and the port it was trying to use. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim DeMarco Sent: Tuesday, August 05, 2003 10:58 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] mdb in dmz Thanks Frank (where'd you find that domain on your e-mail address??). I searched msdn and found this list of Port Assignments for Common Services (http://www.microsoft.com/windows2000/techinfo/reskit/samplechapters/cnf c/cn fc_por_simw.asp - watch for wrapping). None seems to be what I'm looking (AFAICT anyway). Can anyone point me in the right direction? Thanks, Jim DeMarco -----Original Message----- From: Frank Tanner III [mailto:pctech at mybellybutton.com] Sent: Tuesday, August 05, 2003 10:45 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] mdb in dmz I'm not sure what tcp/udp port(s) that Jet and OLEdb use, but do you have those allowed to pass from the DMZ to wherever it needs to go? i.e. the internal LAN and the external Internet. Usually DMZs are configured to ONLY allow the ports necessary, such as HTTP, HTTPS, POP3, SMTP, etc. --- Jim DeMarco wrote: > List, > > We just went live with our web site > (http://www.hshhp.org) but had to remove a feature > that displays health tips. The tips are stored in > an A97 mdb but we get an "unspecified error" when > hitting the page. The db is on the web server box. > The server is behind the firewall in the DMZ. Does > anyone know if the DMZ is an issue when trying to > hit an mdb? We're using the OleDB provider for Jet > 4.0. I ran comcheck and we've got that version > installed. IIS 5.0 as well. > > TIA, > > Jim DeMarco > Director of Product Development > HealthSource/Hudson Health Plan > > > ************************************************************************ **** ******* > "This electronic message is intended to be for the > use only of the named recipient, and may contain > information from Hudson Health Plan (HHP) that is confidential or > privileged. If you are not the intended recipient, you are hereby > notified that any disclosure, copying, distribution or use of the > contents of this message is strictly prohibited. If you have received > this message in error or are not the named recipient, please notify us > immediately, either by contacting the sender at the electronic > mail address noted above or calling HHP at (914) > 631-1611. If you are not the intended recipient, > please do not forward this email to anyone, and > delete and destroy all copies of this message. > Thank You". > ************************************************************************ **** ******* > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ************************************************************************ **** ******* "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". ************************************************************************ **** ******* _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ************************************************************************ *********** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". ************************************************************************ *********** _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "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 andrew.haslett at ilc.gov.au Wed Aug 6 07:34:02 2003 From: andrew.haslett at ilc.gov.au (Haslett, Andrew) Date: Wed, 6 Aug 2003 22:04:02 +0930 Subject: [AccessD] OT: Preserving state of user interaction in ASP.NE T applications Message-ID: As I've mentioned in previous posts, check out: http://learnvisualstudio.net It answers your questions quite well. Downloadble videos of tutorials actually using the tool and designing applications. Much better than listening to a webcast or reading a book. Apart from VS itself, he also concentrates on asp.net, vb.net, c#.net and the framework. (Theres a list of videos on the botton om the home page) Free daily videos to get a taste for it, and a (pretty cheap) subscription gives you access to all the previous videos. Best few bucks I've spent. Bob encourages members to share a couple of the sample videos to people who are interested so if anyone is, let me know and I'll sned them to ya. Cheers, Andrew -----Original Message----- From: Shamil Salakhetdinov [mailto:shamil at smsconsulting.spb.ru] Sent: Wednesday, 6 August 2003 9:21 PM To: AccessD Subject: [AccessD] OT: Preserving state of user interaction in ASP.NET applications Hi All, I have watched MSDN webcast (http://www.microsoft.com/usa/webcasts) yesterday : ASP.NET: Building Data Driven Web Applications Using ASP.NET and ADO.NET... Looks interesting and as usual with MS presentations - "life is easy and cheese is free" - making ASP.NET applications is very similar now to designing MS Access (projects) forms. But what they showed was a rather simple sample application with sometimes ugly interface and with very frequent round-trips to the server. And it was completely stateless i.e. every front-end interaction used to create(reuse pooled?) connection on server side, recreate dataadapter object, datasets etc... The question is: Does anybody here investigated the subj in all the details? What is wanted is to have the state of the user->Server interactions preserved between server calls - there are third party tools - e.g. WebObjects from ComponentOne, which look like serving this purpose but I expected that all that can be done without extra efforts and by using build-in ASP.NET features - was I wrong? TIA for any info, Shamil _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com IMPORTANT - PLEASE READ ******************** This email and any files transmitted with it are confidential and may contain information protected by law from disclosure. If you have received this message in error, please notify the sender immediately and delete this email from your system. No warranty is given that this email or files, if attached to this email, are free from computer viruses or other defects. They are provided on the basis the user assumes all responsibility for loss, damage or consequence resulting directly or indirectly from their use, whether caused by the negligence of the sender or not. From rgilimited at btconnect.com Wed Aug 6 08:04:00 2003 From: rgilimited at btconnect.com (Robin Lawrence) Date: Wed, 6 Aug 2003 14:04:00 +0100 Subject: [AccessD] Disable Office links? In-Reply-To: <20030806110435.D80B623438E@smithers.nildram.co.uk> Message-ID: <001801c35c1b$365a5d30$5373a8c0@local> Andy, Solved - works great - just needed to find the right way in.... Thanks Robin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey Sent: 06 August 2003 12:05 To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Disable Office links? Robin Try Docmd.ShowToolBar, "toolbarname",acToolBarNo and (to put back on) Docmd.ShowToolBar, "toolbarname",acToolbarWhereApprop -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Robin Lawrence" To: "'Access Developers discussion and problem solving'" Subject: RE: [AccessD] Disable Office links? Date: 06/08/03 09:56 Andy, I've successfully replaced the standard bar as you suggested by using me.toolbar = "test" (a quick test toolbar) in the OnLoad property of the form Unfortunately it appears the Office link is on a database custom toolbar as it still displays below my test toolbar. Any ideas how I can get to that for this form only? Rgds -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey Sent: 06 August 2003 09:53 To: AccessD at databaseadvisors.com Subject: Re: [AccessD] Disable Office links? Robin, I think you'd have to build your own custom toolbar without the links, and attach that to the form. If necessary you can also then close the standard one in the form's OnOpen and reopen it in the OnClose. -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Robin Lawrence" To: "AccessD at databaseadvisors.com" Subject: [AccessD] Disable Office links? Date: 06/08/03 08:27 Greetings all...... Is it possible to disable the built in Office Links (Export to Excel/Word...) toolbar for a particular form only?? Tia & Regards Robin Lawrence robin at rolledgold.co.uk _____ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _____ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From dwaters at usinternet.com Wed Aug 6 08:49:53 2003 From: dwaters at usinternet.com (Dan Waters) Date: Wed, 6 Aug 2003 08:49:53 -0500 Subject: [AccessD] OT (compleetly): .NET I love to see troubles I recognise, atsomeone else site... In-Reply-To: Message-ID: <003501c35c21$9d734800$de1811d8@DanWaters> Erwin, I tried 3 days ago to go to support.dell.com, but couldn't get in. Tried again just now with no luck (maybe the three interns are working support this week!?!). I was looking to see if there is an updated BIOS for my laptop. Were you able to get in - what did you see? Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Erwin Craps Sent: Wednesday, August 06, 2003 3:11 AM To: AccessD at databaseadvisors.com Subject: [AccessD] OT (compleetly): .NET I love to see troubles I recognise, atsomeone else site... Look at this guys Don't you love seeing this it at a big company? www.dell.com Click support and have a big laugh.... In case they have corrected it, I saved the page at http://www.ithelps.be/temp/Runtime%20Error.htm Erwin Craps Zaakvoerder www.ithelps.be/jonathan This E-mail is confidential, may be legally privileged, and is for the intended recipient only. Access, disclosure, copying, distribution, or reliance on any of it by anyone else is prohibited and may be a criminal offence. Please delete if obtained in error and E-mail confirmation to the sender. IT Helps - I.T. Help Center *** Box Office Belgium & Luxembourg www.ithelps.be * www.boxoffice.be * www.stadleuven.be IT Helps bvba* ** Mercatorpad 3 ** 3000 Leuven IT Helps * Phone: +32 16 296 404 * Fax: +32 16 296 405 E-mail: Info at ithelps.be Box Office ** Fax: +32 16 296 406 ** Box Office E-mail: Staff at boxoffice.be -------------- next part -------------- An HTML attachment was scrubbed... URL: From BBarabash at TappeConstruction.com Wed Aug 6 08:54:26 2003 From: BBarabash at TappeConstruction.com (Brett Barabash) Date: Wed, 6 Aug 2003 08:54:26 -0500 Subject: [AccessD] OT (compleetly): .NET I love to see troubles I reco gnise, atsomeone else site... Message-ID: <426071E0B0A6D311B3C0006008B0AB2338C8BA@TAPPEEXCH01> Ooh! I have an even better one. Microsoft recently sent me an email inviting me to a .NET programmer's conference. When I tried to sign up for it, my responses were almost identical to yours at the Dell site. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Erwin Craps Sent: Wednesday, August 06, 2003 3:11 AM To: AccessD at databaseadvisors.com Subject: [AccessD] OT (compleetly): .NET I love to see troubles I recognise, atsomeone else site... Look at this guys Don't you love seeing this it at a big company? www.dell.com Click support and have a big laugh.... In case they have corrected it, I saved the page at http://www.ithelps.be/temp/Runtime%20Error.htm Erwin Craps Zaakvoerder www.ithelps.be/jonathan This E-mail is confidential, may be legally privileged, and is for the intended recipient only. Access, disclosure, copying, distribution, or reliance on any of it by anyone else is prohibited and may be a criminal offence. Please delete if obtained in error and E-mail confirmation to the sender. IT Helps - I.T. Help Center *** Box Office Belgium & Luxembourg www.ithelps.be * www.boxoffice.be * www.stadleuven.be IT Helps bvba* ** Mercatorpad 3 ** 3000 Leuven IT Helps * Phone: +32 16 296 404 * Fax: +32 16 296 405 E-mail: Info at ithelps.be Box Office ** Fax: +32 16 296 406 ** Box Office E-mail: Staff at boxoffice.be -------------------------------------------------------------------------------------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the originator of the message. This footer also confirms that this email message has been scanned for the presence of computer viruses. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. -------------- next part -------------- An HTML attachment was scrubbed... URL: From CWortz at tea.state.tx.us Wed Aug 6 08:56:29 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Wed, 6 Aug 2003 08:56:29 -0500 Subject: OT: William's Signature Line - was RE: [AccessD] AXP Text File Import Crashes Access Message-ID: William, That may only be a matter of time! Most of those crazy radicals don't have real jobs and thus do not subscribe to lists of productive people trying to solve real-world problems. But sooner or later one of them will stumble across your signature line and declare you a "r a c i s t" and try to destroy you. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: William Hindman [mailto:wdhindman at bellsouth.net] Sent: Tuesday 2003 Aug 05 22:18 To: Access Developers discussion and problem solving Subject: Re: [AccessD] AXP Text File Import Crashes Access ...lol ...well at least with this one, there are no militant protesters threatening to e-bomb my mail server :) William Hindman "You know the world is going crazy when the best rapper is a white guy, the best golfer is a black guy, The Swiss hold the America's Cup, France is accusing the US of arrogance, and Germany doesn't want to go to war." ----- Original Message ----- From: Software Design & Solutions Pty Ltd. To: Access Developers discussion and problem solving Sent: Tuesday, August 05, 2003 9:42 PM Subject: Re: [AccessD] AXP Text File Import Crashes Access William - great tag on your email! Kath -------------- next part -------------- An HTML attachment was scrubbed... URL: From shamil at smsconsulting.spb.ru Wed Aug 6 09:32:41 2003 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Wed, 6 Aug 2003 18:32:41 +0400 Subject: [AccessD] OT: Preserving state of user interaction in ASP.NET applications References: Message-ID: <009901c35c2a$425b7e20$b501010a@DAISY.local> Thanks for this info Andrew! How big is an average video size? - the problem is that I've to pay for the traffic here and it costs around USD8 per 100MB... Shamil ----- Original Message ----- From: "Haslett, Andrew" To: "'Access Developers discussion and problem solving'" Sent: Wednesday, August 06, 2003 4:34 PM Subject: RE: [AccessD] OT: Preserving state of user interaction in ASP.NET applications > As I've mentioned in previous posts, check out: > http://learnvisualstudio.net > > It answers your questions quite well. > > Downloadble videos of tutorials actually using the tool and designing > applications. Much better than listening to a webcast or reading a book. > Apart from VS itself, he also concentrates on asp.net, vb.net, c#.net and > the framework. (Theres a list of videos on the botton om the home page) > > Free daily videos to get a taste for it, and a (pretty cheap) subscription > gives you access to all the previous videos. Best few bucks I've spent. > > Bob encourages members to share a couple of the sample videos to people who > are interested so if anyone is, let me know and I'll sned them to ya. > > Cheers, > Andrew > > -----Original Message----- > From: Shamil Salakhetdinov [mailto:shamil at smsconsulting.spb.ru] > Sent: Wednesday, 6 August 2003 9:21 PM > To: AccessD > Subject: [AccessD] OT: Preserving state of user interaction in ASP.NET > applications > > > Hi All, > > I have watched MSDN webcast (http://www.microsoft.com/usa/webcasts) > yesterday : ASP.NET: Building Data Driven Web Applications Using ASP.NET and > ADO.NET... > > Looks interesting and as usual with MS presentations - "life is easy and > cheese is free" - making ASP.NET applications is very similar now to > designing MS Access (projects) forms. But what they showed was a rather > simple sample application with sometimes ugly interface and with very > frequent round-trips to the server. And it was completely stateless i.e. > every front-end interaction used to create(reuse pooled?) connection on > server side, recreate dataadapter object, datasets etc... > > The question is: Does anybody here investigated the subj in all the details? > What is wanted is to have the state of the user->Server interactions > preserved between server calls - there are third party tools - e.g. > WebObjects from ComponentOne, which look like serving this purpose but I > expected that all that can be done without extra efforts and by using > build-in ASP.NET features - was I wrong? > > TIA for any info, > Shamil > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > IMPORTANT - PLEASE READ ******************** > This email and any files transmitted with it are confidential and may > contain information protected by law from disclosure. > If you have received this message in error, please notify the sender > immediately and delete this email from your system. > No warranty is given that this email or files, if attached to this > email, are free from computer viruses or other defects. They > are provided on the basis the user assumes all responsibility for > loss, damage or consequence resulting directly or indirectly from > their use, whether caused by the negligence of the sender or not. > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From Erwin.Craps at ithelps.be Wed Aug 6 09:58:37 2003 From: Erwin.Craps at ithelps.be (Erwin Craps) Date: Wed, 6 Aug 2003 16:58:37 +0200 Subject: [AccessD] OT (compleetly): .NET I love to see troubles Irecognise, atsomeone else site... Message-ID: An ASPX error, 10 minutes later I got in. -----Original Message----- From: Dan Waters [mailto:dwaters at usinternet.com] Sent: Wednesday, August 06, 2003 3:50 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] OT (compleetly): .NET I love to see troubles Irecognise, atsomeone else site... Erwin, I tried 3 days ago to go to support.dell.com, but couldn't get in. Tried again just now with no luck (maybe the three interns are working support this week!?!). I was looking to see if there is an updated BIOS for my laptop. Were you able to get in - what did you see? Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Erwin Craps Sent: Wednesday, August 06, 2003 3:11 AM To: AccessD at databaseadvisors.com Subject: [AccessD] OT (compleetly): .NET I love to see troubles I recognise, atsomeone else site... Look at this guys Don't you love seeing this it at a big company? www.dell.com Click support and have a big laugh.... In case they have corrected it, I saved the page at http://www.ithelps.be/temp/Runtime%20Error.htm Erwin Craps Zaakvoerder www.ithelps.be/jonathan This E-mail is confidential, may be legally privileged, and is for the intended recipient only. Access, disclosure, copying, distribution, or reliance on any of it by anyone else is prohibited and may be a criminal offence. Please delete if obtained in error and E-mail confirmation to the sender. IT Helps - I.T. Help Center *** Box Office Belgium & Luxembourg www.ithelps.be * www.boxoffice.be * www.stadleuven.be IT Helps bvba* ** Mercatorpad 3 ** 3000 Leuven IT Helps * Phone: +32 16 296 404 * Fax: +32 16 296 405 E-mail: Info at ithelps.be Box Office ** Fax: +32 16 296 406 ** Box Office E-mail: Staff at boxoffice.be -------------- next part -------------- An HTML attachment was scrubbed... URL: From delliker at hotmail.com Wed Aug 6 10:06:15 2003 From: delliker at hotmail.com (Don Elliker) Date: Wed, 06 Aug 2003 11:06:15 -0400 Subject: [AccessD] Storing Screen Shots (ctrl-printscrn) Message-ID: My users want to store screen shots and associate them with a record. This is to store results of a software test. There could potentially be many of these and storing as bmp files could get pretty huge, pretty fast. I am thinking I would want to create a standard directory for them and keep the link in the database. Am I re-inventing a round, rolling object? Anybody ever do this? TIA, _d "Things are only free to the extent that you don't pay for them".-Don Elliker _________________________________________________________________ The new MSN 8: smart spam protection and 2 months FREE* http://join.msn.com/?page=features/junkmail From martyconnelly at shaw.ca Wed Aug 6 11:38:26 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Wed, 06 Aug 2003 09:38:26 -0700 Subject: [AccessD] Storing Screen Shots (ctrl-printscrn) References: Message-ID: <3F312F02.4080800@shaw.ca> I have something like this where I store screen or form snaphots to the clipboard and paste them into a word document along with a task manager list of running processes then email them. Don Elliker wrote: > My users want to store screen shots and associate them with a record. > This is to store results of a software test. There could potentially > be many of these and storing as bmp files could get pretty huge, > pretty fast. I am thinking I would want to create a standard directory > for them and keep the link in the database. Am I re-inventing a round, > rolling object? Anybody ever do this? > TIA, > _d > > > "Things are only free to the extent that you don't pay for them".-Don > Elliker > > _________________________________________________________________ > The new MSN 8: smart spam protection and 2 months FREE* > http://join.msn.com/?page=features/junkmail > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From wdhindman at bellsouth.net Wed Aug 6 12:11:26 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Wed, 6 Aug 2003 13:11:26 -0400 Subject: William's Signature Line - was RE: [AccessD] AXP Text File ImportCrashes Access References: Message-ID: <001701c35c3d$c56b2640$6101a8c0@amd2k512> Message...ah heck ...Arthur already does that regularly!!!! :)))) William Hindman "You know the world is going crazy when the best rapper is a white guy, the best golfer is a black guy, The Swiss hold the America's Cup, France is accusing the US of arrogance, and Germany doesn't want to go to war." ----- Original Message ----- From: Wortz, Charles To: Access Developers discussion and problem solving Sent: Wednesday, August 06, 2003 9:56 AM Subject: OT: William's Signature Line - was RE: [AccessD] AXP Text File ImportCrashes Access William, That may only be a matter of time! Most of those crazy radicals don't have real jobs and thus do not subscribe to lists of productive people trying to solve real-world problems. But sooner or later one of them will stumble across your signature line and declare you a "r a c i s t" and try to destroy you. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: William Hindman [mailto:wdhindman at bellsouth.net] Sent: Tuesday 2003 Aug 05 22:18 To: Access Developers discussion and problem solving Subject: Re: [AccessD] AXP Text File Import Crashes Access ...lol ...well at least with this one, there are no militant protesters threatening to e-bomb my mail server :) William Hindman "You know the world is going crazy when the best rapper is a white guy, the best golfer is a black guy, The Swiss hold the America's Cup, France is accusing the US of arrogance, and Germany doesn't want to go to war." ----- Original Message ----- From: Software Design & Solutions Pty Ltd. To: Access Developers discussion and problem solving Sent: Tuesday, August 05, 2003 9:42 PM Subject: Re: [AccessD] AXP Text File Import Crashes Access William - great tag on your email! Kath ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From delliker at hotmail.com Wed Aug 6 12:11:15 2003 From: delliker at hotmail.com (Don Elliker) Date: Wed, 06 Aug 2003 13:11:15 -0400 Subject: [AccessD] Storing Screen Shots (ctrl-printscrn) Message-ID: I want to store screen shots of other applications (or refs to them). In other words, the user is testing an application and they want to store the screen result in the database. They are not in the database when they do this, necessarily. They may capture the screenshot, then put the reference to the screenshot in the database. (I'm thinking while I'm typing this -dangerous, I know). Once again, simply 'talking' about the problem is helping.... Any thoughts gratefully accepted. _D "Things are only free to the extent that you don't pay for them".-Don Elliker >From: MartyConnelly >Reply-To: Access Developers discussion and problem >solving >To: Access Developers discussion and problem solving > >Subject: Re: [AccessD] Storing Screen Shots (ctrl-printscrn) >Date: Wed, 06 Aug 2003 09:38:26 -0700 > >I have something like this where I store screen or form snaphots to the >clipboard and paste them into a word document along with a task manager >list of running processes then email them. > >Don Elliker wrote: > >>My users want to store screen shots and associate them with a record. This >>is to store results of a software test. There could potentially be many of >>these and storing as bmp files could get pretty huge, pretty fast. I am >>thinking I would want to create a standard directory for them and keep the >>link in the database. Am I re-inventing a round, rolling object? Anybody >>ever do this? >>TIA, >>_d >> >> >>"Things are only free to the extent that you don't pay for them".-Don >>Elliker >> >>_________________________________________________________________ >>The new MSN 8: smart spam protection and 2 months FREE* >>http://join.msn.com/?page=features/junkmail >> >>_______________________________________________ >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >> > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. http://join.msn.com/?page=features/virus From Lambert.Heenan at AIG.com Wed Aug 6 12:59:31 2003 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Wed, 6 Aug 2003 13:59:31 -0400 Subject: William's Signature Line - was RE: [AccessD] AXP Text File Im port Crashes Access Message-ID: <8B98F8EA48F8BA47A2F24E0D0AF40CF407AD755F@xlivmbx12.aig.com> You'll know the world is returning to reality when rapping is classed as poetry, not music, when the US is respectful of other countries, when the World Series is renamed the North American Baseball Championship, when SUV's are either banned or subject to pollution taxes, when we stop BURNING oil and start to use it as a raw material for other products, when the industrial military complex accounts for less that 10% of the US GNP, when the Detroit Auto industry loses any clout it has with Washington, when we start seriously investing in rail transportation, when no more 6 lane highways are built, when Cell phones are stored behind glass panels with "break in case of emergency" signs on them, when bicycle sales exceed those of cars, etc. etc. etc. Lambert > -----Original Message----- > From: William Hindman [mailto:wdhindman at bellsouth.net] > Sent: Tuesday 2003 Aug 05 22:18 > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] AXP Text File Import Crashes Access > > > ...lol ...well at least with this one, there are no militant protesters > threatening to e-bomb my mail server :) > > William Hindman > "You know the world is going crazy when the best rapper is a white guy, > the best golfer is a black guy, The Swiss hold the America's Cup, France > is accusing the US of arrogance, and Germany doesn't want to go to war." > > ----- Original Message ----- > From: Software Design & Solutions Pty Ltd. > > To: Access Developers discussion and problem solving > > Sent: Tuesday, August 05, 2003 9:42 PM > Subject: Re: [AccessD] AXP Text File Import Crashes Access > > William - great tag on your email! > Kath > > > << File: ATT964242.txt >> From BBarabash at TappeConstruction.com Wed Aug 6 13:05:06 2003 From: BBarabash at TappeConstruction.com (Brett Barabash) Date: Wed, 6 Aug 2003 13:05:06 -0500 Subject: William's Signature Line - was RE: [AccessD] AXP Text File Im port Crashes Access Message-ID: <426071E0B0A6D311B3C0006008B0AB2338C8BD@TAPPEEXCH01> *sigh* I guess Friday has arrived early for some list members. -----Original Message----- From: Heenan, Lambert [mailto:Lambert.Heenan at AIG.com] Sent: Wednesday, August 06, 2003 1:00 PM To: 'Access Developers discussion and problem solving' Subject: RE: William's Signature Line - was RE: [AccessD] AXP Text File Im port Crashes Access You'll know the world is returning to reality when rapping is classed as poetry, not music, when the US is respectful of other countries, when the World Series is renamed the North American Baseball Championship, when SUV's are either banned or subject to pollution taxes, when we stop BURNING oil and start to use it as a raw material for other products, when the industrial military complex accounts for less that 10% of the US GNP, when the Detroit Auto industry loses any clout it has with Washington, when we start seriously investing in rail transportation, when no more 6 lane highways are built, when Cell phones are stored behind glass panels with "break in case of emergency" signs on them, when bicycle sales exceed those of cars, etc. etc. etc. Lambert > -----Original Message----- > From: William Hindman [mailto:wdhindman at bellsouth.net] > Sent: Tuesday 2003 Aug 05 22:18 > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] AXP Text File Import Crashes Access > > > ...lol ...well at least with this one, there are no militant protesters > threatening to e-bomb my mail server :) > > William Hindman > "You know the world is going crazy when the best rapper is a white guy, > the best golfer is a black guy, The Swiss hold the America's Cup, France > is accusing the US of arrogance, and Germany doesn't want to go to war." > > ----- Original Message ----- > From: Software Design & Solutions Pty Ltd. > > To: Access Developers discussion and problem solving > > Sent: Tuesday, August 05, 2003 9:42 PM > Subject: Re: [AccessD] AXP Text File Import Crashes Access > > William - great tag on your email! > Kath > > > << File: ATT964242.txt >> _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------------------------------------------------------------------------------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the originator of the message. This footer also confirms that this email message has been scanned for the presence of computer viruses. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. From wdhindman at bellsouth.net Wed Aug 6 13:09:52 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Wed, 6 Aug 2003 14:09:52 -0400 Subject: William's Signature Line - was RE: [AccessD] AXP Text File Import Crashes Access References: <8B98F8EA48F8BA47A2F24E0D0AF40CF407AD755F@xlivmbx12.aig.com> Message-ID: <00f301c35c45$eeb11f70$6101a8c0@amd2k512> ...ok ...time to move this thread to OT ...we serve lefties for brunch over there and the VRWC for dessert :) William Hindman "You know the world is going crazy when the best rapper is a white guy, the best golfer is a black guy, The Swiss hold the America's Cup, France is accusing the US of arrogance, and Germany doesn't want to go to war." ----- Original Message ----- From: "Heenan, Lambert" To: "'Access Developers discussion and problem solving'" Sent: Wednesday, August 06, 2003 1:59 PM Subject: RE: William's Signature Line - was RE: [AccessD] AXP Text File Import Crashes Access > You'll know the world is returning to reality when rapping is classed as > poetry, not music, when the US is respectful of other countries, when the > World Series is renamed the North American Baseball Championship, when SUV's > are either banned or subject to pollution taxes, when we stop BURNING oil > and start to use it as a raw material for other products, when the > industrial military complex accounts for less that 10% of the US GNP, when > the Detroit Auto industry loses any clout it has with Washington, when we > start seriously investing in rail transportation, when no more 6 lane > highways are built, when Cell phones are stored behind glass panels with > "break in case of emergency" signs on them, when bicycle sales exceed those > of cars, etc. etc. etc. > > Lambert > > -----Original Message----- > > From: William Hindman [mailto:wdhindman at bellsouth.net] > > Sent: Tuesday 2003 Aug 05 22:18 > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] AXP Text File Import Crashes Access > > > > > > ...lol ...well at least with this one, there are no militant protesters > > threatening to e-bomb my mail server :) > > > > William Hindman > > "You know the world is going crazy when the best rapper is a white guy, > > the best golfer is a black guy, The Swiss hold the America's Cup, France > > is accusing the US of arrogance, and Germany doesn't want to go to war." > > > > ----- Original Message ----- > > From: Software Design & Solutions Pty Ltd. > > > > To: Access Developers discussion and problem solving > > > > Sent: Tuesday, August 05, 2003 9:42 PM > > Subject: Re: [AccessD] AXP Text File Import Crashes Access > > > > William - great tag on your email! > > Kath > > > > > > << File: ATT964242.txt >> > _______________________________________________ > 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 Aug 6 13:15:28 2003 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Wed, 6 Aug 2003 11:15:28 -0700 Subject: [AccessD] World Series References: <8B98F8EA48F8BA47A2F24E0D0AF40CF407AD755F@xlivmbx12.aig.com> Message-ID: <001701c35c46$b7c60560$0f0b6351@martin1> Why do they call the World Series the World Series anyway? Always wondered about that? Martin > You'll know the world is returning to reality when rapping is classed as > poetry, not music, when the US is respectful of other countries, when the > World Series is renamed the North American Baseball Championship, when SUV's > are either banned or subject to pollution taxes, when we stop BURNING oil > and start to use it as a raw material for other products, when the > industrial military complex accounts for less that 10% of the US GNP, when > the Detroit Auto industry loses any clout it has with Washington, when we > start seriously investing in rail transportation, when no more 6 lane > highways are built, when Cell phones are stored behind glass panels with > "break in case of emergency" signs on them, when bicycle sales exceed those > of cars, etc. etc. etc. > > Lambert > > -----Original Message----- > > From: William Hindman [mailto:wdhindman at bellsouth.net] > > Sent: Tuesday 2003 Aug 05 22:18 > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] AXP Text File Import Crashes Access > > > > > > ...lol ...well at least with this one, there are no militant protesters > > threatening to e-bomb my mail server :) > > > > William Hindman > > "You know the world is going crazy when the best rapper is a white guy, > > the best golfer is a black guy, The Swiss hold the America's Cup, France > > is accusing the US of arrogance, and Germany doesn't want to go to war." > > > > ----- Original Message ----- > > From: Software Design & Solutions Pty Ltd. > > > > To: Access Developers discussion and problem solving > > > > Sent: Tuesday, August 05, 2003 9:42 PM > > Subject: Re: [AccessD] AXP Text File Import Crashes Access > > > > William - great tag on your email! > > Kath > > > > > > << File: ATT964242.txt >> > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From cfoust at infostatsystems.com Wed Aug 6 13:25:37 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 6 Aug 2003 11:25:37 -0700 Subject: [AccessD] World Series Message-ID: Well, doesn't the world center around the USA? Baseball as a professional sport was exported to other countries fairly recently. The baseball world used to be much smaller. Charlotte Foust -----Original Message----- From: Martin Reid [mailto:mwp.reid at qub.ac.uk] Sent: Wednesday, August 06, 2003 10:15 AM To: Access Developers discussion and problem solving Subject: [AccessD] World Series Why do they call the World Series the World Series anyway? Always wondered about that? Martin > You'll know the world is returning to reality when rapping is classed > as poetry, not music, when the US is respectful of other countries, > when the World Series is renamed the North American Baseball > Championship, when SUV's > are either banned or subject to pollution taxes, when we stop BURNING > oil and start to use it as a raw material for other products, when the > industrial military complex accounts for less that 10% of the US GNP, > when the Detroit Auto industry loses any clout it has with Washington, > when we start seriously investing in rail transportation, when no more > 6 lane highways are built, when Cell phones are stored behind glass > panels with "break in case of emergency" signs on them, when bicycle > sales exceed those > of cars, etc. etc. etc. > > Lambert > > -----Original Message----- > > From: William Hindman [mailto:wdhindman at bellsouth.net] > > Sent: Tuesday 2003 Aug 05 22:18 > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] AXP Text File Import Crashes Access > > > > > > ...lol ...well at least with this one, there are no militant > > protesters threatening to e-bomb my mail server :) > > > > William Hindman > > "You know the world is going crazy when the best rapper is a white > > guy, the best golfer is a black guy, The Swiss hold the America's > > Cup, France is accusing the US of arrogance, and Germany doesn't > > want to go to war." > > > > ----- Original Message ----- > > From: Software Design & Solutions Pty Ltd. > > > > To: Access Developers discussion and problem solving > > > > Sent: Tuesday, August 05, 2003 9:42 PM > > Subject: Re: [AccessD] AXP Text File Import Crashes Access > > > > William - great tag on your email! > > Kath > > > > > > << File: ATT964242.txt >> > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Wed Aug 6 13:31:05 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Wed, 06 Aug 2003 11:31:05 -0700 Subject: [AccessD] mdb in dmz References: <22F1CCD5171D17419CB37FEEE09D5F990173F348@TTNEXCHSRV1.hshhp.com> Message-ID: <3F314969.4020503@shaw.ca> Don't know if this will help but see other links and paragraph Make sure you have adequate permissions on the database http://www.aspalliance.com/PeterJohnson/JetAdvice.aspx It is good idea to have the mdb file stored outside the web root to stop the little darlings downloading it. Jim DeMarco wrote: >James, > >First, using Server.MapPath is a good idea. Our db folder is actually one level above the root as you describe so this will help with future deployment. Problem is the code still won't run but at least the page not found error is gone and this one is back: > > >Microsoft JET Database Engine error '80004005' > >Unspecified error > >/test.asp, line 22 > > >I don't know if that's a good thing or not but... > >Thanks, > >Jim DeMarco > > > >-----Original Message----- >From: James Barash [mailto:James at fcidms.com] >Sent: Tuesday, August 05, 2003 4:19 PM >To: 'Access Developers discussion and problem solving' >Subject: RE: [AccessD] mdb in dmz > > >Jim, >Are you sure D:\db\ exists and is visible from IIS on the server, >including permissions for the IIS account? I tested your code using a >path to a directory that did not exist and I get a page not found error >so maybe that's it. I usually create a db directory under the root for >the website. Then you can access the file using >dbpath = Server.MapPath("./db/HshhpTips.mdb") >That way you don't have to worry about moving the files to a different >server, the relative paths stay the same. > >James Barash > > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim DeMarco >Sent: Tuesday, August 05, 2003 2:02 PM >To: Access Developers discussion and problem solving >Subject: RE: [AccessD] mdb in dmz > > >Looks like everything is going over port 80. The real drag is I can't >be sure it's even a hardware problem. We simplified the code to this >(it's ASP/VBScript so no data types,etc.): > > >dim connectstring >dim cnn >dim dbpath > > dbpath = "D:\db\HshhpTips.mdb" > connectstring = "Provider=Microsoft.Jet.OLEDB.4.0; Data Source=" >& dbpath > > Set cnn = Server.CreateObject("ADODB.Connection") > 'cnn.open connectstring > > Response.Write "testing" > > >The code runs if we leave the cnn.open line commented out but when we >put it back we now get a page not found error. Works fine on our dev >machine of course. I would think if it was a data access problem the >code would bail on the CreateObject call. Server's running Win2K BTW. > >Jim DeMarco > > > >-----Original Message----- >From: Jim Dettman [mailto:jimdettman at earthlink.net] >Sent: Tuesday, August 05, 2003 12:52 PM >To: Access Developers discussion and problem solving >Subject: RE: [AccessD] mdb in dmz > > >Jim, > ><> > > Check the Firewall's log. It will show the IP address of the web >server, whether it was TCP or UDP packet, and the port it was trying to >use. > >Jim Dettman >President, >Online Computer Services of WNY, Inc. >(315) 699-3443 >jimdettman at earthlink.net > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim DeMarco >Sent: Tuesday, August 05, 2003 10:58 AM >To: Access Developers discussion and problem solving >Subject: RE: [AccessD] mdb in dmz > > >Thanks Frank (where'd you find that domain on your e-mail address??). > >I searched msdn and found this list of Port Assignments for Common >Services >(http://www.microsoft.com/windows2000/techinfo/reskit/samplechapters/cnf >c/cn >fc_por_simw.asp - watch for wrapping). None seems to be what I'm >looking (AFAICT anyway). Can anyone point me in the right direction? > >Thanks, > >Jim DeMarco > >-----Original Message----- >From: Frank Tanner III [mailto:pctech at mybellybutton.com] >Sent: Tuesday, August 05, 2003 10:45 AM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] mdb in dmz > > >I'm not sure what tcp/udp port(s) that Jet and OLEdb >use, but do you have those allowed to pass from the >DMZ to wherever it needs to go? i.e. the internal LAN >and the external Internet. > >Usually DMZs are configured to ONLY allow the ports >necessary, such as HTTP, HTTPS, POP3, SMTP, etc. > >--- Jim DeMarco wrote: > > >>List, >> >>We just went live with our web site >>(http://www.hshhp.org) but had to remove a feature >>that displays health tips. The tips are stored in >>an A97 mdb but we get an "unspecified error" when >>hitting the page. The db is on the web server box. >>The server is behind the firewall in the DMZ. Does >>anyone know if the DMZ is an issue when trying to >>hit an mdb? We're using the OleDB provider for Jet >>4.0. I ran comcheck and we've got that version >>installed. IIS 5.0 as well. >> >>TIA, >> >>Jim DeMarco >>Director of Product Development >>HealthSource/Hudson Health Plan >> >> >> >> >> >************************************************************************ >**** >******* > > >>"This electronic message is intended to be for the >>use only of the named recipient, and may contain >>information from Hudson Health Plan (HHP) that is confidential or >>privileged. If you are not the intended recipient, you are hereby >>notified that any disclosure, copying, distribution or use of the >>contents of this message is strictly prohibited. If you have received >> >> > > > >>this message in error or are not the named recipient, please notify us >> >> > > > >>immediately, either by contacting the sender at the electronic >>mail address noted above or calling HHP at (914) >>631-1611. If you are not the intended recipient, >>please do not forward this email to anyone, and >>delete and destroy all copies of this message. >>Thank You". >> >> >> >************************************************************************ >**** >******* > > >>_______________________________________________ >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >> >> > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > >************************************************************************ >**** >******* >"This electronic message is intended to be for the use only of the named >recipient, and may contain information from Hudson Health Plan (HHP) >that is confidential or privileged. If you are not the intended >recipient, you are hereby notified that any disclosure, copying, >distribution or use of the contents of this message is strictly >prohibited. If you have received this message in error or are not the >named recipient, please notify us immediately, either by contacting the >sender at the electronic mail address noted above or calling HHP at >(914) 631-1611. If you are not the intended recipient, please do not >forward this email to anyone, and delete and destroy all copies of this >message. Thank You". >************************************************************************ >**** >******* > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > >************************************************************************ >*********** >"This electronic message is intended to be for the use only of the named >recipient, and may contain information from Hudson Health Plan (HHP) >that is confidential or privileged. If you are not the intended >recipient, you are hereby notified that any disclosure, copying, >distribution or use of the contents of this message is strictly >prohibited. If you have received this message in error or are not the >named recipient, please notify us immediately, either by contacting the >sender at the electronic mail address noted above or calling HHP at >(914) 631-1611. If you are not the intended recipient, please do not >forward this email to anyone, and delete and destroy all copies of this >message. Thank You". >************************************************************************ >*********** > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > >*********************************************************************************** >"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 jbhuffman at mdh.org Wed Aug 6 13:36:34 2003 From: jbhuffman at mdh.org (Huffman, Jarad B.) Date: Wed, 6 Aug 2003 13:36:34 -0500 Subject: [AccessD] World Series Message-ID: <0FFC98AA5943D211A2E90000F87A5B4801935926@NEWMAN_EXC> There are players from around the world playing in American ball; it's not just limited to American atheletes. Jarad Huffman -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Wednesday, August 06, 2003 1:26 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] World Series Well, doesn't the world center around the USA? Baseball as a professional sport was exported to other countries fairly recently. The baseball world used to be much smaller. Charlotte Foust -----Original Message----- From: Martin Reid [mailto:mwp.reid at qub.ac.uk] Sent: Wednesday, August 06, 2003 10:15 AM To: Access Developers discussion and problem solving Subject: [AccessD] World Series Why do they call the World Series the World Series anyway? Always wondered about that? Martin > You'll know the world is returning to reality when rapping is classed > as poetry, not music, when the US is respectful of other countries, > when the World Series is renamed the North American Baseball > Championship, when SUV's > are either banned or subject to pollution taxes, when we stop BURNING > oil and start to use it as a raw material for other products, when the > industrial military complex accounts for less that 10% of the US GNP, > when the Detroit Auto industry loses any clout it has with Washington, > when we start seriously investing in rail transportation, when no more > 6 lane highways are built, when Cell phones are stored behind glass > panels with "break in case of emergency" signs on them, when bicycle > sales exceed those > of cars, etc. etc. etc. > > Lambert > > -----Original Message----- > > From: William Hindman [mailto:wdhindman at bellsouth.net] > > Sent: Tuesday 2003 Aug 05 22:18 > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] AXP Text File Import Crashes Access > > > > > > ...lol ...well at least with this one, there are no militant > > protesters threatening to e-bomb my mail server :) > > > > William Hindman > > "You know the world is going crazy when the best rapper is a white > > guy, the best golfer is a black guy, The Swiss hold the America's > > Cup, France is accusing the US of arrogance, and Germany doesn't > > want to go to war." > > > > ----- Original Message ----- > > From: Software Design & Solutions Pty Ltd. > > > > To: Access Developers discussion and problem solving > > > > Sent: Tuesday, August 05, 2003 9:42 PM > > Subject: Re: [AccessD] AXP Text File Import Crashes Access > > > > William - great tag on your email! > > Kath > > > > > > << File: ATT964242.txt >> > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DBCfour at aol.com Wed Aug 6 13:25:15 2003 From: DBCfour at aol.com (DBCfour at aol.com) Date: Wed, 6 Aug 2003 14:25:15 EDT Subject: [AccessD] Money, Money, Money makes the world go round Message-ID: <113.272bc2f0.2c62a20b@aol.com> Hey William, Thanks for your suggestion, but it doesn't really facilitate the receipt of donations in the meantime. Perhaps, you would be interested in heading up a committe to do some fact finding regarding utilizing the resources we have available to us in terms of free/mirrored hosting? You could then come back w/some specifics in terms of a plan, how best to implement that plan, along with a timetable and proprosed guidelines for navigating through the transition from those that would be involved. Until we have a plan B, I think we should all do what we can to make sure that Plan A is working... and Plan A currently is securing donations, Corporate Sponsorships, and sales of stock to keep us financially sound. :-) Donna Who copied this to the BOD list for further discussion, since I'm not sure it belongs on the main list. > ----- Original Message ----- > From: "William Hindman" > To: "Access Developers discussion and problem solving" > > Sent: Tuesday, August 05, 2003 8:30 PM > Subject: Re: [AccessD] Money, Money, Money makes the world go round > > > > ...ok ...gonna stick my nose back in the dba pie for a moment or so ...as > > Lembit has stated, dba came about because this list was dumped upon or > held > > hostage on different occasions by "free" providers who for one reason or > > another left us in the lurch ...it is firm dba policy which I had as much > or > > more say in creating as anyone, not to ever again allow AccessD to become > > dependent upon a single provider ...thus the need to pay our own way which > > has served us in good stead. > > > > ...however ...circumstances change ...and what was once necessary may no > > longer be the exact case. > > > > ...if we had at least TWO free hosts, each fully capable of meeting all of > > our needs, and each willing to mirror the other full time ...then I can > see > > no reason to continue laying out hundreds of dollars for paid hosting > > services ...the mirroring setup ensures that dba is never dependent upon > any > > single host for the lists continued operation ...if one goes down, the > > mirror is able to pick it up immediately ...which is actually better > > reliability than we have now. > > > > ...I remember months back writing a memo similar to Lembits in regards to > an > > offer of free hosting by Drew ...hindsight is a wonderful thing but many > of > > the deterrents back then are now gone. > > > > ...I'd suggest that if Vlad, Drew, and any others with sufficient space/bw > > available want to set-up a mirroring arrangement, that dba move to do so > > asap ...that will immediately stop the money bleed and allow dba to use > what > > funds remain in more productive ways. > > > > William Hindman -------------- next part -------------- An HTML attachment was scrubbed... URL: From weeden1949 at hotmail.com Wed Aug 6 14:04:58 2003 From: weeden1949 at hotmail.com (Greg S) Date: Wed, 6 Aug 2003 14:04:58 -0500 Subject: [AccessD] Alignment Issue References: <8B98F8EA48F8BA47A2F24E0D0AF40CF407AD755F@xlivmbx12.aig.com> <001701c35c46$b7c60560$0f0b6351@martin1> Message-ID: Hi everyone! No comment on "William's Signature Line..." and the ...oops...almost...never mind. I have a problem with aligning (vertically) labels and/or fields on a report when there are (1) various font sizes being used and (2) word-wrap in text boxes. (1) For example, let's say I have a "table", if you want to call it that, in a report, where the left column contains the row label (identity) for everything in that row. The remaining columns contain fields from query results, sums, totals, etc. I obviously can easily align the like fields with each other. The problem starts when trying to align the left column labels, which are, for example, font size 12, with the rest of the fields in that row, which are 10. Aligning the field/label boxes does NOT do the trick. Because of the larger font, that box has to be larger, in which case the letters sit up higher in it, and don't align with the others any longer. Most of my clients don't say anything, either out of politeness, or they think I'm a friggin' idiot and can't even align stuff in a row. I can see the misalignment, but have never found a surefire way of making the letters truely align. It's always bugged me, but today, just back from vacation, it's more irritating than normal. (2) And in a similar vein, when you have labels, which are, for example, column headings, and some of them just fill the label box and some of them wrap around because they're too long for the column width. Ever try aligning those dudes on the bottom? Without doing it manually, that is. They can be aligned manually (eyeball) and look fairly good, but I was thinking there had to be a more accurate way to do it. I'm currently using A97, but use 2k and XP on occasion as well. Thanks in advance! Greg Smith weeden1949 at hotmail.com From cfoust at infostatsystems.com Wed Aug 6 14:12:37 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 6 Aug 2003 12:12:37 -0700 Subject: [AccessD] OT: World Series Message-ID: Yes, now. But back in the early days any non-American professional players were playing on US teams. Charlotte Foust -----Original Message----- From: Huffman, Jarad B. [mailto:jbhuffman at mdh.org] Sent: Wednesday, August 06, 2003 10:37 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] World Series There are players from around the world playing in American ball; it's not just limited to American atheletes. Jarad Huffman -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Wednesday, August 06, 2003 1:26 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] World Series Well, doesn't the world center around the USA? Baseball as a professional sport was exported to other countries fairly recently. The baseball world used to be much smaller. Charlotte Foust -----Original Message----- From: Martin Reid [mailto:mwp.reid at qub.ac.uk] Sent: Wednesday, August 06, 2003 10:15 AM To: Access Developers discussion and problem solving Subject: [AccessD] World Series Why do they call the World Series the World Series anyway? Always wondered about that? Martin > You'll know the world is returning to reality when rapping is classed > as poetry, not music, when the US is respectful of other countries, > when the World Series is renamed the North American Baseball > Championship, when SUV's > are either banned or subject to pollution taxes, when we stop BURNING > oil and start to use it as a raw material for other products, when the > industrial military complex accounts for less that 10% of the US GNP, > when the Detroit Auto industry loses any clout it has with Washington, > when we start seriously investing in rail transportation, when no more > 6 lane highways are built, when Cell phones are stored behind glass > panels with "break in case of emergency" signs on them, when bicycle > sales exceed those > of cars, etc. etc. etc. > > Lambert > > -----Original Message----- > > From: William Hindman [mailto:wdhindman at bellsouth.net] > > Sent: Tuesday 2003 Aug 05 22:18 > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] AXP Text File Import Crashes Access > > > > > > ...lol ...well at least with this one, there are no militant > > protesters threatening to e-bomb my mail server :) > > > > William Hindman > > "You know the world is going crazy when the best rapper is a white > > guy, the best golfer is a black guy, The Swiss hold the America's > > Cup, France is accusing the US of arrogance, and Germany doesn't > > want to go to war." > > > > ----- Original Message ----- > > From: Software Design & Solutions Pty Ltd. > > > > To: Access Developers discussion and problem solving > > > > Sent: Tuesday, August 05, 2003 9:42 PM > > Subject: Re: [AccessD] AXP Text File Import Crashes Access > > > > William - great tag on your email! > > Kath > > > > > > << File: ATT964242.txt >> > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Lambert.Heenan at AIG.com Wed Aug 6 14:19:10 2003 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Wed, 6 Aug 2003 15:19:10 -0400 Subject: William's Signature Line - was RE: [AccessD] AXP Text File Im port Crashes Access Message-ID: <8B98F8EA48F8BA47A2F24E0D0AF40CF407AD7560@xlivmbx12.aig.com> Isn't it interesting that you're willing to keep the O/T pot boiling only as long as everyone agrees with your point of view. But as soon as an alternative one appears suddenly it's time to stop the thread and issue invites to cannibal brunches. Perhaps the righties should consider the benefits of a vegetarian diet. Lambert You know your in the land of the free when being liberal is sinful and caring about the environment is just plain stupid. > -----Original Message----- > From: William Hindman [SMTP:wdhindman at bellsouth.net] > Sent: Wednesday, August 06, 2003 2:10 PM > To: Access Developers discussion and problem solving > Subject: Re: William's Signature Line - was RE: [AccessD] AXP Text > File Import Crashes Access > > ...ok ...time to move this thread to OT ...we serve lefties for brunch > over > there and the VRWC for dessert :) > > William Hindman > "You know the world is going crazy when the best rapper is a white guy, > the > best golfer is a black guy, The Swiss hold the America's Cup, France is > accusing the US of arrogance, and Germany doesn't want to go to war." > > ----- Original Message ----- > From: "Heenan, Lambert" > To: "'Access Developers discussion and problem solving'" > > Sent: Wednesday, August 06, 2003 1:59 PM > Subject: RE: William's Signature Line - was RE: [AccessD] AXP Text File > Import Crashes Access > > > > You'll know the world is returning to reality when rapping is classed as > > poetry, not music, when the US is respectful of other countries, when > the > > World Series is renamed the North American Baseball Championship, when > SUV's > > are either banned or subject to pollution taxes, when we stop BURNING > oil > > and start to use it as a raw material for other products, when the > > industrial military complex accounts for less that 10% of the US GNP, > when > > the Detroit Auto industry loses any clout it has with Washington, when > we > > start seriously investing in rail transportation, when no more 6 lane > > highways are built, when Cell phones are stored behind glass panels with > > "break in case of emergency" signs on them, when bicycle sales exceed > those > > of cars, etc. etc. etc. > > > > Lambert From jbhuffman at mdh.org Wed Aug 6 14:22:27 2003 From: jbhuffman at mdh.org (Huffman, Jarad B.) Date: Wed, 6 Aug 2003 14:22:27 -0500 Subject: [AccessD] OT: World Series Message-ID: <0FFC98AA5943D211A2E90000F87A5B480193592A@NEWMAN_EXC> True, I guess back in the stone ages of baseball, it was nothing but white Americans... I wasn't around then, I keep forgetting the thick-headedness that used to rule our sports, and much of the rest of our culture. Jarad Huffman -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Wednesday, August 06, 2003 2:13 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] OT: World Series Yes, now. But back in the early days any non-American professional players were playing on US teams. Charlotte Foust -----Original Message----- From: Huffman, Jarad B. [mailto:jbhuffman at mdh.org] Sent: Wednesday, August 06, 2003 10:37 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] World Series There are players from around the world playing in American ball; it's not just limited to American atheletes. Jarad Huffman -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Wednesday, August 06, 2003 1:26 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] World Series Well, doesn't the world center around the USA? Baseball as a professional sport was exported to other countries fairly recently. The baseball world used to be much smaller. Charlotte Foust -----Original Message----- From: Martin Reid [mailto:mwp.reid at qub.ac.uk] Sent: Wednesday, August 06, 2003 10:15 AM To: Access Developers discussion and problem solving Subject: [AccessD] World Series Why do they call the World Series the World Series anyway? Always wondered about that? Martin > You'll know the world is returning to reality when rapping is classed > as poetry, not music, when the US is respectful of other countries, > when the World Series is renamed the North American Baseball > Championship, when SUV's > are either banned or subject to pollution taxes, when we stop BURNING > oil and start to use it as a raw material for other products, when the > industrial military complex accounts for less that 10% of the US GNP, > when the Detroit Auto industry loses any clout it has with Washington, > when we start seriously investing in rail transportation, when no more > 6 lane highways are built, when Cell phones are stored behind glass > panels with "break in case of emergency" signs on them, when bicycle > sales exceed those > of cars, etc. etc. etc. > > Lambert > > -----Original Message----- > > From: William Hindman [mailto:wdhindman at bellsouth.net] > > Sent: Tuesday 2003 Aug 05 22:18 > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] AXP Text File Import Crashes Access > > > > > > ...lol ...well at least with this one, there are no militant > > protesters threatening to e-bomb my mail server :) > > > > William Hindman > > "You know the world is going crazy when the best rapper is a white > > guy, the best golfer is a black guy, The Swiss hold the America's > > Cup, France is accusing the US of arrogance, and Germany doesn't > > want to go to war." > > > > ----- Original Message ----- > > From: Software Design & Solutions Pty Ltd. > > > > To: Access Developers discussion and problem solving > > > > Sent: Tuesday, August 05, 2003 9:42 PM > > Subject: Re: [AccessD] AXP Text File Import Crashes Access > > > > William - great tag on your email! > > Kath > > > > > > << File: ATT964242.txt >> > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From CWortz at tea.state.tx.us Wed Aug 6 14:25:57 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Wed, 6 Aug 2003 14:25:57 -0500 Subject: [AccessD] Alignment Issue Message-ID: Greg, There are align options for top, bottom, left, and right. I have used them all and they all work as expected. To align all your labels on the bottom, select all the labels and click on align | bottom. If that is not working for you, please give us more information about the problem you are experiencing. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Greg S [mailto:weeden1949 at hotmail.com] Sent: Wednesday 2003 Aug 06 14:05 To: Access Developers discussion and problem solving Subject: [AccessD] Alignment Issue Hi everyone! No comment on "William's Signature Line..." and the ...oops...almost...never mind. I have a problem with aligning (vertically) labels and/or fields on a report when there are (1) various font sizes being used and (2) word-wrap in text boxes. (1) For example, let's say I have a "table", if you want to call it that, in a report, where the left column contains the row label (identity) for everything in that row. The remaining columns contain fields from query results, sums, totals, etc. I obviously can easily align the like fields with each other. The problem starts when trying to align the left column labels, which are, for example, font size 12, with the rest of the fields in that row, which are 10. Aligning the field/label boxes does NOT do the trick. Because of the larger font, that box has to be larger, in which case the letters sit up higher in it, and don't align with the others any longer. Most of my clients don't say anything, either out of politeness, or they think I'm a friggin' idiot and can't even align stuff in a row. I can see the misalignment, but have never found a surefire way of making the letters truely align. It's always bugged me, but today, just back from vacation, it's more irritating than normal. (2) And in a similar vein, when you have labels, which are, for example, column headings, and some of them just fill the label box and some of them wrap around because they're too long for the column width. Ever try aligning those dudes on the bottom? Without doing it manually, that is. They can be aligned manually (eyeball) and look fairly good, but I was thinking there had to be a more accurate way to do it. I'm currently using A97, but use 2k and XP on occasion as well. Thanks in advance! Greg Smith weeden1949 at hotmail.com From Lambert.Heenan at AIG.com Wed Aug 6 14:26:09 2003 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Wed, 6 Aug 2003 15:26:09 -0400 Subject: [AccessD] World Series Message-ID: <8B98F8EA48F8BA47A2F24E0D0AF40CF407AD7561@xlivmbx12.aig.com> But it is limited to TEAMS that are in the NL or AL, whereas the World Cup (for instance) is between teams from all countries (that are members of FIFA). It (The World Series) is only played in North America the World Cup is held all over the planet. The "Major Leagues" treat teams from any other country (Japan, Cuba [shock! a left-wing dictatorship!!!]... I can't think of any others, though I'm sure there must be) with almost as much respect as they give to the Minor Leagues - precious little. > -----Original Message----- > From: Huffman, Jarad B. [SMTP:jbhuffman at mdh.org] > Sent: Wednesday, August 06, 2003 2:37 PM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] World Series > > There are players from around the world playing in American ball; it's not > just limited to American atheletes. > > Jarad Huffman > > > -----Original Message----- > From: Charlotte Foust [mailto:cfoust at infostatsystems.com] > Sent: Wednesday, August 06, 2003 1:26 PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] World Series > > > Well, doesn't the world center around the USA? > Baseball as a professional sport was exported to other countries fairly > recently. The baseball world used to be much smaller. > > Charlotte Foust > > -----Original Message----- > From: Martin Reid [mailto:mwp.reid at qub.ac.uk] > Sent: Wednesday, August 06, 2003 10:15 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] World Series > > > Why do they call the World Series the World Series anyway? Always wondered > about that? > > Martin > > > You'll know the world is returning to reality when rapping is classed > > as poetry, not music, when the US is respectful of other countries, > > when the World Series is renamed the North American Baseball > > Championship, when > SUV's > > are either banned or subject to pollution taxes, when we stop BURNING > > oil and start to use it as a raw material for other products, when the > > > industrial military complex accounts for less that 10% of the US GNP, > > when the Detroit Auto industry loses any clout it has with Washington, > > > when we start seriously investing in rail transportation, when no more > > > 6 lane highways are built, when Cell phones are stored behind glass > > panels with "break in case of emergency" signs on them, when bicycle > > sales exceed > those > > of cars, etc. etc. etc. > > > > Lambert > > > -----Original Message----- > > > From: William Hindman [mailto:wdhindman at bellsouth.net] > > > Sent: Tuesday 2003 Aug 05 22:18 > > > To: Access Developers discussion and problem solving > > > Subject: Re: [AccessD] AXP Text File Import Crashes Access > > > > > > > > > ...lol ...well at least with this one, there are no militant > > > protesters threatening to e-bomb my mail server :) > > > > > > William Hindman > > > "You know the world is going crazy when the best rapper is a white > > > guy, the best golfer is a black guy, The Swiss hold the America's > > > Cup, France is accusing the US of arrogance, and Germany doesn't > > > want to go to war." > > > > > > ----- Original Message ----- > > > From: Software Design & Solutions Pty Ltd. > > > > > > To: Access Developers discussion and problem solving > > > > > > Sent: Tuesday, August 05, 2003 9:42 PM > > > Subject: Re: [AccessD] AXP Text File Import Crashes Access > > > > > > William - great tag on your email! > > > Kath > > > > > > > > > << File: ATT964242.txt >> > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From Lembit.Soobik at t-online.de Wed Aug 6 14:36:28 2003 From: Lembit.Soobik at t-online.de (Lembit Soobik) Date: Wed, 6 Aug 2003 21:36:28 +0200 Subject: [AccessD] OT: World Series References: <0FFC98AA5943D211A2E90000F87A5B480193592A@NEWMAN_EXC> Message-ID: <059a01c35c52$0804ecc0$0200a8c0@S856> guys, it seems to me that the moderators are on vacation. maybe I should start charging for such mail - hmmm good idea, will help DBA financially so I propose further mail on this subject costs $10 each please visit our donations page http://www.databaseadvisors.com/donations.htm thank you Lembit Soobik ----- Original Message ----- From: "Huffman, Jarad B." To: "'Access Developers discussion and problem solving'" Sent: Wednesday, August 06, 2003 9:22 PM Subject: RE: [AccessD] OT: World Series > True, I guess back in the stone ages of baseball, it was nothing but white > Americans... I wasn't around then, I keep forgetting the thick-headedness > that used to rule our sports, and much of the rest of our culture. > > Jarad Huffman > > > -----Original Message----- > From: Charlotte Foust [mailto:cfoust at infostatsystems.com] > Sent: Wednesday, August 06, 2003 2:13 PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] OT: World Series > > > Yes, now. But back in the early days any non-American professional players > were playing on US teams. > > Charlotte Foust > > -----Original Message----- > From: Huffman, Jarad B. [mailto:jbhuffman at mdh.org] > Sent: Wednesday, August 06, 2003 10:37 AM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] World Series > > > There are players from around the world playing in American ball; it's not > just limited to American atheletes. > > Jarad Huffman > > > -----Original Message----- > From: Charlotte Foust [mailto:cfoust at infostatsystems.com] > Sent: Wednesday, August 06, 2003 1:26 PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] World Series > > > Well, doesn't the world center around the USA? > Baseball as a professional sport was exported to other countries fairly > recently. The baseball world used to be much smaller. > > Charlotte Foust > > -----Original Message----- > From: Martin Reid [mailto:mwp.reid at qub.ac.uk] > Sent: Wednesday, August 06, 2003 10:15 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] World Series > > > Why do they call the World Series the World Series anyway? Always wondered > about that? > > Martin > > > You'll know the world is returning to reality when rapping is classed > > as poetry, not music, when the US is respectful of other countries, > > when the World Series is renamed the North American Baseball > > Championship, when > SUV's > > are either banned or subject to pollution taxes, when we stop BURNING > > oil and start to use it as a raw material for other products, when the > > > industrial military complex accounts for less that 10% of the US GNP, > > when the Detroit Auto industry loses any clout it has with Washington, > > > when we start seriously investing in rail transportation, when no more > > > 6 lane highways are built, when Cell phones are stored behind glass > > panels with "break in case of emergency" signs on them, when bicycle > > sales exceed > those > > of cars, etc. etc. etc. > > > > Lambert > > > -----Original Message----- > > > From: William Hindman [mailto:wdhindman at bellsouth.net] > > > Sent: Tuesday 2003 Aug 05 22:18 > > > To: Access Developers discussion and problem solving > > > Subject: Re: [AccessD] AXP Text File Import Crashes Access > > > > > > > > > ...lol ...well at least with this one, there are no militant > > > protesters threatening to e-bomb my mail server :) > > > > > > William Hindman > > > "You know the world is going crazy when the best rapper is a white > > > guy, the best golfer is a black guy, The Swiss hold the America's > > > Cup, France is accusing the US of arrogance, and Germany doesn't > > > want to go to war." > > > > > > ----- Original Message ----- > > > From: Software Design & Solutions Pty Ltd. > > > > > > To: Access Developers discussion and problem solving > > > > > > Sent: Tuesday, August 05, 2003 9:42 PM > > > Subject: Re: [AccessD] AXP Text File Import Crashes Access > > > > > > William - great tag on your email! > > > Kath > > > > > > > > > << File: ATT964242.txt >> > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From jbhuffman at mdh.org Wed Aug 6 14:36:51 2003 From: jbhuffman at mdh.org (Huffman, Jarad B.) Date: Wed, 6 Aug 2003 14:36:51 -0500 Subject: [AccessD] World Series Message-ID: <0FFC98AA5943D211A2E90000F87A5B480193592B@NEWMAN_EXC> I do agree with that. They are looked at as "Farm" teams... Jarad Huffman -----Original Message----- From: Heenan, Lambert [mailto:Lambert.Heenan at AIG.com] Sent: Wednesday, August 06, 2003 2:26 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] World Series But it is limited to TEAMS that are in the NL or AL, whereas the World Cup (for instance) is between teams from all countries (that are members of FIFA). It (The World Series) is only played in North America the World Cup is held all over the planet. The "Major Leagues" treat teams from any other country (Japan, Cuba [shock! a left-wing dictatorship!!!]... I can't think of any others, though I'm sure there must be) with almost as much respect as they give to the Minor Leagues - precious little. > -----Original Message----- > From: Huffman, Jarad B. [SMTP:jbhuffman at mdh.org] > Sent: Wednesday, August 06, 2003 2:37 PM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] World Series > > There are players from around the world playing in American ball; it's > not just limited to American atheletes. > > Jarad Huffman > > > -----Original Message----- > From: Charlotte Foust [mailto:cfoust at infostatsystems.com] > Sent: Wednesday, August 06, 2003 1:26 PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] World Series > > > Well, doesn't the world center around the USA? > Baseball as a professional sport was exported to other countries fairly > recently. The baseball world used to be much smaller. > > Charlotte Foust > > -----Original Message----- > From: Martin Reid [mailto:mwp.reid at qub.ac.uk] > Sent: Wednesday, August 06, 2003 10:15 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] World Series > > > Why do they call the World Series the World Series anyway? Always > wondered about that? > > Martin > > > You'll know the world is returning to reality when rapping is > > classed as poetry, not music, when the US is respectful of other > > countries, when the World Series is renamed the North American > > Baseball Championship, when > SUV's > > are either banned or subject to pollution taxes, when we stop > > BURNING oil and start to use it as a raw material for other > > products, when the > > > industrial military complex accounts for less that 10% of the US > > GNP, when the Detroit Auto industry loses any clout it has with > > Washington, > > > when we start seriously investing in rail transportation, when no > > more > > > 6 lane highways are built, when Cell phones are stored behind glass > > panels with "break in case of emergency" signs on them, when bicycle > > sales exceed > those > > of cars, etc. etc. etc. > > > > Lambert > > > -----Original Message----- > > > From: William Hindman [mailto:wdhindman at bellsouth.net] > > > Sent: Tuesday 2003 Aug 05 22:18 > > > To: Access Developers discussion and problem solving > > > Subject: Re: [AccessD] AXP Text File Import Crashes Access > > > > > > > > > ...lol ...well at least with this one, there are no militant > > > protesters threatening to e-bomb my mail server :) > > > > > > William Hindman > > > "You know the world is going crazy when the best rapper is a white > > > guy, the best golfer is a black guy, The Swiss hold the America's > > > Cup, France is accusing the US of arrogance, and Germany doesn't > > > want to go to war." > > > > > > ----- Original Message ----- > > > From: Software Design & Solutions Pty Ltd. > > > > > > To: Access Developers discussion and problem solving > > > > > > Sent: Tuesday, August 05, 2003 9:42 PM > > > Subject: Re: [AccessD] AXP Text File Import Crashes Access > > > > > > William - great tag on your email! > > > Kath > > > > > > > > > << File: ATT964242.txt >> > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From RGeldart at detma.org Wed Aug 6 14:38:05 2003 From: RGeldart at detma.org (Geldart, Robert) Date: Wed, 6 Aug 2003 15:38:05 -0400 Subject: [AccessD] World Series Message-ID: The only games we allow the rest of the planet to compete in are "World Wars".... ----- Bob Geldart Economic Research Department Massachusetts Department of Employment & Training -----Original Message----- From: Heenan, Lambert [mailto:Lambert.Heenan at AIG.com] Sent: Wednesday, August 06, 2003 3:26 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] World Series But it is limited to TEAMS that are in the NL or AL, whereas the World Cup (for instance) is between teams from all countries (that are members of FIFA). It (The World Series) is only played in North America the World Cup is held all over the planet. The "Major Leagues" treat teams from any other country (Japan, Cuba [shock! a left-wing dictatorship!!!]... I can't think of any others, though I'm sure there must be) with almost as much respect as they give to the Minor Leagues - precious little. > -----Original Message----- > From: Huffman, Jarad B. [SMTP:jbhuffman at mdh.org] > Sent: Wednesday, August 06, 2003 2:37 PM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] World Series > > There are players from around the world playing in American ball; it's > not just limited to American atheletes. > > Jarad Huffman From my.lists at verizon.net Wed Aug 6 15:02:04 2003 From: my.lists at verizon.net (Francisco H Tapia) Date: Wed, 6 Aug 2003 13:02:04 -0700 Subject: [AccessD] OT: World Series -- END THREAD References: <0FFC98AA5943D211A2E90000F87A5B480193592A@NEWMAN_EXC> <059a01c35c52$0804ecc0$0200a8c0@S856> Message-ID: <007801c35c55$9c4aa8e0$b615010a@FHTAPIA> Thanks Lembit, All - For those of you wishing to continue the thread please do so on the dba-OT list, subscribe here if you are not already: http://databaseadvisors.com/mailman/listinfo/dba-ot thank you -Francisco http://rcm.netfirms.com On Wednesday, August 06, 2003 12:36 PM [GMT-8], Lembit Soobik wrote: : guys, : it seems to me that the moderators are on vacation. : maybe I should start charging for such mail - hmmm good idea, will : help DBA financially : so I propose further mail on this subject costs $10 each : please visit our donations page : http://www.databaseadvisors.com/donations.htm : thank you : : Lembit Soobik : : ----- Original Message ----- : From: "Huffman, Jarad B." : To: "'Access Developers discussion and problem solving'" : : Sent: Wednesday, August 06, 2003 9:22 PM : Subject: RE: [AccessD] OT: World Series : : :: True, I guess back in the stone ages of baseball, it was nothing but :: white Americans... I wasn't around then, I keep forgetting the :: thick-headedness that used to rule our sports, and much of the rest :: of our culture. :: :: Jarad Huffman From Erwin.Craps at ithelps.be Wed Aug 6 15:03:06 2003 From: Erwin.Craps at ithelps.be (Erwin Craps) Date: Wed, 6 Aug 2003 22:03:06 +0200 Subject: [AccessD] mdb in dmz Message-ID: Another thing I just tought of... Do you have and use linked tables in that MDB file? I noticed that when those tables are linked via a mapped drive or UNC path your access will fail. This is due to limitation of the account IIS uses. When linking, use the real drive path (C: etc..) Erwin -----Oorspronkelijk bericht----- Van: MartyConnelly [mailto:martyconnelly at shaw.ca] Verzonden: woensdag 6 augustus 2003 20:31 Aan: Access Developers discussion and problem solving Onderwerp: Re: [AccessD] mdb in dmz Don't know if this will help but see other links and paragraph Make sure you have adequate permissions on the database http://www.aspalliance.com/PeterJohnson/JetAdvice.aspx It is good idea to have the mdb file stored outside the web root to stop the little darlings downloading it. Jim DeMarco wrote: >James, > >First, using Server.MapPath is a good idea. Our db folder is actually >one level above the root as you describe so this will help with future >deployment. Problem is the code still won't run but at least the page >not found error is gone and this one is back: > > >Microsoft JET Database Engine error '80004005' > >Unspecified error > >/test.asp, line 22 > > >I don't know if that's a good thing or not but... > >Thanks, > >Jim DeMarco > > > >-----Original Message----- >From: James Barash [mailto:James at fcidms.com] >Sent: Tuesday, August 05, 2003 4:19 PM >To: 'Access Developers discussion and problem solving' >Subject: RE: [AccessD] mdb in dmz > > >Jim, >Are you sure D:\db\ exists and is visible from IIS on the server, >including permissions for the IIS account? I tested your code using a >path to a directory that did not exist and I get a page not found error >so maybe that's it. I usually create a db directory under the root for >the website. Then you can access the file using dbpath = >Server.MapPath("./db/HshhpTips.mdb") >That way you don't have to worry about moving the files to a different >server, the relative paths stay the same. > >James Barash > > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim DeMarco >Sent: Tuesday, August 05, 2003 2:02 PM >To: Access Developers discussion and problem solving >Subject: RE: [AccessD] mdb in dmz > > >Looks like everything is going over port 80. The real drag is I can't >be sure it's even a hardware problem. We simplified the code to this >(it's ASP/VBScript so no data types,etc.): > > >dim connectstring >dim cnn >dim dbpath > > dbpath = "D:\db\HshhpTips.mdb" > connectstring = "Provider=Microsoft.Jet.OLEDB.4.0; Data Source=" & >dbpath > > Set cnn = Server.CreateObject("ADODB.Connection") > 'cnn.open connectstring > > Response.Write "testing" > > >The code runs if we leave the cnn.open line commented out but when we >put it back we now get a page not found error. Works fine on our dev >machine of course. I would think if it was a data access problem the >code would bail on the CreateObject call. Server's running Win2K BTW. > >Jim DeMarco > > > >-----Original Message----- >From: Jim Dettman [mailto:jimdettman at earthlink.net] >Sent: Tuesday, August 05, 2003 12:52 PM >To: Access Developers discussion and problem solving >Subject: RE: [AccessD] mdb in dmz > > >Jim, > ><> > > Check the Firewall's log. It will show the IP address of the web >server, whether it was TCP or UDP packet, and the port it was trying to >use. > >Jim Dettman >President, >Online Computer Services of WNY, Inc. >(315) 699-3443 >jimdettman at earthlink.net > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim DeMarco >Sent: Tuesday, August 05, 2003 10:58 AM >To: Access Developers discussion and problem solving >Subject: RE: [AccessD] mdb in dmz > > >Thanks Frank (where'd you find that domain on your e-mail address??). > >I searched msdn and found this list of Port Assignments for Common >Services >(http://www.microsoft.com/windows2000/techinfo/reskit/samplechapters/cn >f >c/cn >fc_por_simw.asp - watch for wrapping). None seems to be what I'm >looking (AFAICT anyway). Can anyone point me in the right direction? > >Thanks, > >Jim DeMarco > >-----Original Message----- >From: Frank Tanner III [mailto:pctech at mybellybutton.com] >Sent: Tuesday, August 05, 2003 10:45 AM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] mdb in dmz > > >I'm not sure what tcp/udp port(s) that Jet and OLEdb >use, but do you have those allowed to pass from the >DMZ to wherever it needs to go? i.e. the internal LAN >and the external Internet. > >Usually DMZs are configured to ONLY allow the ports >necessary, such as HTTP, HTTPS, POP3, SMTP, etc. > >--- Jim DeMarco wrote: > > >>List, >> >>We just went live with our web site >>(http://www.hshhp.org) but had to remove a feature >>that displays health tips. The tips are stored in >>an A97 mdb but we get an "unspecified error" when >>hitting the page. The db is on the web server box. >>The server is behind the firewall in the DMZ. Does >>anyone know if the DMZ is an issue when trying to >>hit an mdb? We're using the OleDB provider for Jet >>4.0. I ran comcheck and we've got that version >>installed. IIS 5.0 as well. >> >>TIA, >> >>Jim DeMarco >>Director of Product Development >>HealthSource/Hudson Health Plan >> >> >> >> >> >*********************************************************************** >* >**** >******* > > >>"This electronic message is intended to be for the >>use only of the named recipient, and may contain >>information from Hudson Health Plan (HHP) that is confidential or >>privileged. If you are not the intended recipient, you are hereby >>notified that any disclosure, copying, distribution or use of the >>contents of this message is strictly prohibited. If you have received >> >> > > > >>this message in error or are not the named recipient, please notify us >> >> > > > >>immediately, either by contacting the sender at the electronic mail >>address noted above or calling HHP at (914) 631-1611. If you are not >>the intended recipient, please do not forward this email to anyone, >>and delete and destroy all copies of this message. >>Thank You". >> >> >> >*********************************************************************** >* >**** >******* > > >>_______________________________________________ >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >> >> > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > >*********************************************************************** >* >**** >******* >"This electronic message is intended to be for the use only of the named >recipient, and may contain information from Hudson Health Plan (HHP) >that is confidential or privileged. If you are not the intended >recipient, you are hereby notified that any disclosure, copying, >distribution or use of the contents of this message is strictly >prohibited. If you have received this message in error or are not the >named recipient, please notify us immediately, either by contacting the >sender at the electronic mail address noted above or calling HHP at >(914) 631-1611. If you are not the intended recipient, please do not >forward this email to anyone, and delete and destroy all copies of this >message. Thank You". >*********************************************************************** * >**** >******* > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > >*********************************************************************** >* >*********** >"This electronic message is intended to be for the use only of the named >recipient, and may contain information from Hudson Health Plan (HHP) >that is confidential or privileged. If you are not the intended >recipient, you are hereby notified that any disclosure, copying, >distribution or use of the contents of this message is strictly >prohibited. If you have received this message in error or are not the >named recipient, please notify us immediately, either by contacting the >sender at the electronic mail address noted above or calling HHP at >(914) 631-1611. If you are not the intended recipient, please do not >forward this email to anyone, and delete and destroy all copies of this >message. Thank You". >*********************************************************************** * >*********** > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > >*********************************************************************** >************ >"This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". >*********************************************************************** ************ > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Wed Aug 6 15:09:41 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Wed, 6 Aug 2003 15:09:41 -0500 Subject: [AccessD] OT: Retreiving user login name via ASP Message-ID: <2F8793082E00D4119A1700B0D0216BF80222705D@main2.marlow.com> The connection strings only contain the DB login info, not the NT Token that is used to communicate with another network server. If you want, I'll find the KB article that describes the situation. Drew -----Original Message----- From: Haslett, Andrew [mailto:andrew.haslett at ilc.gov.au] Sent: Thursday, July 31, 2003 9:33 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] OT: Retreiving user login name via ASP >> For example, if you have an IIS >> server hosting your Intranet, and you have a file server that has company >> databases on it, you cannot access the company databases from the Intranet, >> through ASP. Have to disagree. Your connection strings to the database (in your ASP code) specify your authentication details to database servers, or any other resources required. Anonymous authentication, if enabled will map all anonymous requests to the IUSR_ account (by default-although this can be changed), which will then need to be given database access if not specifying an account in your connection string (bad!! - don't want to give anonymous users access to a resource, even if it is limited). We have no problems passing on our tokens to other resources / servers when using integrated authentication... Cheers, Andrew -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Friday, 1 August 2003 11:52 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] OT: Retreiving user login name via ASP Sorry, I'm WAY behind on my list posts (It's showing 633 unread right now....). This is definitely my ball of wax, in fact, Susan and I just wrote up an article about this. Okay, here's the deal, there is a MAJOR drawback to using Integrated Windows Authentication. The drawback is, that you cannot use any resources that are not directly located on the IIS server. For example, if you have an IIS server hosting your Intranet, and you have a file server that has company databases on it, you cannot access the company databases from the Intranet, through ASP. In fact, I don't even think a link would work either...in fact I am 98% sure of that, but I'm too swamped to test it. The reason is, the Integrated method creates a local token, not a domain token, so it's only valid on the local machine, not anywhere else on the domain. Now, Anonymous and Plain Text Authentication both create valid network tokens. So both of those methods are able to access other network resources. However, with Anonymous, you can't tell who is hitting the site, because everyone is using the same 'anonymous' account. You can tell the IP Address though, and I would guess there has got to be a way to get the logged on user from the current IP address from a domain controller....would have to think about how to do that. With Plain Text authentication though, you can tell who's logged in (in fact the login credentials can be in the URL), but the name and password are sent through the lines in plain text (as the method is titled). In fact, you can retrieve the password through ASP. There is a fourth option, but only if the IIS server is a controlling server on an Active Directory domain. It is called digest authentication, but it also requires that your domain uses reversible encryption. It works a lot like Integrated Windows authentication, but it doesn't have the local resource issue. Drew -----Original Message----- From: Haslett, Andrew [mailto:andrew.haslett at ilc.gov.au] Sent: Thursday, July 31, 2003 5:48 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] OT: Retreiving user login name via ASP No drawbacks at all. In fact its a (very simple) security enhancement, in that only authorised users of your domain can now access the site. Don't know your environment, but if your site were to hold sensitive information and it were hacked from outside somehow, then its an extra step for the hackers to get around since anonymous access is disabled. Cheers, Andrew -----Original Message----- From: Jim DeMarco [mailto:Jdemarco at hshhp.org] Sent: Thursday, 31 July 2003 9:40 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] OT: Retreiving user login name via ASP Got it. I had to disable Anonymous Access and now I see the user name. Any thoughts on what effect doing this will have if we disable anonymous access on our intranet? Thanks a lot for the help Andrew. Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan -----Original Message----- From: Haslett, Andrew [mailto:andrew.haslett at ilc.gov.au] Sent: Wednesday, July 30, 2003 6:15 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] OT: Retreiving user login name via ASP Jim, In IIS, right click the website in question to bring up its properties. Under Directory Security you will see options for a number of methods of authentication. Uncheck everything except integrated and the Users NT login will then be used to authenticate them to your site. Their details should also then be passed to those HTTP server variables for you to access. If that doesn't work then there must be a setting incorrect somewhere as it does work - we use it in our apps on the intranet at work. Cheers, Andrew -----Original Message----- From: Jim DeMarco [mailto:Jdemarco at hshhp.org] Sent: Thursday, 31 July 2003 2:52 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] OT: Retreiving user login name via ASP Andrew, This didn't work. How do I know if we're using Integrated Authentication? Is that Windows or IIS? Thanks, Jim -----Original Message----- From: Haslett, Andrew [mailto:andrew.haslett at ilc.gov.au] Sent: Tuesday, July 29, 2003 8:09 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] OT: Retreiving user login name via ASP If using Integrated Authentication, the NT user name is passed through the browser HTTP Server variables. Try this: Response.Write (Request.ServerVariables("LOGON_USER")) This returns a string in the format domain\username If LOGON_USER doesn't work, try REMOTE_USER Cheers, Andrew -----Original Message----- From: Jim DeMarco [mailto:Jdemarco at hshhp.org] Sent: Wednesday, 30 July 2003 6:35 AM To: Access Developers discussion and problem solving Subject: [AccessD] OT: Retreiving user login name via ASP Having a disagreement with the boss that maybe someone here can clear up for me. He thinks there is a way to return the Win2K user login name from an ASP page. I'm not 100% certain but I don't know that I've ever seen that done. Does anyone know if it's possible? If it is a code sample would be appreciated. Thanks, Jim DeMarco **************************************************************************** ******* "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". **************************************************************************** ******* _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com IMPORTANT - PLEASE READ ******************** This email and any files transmitted with it are confidential and may contain information protected by law from disclosure. If you have received this message in error, please notify the sender immediately and delete this email from your system. No warranty is given that this email or files, if attached to this email, are free from computer viruses or other defects. They are provided on the basis the user assumes all responsibility for loss, damage or consequence resulting directly or indirectly from their use, whether caused by the negligence of the sender or not. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com **************************************************************************** ******* "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 IMPORTANT - PLEASE READ ******************** This email and any files transmitted with it are confidential and may contain information protected by law from disclosure. If you have received this message in error, please notify the sender immediately and delete this email from your system. No warranty is given that this email or files, if attached to this email, are free from computer viruses or other defects. They are provided on the basis the user assumes all responsibility for loss, damage or consequence resulting directly or indirectly from their use, whether caused by the negligence of the sender or not. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com **************************************************************************** ******* "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 IMPORTANT - PLEASE READ ******************** This email and any files transmitted with it are confidential and may contain information protected by law from disclosure. If you have received this message in error, please notify the sender immediately and delete this email from your system. No warranty is given that this email or files, if attached to this email, are free from computer viruses or other defects. They are provided on the basis the user assumes all responsibility for loss, damage or consequence resulting directly or indirectly from their use, whether caused by the negligence of the sender or not. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com IMPORTANT - PLEASE READ ******************** This email and any files transmitted with it are confidential and may contain information protected by law from disclosure. If you have received this message in error, please notify the sender immediately and delete this email from your system. No warranty is given that this email or files, if attached to this email, are free from computer viruses or other defects. They are provided on the basis the user assumes all responsibility for loss, damage or consequence resulting directly or indirectly from their use, whether caused by the negligence of the sender or not. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jcolby at colbyconsulting.com Wed Aug 6 15:15:35 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Wed, 6 Aug 2003 16:15:35 -0400 Subject: [AccessD] OT: Retreiving user login name via ASP In-Reply-To: <2F8793082E00D4119A1700B0D0216BF80222705D@main2.marlow.com> Message-ID: test John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Wednesday, August 06, 2003 4:10 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] OT: Retreiving user login name via ASP The connection strings only contain the DB login info, not the NT Token that is used to communicate with another network server. If you want, I'll find the KB article that describes the situation. Drew -----Original Message----- From: Haslett, Andrew [mailto:andrew.haslett at ilc.gov.au] Sent: Thursday, July 31, 2003 9:33 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] OT: Retreiving user login name via ASP >> For example, if you have an IIS >> server hosting your Intranet, and you have a file server that has company >> databases on it, you cannot access the company databases from the Intranet, >> through ASP. Have to disagree. Your connection strings to the database (in your ASP code) specify your authentication details to database servers, or any other resources required. Anonymous authentication, if enabled will map all anonymous requests to the IUSR_ account (by default-although this can be changed), which will then need to be given database access if not specifying an account in your connection string (bad!! - don't want to give anonymous users access to a resource, even if it is limited). We have no problems passing on our tokens to other resources / servers when using integrated authentication... Cheers, Andrew -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Friday, 1 August 2003 11:52 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] OT: Retreiving user login name via ASP Sorry, I'm WAY behind on my list posts (It's showing 633 unread right now....). This is definitely my ball of wax, in fact, Susan and I just wrote up an article about this. Okay, here's the deal, there is a MAJOR drawback to using Integrated Windows Authentication. The drawback is, that you cannot use any resources that are not directly located on the IIS server. For example, if you have an IIS server hosting your Intranet, and you have a file server that has company databases on it, you cannot access the company databases from the Intranet, through ASP. In fact, I don't even think a link would work either...in fact I am 98% sure of that, but I'm too swamped to test it. The reason is, the Integrated method creates a local token, not a domain token, so it's only valid on the local machine, not anywhere else on the domain. Now, Anonymous and Plain Text Authentication both create valid network tokens. So both of those methods are able to access other network resources. However, with Anonymous, you can't tell who is hitting the site, because everyone is using the same 'anonymous' account. You can tell the IP Address though, and I would guess there has got to be a way to get the logged on user from the current IP address from a domain controller....would have to think about how to do that. With Plain Text authentication though, you can tell who's logged in (in fact the login credentials can be in the URL), but the name and password are sent through the lines in plain text (as the method is titled). In fact, you can retrieve the password through ASP. There is a fourth option, but only if the IIS server is a controlling server on an Active Directory domain. It is called digest authentication, but it also requires that your domain uses reversible encryption. It works a lot like Integrated Windows authentication, but it doesn't have the local resource issue. Drew -----Original Message----- From: Haslett, Andrew [mailto:andrew.haslett at ilc.gov.au] Sent: Thursday, July 31, 2003 5:48 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] OT: Retreiving user login name via ASP No drawbacks at all. In fact its a (very simple) security enhancement, in that only authorised users of your domain can now access the site. Don't know your environment, but if your site were to hold sensitive information and it were hacked from outside somehow, then its an extra step for the hackers to get around since anonymous access is disabled. Cheers, Andrew -----Original Message----- From: Jim DeMarco [mailto:Jdemarco at hshhp.org] Sent: Thursday, 31 July 2003 9:40 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] OT: Retreiving user login name via ASP Got it. I had to disable Anonymous Access and now I see the user name. Any thoughts on what effect doing this will have if we disable anonymous access on our intranet? Thanks a lot for the help Andrew. Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan -----Original Message----- From: Haslett, Andrew [mailto:andrew.haslett at ilc.gov.au] Sent: Wednesday, July 30, 2003 6:15 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] OT: Retreiving user login name via ASP Jim, In IIS, right click the website in question to bring up its properties. Under Directory Security you will see options for a number of methods of authentication. Uncheck everything except integrated and the Users NT login will then be used to authenticate them to your site. Their details should also then be passed to those HTTP server variables for you to access. If that doesn't work then there must be a setting incorrect somewhere as it does work - we use it in our apps on the intranet at work. Cheers, Andrew -----Original Message----- From: Jim DeMarco [mailto:Jdemarco at hshhp.org] Sent: Thursday, 31 July 2003 2:52 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] OT: Retreiving user login name via ASP Andrew, This didn't work. How do I know if we're using Integrated Authentication? Is that Windows or IIS? Thanks, Jim -----Original Message----- From: Haslett, Andrew [mailto:andrew.haslett at ilc.gov.au] Sent: Tuesday, July 29, 2003 8:09 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] OT: Retreiving user login name via ASP If using Integrated Authentication, the NT user name is passed through the browser HTTP Server variables. Try this: Response.Write (Request.ServerVariables("LOGON_USER")) This returns a string in the format domain\username If LOGON_USER doesn't work, try REMOTE_USER Cheers, Andrew -----Original Message----- From: Jim DeMarco [mailto:Jdemarco at hshhp.org] Sent: Wednesday, 30 July 2003 6:35 AM To: Access Developers discussion and problem solving Subject: [AccessD] OT: Retreiving user login name via ASP Having a disagreement with the boss that maybe someone here can clear up for me. He thinks there is a way to return the Win2K user login name from an ASP page. I'm not 100% certain but I don't know that I've ever seen that done. Does anyone know if it's possible? If it is a code sample would be appreciated. Thanks, Jim DeMarco **************************************************************************** ******* "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". **************************************************************************** ******* _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com IMPORTANT - PLEASE READ ******************** This email and any files transmitted with it are confidential and may contain information protected by law from disclosure. If you have received this message in error, please notify the sender immediately and delete this email from your system. No warranty is given that this email or files, if attached to this email, are free from computer viruses or other defects. They are provided on the basis the user assumes all responsibility for loss, damage or consequence resulting directly or indirectly from their use, whether caused by the negligence of the sender or not. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com **************************************************************************** ******* "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 IMPORTANT - PLEASE READ ******************** This email and any files transmitted with it are confidential and may contain information protected by law from disclosure. If you have received this message in error, please notify the sender immediately and delete this email from your system. No warranty is given that this email or files, if attached to this email, are free from computer viruses or other defects. They are provided on the basis the user assumes all responsibility for loss, damage or consequence resulting directly or indirectly from their use, whether caused by the negligence of the sender or not. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com **************************************************************************** ******* "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 IMPORTANT - PLEASE READ ******************** This email and any files transmitted with it are confidential and may contain information protected by law from disclosure. If you have received this message in error, please notify the sender immediately and delete this email from your system. No warranty is given that this email or files, if attached to this email, are free from computer viruses or other defects. They are provided on the basis the user assumes all responsibility for loss, damage or consequence resulting directly or indirectly from their use, whether caused by the negligence of the sender or not. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com IMPORTANT - PLEASE READ ******************** This email and any files transmitted with it are confidential and may contain information protected by law from disclosure. If you have received this message in error, please notify the sender immediately and delete this email from your system. No warranty is given that this email or files, if attached to this email, are free from computer viruses or other defects. They are provided on the basis the user assumes all responsibility for loss, damage or consequence resulting directly or indirectly from their use, whether caused by the negligence of the sender or not. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jcolby at colbyconsulting.com Wed Aug 6 15:18:30 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Wed, 6 Aug 2003 16:18:30 -0400 Subject: [AccessD] he's baaaaaack Message-ID: Well, the move is complete, two of three of my computers are back together and on the net, my TIVO is permanently attached to my router for the first time ever. Life is slowly returning to normal. The last piece is my server which holds my billing db as well as IIS for the site I'm using for learning ASP.net. John W. Colby www.colbyconsulting.com From martyconnelly at shaw.ca Wed Aug 6 15:16:54 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Wed, 06 Aug 2003 13:16:54 -0700 Subject: [AccessD] OT: Preserving state of user interaction in ASP.NET applications References: <006701c35c11$06a5e280$b501010a@DAISY.local> Message-ID: <3F316236.6030109@shaw.ca> If you mean how do you maintain session states without cookies or querystrings You can use Session variables or ViewState variables, for example, use strings to reference the variable's name. Session.Item("MyVar") As a start see Specifying Configuration Settings in Web.config http://aspnet.4guysfromrolla.com/articles/053102-1.aspx?mode=print or Understanding session state modes + FAQ http://www.asp.net/Forums/ShowPost.aspx?tabindex=1&PostID=7504 and http://www.asp.net/Tutorials/quickstart.aspx I haven't looked at all the gory details. Shamil Salakhetdinov wrote: >Hi All, > >I have watched MSDN webcast (http://www.microsoft.com/usa/webcasts) >yesterday : ASP.NET: Building Data Driven Web Applications Using ASP.NET and >ADO.NET... > >Looks interesting and as usual with MS presentations - "life is easy and >cheese is free" - making ASP.NET applications is very similar now to >designing MS Access (projects) forms. But what they showed was a rather >simple sample application with sometimes ugly interface and with very >frequent round-trips to the server. And it was completely stateless i.e. >every front-end interaction used to create(reuse pooled?) connection on >server side, recreate dataadapter object, datasets etc... > >The question is: Does anybody here investigated the subj in all the details? >What is wanted is to have the state of the user->Server interactions >preserved between server calls - there are third party tools - e.g. >WebObjects from ComponentOne, which look like serving this purpose but I >expected that all that can be done without extra efforts and by using >build-in ASP.NET features - was I wrong? > >TIA for any info, >Shamil > > > > From Alun.Garraway at otto.de Wed Aug 6 15:34:01 2003 From: Alun.Garraway at otto.de (Garraway, Alun) Date: Wed, 6 Aug 2003 22:34:01 +0200 Subject: AW: [AccessD] he's baaaaaack Message-ID: <73584FDFECAAD611956A0000D11F919F01300955@ntovmail06.ov.otto.de> great :-) just in time to make a donation ;-) -----Urspr?ngliche Nachricht----- Von: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]Im Auftrag von John Colby Gesendet: Mittwoch, 6. August 2003 22:19 An: AccessD Betreff: [AccessD] he's baaaaaack Well, the move is complete, two of three of my computers are back together and on the net, my TIVO is permanently attached to my router for the first time ever. Life is slowly returning to normal. The last piece is my server which holds my billing db as well as IIS for the site I'm using for learning ASP.net. 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 Lembit.Soobik at t-online.de Wed Aug 6 15:54:21 2003 From: Lembit.Soobik at t-online.de (Lembit Soobik) Date: Wed, 6 Aug 2003 22:54:21 +0200 Subject: [AccessD] he's baaaaaack References: <73584FDFECAAD611956A0000D11F919F01300955@ntovmail06.ov.otto.de> Message-ID: <060501c35c5c$e955b240$0200a8c0@S856> Well, thank you for this, Alun, I was already waiting for a chance to send this again :)) so here it is: ------------------ Friends, It is time once again to talk about money...or more accurately, the lack thereof. Since this list - like anything else - is not free, we need from time to time a little bit of money to pay our bills. Our fincancial needs are not great, but if those who feel they have received help for their project can donate a bit, I am sure we can continue to make our payments in a timely manner. Having said this, please be so kind as to visit http://www.databaseadvisors.com/donations.htm In addition, if we can secure a few companies as Corporate Sponsors - for as little as $100/year - we can live quite a while off of that. In addition to the benefits detailed at http://www.databaseadvisors.com/donations/corporate.htm, the Corporate Sponsor is allowed to include "Official Sponsor of DBA" (plus a link to his website) in his signature line. Now, this is a special offer, valid until Aug-31-2003. You get a whole year of free advertising in the signature line, plus all the free advice from the best Access Developers the world over! Surely that is worth more than $100. Thank you in advance for your conintued support of DataBase Advisors, Lembit Soobik President DBA and the Executive Team of DBA ------------------ Lembit Soobik ----- Original Message ----- From: "Garraway, Alun" To: "Access Developers discussion and problem solving" Sent: Wednesday, August 06, 2003 10:34 PM Subject: AW: [AccessD] he's baaaaaack > great :-) > > just in time to make a donation ;-) > > -----Urspr?ngliche Nachricht----- > Von: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]Im Auftrag von John Colby > Gesendet: Mittwoch, 6. August 2003 22:19 > An: AccessD > Betreff: [AccessD] he's baaaaaack > > > Well, the move is complete, two of three of my computers are back together > and on the net, my TIVO is permanently attached to my router for the first > time ever. Life is slowly returning to normal. > > The last piece is my server which holds my billing db as well as IIS for the > site I'm using for learning ASP.net. > > 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 serbach at new.rr.com Wed Aug 6 16:09:09 2003 From: serbach at new.rr.com (Steven W. Erbach) Date: Wed, 6 Aug 2003 16:09:09 -0500 Subject: [AccessD] Pasting pictures Message-ID: <006501c35c5f$0e983350$3c06d018@W2k> Dear Group, We've been called in to finish an already-started Access 2000 application. It's a database of ergonomic information pertaining to industrial jobs; i.e., how much lifting needs to be done, how much walking, standing, stretching, etc. The database contains pictures of the typical functions performed for the job. When we got the database in its unfinished state there were some picture records already stored in a table ( tblPictures ) with an OLE Object field. When I look at the datasheet I see the "Picture" column filled with the "Bitmap Image" placeholder. We entered some new data into the application and added some new records in the tblPictures table. The pictures were already stored in a Microsoft Word document. After I figured out how to copy the picture and paste it into the Picture field, I went and looked at the field in the datasheet. All of the new images from the Word document have the "Picture" placeholder. The database has also ballooned by about 1 MB for each picture added to the tblPictures table. Each of these images is 322 x 256 pixels, 24-bit color. If I save one of the pictures as a BMP it'll be about 240-245KB in size. If I convert to a JPG it's down to 26KB. If I view the tblPictures table and right-click on the Picture column and choose Insert Object, I can Browse for either a BMP or a JPG to insert into the field. But when I'm finished the field's placeholder reads "Package." My questions: 1) Is there a way to keep the database from ballooning in size so much. 1 MB per image seems excessive to me, especially since I can embed a JPG at 26 KB each; 2) What's the deal with "Package" vs. "Picture" vs. "Bitmap Image"?; and 3) Is there a way to disable the OLE linking feature; that is, prevent the user from double-clicking the image and opening up Microsoft Paint or whatever? Thanks a lot. Steve Erbach Scientific Marketing Neenah, WI "Eventually, socialists run out of other people's money." -- Lady Margaret Thatcher From davesharpe2 at cox.net Wed Aug 6 16:33:34 2003 From: davesharpe2 at cox.net (dave sharpe) Date: Wed, 6 Aug 2003 17:33:34 -0400 Subject: [AccessD] Make Table - Specifying String Field Size References: <8B98F8EA48F8BA47A2F24E0D0AF40CF407AD755F@xlivmbx12.aig.com> <001701c35c46$b7c60560$0f0b6351@martin1> Message-ID: <019801c35c62$63ad7b90$dd2f0a44@bcsext6137> Friends With Access, when doing a "make table query"; when You include an existing string field, the field is "sized" in the new table to match the size of the field the data is being taken from. However when You a calculate field ( such as trim(tblOne.FieldOne) & "-" & trim(tblOne.FieldTwo) ) access creates the the field as being 255 chars. As an optimist, and hoping that there is a "work-around" due to this; I'll phrase the question as "how can I specify the field size when doing something like this ?" . Any assistance will be appreciated. Dave From martyconnelly at shaw.ca Wed Aug 6 16:42:45 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Wed, 06 Aug 2003 14:42:45 -0700 Subject: [AccessD] No Office 2003 ODE (Office Developer Edition)? References: <200307201721.SAA22981@hosea.qub.ac.uk> <7938568478.20030720192939@cactus.dk> <3F1AD9FC.5060702@shaw.ca> <3F1B645E.7070902@shaw.ca> <1141810283.20030805083927@cactus.dk> <3F2FE7DE.4050501@shaw.ca> <13145554523.20030805204831@cactus.dk> Message-ID: <3F317655.8010403@shaw.ca> Have a look at this to see if makes sense. Microsoft Developer Tools Roadmap 2003-2005 http://msdn.microsoft.com/vstudio/productinfo/roadmap.aspx#office Gustav Brock wrote: >Hi Marty > >Thanks. >Sorry for being dense, but I still cannot see if/how Visual Studio >fits into the picture of Access development. > >I'm aware that Visual Studio might bring some (Internet) features to >Access development, but what is important is to distinguish between >offers/features and needs. And if at all possible I do not want an IIS >to run on my trusted development machine; if it _is_ needed I wish it >to run on a server. > >By the way, what is "Office 2003 Windows Update CD"? > >/gustav > > > > >>This hasn't been set in stone yet by Microsoft. Maybe they are waiting >>for a marketing decision. >> >> > > > >> 1. Is VS Net 2003 >> 2 and 3 are free downloads. >> >> > > > >>Who knows they may switch to an MSI install, which would require 2 CD's >>much like SageKeys >>Office XP MSI wizard. >> >> > > > >>The Microsoft Installer may require two CD's to be shipped, the Access >>2003 Application CD created by the Packaging Wizard and the Office 2003 >>Windows Update CD. When the user inserts the Application CD, they are >>prompted to load the Update CD first which loads the required >>preconditioning components onto the target PC. >> >> > > > >> By the way IIS must be installed prior to loading VS Net, if you plan >>to use any of its features. >>You can still use things like Net WinForms without IIS but not Web >>Forms. If you install IIS after VS Net you can only use internal Web >>Forms . To fix you have to do a clear and reinstall in >>correct order, usually takes a couple of hours. >> >> > > > >>Gustav Brock wrote: >> >> > > > >>>Hi Marty and Martin >>> >>>I'm slightly confused ... >>> >>>Does this mean you'll have to buy all this - in addition to Office >>>2003 Pro, of course - just to create an Access 2003 runtime: >>> >>> 1. Visual Studio >>> 2. Visual Studio Tools for the Microsoft Office System >>> 3. Access 2003 Developer Extensions >>> >>>as well as to soil your dearly beloved workstation with IIS? >>> >>>And which version of Visual Studio? I don't have it as I've never had >>>a need for it. >>> >>>/gustav >>> >>> >>> >>> >>>>Looks like below doesn't contain the Access deployment features >>>>Access 2003 Developer Extensions Overview >>>> >>>> >>>>http://www.microsoft.com/office/preview/editions/accessdav.asp >>>> >>>> >>>>from recent posting newsgroup microsoft.public.vsnet.vstools.office >>> >>> >>> >>>>Subject: Re: Access 2003 Developer Extensions >>>>From: "Peter Torr \(MS\)" Sent: 7/16/2003 >>>>10:19:41 AM >>>>"Urs Stettler" wrote in message >>>>news:090401c34b7f$926f8de0$a401280a at phx.gbl... >>>> >>>> >>>>>According to the product description of the VS tools for >>>>>Office, Access 2003 Developer Extensions are supposed to >>>>>be part of it. >>>>> >>>>>Well, I purchased the Office 03 beta, purchased VS 03 just >>>>>to be able to use Access depoloyment features. Having >>>>>installed the VS tools, I can't find any packaging wizard >>>>>or any link in Access 03 to start the packaging process. >>>>>Am I missing something? >>>>> >>>>> >>>>The Access Developer Extensions will be in the final retail product, which >>>>has not shipped yet. The beta release of Visual Studio Tools for Office >>>>just contains the Word and Excel managed code projects. >>>> >>>> > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > From tsm at zoomtown.com Wed Aug 6 17:11:57 2003 From: tsm at zoomtown.com (Scott Marcus) Date: Wed, 6 Aug 2003 18:11:57 -0400 Subject: [AccessD] World Series In-Reply-To: <8B98F8EA48F8BA47A2F24E0D0AF40CF407AD7561@xlivmbx12.aig.com> Message-ID: <001201c35c67$c0b2b530$6501a8c0@laptop> Toronto, Canada has a major league baseball team. So it isn't just the USA. Scott Marcus -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert Sent: Wednesday, August 06, 2003 3:26 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] World Series But it is limited to TEAMS that are in the NL or AL, whereas the World Cup (for instance) is between teams from all countries (that are members of FIFA). It (The World Series) is only played in North America the World Cup is held all over the planet. The "Major Leagues" treat teams from any other country (Japan, Cuba [shock! a left-wing dictatorship!!!]... I can't think of any others, though I'm sure there must be) with almost as much respect as they give to the Minor Leagues - precious little. > -----Original Message----- > From: Huffman, Jarad B. [SMTP:jbhuffman at mdh.org] > Sent: Wednesday, August 06, 2003 2:37 PM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] World Series > > There are players from around the world playing in American ball; it's not > just limited to American atheletes. > > Jarad Huffman > > > -----Original Message----- > From: Charlotte Foust [mailto:cfoust at infostatsystems.com] > Sent: Wednesday, August 06, 2003 1:26 PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] World Series > > > Well, doesn't the world center around the USA? > Baseball as a professional sport was exported to other countries fairly > recently. The baseball world used to be much smaller. > > Charlotte Foust > > -----Original Message----- > From: Martin Reid [mailto:mwp.reid at qub.ac.uk] > Sent: Wednesday, August 06, 2003 10:15 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] World Series > > > Why do they call the World Series the World Series anyway? Always wondered > about that? > > Martin > > > You'll know the world is returning to reality when rapping is classed > > as poetry, not music, when the US is respectful of other countries, > > when the World Series is renamed the North American Baseball > > Championship, when > SUV's > > are either banned or subject to pollution taxes, when we stop BURNING > > oil and start to use it as a raw material for other products, when the > > > industrial military complex accounts for less that 10% of the US GNP, > > when the Detroit Auto industry loses any clout it has with Washington, > > > when we start seriously investing in rail transportation, when no more > > > 6 lane highways are built, when Cell phones are stored behind glass > > panels with "break in case of emergency" signs on them, when bicycle > > sales exceed > those > > of cars, etc. etc. etc. > > > > Lambert > > > -----Original Message----- > > > From: William Hindman [mailto:wdhindman at bellsouth.net] > > > Sent: Tuesday 2003 Aug 05 22:18 > > > To: Access Developers discussion and problem solving > > > Subject: Re: [AccessD] AXP Text File Import Crashes Access > > > > > > > > > ...lol ...well at least with this one, there are no militant > > > protesters threatening to e-bomb my mail server :) > > > > > > William Hindman > > > "You know the world is going crazy when the best rapper is a white > > > guy, the best golfer is a black guy, The Swiss hold the America's > > > Cup, France is accusing the US of arrogance, and Germany doesn't > > > want to go to war." > > > > > > ----- Original Message ----- > > > From: Software Design & Solutions Pty Ltd. > > > > > > To: Access Developers discussion and problem solving > > > > > > Sent: Tuesday, August 05, 2003 9:42 PM > > > Subject: Re: [AccessD] AXP Text File Import Crashes Access > > > > > > William - great tag on your email! > > > Kath > > > > > > > > > << File: ATT964242.txt >> > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From harkins at iglou.com Wed Aug 6 17:32:05 2003 From: harkins at iglou.com (Susan Harkins) Date: Wed, 6 Aug 2003 18:32:05 -0400 Subject: [AccessD] Make Table - Specifying String Field Size References: <8B98F8EA48F8BA47A2F24E0D0AF40CF407AD755F@xlivmbx12.aig.com><001701c35c46$b7c60560$0f0b6351@martin1> <019801c35c62$63ad7b90$dd2f0a44@bcsext6137> Message-ID: <003601c35c6a$92bffbd0$d9e6ffcc@SusanOne> I'm not aware of any syntax that allows you to set the field size in the SELECT INTO statement. Afterward, you can use the ALTER COLUMN to change the field size. ALTER TABLE table ALTER COLUMN col Text(size) Susan H. > Friends > > With Access, when doing a "make table query"; when You include an existing > string field, the field is "sized" in the new table to match the size of the > field the data is being taken from. > > However when You a calculate field ( such as trim(tblOne.FieldOne) & "-" & > trim(tblOne.FieldTwo) ) access creates the the field as being 255 chars. > > As an optimist, and hoping that there is a "work-around" due to this; I'll > phrase the question as "how can I specify the field size when doing > something like this ?" . > > Any assistance will be appreciated. > > Dave > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From andrew.haslett at ilc.gov.au Wed Aug 6 17:39:52 2003 From: andrew.haslett at ilc.gov.au (Haslett, Andrew) Date: Thu, 7 Aug 2003 08:09:52 +0930 Subject: [AccessD] OT: Retreiving user login name via ASP Message-ID: Sure, but in that situation there's no need pass a token - you'd vary rarely used integrated auth to login to a DB through a web application. All you need (and should use) are the login info from the connection string. The KB article would be nice through.. :)) Cheers, Andrew -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Thursday, 7 August 2003 5:40 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] OT: Retreiving user login name via ASP The connection strings only contain the DB login info, not the NT Token that is used to communicate with another network server. If you want, I'll find the KB article that describes the situation. Drew -----Original Message----- From: Haslett, Andrew [mailto:andrew.haslett at ilc.gov.au] Sent: Thursday, July 31, 2003 9:33 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] OT: Retreiving user login name via ASP >> For example, if you have an IIS >> server hosting your Intranet, and you have a file server that has company >> databases on it, you cannot access the company databases from the Intranet, >> through ASP. Have to disagree. Your connection strings to the database (in your ASP code) specify your authentication details to database servers, or any other resources required. Anonymous authentication, if enabled will map all anonymous requests to the IUSR_ account (by default-although this can be changed), which will then need to be given database access if not specifying an account in your connection string (bad!! - don't want to give anonymous users access to a resource, even if it is limited). We have no problems passing on our tokens to other resources / servers when using integrated authentication... Cheers, Andrew -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Friday, 1 August 2003 11:52 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] OT: Retreiving user login name via ASP Sorry, I'm WAY behind on my list posts (It's showing 633 unread right now....). This is definitely my ball of wax, in fact, Susan and I just wrote up an article about this. Okay, here's the deal, there is a MAJOR drawback to using Integrated Windows Authentication. The drawback is, that you cannot use any resources that are not directly located on the IIS server. For example, if you have an IIS server hosting your Intranet, and you have a file server that has company databases on it, you cannot access the company databases from the Intranet, through ASP. In fact, I don't even think a link would work either...in fact I am 98% sure of that, but I'm too swamped to test it. The reason is, the Integrated method creates a local token, not a domain token, so it's only valid on the local machine, not anywhere else on the domain. Now, Anonymous and Plain Text Authentication both create valid network tokens. So both of those methods are able to access other network resources. However, with Anonymous, you can't tell who is hitting the site, because everyone is using the same 'anonymous' account. You can tell the IP Address though, and I would guess there has got to be a way to get the logged on user from the current IP address from a domain controller....would have to think about how to do that. With Plain Text authentication though, you can tell who's logged in (in fact the login credentials can be in the URL), but the name and password are sent through the lines in plain text (as the method is titled). In fact, you can retrieve the password through ASP. There is a fourth option, but only if the IIS server is a controlling server on an Active Directory domain. It is called digest authentication, but it also requires that your domain uses reversible encryption. It works a lot like Integrated Windows authentication, but it doesn't have the local resource issue. Drew -----Original Message----- From: Haslett, Andrew [mailto:andrew.haslett at ilc.gov.au] Sent: Thursday, July 31, 2003 5:48 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] OT: Retreiving user login name via ASP No drawbacks at all. In fact its a (very simple) security enhancement, in that only authorised users of your domain can now access the site. Don't know your environment, but if your site were to hold sensitive information and it were hacked from outside somehow, then its an extra step for the hackers to get around since anonymous access is disabled. Cheers, Andrew -----Original Message----- From: Jim DeMarco [mailto:Jdemarco at hshhp.org] Sent: Thursday, 31 July 2003 9:40 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] OT: Retreiving user login name via ASP Got it. I had to disable Anonymous Access and now I see the user name. Any thoughts on what effect doing this will have if we disable anonymous access on our intranet? Thanks a lot for the help Andrew. Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan -----Original Message----- From: Haslett, Andrew [mailto:andrew.haslett at ilc.gov.au] Sent: Wednesday, July 30, 2003 6:15 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] OT: Retreiving user login name via ASP Jim, In IIS, right click the website in question to bring up its properties. Under Directory Security you will see options for a number of methods of authentication. Uncheck everything except integrated and the Users NT login will then be used to authenticate them to your site. Their details should also then be passed to those HTTP server variables for you to access. If that doesn't work then there must be a setting incorrect somewhere as it does work - we use it in our apps on the intranet at work. Cheers, Andrew -----Original Message----- From: Jim DeMarco [mailto:Jdemarco at hshhp.org] Sent: Thursday, 31 July 2003 2:52 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] OT: Retreiving user login name via ASP Andrew, This didn't work. How do I know if we're using Integrated Authentication? Is that Windows or IIS? Thanks, Jim -----Original Message----- From: Haslett, Andrew [mailto:andrew.haslett at ilc.gov.au] Sent: Tuesday, July 29, 2003 8:09 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] OT: Retreiving user login name via ASP If using Integrated Authentication, the NT user name is passed through the browser HTTP Server variables. Try this: Response.Write (Request.ServerVariables("LOGON_USER")) This returns a string in the format domain\username If LOGON_USER doesn't work, try REMOTE_USER Cheers, Andrew -----Original Message----- From: Jim DeMarco [mailto:Jdemarco at hshhp.org] Sent: Wednesday, 30 July 2003 6:35 AM To: Access Developers discussion and problem solving Subject: [AccessD] OT: Retreiving user login name via ASP Having a disagreement with the boss that maybe someone here can clear up for me. He thinks there is a way to return the Win2K user login name from an ASP page. I'm not 100% certain but I don't know that I've ever seen that done. Does anyone know if it's possible? If it is a code sample would be appreciated. Thanks, Jim DeMarco **************************************************************************** ******* "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". **************************************************************************** ******* _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com IMPORTANT - PLEASE READ ******************** This email and any files transmitted with it are confidential and may contain information protected by law from disclosure. If you have received this message in error, please notify the sender immediately and delete this email from your system. No warranty is given that this email or files, if attached to this email, are free from computer viruses or other defects. They are provided on the basis the user assumes all responsibility for loss, damage or consequence resulting directly or indirectly from their use, whether caused by the negligence of the sender or not. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com **************************************************************************** ******* "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 IMPORTANT - PLEASE READ ******************** This email and any files transmitted with it are confidential and may contain information protected by law from disclosure. If you have received this message in error, please notify the sender immediately and delete this email from your system. No warranty is given that this email or files, if attached to this email, are free from computer viruses or other defects. They are provided on the basis the user assumes all responsibility for loss, damage or consequence resulting directly or indirectly from their use, whether caused by the negligence of the sender or not. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com **************************************************************************** ******* "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 IMPORTANT - PLEASE READ ******************** This email and any files transmitted with it are confidential and may contain information protected by law from disclosure. If you have received this message in error, please notify the sender immediately and delete this email from your system. No warranty is given that this email or files, if attached to this email, are free from computer viruses or other defects. They are provided on the basis the user assumes all responsibility for loss, damage or consequence resulting directly or indirectly from their use, whether caused by the negligence of the sender or not. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com IMPORTANT - PLEASE READ ******************** This email and any files transmitted with it are confidential and may contain information protected by law from disclosure. If you have received this message in error, please notify the sender immediately and delete this email from your system. No warranty is given that this email or files, if attached to this email, are free from computer viruses or other defects. They are provided on the basis the user assumes all responsibility for loss, damage or consequence resulting directly or indirectly from their use, whether caused by the negligence of the sender or not. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com IMPORTANT - PLEASE READ ******************** This email and any files transmitted with it are confidential and may contain information protected by law from disclosure. If you have received this message in error, please notify the sender immediately and delete this email from your system. No warranty is given that this email or files, if attached to this email, are free from computer viruses or other defects. They are provided on the basis the user assumes all responsibility for loss, damage or consequence resulting directly or indirectly from their use, whether caused by the negligence of the sender or not. From ebarro at afsweb.com Wed Aug 6 17:51:06 2003 From: ebarro at afsweb.com (Eric Barro) Date: Wed, 6 Aug 2003 15:51:06 -0700 Subject: [AccessD] Pasting pictures In-Reply-To: <006501c35c5f$0e983350$3c06d018@W2k> Message-ID: Steve, The best solution is to store the path in the DB and not store the images in the DB. The path references the image file. The bigger the record the slower your DB will be. --- Eric Barro Senior Systems Analyst Advanced Field Services (208) 772-7060 http://www.afsweb.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Steven W. Erbach Sent: Wednesday, August 06, 2003 2:09 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Pasting pictures Dear Group, We've been called in to finish an already-started Access 2000 application. It's a database of ergonomic information pertaining to industrial jobs; i.e., how much lifting needs to be done, how much walking, standing, stretching, etc. The database contains pictures of the typical functions performed for the job. When we got the database in its unfinished state there were some picture records already stored in a table ( tblPictures ) with an OLE Object field. When I look at the datasheet I see the "Picture" column filled with the "Bitmap Image" placeholder. We entered some new data into the application and added some new records in the tblPictures table. The pictures were already stored in a Microsoft Word document. After I figured out how to copy the picture and paste it into the Picture field, I went and looked at the field in the datasheet. All of the new images from the Word document have the "Picture" placeholder. The database has also ballooned by about 1 MB for each picture added to the tblPictures table. Each of these images is 322 x 256 pixels, 24-bit color. If I save one of the pictures as a BMP it'll be about 240-245KB in size. If I convert to a JPG it's down to 26KB. If I view the tblPictures table and right-click on the Picture column and choose Insert Object, I can Browse for either a BMP or a JPG to insert into the field. But when I'm finished the field's placeholder reads "Package." My questions: 1) Is there a way to keep the database from ballooning in size so much. 1 MB per image seems excessive to me, especially since I can embed a JPG at 26 KB each; 2) What's the deal with "Package" vs. "Picture" vs. "Bitmap Image"?; and 3) Is there a way to disable the OLE linking feature; that is, prevent the user from double-clicking the image and opening up Microsoft Paint or whatever? Thanks a lot. Steve Erbach Scientific Marketing Neenah, WI "Eventually, socialists run out of other people's money." -- Lady Margaret Thatcher _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.504 / Virus Database: 302 - Release Date: 7/24/2003 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.504 / Virus Database: 302 - Release Date: 7/24/2003 From andrew.haslett at ilc.gov.au Wed Aug 6 18:14:03 2003 From: andrew.haslett at ilc.gov.au (Haslett, Andrew) Date: Thu, 7 Aug 2003 08:44:03 +0930 Subject: [AccessD] OT: Preserving state of user interaction in ASP.NE T applications Message-ID: Shamil, Usually between 1-5 MB each. I've got a few examples set up on my FTP server. Will email you the IP off list. Cheers, Andrew -----Original Message----- From: Shamil Salakhetdinov [mailto:shamil at smsconsulting.spb.ru] Sent: Thursday, 7 August 2003 12:03 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Preserving state of user interaction in ASP.NET applications Thanks for this info Andrew! How big is an average video size? - the problem is that I've to pay for the traffic here and it costs around USD8 per 100MB... Shamil ----- Original Message ----- From: "Haslett, Andrew" To: "'Access Developers discussion and problem solving'" Sent: Wednesday, August 06, 2003 4:34 PM Subject: RE: [AccessD] OT: Preserving state of user interaction in ASP.NET applications > As I've mentioned in previous posts, check out: > http://learnvisualstudio.net > > It answers your questions quite well. > > Downloadble videos of tutorials actually using the tool and designing > applications. Much better than listening to a webcast or reading a book. > Apart from VS itself, he also concentrates on asp.net, vb.net, c#.net and > the framework. (Theres a list of videos on the botton om the home page) > > Free daily videos to get a taste for it, and a (pretty cheap) subscription > gives you access to all the previous videos. Best few bucks I've spent. > > Bob encourages members to share a couple of the sample videos to people who > are interested so if anyone is, let me know and I'll sned them to ya. > > Cheers, > Andrew > > -----Original Message----- > From: Shamil Salakhetdinov [mailto:shamil at smsconsulting.spb.ru] > Sent: Wednesday, 6 August 2003 9:21 PM > To: AccessD > Subject: [AccessD] OT: Preserving state of user interaction in ASP.NET > applications > > > Hi All, > > I have watched MSDN webcast (http://www.microsoft.com/usa/webcasts) > yesterday : ASP.NET: Building Data Driven Web Applications Using ASP.NET and > ADO.NET... > > Looks interesting and as usual with MS presentations - "life is easy and > cheese is free" - making ASP.NET applications is very similar now to > designing MS Access (projects) forms. But what they showed was a rather > simple sample application with sometimes ugly interface and with very > frequent round-trips to the server. And it was completely stateless i.e. > every front-end interaction used to create(reuse pooled?) connection on > server side, recreate dataadapter object, datasets etc... > > The question is: Does anybody here investigated the subj in all the details? > What is wanted is to have the state of the user->Server interactions > preserved between server calls - there are third party tools - e.g. > WebObjects from ComponentOne, which look like serving this purpose but I > expected that all that can be done without extra efforts and by using > build-in ASP.NET features - was I wrong? > > TIA for any info, > Shamil > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > IMPORTANT - PLEASE READ ******************** > This email and any files transmitted with it are confidential and may > contain information protected by law from disclosure. > If you have received this message in error, please notify the sender > immediately and delete this email from your system. > No warranty is given that this email or files, if attached to this > email, are free from computer viruses or other defects. They > are provided on the basis the user assumes all responsibility for > loss, damage or consequence resulting directly or indirectly from > their use, whether caused by the negligence of the sender or not. > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com IMPORTANT - PLEASE READ ******************** This email and any files transmitted with it are confidential and may contain information protected by law from disclosure. If you have received this message in error, please notify the sender immediately and delete this email from your system. No warranty is given that this email or files, if attached to this email, are free from computer viruses or other defects. They are provided on the basis the user assumes all responsibility for loss, damage or consequence resulting directly or indirectly from their use, whether caused by the negligence of the sender or not. From Lembit.Soobik at t-online.de Wed Aug 6 18:29:14 2003 From: Lembit.Soobik at t-online.de (Lembit Soobik) Date: Thu, 7 Aug 2003 01:29:14 +0200 Subject: [AccessD] Money, Money, Money makes the world go round References: <000b01c35b4b$526ee520$0c05a8c0@carlton.local><059a01c35b57$2b7f6f00$0200a8c0@S856> <009201c35b7f$ac950f50$6101a8c0@amd2k512> Message-ID: <06c301c35c72$8c7ceb90$0200a8c0@S856> well, great idea, William, does this mean you are available for ACTIVE work for DBA? And I mean really spend the time and effort in the best interest of DBA? It is easy to throw an idea out and have others take care. and just for your information, we have lots and lots of ideas, but only a handful people who really work on them. Most want to have a nice title and disappear when they are really needed. If you seriously want to cooperate, you are very welcome to develop the path to this, get the needed people involved and execute it in a manner that our lists function predictably safe during and after the conversion. Please let me know offlist whether you wil do this, since this is not the right place for such discussion. Also, I would appreaciate any support for this donation rally from your side. thank you Lembit Soobik ----- Original Message ----- From: "William Hindman" To: "Access Developers discussion and problem solving" Sent: Tuesday, August 05, 2003 8:30 PM Subject: Re: [AccessD] Money, Money, Money makes the world go round > ...ok ...gonna stick my nose back in the dba pie for a moment or so ...as > Lembit has stated, dba came about because this list was dumped upon or held > hostage on different occasions by "free" providers who for one reason or > another left us in the lurch ...it is firm dba policy which I had as much or > more say in creating as anyone, not to ever again allow AccessD to become > dependent upon a single provider ...thus the need to pay our own way which > has served us in good stead. > > ...however ...circumstances change ...and what was once necessary may no > longer be the exact case. > > ...if we had at least TWO free hosts, each fully capable of meeting all of > our needs, and each willing to mirror the other full time ...then I can see > no reason to continue laying out hundreds of dollars for paid hosting > services ...the mirroring setup ensures that dba is never dependent upon any > single host for the lists continued operation ...if one goes down, the > mirror is able to pick it up immediately ...which is actually better > reliability than we have now. > > ...I remember months back writing a memo similar to Lembits in regards to an > offer of free hosting by Drew ...hindsight is a wonderful thing but many of > the deterrents back then are now gone. > > ...I'd suggest that if Vlad, Drew, and any others with sufficient space/bw > available want to set-up a mirroring arrangement, that dba move to do so > asap ...that will immediately stop the money bleed and allow dba to use what > funds remain in more productive ways. > > William Hindman > "You know the world is going crazy when the best rapper is a white guy, the > best golfer is a black guy, The Swiss hold the America's Cup, France is > accusing the US of arrogance, and Germany doesn't want to go to war." > > ----- Original Message ----- > From: "Lembit Soobik" > To: "Access Developers discussion and problem solving" > > Sent: Tuesday, August 05, 2003 9:40 AM > Subject: Re: [AccessD] Money, Money, Money makes the world go round > > > > thank you, Vlad, > > for the great offer, but our policy is to not accept such free offer. > > We have been burned, and founding this little company DBA Inc. has been > done > > in order to become independent. > > It is really nice of you to offer that and thank you, but sorry, no, thank > you . > > Lembit > > > > Lembit Soobik > > > > ----- Original Message ----- > > From: "ACTEBS" > > To: "'Access Developers discussion and problem solving'" > > > > Sent: Tuesday, August 05, 2003 2:15 PM > > Subject: RE: [AccessD] Money, Money, Money makes the world go round > > > > > > > Lembit, > > > > > > What are you paying for hosting? I own the server that our web site is > > > hosted on - mytakeaway.com.au - because this list has been so good to me > > > over the years, I'd like offer you hosting for free. The only thing > you'll > > > need to do is re-direct the place where your IP is pointing to and > direct it > > > our IP address and I can configure it in IIS. The server is currently > this > > > configuration: > > > > > > A) Twin AMD MP 2100 - (Overkill I know, but it was all we could get > > > that was reasonably priced in a dual configuration) > > > B) 1GB RAM > > > C) 14Mbit connection to the internet > > > > > > The only thing I need to know is how much HDD space you require as we > have > > > an unlimited Upload -> to the internet user and a limit of 2GB > download -> > > > us to the server...We download sweet FA as most of our traffic is > outgoing > > > and so is free... > > > > > > Get back to me if you want to go explore this further... > > > > > > Vlad > > > > > > -----Original Message----- > > > From: accessd-bounces at databaseadvisors.com > > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lembit Soobik > > > Sent: Tuesday, 5 August 2003 9:56 PM > > > To: Access Developers discussion and problem solving > > > Subject: [AccessD] Money, Money, Money makes the world go round > > > > > > > > > Friends, > > > > > > It is time once again to talk about money...or more accurately, the lack > > > thereof. Since this list - like anything else - is not free, we need > from > > > time to time a little bit of money to pay our bills. > > > > > > Our fincancial needs are not great, but if those who feel they have > received > > > help for their project can donate a bit, I am sure we can continue to > make > > > our payments in a timely manner. > > > > > > Having said this, please be so kind as to visit > > > http://www.databaseadvisors.com/donations.htm > > > > > > In addition, if we can secure a few companies as Corporate Sponsors - > for as > > > little as $100/year - we can live quite a while off of that. In > addition > > > to the benefits detailed at > > > http://www.databaseadvisors.com/donations/corporate.htm, the Corporate > > > Sponsor is allowed to include "Official Sponsor of DBA" (plus a link to > his > > > website) in his signature line. > > > > > > Now, this is a special offer, valid until Aug-31-2003. You get a whole > year > > > of free advertising in the signature line, plus all the free advice from > the > > > best Access Developers the world over! Surely that is worth more than > $100. > > > > > > Thank you in advance for your conintued support of DataBase Advisors, > > > > > > > > > Lembit Soobik President DBA > > > and the Executive Team 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 > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Wed Aug 6 18:34:24 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Wed, 6 Aug 2003 18:34:24 -0500 Subject: [AccessD] OT: Retreiving user login name via ASP Message-ID: <2F8793082E00D4119A1700B0D0216BF80222705F@main2.marlow.com> http://support.microsoft.com/default.aspx?scid=kb;EN-US;158229 http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnauth/html /dnauth_security.asp http://support.microsoft.com/default.aspx?scid=kb;en-us;175671 Those are three articles, but the following is the one I ran into specifically. http://support.microsoft.com/default.aspx?scid=kb;EN-US;166029 I have an IIS server running our company's Intranet. We have several other 'servers' on our network performing other tasks such as file shares, email,etc. I wanted an ASP where the ASP code read information from a database on another server, then displayed the information in the resulting HTML. Simple ASP page right? Wrong. My initial design used Integrated Windows Authentication, to get the User's NT Name without requiring a logon. Got the name alright, but every time I tried to hit the database through ASP, it failed, telling me that it couldn't find the database. That articles above explain why. Essentially, the Integrated Windows Security uses a challenge/response method, but does not actually get the users password. Thus, it authorizes the user to use resources on the IIS server, but if it tries to use a resource on another computer, which requires an NT account to do so, it can't, because it doesn't have the password, to send the name and password through. Now, with a SQL server, this can be a problem, but you can get around that, by going with TCP/IP communications, which is less secure, but it doesn't require the NT login, only the database login. Make sense? Drew -----Original Message----- From: Haslett, Andrew [mailto:andrew.haslett at ilc.gov.au] Sent: Wednesday, August 06, 2003 5:40 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] OT: Retreiving user login name via ASP Sure, but in that situation there's no need pass a token - you'd vary rarely used integrated auth to login to a DB through a web application. All you need (and should use) are the login info from the connection string. The KB article would be nice through.. :)) Cheers, Andrew -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Thursday, 7 August 2003 5:40 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] OT: Retreiving user login name via ASP The connection strings only contain the DB login info, not the NT Token that is used to communicate with another network server. If you want, I'll find the KB article that describes the situation. Drew -----Original Message----- From: Haslett, Andrew [mailto:andrew.haslett at ilc.gov.au] Sent: Thursday, July 31, 2003 9:33 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] OT: Retreiving user login name via ASP >> For example, if you have an IIS >> server hosting your Intranet, and you have a file server that has company >> databases on it, you cannot access the company databases from the Intranet, >> through ASP. Have to disagree. Your connection strings to the database (in your ASP code) specify your authentication details to database servers, or any other resources required. Anonymous authentication, if enabled will map all anonymous requests to the IUSR_ account (by default-although this can be changed), which will then need to be given database access if not specifying an account in your connection string (bad!! - don't want to give anonymous users access to a resource, even if it is limited). We have no problems passing on our tokens to other resources / servers when using integrated authentication... Cheers, Andrew -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Friday, 1 August 2003 11:52 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] OT: Retreiving user login name via ASP Sorry, I'm WAY behind on my list posts (It's showing 633 unread right now....). This is definitely my ball of wax, in fact, Susan and I just wrote up an article about this. Okay, here's the deal, there is a MAJOR drawback to using Integrated Windows Authentication. The drawback is, that you cannot use any resources that are not directly located on the IIS server. For example, if you have an IIS server hosting your Intranet, and you have a file server that has company databases on it, you cannot access the company databases from the Intranet, through ASP. In fact, I don't even think a link would work either...in fact I am 98% sure of that, but I'm too swamped to test it. The reason is, the Integrated method creates a local token, not a domain token, so it's only valid on the local machine, not anywhere else on the domain. Now, Anonymous and Plain Text Authentication both create valid network tokens. So both of those methods are able to access other network resources. However, with Anonymous, you can't tell who is hitting the site, because everyone is using the same 'anonymous' account. You can tell the IP Address though, and I would guess there has got to be a way to get the logged on user from the current IP address from a domain controller....would have to think about how to do that. With Plain Text authentication though, you can tell who's logged in (in fact the login credentials can be in the URL), but the name and password are sent through the lines in plain text (as the method is titled). In fact, you can retrieve the password through ASP. There is a fourth option, but only if the IIS server is a controlling server on an Active Directory domain. It is called digest authentication, but it also requires that your domain uses reversible encryption. It works a lot like Integrated Windows authentication, but it doesn't have the local resource issue. Drew -----Original Message----- From: Haslett, Andrew [mailto:andrew.haslett at ilc.gov.au] Sent: Thursday, July 31, 2003 5:48 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] OT: Retreiving user login name via ASP No drawbacks at all. In fact its a (very simple) security enhancement, in that only authorised users of your domain can now access the site. Don't know your environment, but if your site were to hold sensitive information and it were hacked from outside somehow, then its an extra step for the hackers to get around since anonymous access is disabled. Cheers, Andrew -----Original Message----- From: Jim DeMarco [mailto:Jdemarco at hshhp.org] Sent: Thursday, 31 July 2003 9:40 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] OT: Retreiving user login name via ASP Got it. I had to disable Anonymous Access and now I see the user name. Any thoughts on what effect doing this will have if we disable anonymous access on our intranet? Thanks a lot for the help Andrew. Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan -----Original Message----- From: Haslett, Andrew [mailto:andrew.haslett at ilc.gov.au] Sent: Wednesday, July 30, 2003 6:15 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] OT: Retreiving user login name via ASP Jim, In IIS, right click the website in question to bring up its properties. Under Directory Security you will see options for a number of methods of authentication. Uncheck everything except integrated and the Users NT login will then be used to authenticate them to your site. Their details should also then be passed to those HTTP server variables for you to access. If that doesn't work then there must be a setting incorrect somewhere as it does work - we use it in our apps on the intranet at work. Cheers, Andrew -----Original Message----- From: Jim DeMarco [mailto:Jdemarco at hshhp.org] Sent: Thursday, 31 July 2003 2:52 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] OT: Retreiving user login name via ASP Andrew, This didn't work. How do I know if we're using Integrated Authentication? Is that Windows or IIS? Thanks, Jim -----Original Message----- From: Haslett, Andrew [mailto:andrew.haslett at ilc.gov.au] Sent: Tuesday, July 29, 2003 8:09 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] OT: Retreiving user login name via ASP If using Integrated Authentication, the NT user name is passed through the browser HTTP Server variables. Try this: Response.Write (Request.ServerVariables("LOGON_USER")) This returns a string in the format domain\username If LOGON_USER doesn't work, try REMOTE_USER Cheers, Andrew -----Original Message----- From: Jim DeMarco [mailto:Jdemarco at hshhp.org] Sent: Wednesday, 30 July 2003 6:35 AM To: Access Developers discussion and problem solving Subject: [AccessD] OT: Retreiving user login name via ASP Having a disagreement with the boss that maybe someone here can clear up for me. He thinks there is a way to return the Win2K user login name from an ASP page. I'm not 100% certain but I don't know that I've ever seen that done. Does anyone know if it's possible? If it is a code sample would be appreciated. Thanks, Jim DeMarco **************************************************************************** ******* "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". **************************************************************************** ******* _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com IMPORTANT - PLEASE READ ******************** This email and any files transmitted with it are confidential and may contain information protected by law from disclosure. If you have received this message in error, please notify the sender immediately and delete this email from your system. No warranty is given that this email or files, if attached to this email, are free from computer viruses or other defects. They are provided on the basis the user assumes all responsibility for loss, damage or consequence resulting directly or indirectly from their use, whether caused by the negligence of the sender or not. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com **************************************************************************** ******* "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 IMPORTANT - PLEASE READ ******************** This email and any files transmitted with it are confidential and may contain information protected by law from disclosure. If you have received this message in error, please notify the sender immediately and delete this email from your system. No warranty is given that this email or files, if attached to this email, are free from computer viruses or other defects. They are provided on the basis the user assumes all responsibility for loss, damage or consequence resulting directly or indirectly from their use, whether caused by the negligence of the sender or not. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com **************************************************************************** ******* "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 IMPORTANT - PLEASE READ ******************** This email and any files transmitted with it are confidential and may contain information protected by law from disclosure. If you have received this message in error, please notify the sender immediately and delete this email from your system. No warranty is given that this email or files, if attached to this email, are free from computer viruses or other defects. They are provided on the basis the user assumes all responsibility for loss, damage or consequence resulting directly or indirectly from their use, whether caused by the negligence of the sender or not. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com IMPORTANT - PLEASE READ ******************** This email and any files transmitted with it are confidential and may contain information protected by law from disclosure. If you have received this message in error, please notify the sender immediately and delete this email from your system. No warranty is given that this email or files, if attached to this email, are free from computer viruses or other defects. They are provided on the basis the user assumes all responsibility for loss, damage or consequence resulting directly or indirectly from their use, whether caused by the negligence of the sender or not. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com IMPORTANT - PLEASE READ ******************** This email and any files transmitted with it are confidential and may contain information protected by law from disclosure. If you have received this message in error, please notify the sender immediately and delete this email from your system. No warranty is given that this email or files, if attached to this email, are free from computer viruses or other defects. They are provided on the basis the user assumes all responsibility for loss, damage or consequence resulting directly or indirectly from their use, whether caused by the negligence of the sender or not. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jcolby at colbyconsulting.com Wed Aug 6 18:38:23 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Wed, 6 Aug 2003 19:38:23 -0400 Subject: [AccessD] OT: "seeing all net cards" Message-ID: Does anyone know of a free something that will allow me to "see" all of the NICs (the IP address assigned to them for example) on my little home network? John W. Colby www.colbyconsulting.com From Lembit.Soobik at t-online.de Wed Aug 6 18:53:26 2003 From: Lembit.Soobik at t-online.de (Lembit Soobik) Date: Thu, 7 Aug 2003 01:53:26 +0200 Subject: [AccessD] OT: "seeing all net cards" References: Message-ID: <06d701c35c75$fb464000$0200a8c0@S856> with my Netgear router I get a list of IP addresses for all the PCs in the Maintainance manue under DHCP table Lembit Soobik ----- Original Message ----- From: "John Colby" To: "AccessD" Sent: Thursday, August 07, 2003 1:38 AM Subject: [AccessD] OT: "seeing all net cards" > Does anyone know of a free something that will allow me to "see" all of the > NICs (the IP address assigned to them for example) on my little home > network? > > John W. Colby > www.colbyconsulting.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jimdettman at earthlink.net Wed Aug 6 19:06:48 2003 From: jimdettman at earthlink.net (Jim Dettman) Date: Wed, 6 Aug 2003 20:06:48 -0400 Subject: [AccessD] OT: "seeing all net cards" In-Reply-To: <06d701c35c75$fb464000$0200a8c0@S856> Message-ID: Some routers also have an "attached devices" or some such showing all the computer names. Failing that, you can drop to a DOS prompt and type: nbtstat -c Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Lembit Soobik Sent: Wednesday, August 06, 2003 7:53 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: "seeing all net cards" with my Netgear router I get a list of IP addresses for all the PCs in the Maintainance manue under DHCP table Lembit Soobik ----- Original Message ----- From: "John Colby" To: "AccessD" Sent: Thursday, August 07, 2003 1:38 AM Subject: [AccessD] OT: "seeing all net cards" > Does anyone know of a free something that will allow me to "see" all of the > NICs (the IP address assigned to them for example) on my little home > network? > > 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 SDSSoftware at Optusnet.com.au Wed Aug 6 19:11:24 2003 From: SDSSoftware at Optusnet.com.au (Software Design & Solutions Pty Ltd.) Date: Thu, 7 Aug 2003 10:11:24 +1000 Subject: [AccessD] Message-ID: <003301c35c78$709ceff0$54dd31d2@OfficePC> Just read this and wanted to pass it on... "SQL Server Developer Edition Price Drops to $49 Friday by Scott Bekker 7/31/03 - Microsoft will drop the price of the Developer Edition of SQL Server 2000 by 90 percent on Friday, from $499 to $49. The company announced the price cut in June at its TechEd show in Dallas. The move brings the Developer Edition into line with the practice of some other database vendors who offer development editions for free or at a very low cost. The Developer Edition has all the functionality of SQL Server 2000 Enterprise Edition, but the End User License Agreement prohibits customers from installing or using it in live server environments. The Developer Edition can be upgraded to Enterprise Edition. http://www.entmag.com/news/article.asp?EditorialsID=5895 Kath Pelletti Software Design & Solutions Pty Ltd. Ph: 9505-6714 Fax: 9505-6430 SDSSoftware at Optusnet.com.au -------------- next part -------------- An HTML attachment was scrubbed... URL: From mastercafe at ctv.es Wed Aug 6 19:12:37 2003 From: mastercafe at ctv.es (MastercafeCTV) Date: Thu, 7 Aug 2003 02:12:37 +0200 Subject: [AccessD] OT: "seeing all net cards" In-Reply-To: Message-ID: <004501c35c78$9c60db10$69fa2250@servercafe> There are many utilities for this on www.softonic.com, check windows maintenance utilities. We use 3 of they to diagnose our network. =========================================== MASTERCAFE SL - NIF B-82.617.614 www.mastercafe.com Deleg. Asturias Tel 985.88.49.44 / 627.531.764 Fax 627.500.205 info at mastercafe.com juan at mastercafe.com Deleg. Madrid Tel 627.474.285 cecilia at mastercafe.com =========================================== -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: jueves, 07 de agosto de 2003 1:38 To: AccessD Subject: [AccessD] OT: "seeing all net cards" Does anyone know of a free something that will allow me to "see" all of the NICs (the IP address assigned to them for example) on my little home network? 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 mastercafe at ctv.es Wed Aug 6 19:15:33 2003 From: mastercafe at ctv.es (MastercafeCTV) Date: Thu, 7 Aug 2003 02:15:33 +0200 Subject: [AccessD] OT: "seeing all net cards" In-Reply-To: Message-ID: <004601c35c79$05485310$69fa2250@servercafe> Sorry... I recommend you IPInventory and IPScan 1.3 =========================================== MASTERCAFE SL - NIF B-82.617.614 www.mastercafe.com Deleg. Asturias Tel 985.88.49.44 / 627.531.764 Fax 627.500.205 info at mastercafe.com juan at mastercafe.com Deleg. Madrid Tel 627.474.285 cecilia at mastercafe.com =========================================== -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: jueves, 07 de agosto de 2003 1:38 To: AccessD Subject: [AccessD] OT: "seeing all net cards" Does anyone know of a free something that will allow me to "see" all of the NICs (the IP address assigned to them for example) on my little home network? 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 Lembit.Soobik at t-online.de Wed Aug 6 19:17:39 2003 From: Lembit.Soobik at t-online.de (Lembit Soobik) Date: Thu, 7 Aug 2003 02:17:39 +0200 Subject: [AccessD] OT: "seeing all net cards" References: Message-ID: <06ea01c35c79$504d0950$0200a8c0@S856> I get from it only those which are presently running and connected (minus the one on which I execute the command), while the Maintainance | DHCP table gives me all (IP an computer name) Lembit Soobik ----- Original Message ----- From: "Jim Dettman" To: "Access Developers discussion and problem solving" Sent: Thursday, August 07, 2003 2:06 AM Subject: RE: [AccessD] OT: "seeing all net cards" > Some routers also have an "attached devices" or some such showing all the > computer names. > > Failing that, you can drop to a DOS prompt and type: > > nbtstat -c > > Jim Dettman > President, > Online Computer Services of WNY, Inc. > (315) 699-3443 > jimdettman at earthlink.net > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Lembit Soobik > Sent: Wednesday, August 06, 2003 7:53 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] OT: "seeing all net cards" > > > with my Netgear router I get a list of IP addresses for all the PCs > in the Maintainance manue under DHCP table > > Lembit Soobik > > ----- Original Message ----- > From: "John Colby" > To: "AccessD" > Sent: Thursday, August 07, 2003 1:38 AM > Subject: [AccessD] OT: "seeing all net cards" > > > > Does anyone know of a free something that will allow me to "see" all of > the > > NICs (the IP address assigned to them for example) on my little home > > network? > > > > John W. Colby > > www.colbyconsulting.com > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From SDSSoftware at Optusnet.com.au Wed Aug 6 19:20:12 2003 From: SDSSoftware at Optusnet.com.au (Software Design & Solutions Pty Ltd.) Date: Thu, 7 Aug 2003 10:20:12 +1000 Subject: [AccessD] SQL Server Developer Edition Price Drop References: <003301c35c78$709ceff0$54dd31d2@OfficePC> Message-ID: <006901c35c79$ab379290$54dd31d2@OfficePC> Fixing the subject line for the archive. Kath ----- Original Message ----- From: Software Design & Solutions Pty Ltd. To: AccessD at databaseadvisors.com Sent: Thursday, August 07, 2003 10:11 AM Subject: [AccessD] Just read this and wanted to pass it on... "SQL Server Developer Edition Price Drops to $49 Friday by Scott Bekker 7/31/03 - Microsoft will drop the price of the Developer Edition of SQL Server 2000 by 90 percent on Friday, from $499 to $49. The company announced the price cut in June at its TechEd show in Dallas. The move brings the Developer Edition into line with the practice of some other database vendors who offer development editions for free or at a very low cost. The Developer Edition has all the functionality of SQL Server 2000 Enterprise Edition, but the End User License Agreement prohibits customers from installing or using it in live server environments. The Developer Edition can be upgraded to Enterprise Edition. http://www.entmag.com/news/article.asp?EditorialsID=5895 Kath Pelletti Software Design & Solutions Pty Ltd. Ph: 9505-6714 Fax: 9505-6430 SDSSoftware at Optusnet.com.au ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From davesharpe2 at cox.net Wed Aug 6 20:56:43 2003 From: davesharpe2 at cox.net (dave sharpe) Date: Wed, 6 Aug 2003 21:56:43 -0400 Subject: [AccessD] Make Table - Specifying String Field Size References: <8B98F8EA48F8BA47A2F24E0D0AF40CF407AD755F@xlivmbx12.aig.com><001701c35c46$b7c60560$0f0b6351@martin1><019801c35c62$63ad7b90$dd2f0a44@bcsext6137> <003601c35c6a$92bffbd0$d9e6ffcc@SusanOne> Message-ID: <004d01c35c87$269b7b10$dd2f0a44@bcsext6137> Thank You Susan Dave ----- Original Message ----- From: "Susan Harkins" To: "Access Developers discussion and problem solving" Sent: Wednesday, August 06, 2003 6:32 PM Subject: Re: [AccessD] Make Table - Specifying String Field Size > I'm not aware of any syntax that allows you to set the field size in the > SELECT INTO statement. Afterward, you can use the ALTER COLUMN to change the > field size. > > ALTER TABLE table > ALTER COLUMN > col Text(size) > > Susan H. > > > > Friends > > > > With Access, when doing a "make table query"; when You include an existing > > string field, the field is "sized" in the new table to match the size of > the > > field the data is being taken from. > > > > However when You a calculate field ( such as trim(tblOne.FieldOne) & "-" & > > trim(tblOne.FieldTwo) ) access creates the the field as being 255 chars. > > > > As an optimist, and hoping that there is a "work-around" due to this; I'll > > phrase the question as "how can I specify the field size when doing > > something like this ?" . > > > > Any assistance will be appreciated. > > > > Dave > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From david.powell at bbm.wapl.com.au Wed Aug 6 21:41:17 2003 From: david.powell at bbm.wapl.com.au (Powell, David (BBM)) Date: Thu, 7 Aug 2003 10:41:17 +0800 Subject: [AccessD] Array sorting Message-ID: Hi Listers, I have a single dimension array of excel cell references stored as string values. I was wondering how you can sort a range that is say A1:C3 from A1, A2, A3, B1... C3 to A1, B1, C1, A2, B2...C3? Any help would be greatly appreciated. > regards > > David > > ---------------------------------------------------- > David Powell > Computing Support Officer > Worsley Alumina Pty Ltd > Bauxite Mine > Boddington WA 6390 > Ph: +61 8 9734 8269 > FAX: +61 8 9734 8250 > Mailto:david.powell at bbm.wapl.com.au > WAPL Web Page http://www.wapl.com.au > ---------------------------------------------------- <> NOTICE - This message and any attached files may contain information that is confidential and/or subject of legal privilege intended only for use by the intended recipient. If you are not the intended recipient or the person responsible for delivering the message to the intended recipient, be advised that you have received this message in error and that any dissemination, copying or use of this message or attachment is strictly forbidden, as is the disclosure of the information therein. If you have received this message in error please notify the sender immediately and delete the message Worsley Alumina Pty Ltd ABN 58 008 905 155 is the manager of the Worsley Joint Venture - Bauxite/Alumina Operation. Liability and responsibility of the Joint Venturers is several in accordance with the following schedule of participating interests: Billiton Aluminium (RAA) Pty Ltd 56 percent, Billiton Aluminium (Worsley) Pty Ltd 30 percent, Kobe Alumina Associates (Australia) Pty Limited 10 percent, Nissho Iwai Alumina Pty Limited 4 percent. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Powell, David (BBM).vcf Type: text/x-vcard Size: 464 bytes Desc: Powell, David (BBM).vcf URL: From rjhjr at cox.net Wed Aug 6 21:45:57 2003 From: rjhjr at cox.net (Bob Hall) Date: Wed, 6 Aug 2003 22:45:57 -0400 Subject: [AccessD] OT: "seeing all net cards" In-Reply-To: References: Message-ID: <20030807024557.GA6655@kongemord.krig.net> On Wed, Aug 06, 2003 at 07:38:23PM -0400, John Colby wrote: > Does anyone know of a free something that will allow me to "see" all of the > NICs (the IP address assigned to them for example) on my little home > network? If you have DNS set up, you can get that info from any machine by using nslookup. From a Win2k box, I type C:\>nslookup >From the nslookup prompt, if I type >ls krig.net I get a list of every host in my DNS records. Of course, there's some duplication, since the web, dns, and imap servers, and router have their own names, but are all the same machine. >From whichever host handles routing, you should be able to get the same information without the duplication from the routing table. C:\>netstat -r Bob Hall From martyconnelly at shaw.ca Wed Aug 6 23:55:11 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Wed, 06 Aug 2003 21:55:11 -0700 Subject: [AccessD] OT: "seeing all net cards" References: Message-ID: <3F31DBAF.6070206@shaw.ca> John Colby wrote: >Does anyone know of a free something that will allow me to "see" all of the >NICs (the IP address assigned to them for example) on my little home >network? > >John W. Colby >www.colbyconsulting.com >website: http://www.databaseadvisors.com > > With WMI installed this might work on a network. It does on single laptop WinXP Sub testsystem() 'add reference to WMI extension library; must run from administrator account Dim locator As Object Dim service As Object Dim system As Object Dim SystemSet As Object Dim SystemSetAll As Object Dim VarInstance As Object 'You must be member of administrator group Set locator = CreateObject("WbemScripting.SWbemLocator") Set service = locator.connectserver Set SystemSet = service.Get("Win32_NetworkAdapterConfiguration") Set VarInstance = SystemSet.Instances_ For Each system In VarInstance If system.Index = 0 Then Debug.Print (system.Description) Debug.Print (system.ServiceName) Debug.Print (system.IPAddress(0)) Debug.Print (system.IPSubnet(0)) Debug.Print (system.MACAddress) Else Debug.Print (system.Description) Debug.Print (system.ServiceName) Debug.Print (system.IPAddress(0)) Debug.Print (system.IPSubnet(0)) Debug.Print (system.MACAddress) End If Next Set SystemSetAll = GetObject("winmgmts:").InstancesOf("Win32_ComputerSystem") 'grab all network system names For Each system In SystemSetAll Debug.Print "Computername " & system.Name testallnics (system.Name) Next End Sub Sub testallnics(strComputer As String) 'Dim strComputer As String Dim objWMIService As Object Dim colitems As Object Dim objitem As Object On Error Resume Next 'strComputer = "." 'initial test Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2") Set colitems = objWMIService.ExecQuery("Select * from Win32_NetworkAdapter", , 48) For Each objitem In colitems Debug.Print "AdapterType: " & objitem.AdapterType Debug.Print "AutoSense: " & objitem.AutoSense Debug.Print "Availability: " & objitem.Availability Debug.Print "Caption: " & objitem.Caption Debug.Print "ConfigManagerErrorCode: " & objitem.ConfigManagerErrorCode Debug.Print "ConfigManagerUserConfig: " & objitem.ConfigManagerUserConfig Debug.Print "CreationClassName: " & objitem.CreationClassName Debug.Print "Description: " & objitem.Description Debug.Print "DeviceID: " & objitem.DeviceID Debug.Print "ErrorCleared: " & objitem.ErrorCleared Debug.Print "ErrorDescription: " & objitem.ErrorDescription Debug.Print "Index: " & objitem.Index Debug.Print "InstallDate: " & objitem.InstallDate Debug.Print "Installed: " & objitem.Installed Debug.Print "LastErrorCode: " & objitem.LastErrorCode Debug.Print "MACAddress: " & objitem.MACAddress Debug.Print "Manufacturer: " & objitem.Manufacturer Debug.Print "MaxNumberControlled: " & objitem.MaxNumberControlled Debug.Print "MaxSpeed: " & objitem.MaxSpeed Debug.Print "Name: " & objitem.Name Debug.Print "NetworkAddresses: " & objitem.NetworkAddresses Debug.Print "PermanentAddress: " & objitem.PermanentAddress Debug.Print "PNPDeviceID: " & objitem.PNPDeviceID Debug.Print "PowerManagementCapabilities: " & objitem.PowerManagementCapabilities Debug.Print "PowerManagementSupported: " & objitem.PowerManagementSupported Debug.Print "ProductName: " & objitem.ProductName Debug.Print "ServiceName: " & objitem.ServiceName Debug.Print "Speed: " & objitem.Speed Debug.Print "Status: " & objitem.Status Debug.Print "StatusInfo: " & objitem.StatusInfo Debug.Print "SystemCreationClassName: " & objitem.SystemCreationClassName Debug.Print "SystemName: " & objitem.SystemName Debug.Print "TimeOfLastReset: " & objitem.TimeOfLastReset Next End Sub From martyconnelly at shaw.ca Wed Aug 6 23:55:11 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Wed, 06 Aug 2003 21:55:11 -0700 Subject: [AccessD] OT: "seeing all net cards" References: Message-ID: <3F31DBAF.6070206@shaw.ca> John Colby wrote: >Does anyone know of a free something that will allow me to "see" all of the >NICs (the IP address assigned to them for example) on my little home >network? > >John W. Colby >www.colbyconsulting.com >website: http://www.databaseadvisors.com > > With WMI installed this might work on a network. It does on single laptop WinXP Sub testsystem() 'add reference to WMI extension library; must run from administrator account Dim locator As Object Dim service As Object Dim system As Object Dim SystemSet As Object Dim SystemSetAll As Object Dim VarInstance As Object 'You must be member of administrator group Set locator = CreateObject("WbemScripting.SWbemLocator") Set service = locator.connectserver Set SystemSet = service.Get("Win32_NetworkAdapterConfiguration") Set VarInstance = SystemSet.Instances_ For Each system In VarInstance If system.Index = 0 Then Debug.Print (system.Description) Debug.Print (system.ServiceName) Debug.Print (system.IPAddress(0)) Debug.Print (system.IPSubnet(0)) Debug.Print (system.MACAddress) Else Debug.Print (system.Description) Debug.Print (system.ServiceName) Debug.Print (system.IPAddress(0)) Debug.Print (system.IPSubnet(0)) Debug.Print (system.MACAddress) End If Next Set SystemSetAll = GetObject("winmgmts:").InstancesOf("Win32_ComputerSystem") 'grab all network system names For Each system In SystemSetAll Debug.Print "Computername " & system.Name testallnics (system.Name) Next End Sub Sub testallnics(strComputer As String) 'Dim strComputer As String Dim objWMIService As Object Dim colitems As Object Dim objitem As Object On Error Resume Next 'strComputer = "." 'initial test Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2") Set colitems = objWMIService.ExecQuery("Select * from Win32_NetworkAdapter", , 48) For Each objitem In colitems Debug.Print "AdapterType: " & objitem.AdapterType Debug.Print "AutoSense: " & objitem.AutoSense Debug.Print "Availability: " & objitem.Availability Debug.Print "Caption: " & objitem.Caption Debug.Print "ConfigManagerErrorCode: " & objitem.ConfigManagerErrorCode Debug.Print "ConfigManagerUserConfig: " & objitem.ConfigManagerUserConfig Debug.Print "CreationClassName: " & objitem.CreationClassName Debug.Print "Description: " & objitem.Description Debug.Print "DeviceID: " & objitem.DeviceID Debug.Print "ErrorCleared: " & objitem.ErrorCleared Debug.Print "ErrorDescription: " & objitem.ErrorDescription Debug.Print "Index: " & objitem.Index Debug.Print "InstallDate: " & objitem.InstallDate Debug.Print "Installed: " & objitem.Installed Debug.Print "LastErrorCode: " & objitem.LastErrorCode Debug.Print "MACAddress: " & objitem.MACAddress Debug.Print "Manufacturer: " & objitem.Manufacturer Debug.Print "MaxNumberControlled: " & objitem.MaxNumberControlled Debug.Print "MaxSpeed: " & objitem.MaxSpeed Debug.Print "Name: " & objitem.Name Debug.Print "NetworkAddresses: " & objitem.NetworkAddresses Debug.Print "PermanentAddress: " & objitem.PermanentAddress Debug.Print "PNPDeviceID: " & objitem.PNPDeviceID Debug.Print "PowerManagementCapabilities: " & objitem.PowerManagementCapabilities Debug.Print "PowerManagementSupported: " & objitem.PowerManagementSupported Debug.Print "ProductName: " & objitem.ProductName Debug.Print "ServiceName: " & objitem.ServiceName Debug.Print "Speed: " & objitem.Speed Debug.Print "Status: " & objitem.Status Debug.Print "StatusInfo: " & objitem.StatusInfo Debug.Print "SystemCreationClassName: " & objitem.SystemCreationClassName Debug.Print "SystemName: " & objitem.SystemName Debug.Print "TimeOfLastReset: " & objitem.TimeOfLastReset Next End Sub _______________________________________________ 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 Aug 7 01:00:19 2003 From: Erwin.Craps at ithelps.be (Erwin Craps) Date: Thu, 7 Aug 2003 08:00:19 +0200 Subject: [AccessD] OT: "seeing all net cards" Message-ID: A DHCP server :-) -----Oorspronkelijk bericht----- Van: John Colby [mailto:jcolby at colbyconsulting.com] Verzonden: donderdag 7 augustus 2003 1:38 Aan: AccessD Onderwerp: [AccessD] OT: "seeing all net cards" Does anyone know of a free something that will allow me to "see" all of the NICs (the IP address assigned to them for example) on my little home network? 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 Erwin.Craps at ithelps.be Thu Aug 7 01:16:18 2003 From: Erwin.Craps at ithelps.be (Erwin Craps) Date: Thu, 7 Aug 2003 08:16:18 +0200 Subject: [AccessD] stange type mismatch in query error after 2 years. Message-ID: I had a strange thing yesterday. I have an app that I wrote back in 1997 or something and for which I added regulary new functions. Apparently from this week on the app gave an error openening a report, at the customer site. It is atleast a year ago that I changed anything in the app, so it really started out of the blue. They use the report every end of the month, by several people. After some searching I found out that I had a typo in a query. at a field (a integer field) criteria I had 0 or 10 or "or -10" instead of 0 or 10 or -10, so the query return a type mismatch. Just a stupid typo with no big consequences. The thing is that I don't understand why a type mismatch (string instead of integer) only returns an error when the error was present since atleast beginning 2001 and the query was used severall times a month!!! I checked my backups (because I presumed the customer has changed this un intentionaly) and I stopped checking when I got to beginning 2001. The app is used in A97, but I develop and convert back to A97 since a year or two or longer. Erwin -------------- next part -------------- An HTML attachment was scrubbed... URL: From Erwin.Craps at ithelps.be Thu Aug 7 01:32:50 2003 From: Erwin.Craps at ithelps.be (Erwin Craps) Date: Thu, 7 Aug 2003 08:32:50 +0200 Subject: [AccessD] Message-ID: By the way I just searched your returned error at MS KB. Did you see this? http://support.microsoft.com/default.aspx?scid=kb;EN-US;189408 And http://support.microsoft.com/default.aspx?scid=kb;EN-US;306269 Erwin -----Oorspronkelijk bericht----- Van: Erwin Craps Verzonden: woensdag 6 augustus 2003 22:03 Aan: Access Developers discussion and problem solving Onderwerp: RE: [AccessD] mdb in dmz Another thing I just tought of... Do you have and use linked tables in that MDB file? I noticed that when those tables are linked via a mapped drive or UNC path your access will fail. This is due to limitation of the account IIS uses. When linking, use the real drive path (C: etc..) Erwin -----Oorspronkelijk bericht----- Van: MartyConnelly [mailto:martyconnelly at shaw.ca] Verzonden: woensdag 6 augustus 2003 20:31 Aan: Access Developers discussion and problem solving Onderwerp: Re: [AccessD] mdb in dmz Don't know if this will help but see other links and paragraph Make sure you have adequate permissions on the database http://www.aspalliance.com/PeterJohnson/JetAdvice.aspx It is good idea to have the mdb file stored outside the web root to stop the little darlings downloading it. Jim DeMarco wrote: >James, > >First, using Server.MapPath is a good idea. Our db folder is actually >one level above the root as you describe so this will help with future >deployment. Problem is the code still won't run but at least the page >not found error is gone and this one is back: > > >Microsoft JET Database Engine error '80004005' > >Unspecified error > >/test.asp, line 22 > > >I don't know if that's a good thing or not but... > >Thanks, > >Jim DeMarco > > > >-----Original Message----- >From: James Barash [mailto:James at fcidms.com] >Sent: Tuesday, August 05, 2003 4:19 PM >To: 'Access Developers discussion and problem solving' >Subject: RE: [AccessD] mdb in dmz > > >Jim, >Are you sure D:\db\ exists and is visible from IIS on the server, >including permissions for the IIS account? I tested your code using a >path to a directory that did not exist and I get a page not found error >so maybe that's it. I usually create a db directory under the root for >the website. Then you can access the file using dbpath = >Server.MapPath("./db/HshhpTips.mdb") >That way you don't have to worry about moving the files to a different >server, the relative paths stay the same. > >James Barash > > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim DeMarco >Sent: Tuesday, August 05, 2003 2:02 PM >To: Access Developers discussion and problem solving >Subject: RE: [AccessD] mdb in dmz > > >Looks like everything is going over port 80. The real drag is I can't >be sure it's even a hardware problem. We simplified the code to this >(it's ASP/VBScript so no data types,etc.): > > >dim connectstring >dim cnn >dim dbpath > > dbpath = "D:\db\HshhpTips.mdb" > connectstring = "Provider=Microsoft.Jet.OLEDB.4.0; Data Source=" & >dbpath > > Set cnn = Server.CreateObject("ADODB.Connection") > 'cnn.open connectstring > > Response.Write "testing" > > >The code runs if we leave the cnn.open line commented out but when we >put it back we now get a page not found error. Works fine on our dev >machine of course. I would think if it was a data access problem the >code would bail on the CreateObject call. Server's running Win2K BTW. > >Jim DeMarco > > > >-----Original Message----- >From: Jim Dettman [mailto:jimdettman at earthlink.net] >Sent: Tuesday, August 05, 2003 12:52 PM >To: Access Developers discussion and problem solving >Subject: RE: [AccessD] mdb in dmz > > >Jim, > ><> > > Check the Firewall's log. It will show the IP address of the web >server, whether it was TCP or UDP packet, and the port it was trying to >use. > >Jim Dettman >President, >Online Computer Services of WNY, Inc. >(315) 699-3443 >jimdettman at earthlink.net > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim DeMarco >Sent: Tuesday, August 05, 2003 10:58 AM >To: Access Developers discussion and problem solving >Subject: RE: [AccessD] mdb in dmz > > >Thanks Frank (where'd you find that domain on your e-mail address??). > >I searched msdn and found this list of Port Assignments for Common >Services >(http://www.microsoft.com/windows2000/techinfo/reskit/samplechapters/cn >f >c/cn >fc_por_simw.asp - watch for wrapping). None seems to be what I'm >looking (AFAICT anyway). Can anyone point me in the right direction? > >Thanks, > >Jim DeMarco > >-----Original Message----- >From: Frank Tanner III [mailto:pctech at mybellybutton.com] >Sent: Tuesday, August 05, 2003 10:45 AM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] mdb in dmz > > >I'm not sure what tcp/udp port(s) that Jet and OLEdb >use, but do you have those allowed to pass from the >DMZ to wherever it needs to go? i.e. the internal LAN >and the external Internet. > >Usually DMZs are configured to ONLY allow the ports >necessary, such as HTTP, HTTPS, POP3, SMTP, etc. > >--- Jim DeMarco wrote: > > >>List, >> >>We just went live with our web site >>(http://www.hshhp.org) but had to remove a feature >>that displays health tips. The tips are stored in >>an A97 mdb but we get an "unspecified error" when >>hitting the page. The db is on the web server box. >>The server is behind the firewall in the DMZ. Does >>anyone know if the DMZ is an issue when trying to >>hit an mdb? We're using the OleDB provider for Jet >>4.0. I ran comcheck and we've got that version >>installed. IIS 5.0 as well. >> >>TIA, >> >>Jim DeMarco >>Director of Product Development >>HealthSource/Hudson Health Plan >> >> >> >> >> >*********************************************************************** >* >**** >******* > > >>"This electronic message is intended to be for the >>use only of the named recipient, and may contain >>information from Hudson Health Plan (HHP) that is confidential or >>privileged. If you are not the intended recipient, you are hereby >>notified that any disclosure, copying, distribution or use of the >>contents of this message is strictly prohibited. If you have received >> >> > > > >>this message in error or are not the named recipient, please notify us >> >> > > > >>immediately, either by contacting the sender at the electronic mail >>address noted above or calling HHP at (914) 631-1611. If you are not >>the intended recipient, please do not forward this email to anyone, >>and delete and destroy all copies of this message. >>Thank You". >> >> >> >*********************************************************************** >* >**** >******* > > >>_______________________________________________ >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >> >> > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > >*********************************************************************** >* >**** >******* >"This electronic message is intended to be for the use only of the named >recipient, and may contain information from Hudson Health Plan (HHP) >that is confidential or privileged. If you are not the intended >recipient, you are hereby notified that any disclosure, copying, >distribution or use of the contents of this message is strictly >prohibited. If you have received this message in error or are not the >named recipient, please notify us immediately, either by contacting the >sender at the electronic mail address noted above or calling HHP at >(914) 631-1611. If you are not the intended recipient, please do not >forward this email to anyone, and delete and destroy all copies of this >message. Thank You". >*********************************************************************** * >**** >******* > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > >*********************************************************************** >* >*********** >"This electronic message is intended to be for the use only of the named >recipient, and may contain information from Hudson Health Plan (HHP) >that is confidential or privileged. If you are not the intended >recipient, you are hereby notified that any disclosure, copying, >distribution or use of the contents of this message is strictly >prohibited. If you have received this message in error or are not the >named recipient, please notify us immediately, either by contacting the >sender at the electronic mail address noted above or calling HHP at >(914) 631-1611. If you are not the intended recipient, please do not >forward this email to anyone, and delete and destroy all copies of this >message. Thank You". >*********************************************************************** * >*********** > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > >*********************************************************************** >************ >"This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". >*********************************************************************** ************ > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Thu Aug 7 02:08:33 2003 From: gustav at cactus.dk (Gustav Brock) Date: Thu, 7 Aug 2003 09:08:33 +0200 Subject: [AccessD] No Office 2003 ODE (Office Developer Edition)? In-Reply-To: <3F317655.8010403@shaw.ca> References: <200307201721.SAA22981@hosea.qub.ac.uk> <7938568478.20030720192939@cactus.dk> <3F1AD9FC.5060702@shaw.ca> <3F1B645E.7070902@shaw.ca> <1141810283.20030805083927@cactus.dk> <3F2FE7DE.4050501@shaw.ca> <13145554523.20030805204831@cactus.dk> <3F317655.8010403@shaw.ca> Message-ID: <493234150.20030807090833@cactus.dk> Hi Marty But is this a thought or a decision? Sounds like those tools are not for free ... >>> 2 and 3 are free downloads. /gustav > Have a look at this to see if makes sense. > Microsoft Developer Tools Roadmap 2003-2005 > http://msdn.microsoft.com/vstudio/productinfo/roadmap.aspx#office > Gustav Brock wrote: >>Sorry for being dense, but I still cannot see if/how Visual Studio >>fits into the picture of Access development. >> >>I'm aware that Visual Studio might bring some (Internet) features to >>Access development, but what is important is to distinguish between >>offers/features and needs. And if at all possible I do not want an IIS >>to run on my trusted development machine; if it _is_ needed I wish it >>to run on a server. >> >>By the way, what is "Office 2003 Windows Update CD"? >> >>/gustav >> >> >>>This hasn't been set in stone yet by Microsoft. Maybe they are waiting >>>for a marketing decision. >> >>> 1. Is VS Net 2003 >>> 2 and 3 are free downloads. >>> >> >>>Who knows they may switch to an MSI install, which would require 2 CD's >>>much like SageKeys >>>Office XP MSI wizard. >>> >> >>>The Microsoft Installer may require two CD's to be shipped, the Access >>>2003 Application CD created by the Packaging Wizard and the Office 2003 >>>Windows Update CD. When the user inserts the Application CD, they are >>>prompted to load the Update CD first which loads the required >>>preconditioning components onto the target PC. >>> >> >>> By the way IIS must be installed prior to loading VS Net, if you plan >>>to use any of its features. >>>You can still use things like Net WinForms without IIS but not Web >>>Forms. If you install IIS after VS Net you can only use internal Web >>>Forms . To fix you have to do a clear and reinstall in >>>correct order, usually takes a couple of hours. >>> >>>>I'm slightly confused ... >>>> >>>>Does this mean you'll have to buy all this - in addition to Office >>>>2003 Pro, of course - just to create an Access 2003 runtime: >>>> >>>> 1. Visual Studio >>>> 2. Visual Studio Tools for the Microsoft Office System >>>> 3. Access 2003 Developer Extensions >>>> >>>>as well as to soil your dearly beloved workstation with IIS? >>>> >>>>And which version of Visual Studio? I don't have it as I've never had >>>>a need for it. >>>> >>>>/gustav >>>> >>>>>Looks like below doesn't contain the Access deployment features >>>>>Access 2003 Developer Extensions Overview >>>>> >>>>>http://www.microsoft.com/office/preview/editions/accessdav.asp >>>>> >>>>>from recent posting newsgroup microsoft.public.vsnet.vstools.office >>>> >>>>>Subject: Re: Access 2003 Developer Extensions >>>>>From: "Peter Torr \(MS\)" Sent: 7/16/2003 >>>>>10:19:41 AM >>>>>"Urs Stettler" wrote in message >>>>>news:090401c34b7f$926f8de0$a401280a at phx.gbl... >>>>> >>>>>>According to the product description of the VS tools for >>>>>>Office, Access 2003 Developer Extensions are supposed to >>>>>>be part of it. >>>>>> >>>>>>Well, I purchased the Office 03 beta, purchased VS 03 just >>>>>>to be able to use Access depoloyment features. Having >>>>>>installed the VS tools, I can't find any packaging wizard >>>>>>or any link in Access 03 to start the packaging process. >>>>>>Am I missing something? >>>>>> >>>>>The Access Developer Extensions will be in the final retail product, which >>>>>has not shipped yet. The beta release of Visual Studio Tools for Office >>>>>just contains the Word and Excel managed code projects. From ralphb at cwgsy.net Thu Aug 7 03:01:36 2003 From: ralphb at cwgsy.net (Ralph Bryce) Date: Thu, 07 Aug 2003 09:01:36 +0100 Subject: [AccessD] OT: "seeing all net cards" In-Reply-To: Message-ID: <5.2.0.9.0.20030807090034.025bdd40@mail.cwgsy.net> John At 19:38 06/08/2003 -0400, you wrote: >Does anyone know of a free something that will allow me to "see" all of the >NICs (the IP address assigned to them for example) on my little home >network? Try IPScan http://www.angryziber.com/ipscan/ HTH Ralph Bryce From wdhindman at bellsouth.net Thu Aug 7 03:44:46 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Thu, 7 Aug 2003 04:44:46 -0400 Subject: William's Signature Line - was RE: [AccessD] AXP Text File Import Crashes Access References: <8B98F8EA48F8BA47A2F24E0D0AF40CF407AD7560@xlivmbx12.aig.com> Message-ID: <000701c35cc0$28188e40$6001a8c0@dejpolsys> ...yum, yum ...come on over :) ...if you can't stand the heat, don't go near the fire :) ----- Original Message ----- From: "Heenan, Lambert" To: "'Access Developers discussion and problem solving'" Sent: Wednesday, August 06, 2003 3:19 PM Subject: RE: William's Signature Line - was RE: [AccessD] AXP Text File Import Crashes Access > Isn't it interesting that you're willing to keep the O/T pot boiling only as > long as everyone agrees with your point of view. But as soon as an > alternative one appears suddenly it's time to stop the thread and issue > invites to cannibal brunches. > > Perhaps the righties should consider the benefits of a vegetarian diet. > > Lambert > > You know your in the land of the free when being liberal is sinful and > caring about the environment is just plain stupid. > > > -----Original Message----- > > From: William Hindman [SMTP:wdhindman at bellsouth.net] > > Sent: Wednesday, August 06, 2003 2:10 PM > > To: Access Developers discussion and problem solving > > Subject: Re: William's Signature Line - was RE: [AccessD] AXP Text > > File Import Crashes Access > > > > ...ok ...time to move this thread to OT ...we serve lefties for brunch > > over > > there and the VRWC for dessert :) > > > > William Hindman > > "You know the world is going crazy when the best rapper is a white guy, > > the > > best golfer is a black guy, The Swiss hold the America's Cup, France is > > accusing the US of arrogance, and Germany doesn't want to go to war." > > > > ----- Original Message ----- > > From: "Heenan, Lambert" > > To: "'Access Developers discussion and problem solving'" > > > > Sent: Wednesday, August 06, 2003 1:59 PM > > Subject: RE: William's Signature Line - was RE: [AccessD] AXP Text File > > Import Crashes Access > > > > > > > You'll know the world is returning to reality when rapping is classed as > > > poetry, not music, when the US is respectful of other countries, when > > the > > > World Series is renamed the North American Baseball Championship, when > > SUV's > > > are either banned or subject to pollution taxes, when we stop BURNING > > oil > > > and start to use it as a raw material for other products, when the > > > industrial military complex accounts for less that 10% of the US GNP, > > when > > > the Detroit Auto industry loses any clout it has with Washington, when > > we > > > start seriously investing in rail transportation, when no more 6 lane > > > highways are built, when Cell phones are stored behind glass panels with > > > "break in case of emergency" signs on them, when bicycle sales exceed > > those > > > of cars, etc. etc. etc. > > > > > > Lambert > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From wdhindman at bellsouth.net Thu Aug 7 03:49:24 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Thu, 7 Aug 2003 04:49:24 -0400 Subject: William's Signature Line - was RE: [AccessD] AXP Text File Import Crashes Access References: <8B98F8EA48F8BA47A2F24E0D0AF40CF407AD7560@xlivmbx12.aig.com> Message-ID: <001401c35cc0$cd88b2b0$6001a8c0@dejpolsys> ...btw ...I'm not a "rightie" ...small "L" libertarian :) William Hindman "You know the world is going crazy when the best rapper is a white guy, the best golfer is a black guy, The Swiss hold the America's Cup, France is accusing the US of arrogance, and Germany doesn't want to go to war." ----- Original Message ----- From: "Heenan, Lambert" To: "'Access Developers discussion and problem solving'" Sent: Wednesday, August 06, 2003 3:19 PM Subject: RE: William's Signature Line - was RE: [AccessD] AXP Text File Import Crashes Access > Isn't it interesting that you're willing to keep the O/T pot boiling only as > long as everyone agrees with your point of view. But as soon as an > alternative one appears suddenly it's time to stop the thread and issue > invites to cannibal brunches. > > Perhaps the righties should consider the benefits of a vegetarian diet. > > Lambert > > You know your in the land of the free when being liberal is sinful and > caring about the environment is just plain stupid. > > > -----Original Message----- > > From: William Hindman [SMTP:wdhindman at bellsouth.net] > > Sent: Wednesday, August 06, 2003 2:10 PM > > To: Access Developers discussion and problem solving > > Subject: Re: William's Signature Line - was RE: [AccessD] AXP Text > > File Import Crashes Access > > > > ...ok ...time to move this thread to OT ...we serve lefties for brunch > > over > > there and the VRWC for dessert :) > > > > William Hindman > > "You know the world is going crazy when the best rapper is a white guy, > > the > > best golfer is a black guy, The Swiss hold the America's Cup, France is > > accusing the US of arrogance, and Germany doesn't want to go to war." > > > > ----- Original Message ----- > > From: "Heenan, Lambert" > > To: "'Access Developers discussion and problem solving'" > > > > Sent: Wednesday, August 06, 2003 1:59 PM > > Subject: RE: William's Signature Line - was RE: [AccessD] AXP Text File > > Import Crashes Access > > > > > > > You'll know the world is returning to reality when rapping is classed as > > > poetry, not music, when the US is respectful of other countries, when > > the > > > World Series is renamed the North American Baseball Championship, when > > SUV's > > > are either banned or subject to pollution taxes, when we stop BURNING > > oil > > > and start to use it as a raw material for other products, when the > > > industrial military complex accounts for less that 10% of the US GNP, > > when > > > the Detroit Auto industry loses any clout it has with Washington, when > > we > > > start seriously investing in rail transportation, when no more 6 lane > > > highways are built, when Cell phones are stored behind glass panels with > > > "break in case of emergency" signs on them, when bicycle sales exceed > > those > > > of cars, etc. etc. etc. > > > > > > Lambert > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From michael.broesdorf at web.de Thu Aug 7 03:51:20 2003 From: michael.broesdorf at web.de (=?us-ascii?Q?Michael_Brosdorf?=) Date: Thu, 7 Aug 2003 10:51:20 +0200 Subject: [AccessD] ADP/SP problem In-Reply-To: <5.2.0.9.0.20030807090034.025bdd40@mail.cwgsy.net> Message-ID: Hello, in my ADP-project (A2K) I have a (read-only) subform that is bound to a stored procedure with an input parameter. The input parameter uses a textbox on the main form. That works fine as long as the SP returns records. However, if the SP does not return records, Access displays a message telling me that the SP has been executed but did not return any records. I click on OK and the same message reappears over and over again. I can only end this by 'killing' access using the task manager of Windows. How can I tell Access not to tell me that no records are returned by the SP? TIA, Michael From stuart at pacific.net.hk Thu Aug 7 04:05:37 2003 From: stuart at pacific.net.hk (Stuart Sanders) Date: Thu, 7 Aug 2003 17:05:37 +0800 Subject: [AccessD] Automation Error 8001010A when Automating Word 2000 In-Reply-To: <019601c35bfd$0d9f19d0$b501010a@DAISY.local> Message-ID: <000201c35cc3$120dd3a0$5100a8c0@BITSNB02> Did you see this KB article? http://support.microsoft.com/default.aspx?scid=kb;EN-US;244264 This provides general troubleshooting for createobject errors. Stuart > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Shamil Salakhetdinov > Sent: Wednesday, 06 August, 2003 5:28 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Automation Error 8001010A when > Automating Word 2000 > > > Thanks for your reply Stuart - but they say they DON'T have > NAV installed > and that disabling their GeCAD RAV Antivirus v8 doesn't help > to solve the > subject's problem... > > Shamil > > ----- Original Message ----- > From: "Stuart Sanders" > To: "'Access Developers discussion and problem solving'" > > Sent: Tuesday, August 05, 2003 1:53 PM > Subject: RE: [AccessD] Automation Error 8001010A when > Automating Word 2000 > > > > Shamil > > > > (been a while since I've had time to read the list, so I'll > try my best) > > > > I've had automation errors with Norton installed when > script blocking is > > turned on. > > > > I'd make a guess without knowing anything about their virus software > > that it may likely be the problem. Things to look out for would be > > anything similar to script blocking, and perhaps heuristic > capabilities. > > > > > > First thing I would suggest is to get them to test your app > with the AV > > product disabled. If it is the culprit, they could try selectively > > turning heuristic scanning and/or script scanning modules > (assuming the > > product allows that). > > > > I use zonealarm and haven't had any problems. > > > > Stuart > > > > > -----Original Message----- > > > Hi All, > > > > > > Have anybody seen the subject error, which appears when the > > > following VBA > > > code line is executed: > > > > > > set wapp = CreateObject("Word.Application") > > > > > > or > > > > > > set wapp = CreateObject("Word.Application.9") > > > > > > where wapp is defined as: > > > > > > dim wapp as Object > > > > > > that the problem is because of Norton Antivirus installed but my > > customer > > > states that there is no NAV on their PC. There are: > > > > > > Zone Alarm and GeCAD RAV Antivirus v8. > > > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From actebs at actebs.com.au Thu Aug 7 04:36:52 2003 From: actebs at actebs.com.au (ACTEBS) Date: Thu, 07 Aug 2003 19:36:52 +1000 Subject: [AccessD] Excel & CSV File Import Message-ID: <008301c35cc7$6ecf42f0$0c05a8c0@carlton.local> Hi List, Has anyone got any code that can import Excel & CSV files programmatically - not using transfer text/excel functions. The reason I ask is that I have some unusually formatted spreadsheets whose column names change from month to month and also the CSV file I need to import all the info from about row 20 onwards. Any web links or direction will be most helpful... Thanks Vlad -------------- next part -------------- An HTML attachment was scrubbed... URL: From stuart at lexacorp.com.pg Thu Aug 7 05:23:45 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 07 Aug 2003 20:23:45 +1000 Subject: [AccessD] Excel & CSV File Import In-Reply-To: <008301c35cc7$6ecf42f0$0c05a8c0@carlton.local> Message-ID: <3F32B551.27287.553BE4@localhost> On 7 Aug 2003 at 19:36, ACTEBS wrote: > Hi List, > > Has anyone got any code that can import Excel & CSV files programmatically - > not using transfer text/excel functions. The reason I ask is that I have > some unusually formatted spreadsheets whose column names change from month > to month and also the CSV file I need to import all the info from about row > 20 onwards. > If you can save the Excel as CSV as well, you can just open them all for input, read them a line at a time and decide on how to handle each line. I've got quite a few routines that do this for various sorts of input. As long as you can identify lines either by line count or content of one of the fields, you can parse out the data you need and dump it into any table you want. In it's simplest form, just do something like the following. You can build whatever conditions you need (repeating line counters, string comparisons etc) in the "If...End If" section to handle the particular format of the input file Sub GetData(strInputFile as String) Dim strTemp as String Dim strParsedData() as String Dim lngLinecount as Long Dim rs as DAO.Recordset Open strInputFile for Input as #1 Set rs = CurrentDb.OpenRecorset("tblMyTable") While not EOF(1) lngLinecount = lngLinecount + 1 Line Input #1, strTemp strParsedData = Split(strTemp,",") If............................ Then rs.Addnew rs!Field1 = strParsedData(1) ..... rs.Update End If Wend Close #1 End Sub -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From Jdemarco at hshhp.org Thu Aug 7 07:42:18 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Thu, 7 Aug 2003 08:42:18 -0400 Subject: [AccessD] mdb in dmz Message-ID: <22F1CCD5171D17419CB37FEEE09D5F990173F35F@TTNEXCHSRV1.hshhp.com> Thanks Erwin. You know it's funny but I searched that error when we first got it and found next to nothing on it! Go figure. Anyway, I printed these out and I'll put someone on it. We have a real problem here where our dev environments don't mirror live and then we run into deployment problems. Does anyone else find themselves in this situation (I guess a name change for the thread would be in order for anyone answering this question)? Thanks, Jim DeMarco -----Original Message----- From: Erwin Craps [mailto:Erwin.Craps at ithelps.be] Sent: Thursday, August 07, 2003 2:33 AM To: Access Developers discussion and problem solving Subject: [AccessD] By the way I just searched your returned error at MS KB. Did you see this? http://support.microsoft.com/default.aspx?scid=kb;EN-US;189408 And http://support.microsoft.com/default.aspx?scid=kb;EN-US;306269 Erwin -----Oorspronkelijk bericht----- Van: Erwin Craps Verzonden: woensdag 6 augustus 2003 22:03 Aan: Access Developers discussion and problem solving Onderwerp: RE: [AccessD] mdb in dmz Another thing I just tought of... Do you have and use linked tables in that MDB file? I noticed that when those tables are linked via a mapped drive or UNC path your access will fail. This is due to limitation of the account IIS uses. When linking, use the real drive path (C: etc..) Erwin -----Oorspronkelijk bericht----- Van: MartyConnelly [mailto:martyconnelly at shaw.ca] Verzonden: woensdag 6 augustus 2003 20:31 Aan: Access Developers discussion and problem solving Onderwerp: Re: [AccessD] mdb in dmz Don't know if this will help but see other links and paragraph Make sure you have adequate permissions on the database http://www.aspalliance.com/PeterJohnson/JetAdvice.aspx It is good idea to have the mdb file stored outside the web root to stop the little darlings downloading it. Jim DeMarco wrote: >James, > >First, using Server.MapPath is a good idea. Our db folder is actually >one level above the root as you describe so this will help with future >deployment. Problem is the code still won't run but at least the page >not found error is gone and this one is back: > > >Microsoft JET Database Engine error '80004005' > >Unspecified error > >/test.asp, line 22 > > >I don't know if that's a good thing or not but... > >Thanks, > >Jim DeMarco > > > >-----Original Message----- >From: James Barash [mailto:James at fcidms.com] >Sent: Tuesday, August 05, 2003 4:19 PM >To: 'Access Developers discussion and problem solving' >Subject: RE: [AccessD] mdb in dmz > > >Jim, >Are you sure D:\db\ exists and is visible from IIS on the server, >including permissions for the IIS account? I tested your code using a >path to a directory that did not exist and I get a page not found error >so maybe that's it. I usually create a db directory under the root for >the website. Then you can access the file using dbpath = >Server.MapPath("./db/HshhpTips.mdb") >That way you don't have to worry about moving the files to a different >server, the relative paths stay the same. > >James Barash > > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim DeMarco >Sent: Tuesday, August 05, 2003 2:02 PM >To: Access Developers discussion and problem solving >Subject: RE: [AccessD] mdb in dmz > > >Looks like everything is going over port 80. The real drag is I can't >be sure it's even a hardware problem. We simplified the code to this >(it's ASP/VBScript so no data types,etc.): > > >dim connectstring >dim cnn >dim dbpath > > dbpath = "D:\db\HshhpTips.mdb" > connectstring = "Provider=Microsoft.Jet.OLEDB.4.0; Data Source=" & >dbpath > > Set cnn = Server.CreateObject("ADODB.Connection") > 'cnn.open connectstring > > Response.Write "testing" > > >The code runs if we leave the cnn.open line commented out but when we >put it back we now get a page not found error. Works fine on our dev >machine of course. I would think if it was a data access problem the >code would bail on the CreateObject call. Server's running Win2K BTW. > >Jim DeMarco > > > >-----Original Message----- >From: Jim Dettman [mailto:jimdettman at earthlink.net] >Sent: Tuesday, August 05, 2003 12:52 PM >To: Access Developers discussion and problem solving >Subject: RE: [AccessD] mdb in dmz > > >Jim, > ><> > > Check the Firewall's log. It will show the IP address of the web >server, whether it was TCP or UDP packet, and the port it was trying to >use. > >Jim Dettman >President, >Online Computer Services of WNY, Inc. >(315) 699-3443 >jimdettman at earthlink.net > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim DeMarco >Sent: Tuesday, August 05, 2003 10:58 AM >To: Access Developers discussion and problem solving >Subject: RE: [AccessD] mdb in dmz > > >Thanks Frank (where'd you find that domain on your e-mail address??). > >I searched msdn and found this list of Port Assignments for Common >Services >(http://www.microsoft.com/windows2000/techinfo/reskit/samplechapters/cn >f >c/cn >fc_por_simw.asp - watch for wrapping). None seems to be what I'm >looking (AFAICT anyway). Can anyone point me in the right direction? > >Thanks, > >Jim DeMarco > >-----Original Message----- >From: Frank Tanner III [mailto:pctech at mybellybutton.com] >Sent: Tuesday, August 05, 2003 10:45 AM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] mdb in dmz > > >I'm not sure what tcp/udp port(s) that Jet and OLEdb >use, but do you have those allowed to pass from the >DMZ to wherever it needs to go? i.e. the internal LAN >and the external Internet. > >Usually DMZs are configured to ONLY allow the ports >necessary, such as HTTP, HTTPS, POP3, SMTP, etc. > >--- Jim DeMarco wrote: > > >>List, >> >>We just went live with our web site >>(http://www.hshhp.org) but had to remove a feature >>that displays health tips. The tips are stored in >>an A97 mdb but we get an "unspecified error" when >>hitting the page. The db is on the web server box. >>The server is behind the firewall in the DMZ. Does >>anyone know if the DMZ is an issue when trying to >>hit an mdb? We're using the OleDB provider for Jet >>4.0. I ran comcheck and we've got that version >>installed. IIS 5.0 as well. >> >>TIA, >> >>Jim DeMarco >>Director of Product Development >>HealthSource/Hudson Health Plan >> >> >> >> >> >*********************************************************************** >* >**** >******* > > >>"This electronic message is intended to be for the >>use only of the named recipient, and may contain >>information from Hudson Health Plan (HHP) that is confidential or >>privileged. If you are not the intended recipient, you are hereby >>notified that any disclosure, copying, distribution or use of the >>contents of this message is strictly prohibited. If you have received >> >> > > > >>this message in error or are not the named recipient, please notify us >> >> > > > >>immediately, either by contacting the sender at the electronic mail >>address noted above or calling HHP at (914) 631-1611. If you are not >>the intended recipient, please do not forward this email to anyone, >>and delete and destroy all copies of this message. >>Thank You". >> >> >> >*********************************************************************** >* >**** >******* > > >>_______________________________________________ >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >> >> > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > >*********************************************************************** >* >**** >******* >"This electronic message is intended to be for the use only of the named >recipient, and may contain information from Hudson Health Plan (HHP) >that is confidential or privileged. If you are not the intended >recipient, you are hereby notified that any disclosure, copying, >distribution or use of the contents of this message is strictly >prohibited. If you have received this message in error or are not the >named recipient, please notify us immediately, either by contacting the >sender at the electronic mail address noted above or calling HHP at >(914) 631-1611. If you are not the intended recipient, please do not >forward this email to anyone, and delete and destroy all copies of this >message. Thank You". >*********************************************************************** * >**** >******* > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > >*********************************************************************** >* >*********** >"This electronic message is intended to be for the use only of the named >recipient, and may contain information from Hudson Health Plan (HHP) >that is confidential or privileged. If you are not the intended >recipient, you are hereby notified that any disclosure, copying, >distribution or use of the contents of this message is strictly >prohibited. If you have received this message in error or are not the >named recipient, please notify us immediately, either by contacting the >sender at the electronic mail address noted above or calling HHP at >(914) 631-1611. If you are not the intended recipient, please do not >forward this email to anyone, and delete and destroy all copies of this >message. Thank You". >*********************************************************************** * >*********** > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > >*********************************************************************** >************ >"This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". >*********************************************************************** ************ > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "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 Jdemarco at hshhp.org Thu Aug 7 08:13:41 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Thu, 7 Aug 2003 09:13:41 -0400 Subject: [AccessD] Array sorting Message-ID: <22F1CCD5171D17419CB37FEEE09D5F99017650C4@TTNEXCHSRV1.hshhp.com> How do you plan to handle A11, A12, A20, A21, etc.? As strings these won't sort in the order that they appear in Excel. You'll probably be better off using a two dimension array, one for the column (alpha) and one for the row (numeric), and concatenate them as strings when you need them. Function RangeNameToArray() Dim i As Integer Dim j As Integer Dim iNumCols As Integer Dim iNumRows As Integer Dim arrExcelRange() As String 'Get the number of cols and rows 'you'll have to write code to parse the range to determine which values to use here 'this codes uses your sample range A1:C3 iNumCols = Asc("C") - Asc("A") iNumRows = 3 - 1 ReDim arrExcelRange(iNumCols, iNumRows) For i = 0 To iNumCols For j = 0 To iNumRows arrExcelRange(i, j) = (Chr(65 + i)) & CStr(j + 1) Debug.Print arrExcelRange(i, j) Next j Next i End Function HTH, Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan -----Original Message----- From: Powell, David (BBM) [mailto:david.powell at bbm.wapl.com.au] Sent: Wednesday, August 06, 2003 10:41 PM To: AccessD Subject: [AccessD] Array sorting Hi Listers, I have a single dimension array of excel cell references stored as string values. I was wondering how you can sort a range that is say A1:C3 from A1, A2, A3, B1... C3 to A1, B1, C1, A2, B2...C3? Any help would be greatly appreciated. regards David ---------------------------------------------------- David Powell Computing Support Officer Worsley Alumina Pty Ltd Bauxite Mine Boddington WA 6390 Ph: +61 8 9734 8269 FAX: +61 8 9734 8250 Mailto:david.powell at bbm.wapl.com.au WAPL Web Page http://www.wapl.com.au ---------------------------------------------------- <> NOTICE - This message and any attached files may contain information that is confidential and/or subject of legal privilege intended only for use by the intended recipient. If you are not the intended recipient or the person responsible for delivering the message to the intended recipient, be advised that you have received this message in error and that any dissemination, copying or use of this message or attachment is strictly forbidden, as is the disclosure of the information therein. If you have received this message in error please notify the sender immediately and delete the message Worsley Alumina Pty Ltd ABN 58 008 905 155 is the manager of the Worsley Joint Venture - Bauxite/Alumina Operation. Liability and responsibility of the Joint Venturers is several in accordance with the following schedule of participating interests: Billiton Aluminium (RAA) Pty Ltd 56 percent, Billiton Aluminium (Worsley) Pty Ltd 30 percent, Kobe Alumina Associates (Australia) Pty Limited 10 percent, Nissho Iwai Alumina Pty Limited 4 percent. *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: From actebs at actebs.com.au Thu Aug 7 08:18:23 2003 From: actebs at actebs.com.au (ACTEBS) Date: Thu, 07 Aug 2003 23:18:23 +1000 Subject: [AccessD] Excel & CSV File Import In-Reply-To: <3F32B551.27287.553BE4@localhost> Message-ID: <009101c35ce6$64177c00$0c05a8c0@carlton.local> Stuart, Thanks for that. All works great, but I get a sub script out range error when the line feed gets to a blank/null row. Any ideas on how I can handle that? Thanks Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Thursday, 7 August 2003 8:24 PM To: Access Developers discussion and problem solving; ACTEBS Subject: Re: [AccessD] Excel & CSV File Import On 7 Aug 2003 at 19:36, ACTEBS wrote: > Hi List, > > Has anyone got any code that can import Excel & CSV files > programmatically - not using transfer text/excel functions. The reason > I ask is that I have some unusually formatted spreadsheets whose > column names change from month to month and also the CSV file I need > to import all the info from about row 20 onwards. > If you can save the Excel as CSV as well, you can just open them all for input, read them a line at a time and decide on how to handle each line. I've got quite a few routines that do this for various sorts of input. As long as you can identify lines either by line count or content of one of the fields, you can parse out the data you need and dump it into any table you want. In it's simplest form, just do something like the following. You can build whatever conditions you need (repeating line counters, string comparisons etc) in the "If...End If" section to handle the particular format of the input file Sub GetData(strInputFile as String) Dim strTemp as String Dim strParsedData() as String Dim lngLinecount as Long Dim rs as DAO.Recordset Open strInputFile for Input as #1 Set rs = CurrentDb.OpenRecorset("tblMyTable") While not EOF(1) lngLinecount = lngLinecount + 1 Line Input #1, strTemp strParsedData = Split(strTemp,",") If............................ Then rs.Addnew rs!Field1 = strParsedData(1) ..... rs.Update End If Wend Close #1 End Sub -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Lambert.Heenan at AIG.com Thu Aug 7 08:25:16 2003 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Thu, 7 Aug 2003 09:25:16 -0400 Subject: [AccessD] Array sorting Message-ID: <8B98F8EA48F8BA47A2F24E0D0AF40CF407AD756C@xlivmbx12.aig.com> Well here is a simple sort routine you can use... Sub ShellSortArray(a() As Variant) Dim I As Long, j As Long Dim Low As Long, Hi As Long Dim PushPop As Variant Low = LBound(a) Hi = UBound(a) j = (Hi - Low + 1) \ 2 Do While j > 0 For I = Low To Hi - j If a(I) > a(I + j) Then PushPop = a(I) a(I) = a(I + j) a(I + j) = PushPop End If Next I For I = Hi - j To Low Step -1 If a(I) > a(I + j) Then PushPop = a(I) a(I) = a(I + j) a(I + j) = PushPop End If Next I j = j \ 2 Loop End Sub If you want an 'Alphametical sort then put it in a standard module with Option Compare Database at the top, but if you want a binary sort (strictly ASCII code order) use Option Compare Binary at the top of the module. Lambert > -----Original Message----- > From: Powell, David (BBM) [SMTP:david.powell at bbm.wapl.com.au] > Sent: Wednesday, August 06, 2003 10:41 PM > To: AccessD > Subject: [AccessD] Array sorting > > Hi Listers, > > I have a single dimension array of excel cell references stored as string > values. I was wondering how you can sort a range that is say A1:C3 from > A1, A2, A3, B1... C3 to A1, B1, C1, A2, B2...C3? Any help would be > greatly appreciated. > > > regards > > David > > ---------------------------------------------------- > David Powell > Computing Support Officer > Worsley Alumina Pty Ltd > Bauxite Mine > Boddington WA 6390 > Ph: +61 8 9734 8269 > FAX: +61 8 9734 8250 > > WAPL Web Page > ---------------------------------------------------- > <> > > > > NOTICE - This message and any attached files may contain information that > is confidential and/or subject of legal privilege > intended only for use by the intended recipient. If you are not the > intended recipient or the person responsible for delivering > the message to the intended recipient, be advised that you have received > this message in error and that any dissemination, > copying or use of this message or attachment is strictly forbidden, as is > the disclosure of the information therein. > If you have received this message in error please notify the sender > immediately and delete the message > Worsley Alumina Pty Ltd ABN 58 008 905 155 is the manager of the Worsley > Joint Venture - Bauxite/Alumina Operation. > Liability and responsibility of the Joint Venturers is several in > accordance with the following schedule of participating interests: > Billiton Aluminium (RAA) Pty Ltd 56 percent, Billiton Aluminium (Worsley) > Pty Ltd 30 percent, > Kobe Alumina Associates (Australia) Pty Limited 10 percent, Nissho Iwai > Alumina Pty Limited 4 percent. > << File: Powell, David (BBM).vcf >> << File: ATT1202729.txt >> From Jdemarco at hshhp.org Thu Aug 7 08:36:16 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Thu, 7 Aug 2003 09:36:16 -0400 Subject: [AccessD] Excel & CSV File Import Message-ID: <22F1CCD5171D17419CB37FEEE09D5F990173F361@TTNEXCHSRV1.hshhp.com> Try wrapping the value in NZ()? HTH, Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan -----Original Message----- From: ACTEBS [mailto:actebs at actebs.com.au] Sent: Thursday, August 07, 2003 9:18 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Excel & CSV File Import Stuart, Thanks for that. All works great, but I get a sub script out range error when the line feed gets to a blank/null row. Any ideas on how I can handle that? Thanks Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Thursday, 7 August 2003 8:24 PM To: Access Developers discussion and problem solving; ACTEBS Subject: Re: [AccessD] Excel & CSV File Import On 7 Aug 2003 at 19:36, ACTEBS wrote: > Hi List, > > Has anyone got any code that can import Excel & CSV files > programmatically - not using transfer text/excel functions. The reason > I ask is that I have some unusually formatted spreadsheets whose > column names change from month to month and also the CSV file I need > to import all the info from about row 20 onwards. > If you can save the Excel as CSV as well, you can just open them all for input, read them a line at a time and decide on how to handle each line. I've got quite a few routines that do this for various sorts of input. As long as you can identify lines either by line count or content of one of the fields, you can parse out the data you need and dump it into any table you want. In it's simplest form, just do something like the following. You can build whatever conditions you need (repeating line counters, string comparisons etc) in the "If...End If" section to handle the particular format of the input file Sub GetData(strInputFile as String) Dim strTemp as String Dim strParsedData() as String Dim lngLinecount as Long Dim rs as DAO.Recordset Open strInputFile for Input as #1 Set rs = CurrentDb.OpenRecorset("tblMyTable") While not EOF(1) lngLinecount = lngLinecount + 1 Line Input #1, strTemp strParsedData = Split(strTemp,",") If............................ Then rs.Addnew rs!Field1 = strParsedData(1) ..... rs.Update End If Wend Close #1 End Sub -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "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 accessd666 at yahoo.com Thu Aug 7 08:58:23 2003 From: accessd666 at yahoo.com (Sad Der) Date: Thu, 7 Aug 2003 06:58:23 -0700 (PDT) Subject: [AccessD] Copy range of ID's from excel In-Reply-To: <3F2FEB33.4070007@shaw.ca> Message-ID: <20030807135823.99067.qmail@web10009.mail.yahoo.com> Hi group, i've got it solved. Using a couple of API's and it works like a charm. if anybody is interested in how I did it just let me know. Regards, Sander --- MartyConnelly wrote: > In Access XP there is a clipboard object that you > can parse for the > data. A bit more difficult in lower levels of > Access, as you have to use > API's see Dev Ashish's site for api methods > http://www.mvps.org/access > > Sad Der wrote: > > >thnx for the response Jim. > > > >Unfortunatly this was not what I meant. A user > opens > >an Excel file. (S)He then selects a couple of > records. > >EG: user clicks cell A1 and drags the mouse down to > >A7. So we now have a couple of cells selected in > blue > >and with a right mouse click the user selects copy. > >The selected cells are now 'in' the Clibboard. The > >user then starts the Access application and needs > to > >paste the selected cells, that are still in the > >Clipboard, into a form. > > > >Any idea how to do that? > > > >Thnx in advance > > > >Regards, > > > >Sander > >--- "Hale, Jim" wrote: > > > > > >>a quick and dirty way: > >> > >>A. Have an excel spreadsheet set up as a flat > >>file,ie > >>fld1_ID_Key fld2_Descr fld3_Include > >>Id1 whatever1 N > >>Id2 son of whatever Y > >>Id3 why not N > >> > >>The field headings should start in cell a1 on the > >>"database" sheet. > >>Use fld3_include to indicate if the record has > been > >>selected. You can let > >>the user fill this column directly which is the > >>fastest but least secure way > >>(do not have blank cells. This could confuse > Access) > >>Or you can hide the > >>"database" sheet and let the user select via list > >>box the choices and you > >>update the include field via code. > >> > >>B. link the sheet into an Access database where it > >>will appear as a table > >>. You can > then > >>write a query with a > >>criteria of "Y" for the fld3_include field to > select > >>the data and append or > >>update ("paste into")whatever master table you > wish. > >>Alternatively, instead > >>of linking to the excel spreadsheet you can import > >>the sheet with the data > >>directly into Access as a table external > >>data> and then > >>manipulate it however you desire. HTH > >>Jim Hale > >> > >> > >>-----Original Message----- > >>From: Sad Der [mailto:accessd666 at yahoo.com] > >>Sent: Friday, August 01, 2003 9:03 AM > >>To: Acces User Group > >>Subject: [AccessD] Copy range of ID's from excel > >> > >> > >>Hi group, > >> > >>A user wants to select a list of id's and wants to > >>paste them into Access. After that the user wants > to > >>make selections on the id's. > >> > >>Question: Which control is the best to use for > this > >>and why? > >> > >>I'm thinking of using a listbox but is it possible > >>to > >>select it and paste the range into it. Remember > the > >>range are completely random! > >>Question: How can I paste a range of items in an > >>Access object? > >> > >>Btw i'm using Access 2000 > >> > >>Regards, > >> > >>sander > >> > >> > >>__________________________________ > >>Do you Yahoo!? > >>Yahoo! SiteBuilder - Free, easy-to-use web site > >>design software > >>http://sitebuilder.yahoo.com > >>_______________________________________________ > >>AccessD mailing list > >>AccessD at databaseadvisors.com > >>http://databaseadvisors.com/mailman/listinfo/accessd > >>Website: http://www.databaseadvisors.com > >> > >> > >>>_______________________________________________ > >>> > >>> > >>AccessD mailing list > >>AccessD at databaseadvisors.com > >>http://databaseadvisors.com/mailman/listinfo/accessd > >>Website: http://www.databaseadvisors.com > >> > >> > >> > > > > > >__________________________________ > >Do you Yahoo!? > >Yahoo! SiteBuilder - Free, easy-to-use web site > design software > >http://sitebuilder.yahoo.com > >_______________________________________________ > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > > > > > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com From accessd666 at yahoo.com Thu Aug 7 09:02:17 2003 From: accessd666 at yahoo.com (Sad Der) Date: Thu, 7 Aug 2003 07:02:17 -0700 (PDT) Subject: [AccessD] object with coloured lines? Message-ID: <20030807140217.183.qmail@web10009.mail.yahoo.com> Hi group, I think this has been asked about a million and 1 times but: I'm storing a lot of 18-digit numbers in a listbox. Just like the users wants it. I just KNOW that he is going to ask me to display the data in different fore or backcolours. Any idea how and if it is possible to do? (Listbox or anything else?) Thnx in @vance Regards, Sander __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com From serbach at new.rr.com Thu Aug 7 09:17:52 2003 From: serbach at new.rr.com (Steven W. Erbach) Date: Thu, 7 Aug 2003 09:17:52 -0500 Subject: [AccessD] Pasting pictures References: Message-ID: <008301c35cee$b2a167c0$3c06d018@W2k> Eric, Thanks for your reply. I knew that that was the major alternative. To be frank, I'm trying to keep within a budget. And this whole issue of "Bitmap Image" vs. "Picture" vs. "Package" is very confusing. Where does one find out what all this means? Steve Erbach Scientific Marketing Neenah, WI "Eventually, socialists run out of other people's money." -- Lady Margaret Thatcher From weeden1949 at hotmail.com Thu Aug 7 09:16:24 2003 From: weeden1949 at hotmail.com (Greg S) Date: Thu, 7 Aug 2003 09:16:24 -0500 Subject: [AccessD] Alignment Issue References: Message-ID: Charles: I sent you an email offlist with two pdf attachments to illustrate my 'alignment' issue. I tried to send'em to this list, but I forgot that we're not supposed to put attachments to the list ... sorry. Also, please respond on-list. I've had to neuter my hotmail so much because of the SPAM (not the food...) that I might not get your response...I think I'm going to change my AccessD email address to my personal email account so I don't have to worry about this stuff. Thanks. Greg Smith weeden1949 at hotmail.com (for the moment...!!!) ----- Original Message ----- From: "Wortz, Charles" To: "Access Developers discussion and problem solving" Sent: Wednesday, August 06, 2003 2:25 PM Subject: RE: [AccessD] Alignment Issue Greg, There are align options for top, bottom, left, and right. I have used them all and they all work as expected. To align all your labels on the bottom, select all the labels and click on align | bottom. If that is not working for you, please give us more information about the problem you are experiencing. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Greg S [mailto:weeden1949 at hotmail.com] Sent: Wednesday 2003 Aug 06 14:05 To: Access Developers discussion and problem solving Subject: [AccessD] Alignment Issue Hi everyone! No comment on "William's Signature Line..." and the ...oops...almost...never mind. I have a problem with aligning (vertically) labels and/or fields on a report when there are (1) various font sizes being used and (2) word-wrap in text boxes. (1) For example, let's say I have a "table", if you want to call it that, in a report, where the left column contains the row label (identity) for everything in that row. The remaining columns contain fields from query results, sums, totals, etc. I obviously can easily align the like fields with each other. The problem starts when trying to align the left column labels, which are, for example, font size 12, with the rest of the fields in that row, which are 10. Aligning the field/label boxes does NOT do the trick. Because of the larger font, that box has to be larger, in which case the letters sit up higher in it, and don't align with the others any longer. Most of my clients don't say anything, either out of politeness, or they think I'm a friggin' idiot and can't even align stuff in a row. I can see the misalignment, but have never found a surefire way of making the letters truely align. It's always bugged me, but today, just back from vacation, it's more irritating than normal. (2) And in a similar vein, when you have labels, which are, for example, column headings, and some of them just fill the label box and some of them wrap around because they're too long for the column width. Ever try aligning those dudes on the bottom? Without doing it manually, that is. They can be aligned manually (eyeball) and look fairly good, but I was thinking there had to be a more accurate way to do it. I'm currently using A97, but use 2k and XP on occasion as well. Thanks in advance! Greg Smith weeden1949 at hotmail.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From CWortz at tea.state.tx.us Thu Aug 7 09:24:02 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Thu, 7 Aug 2003 09:24:02 -0500 Subject: [AccessD] Alignment Issue Message-ID: Greg, If all the text boxes are the same height and have their frames aligned and all the fonts are the same size, then the text will be aligned. AFAIK Access does not have any way to automatically align text when all those conditions are not met. Maybe somebody else on the list knows of a workaround for this. IIRC Word is the only M$ product where you can align the baselines of text, which is what you want to do. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Greg S [mailto:weeden1949 at hotmail.com] Sent: Thursday 2003 Aug 07 09:11 To: Wortz, Charles Subject: Re: [AccessD] Alignment Issue Charles: A picture (or two) is worth a thousand words... Attached are two images (pdf's), one of the report printed with red lines below each 'row' to illustrate how they are 'expected' to be aligned, and the other, with the report in design view (please pardon the semi-crummy image...tried to reduce it as much as possible) with the same red lines showing how it's aligned in the design view. The alignment (left, right, top & bottom) options will align the FRAMES of the text/label boxes, but not the contents. I want the contents to be aligned so the bottoms of the words in each appear to be on the same line. Where it says "Today:" on the left column, the bottom of the word TODAY should line up with the bottoms of the words in the remaining text boxes in that whole row. And the column title "Real Estate Collected", which wrapped, should line up with the bottoms of the words in the remaining column titles, like in "E - Com Fee"... If these attachments get stripped out of dumped, let me know, and I'll send'em to you directly. Thanks Greg Smith Weeden1949 at hotmail.com ----- Original Message ----- From: "Wortz, Charles" To: "Access Developers discussion and problem solving" Sent: Wednesday, August 06, 2003 2:25 PM Subject: RE: [AccessD] Alignment Issue Greg, There are align options for top, bottom, left, and right. I have used them all and they all work as expected. To align all your labels on the bottom, select all the labels and click on align | bottom. If that is not working for you, please give us more information about the problem you are experiencing. Charles Wortz -----Original Message----- From: Greg S [mailto:weeden1949 at hotmail.com] Sent: Wednesday 2003 Aug 06 14:05 To: Access Developers discussion and problem solving Subject: [AccessD] Alignment Issue Hi everyone! No comment on "William's Signature Line..." and the ...oops...almost...never mind. I have a problem with aligning (vertically) labels and/or fields on a report when there are (1) various font sizes being used and (2) word-wrap in text boxes. (1) For example, let's say I have a "table", if you want to call it that, in a report, where the left column contains the row label (identity) for everything in that row. The remaining columns contain fields from query results, sums, totals, etc. I obviously can easily align the like fields with each other. The problem starts when trying to align the left column labels, which are, for example, font size 12, with the rest of the fields in that row, which are 10. Aligning the field/label boxes does NOT do the trick. Because of the larger font, that box has to be larger, in which case the letters sit up higher in it, and don't align with the others any longer. Most of my clients don't say anything, either out of politeness, or they think I'm a friggin' idiot and can't even align stuff in a row. I can see the misalignment, but have never found a surefire way of making the letters truely align. It's always bugged me, but today, just back from vacation, it's more irritating than normal. (2) And in a similar vein, when you have labels, which are, for example, column headings, and some of them just fill the label box and some of them wrap around because they're too long for the column width. Ever try aligning those dudes on the bottom? Without doing it manually, that is. They can be aligned manually (eyeball) and look fairly good, but I was thinking there had to be a more accurate way to do it. I'm currently using A97, but use 2k and XP on occasion as well. Thanks in advance! Greg Smith weeden1949 at hotmail.com From gustav at cactus.dk Thu Aug 7 09:34:34 2003 From: gustav at cactus.dk (Gustav Brock) Date: Thu, 7 Aug 2003 16:34:34 +0200 Subject: [AccessD] Alignment Issue In-Reply-To: References: <8B98F8EA48F8BA47A2F24E0D0AF40CF407AD755F@xlivmbx12.aig.com> <001701c35c46$b7c60560$0f0b6351@martin1> Message-ID: <8929995511.20030807163434@cactus.dk> Hi Greg This is for you: http://www.lebans.com/baseline.htm /gustav > I have a problem with aligning (vertically) labels and/or fields on a report > when there are (1) various font sizes being used and (2) word-wrap in text > boxes. From actebs at actebs.com.au Thu Aug 7 09:46:34 2003 From: actebs at actebs.com.au (ACTEBS) Date: Fri, 08 Aug 2003 00:46:34 +1000 Subject: [AccessD] Excel & CSV File Import In-Reply-To: <22F1CCD5171D17419CB37FEEE09D5F990173F361@TTNEXCHSRV1.hshhp.com> Message-ID: <009b01c35cf2$b2ce4750$0c05a8c0@carlton.local> Jim, Yep tried that...No go... Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim DeMarco Sent: Thursday, 7 August 2003 11:36 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Excel & CSV File Import Try wrapping the value in NZ()? HTH, Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan -----Original Message----- From: ACTEBS [mailto:actebs at actebs.com.au] Sent: Thursday, August 07, 2003 9:18 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Excel & CSV File Import Stuart, Thanks for that. All works great, but I get a sub script out range error when the line feed gets to a blank/null row. Any ideas on how I can handle that? Thanks Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Thursday, 7 August 2003 8:24 PM To: Access Developers discussion and problem solving; ACTEBS Subject: Re: [AccessD] Excel & CSV File Import On 7 Aug 2003 at 19:36, ACTEBS wrote: > Hi List, > > Has anyone got any code that can import Excel & CSV files > programmatically - not using transfer text/excel functions. The reason > I ask is that I have some unusually formatted spreadsheets whose > column names change from month to month and also the CSV file I need > to import all the info from about row 20 onwards. > If you can save the Excel as CSV as well, you can just open them all for input, read them a line at a time and decide on how to handle each line. I've got quite a few routines that do this for various sorts of input. As long as you can identify lines either by line count or content of one of the fields, you can parse out the data you need and dump it into any table you want. In it's simplest form, just do something like the following. You can build whatever conditions you need (repeating line counters, string comparisons etc) in the "If...End If" section to handle the particular format of the input file Sub GetData(strInputFile as String) Dim strTemp as String Dim strParsedData() as String Dim lngLinecount as Long Dim rs as DAO.Recordset Open strInputFile for Input as #1 Set rs = CurrentDb.OpenRecorset("tblMyTable") While not EOF(1) lngLinecount = lngLinecount + 1 Line Input #1, strTemp strParsedData = Split(strTemp,",") If............................ Then rs.Addnew rs!Field1 = strParsedData(1) ..... rs.Update End If Wend Close #1 End Sub -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com **************************************************************************** ******* "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 weeden1949 at hotmail.com Thu Aug 7 09:56:16 2003 From: weeden1949 at hotmail.com (Greg S) Date: Thu, 7 Aug 2003 09:56:16 -0500 Subject: [AccessD] Alignment Issue References: <8B98F8EA48F8BA47A2F24E0D0AF40CF407AD755F@xlivmbx12.aig.com> <001701c35c46$b7c60560$0f0b6351@martin1> <8929995511.20030807163434@cactus.dk> Message-ID: Many thanks to Charles and Gustav. I think your suggestions have given me enough information to at least know what I'm up against. Of course, the phrase "Keep all the fonts the same size...you big dummy..." would also alleviate the problem as well... Thanks again! Greg Smith Weeden1949 at hotmail.com (for now...) ----- Original Message ----- From: "Gustav Brock" To: "Access Developers discussion and problem solving" Sent: Thursday, August 07, 2003 9:34 AM Subject: Re: [AccessD] Alignment Issue Hi Greg This is for you: http://www.lebans.com/baseline.htm /gustav > I have a problem with aligning (vertically) labels and/or fields on a report > when there are (1) various font sizes being used and (2) word-wrap in text > boxes. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Thu Aug 7 09:59:58 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 7 Aug 2003 07:59:58 -0700 Subject: [AccessD] object with coloured lines? Message-ID: You can't do it with the standard listbox but there are third party activex controls that might work for you. Access 2000 and later has conditional formatting that may work for you in a continuous form. Charlotte Foust -----Original Message----- From: Sad Der [mailto:accessd666 at yahoo.com] Sent: Thursday, August 07, 2003 6:02 AM To: Acces User Group Subject: [AccessD] object with coloured lines? Hi group, I think this has been asked about a million and 1 times but: I'm storing a lot of 18-digit numbers in a listbox. Just like the users wants it. I just KNOW that he is going to ask me to display the data in different fore or backcolours. Any idea how and if it is possible to do? (Listbox or anything else?) Thnx in @vance Regards, Sander __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Thu Aug 7 10:08:08 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 7 Aug 2003 08:08:08 -0700 Subject: [AccessD] No Office 2003 ODE (Office Developer Edition)? Message-ID: And free or not, I still don't see any mention of Access or any other desktop database in there unless you extrapolate from ADO.Net somehow. Charlotte Foust -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: Wednesday, August 06, 2003 11:09 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] No Office 2003 ODE (Office Developer Edition)? Hi Marty But is this a thought or a decision? Sounds like those tools are not for free ... >>> 2 and 3 are free downloads. /gustav > Have a look at this to see if makes sense. > Microsoft Developer Tools Roadmap 2003-2005 > http://msdn.microsoft.com/vstudio/productinfo/roadmap.aspx#office > Gustav Brock wrote: >>Sorry for being dense, but I still cannot see if/how Visual Studio >>fits into the picture of Access development. >> >>I'm aware that Visual Studio might bring some (Internet) features to >>Access development, but what is important is to distinguish between >>offers/features and needs. And if at all possible I do not want an IIS >>to run on my trusted development machine; if it _is_ needed I wish it >>to run on a server. >> >>By the way, what is "Office 2003 Windows Update CD"? >> >>/gustav >> >> >>>This hasn't been set in stone yet by Microsoft. Maybe they are >>>waiting >>>for a marketing decision. >> >>> 1. Is VS Net 2003 >>> 2 and 3 are free downloads. >>> >> >>>Who knows they may switch to an MSI install, which would require 2 >>>CD's >>>much like SageKeys >>>Office XP MSI wizard. >>> >> >>>The Microsoft Installer may require two CD's to be shipped, the >>>Access >>>2003 Application CD created by the Packaging Wizard and the Office 2003 >>>Windows Update CD. When the user inserts the Application CD, they are >>>prompted to load the Update CD first which loads the required >>>preconditioning components onto the target PC. >>> >> >>> By the way IIS must be installed prior to loading VS Net, if you >>>plan >>>to use any of its features. >>>You can still use things like Net WinForms without IIS but not Web >>>Forms. If you install IIS after VS Net you can only use internal Web >>>Forms . To fix you have to do a clear and reinstall in >>>correct order, usually takes a couple of hours. >>> >>>>I'm slightly confused ... >>>> >>>>Does this mean you'll have to buy all this - in addition to Office >>>>2003 Pro, of course - just to create an Access 2003 runtime: >>>> >>>> 1. Visual Studio >>>> 2. Visual Studio Tools for the Microsoft Office System >>>> 3. Access 2003 Developer Extensions >>>> >>>>as well as to soil your dearly beloved workstation with IIS? >>>> >>>>And which version of Visual Studio? I don't have it as I've never >>>>had a need for it. >>>> >>>>/gustav >>>> >>>>>Looks like below doesn't contain the Access deployment features >>>>>Access 2003 Developer Extensions Overview >>>>> >>>>>http://www.microsoft.com/office/preview/editions/accessdav.asp >>>>> >>>>>from recent posting newsgroup >>>>>microsoft.public.vsnet.vstools.office >>>> >>>>>Subject: Re: Access 2003 Developer Extensions >>>>>From: "Peter Torr \(MS\)" Sent: 7/16/2003 >>>>>10:19:41 AM >>>>>"Urs Stettler" wrote in message >>>>>news:090401c34b7f$926f8de0$a401280a at phx.gbl... >>>>> >>>>>>According to the product description of the VS tools for Office, >>>>>>Access 2003 Developer Extensions are supposed to be part of it. >>>>>> >>>>>>Well, I purchased the Office 03 beta, purchased VS 03 just to be >>>>>>able to use Access depoloyment features. Having installed the VS >>>>>>tools, I can't find any packaging wizard or any link in Access 03 >>>>>>to start the packaging process. Am I missing something? >>>>>> >>>>>The Access Developer Extensions will be in the final retail >>>>>product, which has not shipped yet. The beta release of Visual >>>>>Studio Tools for Office just contains the Word and Excel managed >>>>>code projects. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From delliker at hotmail.com Thu Aug 7 10:20:14 2003 From: delliker at hotmail.com (Don Elliker) Date: Thu, 07 Aug 2003 11:20:14 -0400 Subject: [AccessD] Unbound image on continuous form Message-ID: My steamed colleagues, In a semi-related issue.......I am having a problem creating an unbound object frame (thru code) on a report and setting the SourceDoc, etc more or less like this...(I am getting more and more bizarre in the way I am trying to inform the code about the control name...but it doesn't seem to make a diff) The code craps out on the .Action = acOLECreateLink - strRef contains a fully qualified path to a .Doc file which works fine if I use the Whizz-ard to create the control. rpt.Section(0).Controls("ss0").Class = "word.document.8" rpt.Section(0).Controls("ss0").OLETypeAllowed = acOLELinked rpt.Section(0).Controls("ss0").SourceDoc = strRef rpt.Section(0).Controls("ss0").Action = acOLECreateLink rpt.Section(0).Controls("ss0").SizeMode = acOLESizeZoom the error is 2771 "the Bound or Unbound frame you are attempting to edit does not contain an OLE object" Your thoughts? _D "Things are only free to the extent that you don't pay for them".-Don Elliker >From: "Stuart McLachlan" >Reply-To: Access Developers discussion and problem >solving >To: "Joshua B" , >Subject: Re: [AccessD] Unbound image on continuous form >Date: Wed, 06 Aug 2003 10:15:18 +1000 > >On 6 Aug 2003 at 9:54, Joshua B wrote: > > > Hi Group > > > > I have a client who scans documents into their Access database (not > > made by me). They have a continuous form set up which shows thumbnails > > of these images (*.tifs stored in an OLE container). They came to me > > because now, with 600-odd records, their database has (of course) > > grown to 600meg. I have recommended storing the images on the system, > > only storing the image name in the db, and inserting the image into an > > unbound image holder on the fly. Only problem with this is, with > > continuous forms this cannot be done. Has anyone come up with a > > solution to this in the past? I've been thinking filtered recordsets > > and temp tables storing current images, but was hoping there may be an > > easier way I havent thought of. TIA. > > > >You could try putting an unbound image control in the header or >footer or embed the continuous form in a parent form and put an >unbound image control on the parent form. Then set the source of the >image in the continuous form's on_current event. > >You can't see more than one image at a time that way, but you can >scroll through them easily. > >Alternatively use a combined approach. Create small thumbnails images >which are stored in the table with the full sized original stored on >disk. > > >-- >Lexacorp Ltd >http://www.lexacorp.com.pg >Information Technology Consultancy, Software Development,System >Support. > > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. http://join.msn.com/?page=features/virus From prosoft6 at hotmail.com Thu Aug 7 11:01:29 2003 From: prosoft6 at hotmail.com (Julie Reardon-Taylor) Date: Thu, 07 Aug 2003 12:01:29 -0400 Subject: [AccessD] Public Variables in a Report Message-ID: Okay, Gustav gave me some information about using public variables, and said that I have to move my variables from the code behind the form to a module in order to be able to see the value of those variables in a report. However, I found, in an Access 2000 programming book, that I supposedly can use the public variable anywhere within the project if I reference the form first and then the variable name. Anyone have experience doing this? Here is an example: Me.hours111 = frmpayroll.f_shift_hours3 + frmpayroll.f_shift_hours2 + frmpayroll.f_shift_hours1 The Me.hours111 references the unbound text box on my report. The other items that I am trying to add are declared as public variables in the general section of the code behind the form named frmPayroll. Access tells me that it cannot find the variable. Help! Julie Reardon-Taylor PRO-SOFT OF NY, INC. www.pro-soft.net _________________________________________________________________ Help STOP SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail From Lambert.Heenan at AIG.com Thu Aug 7 11:21:13 2003 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Thu, 7 Aug 2003 12:21:13 -0400 Subject: [AccessD] Public Variables in a Report Message-ID: <8B98F8EA48F8BA47A2F24E0D0AF40CF407AD756F@xlivmbx12.aig.com> One important distinction to note about code modules behind forms and reports is that these modules are Class modules, not "Standard" modules. So any "public" variables declared in them can only be accessed using Object.Variable notation. Whereas if you declare a public variable in a standard module you can simply refer to it by name anywhere else in the project. The reason for the difference is that public variables in a form module are actually members of the form's class, not stand alone variables. As yet another wrinkle to be aware of, you cannot directly reference anything in a form, instead you have to do it via the Forms collection: which is a collection of all OPEN forms. So to do what you want the syntax would be... Me.hours111 = Forms("frmpayroll").f_shift_hours3 + Forms("frmpayroll").f_shift_hours2 + Forms("frmpayroll").f_shift_hours1 HTH Lambert > -----Original Message----- > From: Julie Reardon-Taylor [SMTP:prosoft6 at hotmail.com] > Sent: Thursday, August 07, 2003 12:01 PM > To: accessd at databaseadvisors.com > Subject: [AccessD] Public Variables in a Report > > Okay, Gustav gave me some information about using public variables, and > said > that I have to move my variables from the code behind the form to a module > > in order to be able to see the value of those variables in a report. > > However, I found, in an Access 2000 programming book, that I supposedly > can > use the public variable anywhere within the project if I reference the > form > first and then the variable name. > > Anyone have experience doing this? Here is an example: > > Me.hours111 = frmpayroll.f_shift_hours3 + frmpayroll.f_shift_hours2 + > frmpayroll.f_shift_hours1 > > The Me.hours111 references the unbound text box on my report. The other > items that I am trying to add are declared as public variables in the > general section of the code behind the form named frmPayroll. Access > tells > me that it cannot find the variable. > > Help! > > > > Julie Reardon-Taylor > PRO-SOFT OF NY, INC. > www.pro-soft.net > > _________________________________________________________________ > Help STOP SPAM with the new MSN 8 and get 2 months FREE* > http://join.msn.com/?page=features/junkmail > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From CWortz at tea.state.tx.us Thu Aug 7 11:25:31 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Thu, 7 Aug 2003 11:25:31 -0500 Subject: [AccessD] Public Variables in a Report Message-ID: Julie, The problem with Public variables on forms is that the form must be open to use them. Remember, forms are instances of the class form. When you open a form you are instantiating a class object. When you close a form you are destroying a class object. That is why Gustav wants you to move them to a standard module, since there is no such restriction on public variables in standard modules. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Julie Reardon-Taylor [mailto:prosoft6 at hotmail.com] Sent: Thursday 2003 Aug 07 11:01 To: accessd at databaseadvisors.com Subject: [AccessD] Public Variables in a Report Okay, Gustav gave me some information about using public variables, and said that I have to move my variables from the code behind the form to a module in order to be able to see the value of those variables in a report. However, I found, in an Access 2000 programming book, that I supposedly can use the public variable anywhere within the project if I reference the form first and then the variable name. Anyone have experience doing this? Here is an example: Me.hours111 = frmpayroll.f_shift_hours3 + frmpayroll.f_shift_hours2 + frmpayroll.f_shift_hours1 The Me.hours111 references the unbound text box on my report. The other items that I am trying to add are declared as public variables in the general section of the code behind the form named frmPayroll. Access tells me that it cannot find the variable. Help! Julie Reardon-Taylor PRO-SOFT OF NY, INC. www.pro-soft.net From prodevmg at yahoo.com Thu Aug 7 11:48:33 2003 From: prodevmg at yahoo.com (Lonnie Johnson) Date: Thu, 7 Aug 2003 09:48:33 -0700 (PDT) Subject: [AccessD] Who is linked to my back end? In-Reply-To: Message-ID: <20030807164833.91708.qmail@web20413.mail.yahoo.com> In a case of a "back end" holding data and various "front end interfaces", is there a way to determine who or what is linked to the back end? Any script I can run on the back end to determine what is linked to it and what tables is that other database looking at? Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software -------------- next part -------------- An HTML attachment was scrubbed... URL: From jcolby at colbyconsulting.com Thu Aug 7 12:07:11 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Thu, 7 Aug 2003 13:07:11 -0400 Subject: [AccessD] Who is linked to my back end? In-Reply-To: <20030807164833.91708.qmail@web20413.mail.yahoo.com> Message-ID: Boy, now there is a million dollar question. My best guess would be no. If you think about it, accesses to the table may not even be done via "links" which implies an Access FE. The access to the tables may come from VB, a web page etc. All of these could use DAO or ADO. I think the best that you can do is look at the LDB (lock file) and see who is CURRENTLY using the db. This method is far from reliable however since there are cases where "user data" is not cleaned out of this file when the user shuts down abnormally etc. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Lonnie Johnson Sent: Thursday, August 07, 2003 12:49 PM To: Access Developers discussion and problem solving Subject: [AccessD] Who is linked to my back end? In a case of a "back end" holding data and various "front end interfaces", is there a way to determine who or what is linked to the back end? Any script I can run on the back end to determine what is linked to it and what tables is that other database looking at? Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us ---------------------------------------------------------------------------- -- Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software -------------- next part -------------- An HTML attachment was scrubbed... URL: From my.lists at verizon.net Thu Aug 7 12:27:24 2003 From: my.lists at verizon.net (Francisco H Tapia) Date: Thu, 7 Aug 2003 10:27:24 -0700 Subject: [AccessD] No Office 2003 ODE (Office Developer Edition)? References: Message-ID: <003c01c35d09$2acc3260$b615010a@FHTAPIA> Built for use with Visual Studio .NET 2003, Visual Studio Tools for Office will be available shortly after Microsoft Office 2003 is released in late summer 2003. Visual Studio Tools for Office will also contain the Microsoft Access 2003 Developer Extensions (including the royalty-free Access runtime and additional developer tools), Visual Basic .NET Standard Edition and SQL Server 2000 Developer Edition. there -Francisco http://rcm.netfirms.com On Thursday, August 07, 2003 8:08 AM [GMT-8], Charlotte Foust wrote: : And free or not, I still don't see any mention of Access or any other : desktop database in there unless you extrapolate from ADO.Net somehow. : : Charlotte Foust : : -----Original Message----- : From: Gustav Brock [mailto:gustav at cactus.dk] : Sent: Wednesday, August 06, 2003 11:09 PM : To: Access Developers discussion and problem solving : Subject: Re: [AccessD] No Office 2003 ODE (Office Developer Edition)? : : : Hi Marty : : But is this a thought or a decision? : Sounds like those tools are not for free ... : :::: 2 and 3 are free downloads. : : /gustav : : :: Have a look at this to see if makes sense. :: Microsoft Developer Tools Roadmap 2003-2005 :: http://msdn.microsoft.com/vstudio/productinfo/roadmap.aspx#office : :: Gustav Brock wrote: : ::: Sorry for being dense, but I still cannot see if/how Visual Studio ::: fits into the picture of Access development. ::: ::: I'm aware that Visual Studio might bring some (Internet) features to ::: Access development, but what is important is to distinguish between ::: offers/features and needs. And if at all possible I do not want an ::: IIS : ::: to run on my trusted development machine; if it _is_ needed I wish ::: it to run on a server. ::: ::: By the way, what is "Office 2003 Windows Update CD"? ::: ::: /gustav ::: ::: :::: This hasn't been set in stone yet by Microsoft. Maybe they are :::: waiting :::: for a marketing decision. ::: :::: 1. Is VS Net 2003 :::: 2 and 3 are free downloads. :::: ::: :::: Who knows they may switch to an MSI install, which would require 2 :::: CD's :::: much like SageKeys :::: Office XP MSI wizard. :::: ::: :::: The Microsoft Installer may require two CD's to be shipped, the :::: Access :::: 2003 Application CD created by the Packaging Wizard and the Office :::: 2003 Windows Update CD. When the user inserts the Application CD, :::: they are : :::: prompted to load the Update CD first which loads the required :::: preconditioning components onto the target PC. :::: ::: :::: By the way IIS must be installed prior to loading VS Net, if you :::: plan :::: to use any of its features. :::: You can still use things like Net WinForms without IIS but not Web :::: Forms. If you install IIS after VS Net you can only use internal :::: Web Forms . To fix you have to do a clear and :::: reinstall in correct order, usually takes a couple of hours. :::: ::::: I'm slightly confused ... ::::: ::::: Does this mean you'll have to buy all this - in addition to Office ::::: 2003 Pro, of course - just to create an Access 2003 runtime: ::::: ::::: 1. Visual Studio ::::: 2. Visual Studio Tools for the Microsoft Office System ::::: 3. Access 2003 Developer Extensions ::::: ::::: as well as to soil your dearly beloved workstation with IIS? ::::: ::::: And which version of Visual Studio? I don't have it as I've never ::::: had a need for it. ::::: ::::: /gustav ::::: :::::: Looks like below doesn't contain the Access deployment features :::::: Access 2003 Developer Extensions Overview :::::: :::::: http://www.microsoft.com/office/preview/editions/accessdav.asp :::::: :::::: from recent posting newsgroup :::::: microsoft.public.vsnet.vstools.office ::::: :::::: Subject: Re: Access 2003 Developer Extensions :::::: From: "Peter Torr \(MS\)" Sent: 7/16/2003 :::::: 10:19:41 AM :::::: "Urs Stettler" wrote in message :::::: news:090401c34b7f$926f8de0$a401280a at phx.gbl... :::::: ::::::: According to the product description of the VS tools for Office, ::::::: Access 2003 Developer Extensions are supposed to be part of it. ::::::: ::::::: Well, I purchased the Office 03 beta, purchased VS 03 just to be ::::::: able to use Access depoloyment features. Having installed the VS ::::::: tools, I can't find any packaging wizard or any link in Access ::::::: 03 to start the packaging process. Am I missing something? ::::::: :::::: The Access Developer Extensions will be in the final retail :::::: product, which has not shipped yet. The beta release of Visual :::::: Studio Tools for Office just contains the Word and Excel managed :::::: code projects. : : _______________________________________________ : AccessD mailing list : AccessD at databaseadvisors.com : http://databaseadvisors.com/mailman/listinfo/accessd : Website: http://www.databaseadvisors.com : _______________________________________________ : AccessD mailing list : AccessD at databaseadvisors.com : http://databaseadvisors.com/mailman/listinfo/accessd : Website: http://www.databaseadvisors.com From prodevmg at yahoo.com Thu Aug 7 12:25:16 2003 From: prodevmg at yahoo.com (Lonnie Johnson) Date: Thu, 7 Aug 2003 10:25:16 -0700 (PDT) Subject: [AccessD] Who is linked to my back end? In-Reply-To: Message-ID: <20030807172516.8506.qmail@web20421.mail.yahoo.com> Thank you John. We don't always get the answer we want, but at least we know what direction to go from there. I appreciate you taking the time to respond. John Colby wrote: Boy, now there is a million dollar question. My best guess would be no. If you think about it, accesses to the table may not even be done via "links" which implies an Access FE. The access to the tables may come from VB, a web page etc. All of these could use DAO or ADO. I think the best that you can do is look at the LDB (lock file) and see who is CURRENTLY using the db. This method is far from reliable however since there are cases where "user data" is not cleaned out of this file when the user shuts down abnormally etc. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Lonnie Johnson Sent: Thursday, August 07, 2003 12:49 PM To: Access Developers discussion and problem solving Subject: [AccessD] Who is linked to my back end? In a case of a "back end" holding data and various "front end interfaces", is there a way to determine who or what is linked to the back end? Any script I can run on the back end to determine what is linked to it and what tables is that other database looking at? Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software_______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software -------------- next part -------------- An HTML attachment was scrubbed... URL: From rbgajewski at adelphia.net Thu Aug 7 12:24:01 2003 From: rbgajewski at adelphia.net (Bob Gajewski) Date: Thu, 7 Aug 2003 13:24:01 -0400 Subject: [AccessD] OT: "seeing all net cards" In-Reply-To: Message-ID: John This is a great little freeware utility; it even allows you remote control (when supported): http://www.radmin.com/products/famatech_nu/default.html Regards, Bob Gajewski -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Colby Sent: Wednesday, August 06, 2003 19:38 To: AccessD Subject: [AccessD] OT: "seeing all net cards" Does anyone know of a free something that will allow me to "see" all of the NICs (the IP address assigned to them for example) on my little home network? 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 stephen at bondsoftware.co.nz Thu Aug 7 12:27:13 2003 From: stephen at bondsoftware.co.nz (Stephen Bond) Date: Fri, 08 Aug 2003 05:27:13 +1200 Subject: [AccessD] OT - Friday light relief Message-ID: <70F3D727890C784291D8433E9C418F298EF6@server.bondsoftware.co.nz> It's Friday already down here, and this just arrived embedded in the Developer Central newsletter (Mike Gunderloy): "Finally, if you're in need of some comic relief, take a look at Primate Programming, http://www.newtechusa.com/PPI/main.asp . Then consider whether they might have had something to do with that abysmal software that you inherited and are supposed to maintain..." Stephen Bond Otatara, New Zealand From rbgajewski at adelphia.net Thu Aug 7 12:30:48 2003 From: rbgajewski at adelphia.net (Bob Gajewski) Date: Thu, 7 Aug 2003 13:30:48 -0400 Subject: [AccessD] OT: "seeing all net cards" In-Reply-To: Message-ID: John Also, their "Advanced Port Scanner" and "Advanced LAN Scanner (beta)" are pretty useful - if you need that functionality. Regards, Bob Gajewski -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Colby Sent: Wednesday, August 06, 2003 19:38 To: AccessD Subject: [AccessD] OT: "seeing all net cards" Does anyone know of a free something that will allow me to "see" all of the NICs (the IP address assigned to them for example) on my little home network? 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 delliker at hotmail.com Thu Aug 7 12:33:39 2003 From: delliker at hotmail.com (Don Elliker) Date: Thu, 07 Aug 2003 13:33:39 -0400 Subject: [AccessD] Who is linked to my back end? Message-ID: Not for nothing, but, SOMEthing is writing that LDB and seems to know a bit about the access to the Db. I wonder if any fields in the system tables are storing access information? I must say, I have never really looked to see how the LDB file gets created, etc. -but it gives one pause,no? _d "Things are only free to the extent that you don't pay for them".-Don Elliker >From: Lonnie Johnson >Reply-To: Access Developers discussion and problem >solving >To: Access Developers discussion and problem >solving >Subject: RE: [AccessD] Who is linked to my back end? >Date: Thu, 7 Aug 2003 10:25:16 -0700 (PDT) > >Thank you John. We don't always get the answer we want, but at least we >know what direction to go from there. I appreciate you taking the time to >respond. > > > >John Colby wrote: >Boy, now there is a million dollar question. My best guess would be no. >If you think about it, accesses to the table may not even be done via >"links" which implies an Access FE. The access to the tables may come from >VB, a web page etc. All of these could use DAO or ADO. > >I think the best that you can do is look at the LDB (lock file) and see who >is CURRENTLY using the db. This method is far from reliable however since >there are cases where "user data" is not cleaned out of this file when the >user shuts down abnormally etc. > >John W. Colby >www.colbyconsulting.com >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Lonnie Johnson >Sent: Thursday, August 07, 2003 12:49 PM >To: Access Developers discussion and problem solving >Subject: [AccessD] Who is linked to my back end? > > >In a case of a "back end" holding data and various "front end interfaces", >is there a way to determine who or what is linked to the back end? Any >script I can run on the back end to determine what is linked to it and what >tables is that other database looking at? > > > >Lonnie Johnson >ProDev, Professional Development of MS Access Databases >Visit me at ==> http://www.prodev.us > > > > > > > > > >--------------------------------- >Do you Yahoo!? >Yahoo! SiteBuilder - Free, easy-to-use web site design >software_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > > >Lonnie Johnson >ProDev, Professional Development of MS Access Databases >Visit me at ==> http://www.prodev.us > > > > > > > > > >--------------------------------- >Do you Yahoo!? >Yahoo! SiteBuilder - Free, easy-to-use web site design software >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ STOP MORE SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail From Jdemarco at hshhp.org Thu Aug 7 12:36:33 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Thu, 7 Aug 2003 13:36:33 -0400 Subject: [AccessD] No Office 2003 ODE (Office Developer Edition)? Message-ID: <22F1CCD5171D17419CB37FEEE09D5F990173F36B@TTNEXCHSRV1.hshhp.com> Ken Getz did a demo of the Excel/Word tools last week at VSLive. These are really neat tools that let you develop a Word or Excel application from within Visual Studio. The betas are available for download now and I think they work with the current version of Office (at least that's what I think he was using). Jim DeMarco -----Original Message----- From: Francisco H Tapia [mailto:my.lists at verizon.net] Sent: Thursday, August 07, 2003 1:27 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] No Office 2003 ODE (Office Developer Edition)? Built for use with Visual Studio .NET 2003, Visual Studio Tools for Office will be available shortly after Microsoft Office 2003 is released in late summer 2003. Visual Studio Tools for Office will also contain the Microsoft Access 2003 Developer Extensions (including the royalty-free Access runtime and additional developer tools), Visual Basic .NET Standard Edition and SQL Server 2000 Developer Edition. there -Francisco http://rcm.netfirms.com On Thursday, August 07, 2003 8:08 AM [GMT-8], Charlotte Foust wrote: : And free or not, I still don't see any mention of Access or any other : desktop database in there unless you extrapolate from ADO.Net somehow. : : Charlotte Foust : : -----Original Message----- : From: Gustav Brock [mailto:gustav at cactus.dk] : Sent: Wednesday, August 06, 2003 11:09 PM : To: Access Developers discussion and problem solving : Subject: Re: [AccessD] No Office 2003 ODE (Office Developer Edition)? : : : Hi Marty : : But is this a thought or a decision? : Sounds like those tools are not for free ... : :::: 2 and 3 are free downloads. : : /gustav : : :: Have a look at this to see if makes sense. :: Microsoft Developer Tools Roadmap 2003-2005 :: http://msdn.microsoft.com/vstudio/productinfo/roadmap.aspx#office : :: Gustav Brock wrote: : ::: Sorry for being dense, but I still cannot see if/how Visual Studio ::: fits into the picture of Access development. ::: ::: I'm aware that Visual Studio might bring some (Internet) features to ::: Access development, but what is important is to distinguish between ::: offers/features and needs. And if at all possible I do not want an ::: IIS : ::: to run on my trusted development machine; if it _is_ needed I wish ::: it to run on a server. ::: ::: By the way, what is "Office 2003 Windows Update CD"? ::: ::: /gustav ::: ::: :::: This hasn't been set in stone yet by Microsoft. Maybe they are :::: waiting :::: for a marketing decision. ::: :::: 1. Is VS Net 2003 :::: 2 and 3 are free downloads. :::: ::: :::: Who knows they may switch to an MSI install, which would require 2 :::: CD's :::: much like SageKeys :::: Office XP MSI wizard. :::: ::: :::: The Microsoft Installer may require two CD's to be shipped, the :::: Access :::: 2003 Application CD created by the Packaging Wizard and the Office :::: 2003 Windows Update CD. When the user inserts the Application CD, :::: they are : :::: prompted to load the Update CD first which loads the required :::: preconditioning components onto the target PC. :::: ::: :::: By the way IIS must be installed prior to loading VS Net, if you :::: plan :::: to use any of its features. :::: You can still use things like Net WinForms without IIS but not Web :::: Forms. If you install IIS after VS Net you can only use internal :::: Web Forms . To fix you have to do a clear and :::: reinstall in correct order, usually takes a couple of hours. :::: ::::: I'm slightly confused ... ::::: ::::: Does this mean you'll have to buy all this - in addition to Office ::::: 2003 Pro, of course - just to create an Access 2003 runtime: ::::: ::::: 1. Visual Studio ::::: 2. Visual Studio Tools for the Microsoft Office System ::::: 3. Access 2003 Developer Extensions ::::: ::::: as well as to soil your dearly beloved workstation with IIS? ::::: ::::: And which version of Visual Studio? I don't have it as I've never ::::: had a need for it. ::::: ::::: /gustav ::::: :::::: Looks like below doesn't contain the Access deployment features :::::: Access 2003 Developer Extensions Overview :::::: :::::: http://www.microsoft.com/office/preview/editions/accessdav.asp :::::: :::::: from recent posting newsgroup :::::: microsoft.public.vsnet.vstools.office ::::: :::::: Subject: Re: Access 2003 Developer Extensions :::::: From: "Peter Torr \(MS\)" Sent: 7/16/2003 :::::: 10:19:41 AM :::::: "Urs Stettler" wrote in message :::::: news:090401c34b7f$926f8de0$a401280a at phx.gbl... :::::: ::::::: According to the product description of the VS tools for Office, ::::::: Access 2003 Developer Extensions are supposed to be part of it. ::::::: ::::::: Well, I purchased the Office 03 beta, purchased VS 03 just to be ::::::: able to use Access depoloyment features. Having installed the VS ::::::: tools, I can't find any packaging wizard or any link in Access ::::::: 03 to start the packaging process. Am I missing something? ::::::: :::::: The Access Developer Extensions will be in the final retail :::::: product, which has not shipped yet. The beta release of Visual :::::: Studio Tools for Office just contains the Word and Excel managed :::::: code projects. : : _______________________________________________ : AccessD mailing list : AccessD at databaseadvisors.com : http://databaseadvisors.com/mailman/listinfo/accessd : Website: http://www.databaseadvisors.com : _______________________________________________ : AccessD mailing list : AccessD at databaseadvisors.com : http://databaseadvisors.com/mailman/listinfo/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 gustav at cactus.dk Thu Aug 7 12:53:09 2003 From: gustav at cactus.dk (Gustav Brock) Date: Thu, 7 Aug 2003 19:53:09 +0200 Subject: [AccessD] No Office 2003 ODE (Office Developer Edition)? In-Reply-To: <22F1CCD5171D17419CB37FEEE09D5F990173F36B@TTNEXCHSRV1.hshhp.com> References: <22F1CCD5171D17419CB37FEEE09D5F990173F36B@TTNEXCHSRV1.hshhp.com> Message-ID: <18141910353.20030807195309@cactus.dk> Hi Jim > Ken Getz did a demo of the Excel/Word tools last week at VSLive. > These are really neat tools that let you develop a Word or Excel > application from within Visual Studio. But why should one do that? I'm still confused on a higher level. No wonder MS asks in surveys to their dealers if we understand .net strategy and if we promote it to our clients. And boy if the asked the same about Access and Access development? What answer could I possibly give? /gustav From wdhindman at bellsouth.net Thu Aug 7 12:55:18 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Thu, 7 Aug 2003 13:55:18 -0400 Subject: [AccessD] object with coloured lines? References: Message-ID: <001201c35d0d$114be390$6001a8c0@dejpolsys> www.lebans.com has a database containing the FieldList control Access uses in its Table Analyzer and Performance Analyzer Wizards ...the control is created directly from the ACCWIZ.DLL so no ActiveX registration problems are incurred ...the sample includes a VB like ListBox with 1) CheckBoxes for each row. 2) True Drag and Drop. 3) Conditional Formatting for each Row. 4) AddItem method ...HTH :) William Hindman "You know the world is going crazy when the best rapper is a white guy, the best golfer is a black guy, The Swiss hold the America's Cup, France is accusing the US of arrogance, and Germany doesn't want to go to war." ----- Original Message ----- From: "Charlotte Foust" To: "Access Developers discussion and problem solving" Sent: Thursday, August 07, 2003 10:59 AM Subject: RE: [AccessD] object with coloured lines? > You can't do it with the standard listbox but there are third party > activex controls that might work for you. Access 2000 and later has > conditional formatting that may work for you in a continuous form. > > Charlotte Foust > > -----Original Message----- > From: Sad Der [mailto:accessd666 at yahoo.com] > Sent: Thursday, August 07, 2003 6:02 AM > To: Acces User Group > Subject: [AccessD] object with coloured lines? > > > Hi group, > > I think this has been asked about a million and 1 > times but: > > I'm storing a lot of 18-digit numbers in a listbox. > Just like the users wants it. I just KNOW that he is > going to ask me to display the data in different fore > or backcolours. > > Any idea how and if it is possible to do? (Listbox or > anything else?) > > Thnx in @vance > Regards, > Sander > > __________________________________ > Do you Yahoo!? > Yahoo! SiteBuilder - Free, easy-to-use web site design software > http://sitebuilder.yahoo.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From prosoft6 at hotmail.com Thu Aug 7 13:01:34 2003 From: prosoft6 at hotmail.com (Julie Reardon-Taylor) Date: Thu, 07 Aug 2003 14:01:34 -0400 Subject: [AccessD] Public Variables in a Report Message-ID: Lambert, Thanks for your reply. Isn't that the same as referencing the open record from the form? For example: Me.Hours111 = Forms!frmPayroll!F_shift1 + Forms!frmPayroll!f_shift2 + Forms!frmPayroll!f_shift3 I need to be able to loop through the recordset created by the query and then print the report. Julie Reardon-Taylor PRO-SOFT OF NY, INC. www.pro-soft.net _________________________________________________________________ STOP MORE SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail From jcolby at colbyconsulting.com Thu Aug 7 13:08:54 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Thu, 7 Aug 2003 14:08:54 -0400 Subject: [AccessD] Who is linked to my back end? In-Reply-To: Message-ID: AFAIK, JET and only JET "knows" the internals of the Access db. It creates the lock db and it handles requests for data from an MDB from requesters such as DAO and ADO. It does indeed give one pause. This is a sore point with the use of an MDB. OTOH, can you "ask" SQL Server who is accessing a given table at the moment? I don't have the answer to that. Now that someone has asked, it seems a logical thing to do, or at the very least ask who has accessed a given table (historical). The problem is that there are so many paths in to data. A document in word could do a mail merge. That document could be opened from a VB front end remotely. "who" is asking for the data? The document? The user of the machine that used automation to open the document? And if the request comes from the web... how in the world do you determine who asked for the data. At best you would get an application as the requester. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Don Elliker Sent: Thursday, August 07, 2003 1:34 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Who is linked to my back end? Not for nothing, but, SOMEthing is writing that LDB and seems to know a bit about the access to the Db. I wonder if any fields in the system tables are storing access information? I must say, I have never really looked to see how the LDB file gets created, etc. -but it gives one pause,no? _d "Things are only free to the extent that you don't pay for them".-Don Elliker >From: Lonnie Johnson >Reply-To: Access Developers discussion and problem >solving >To: Access Developers discussion and problem >solving >Subject: RE: [AccessD] Who is linked to my back end? >Date: Thu, 7 Aug 2003 10:25:16 -0700 (PDT) > >Thank you John. We don't always get the answer we want, but at least we >know what direction to go from there. I appreciate you taking the time to >respond. > > > >John Colby wrote: >Boy, now there is a million dollar question. My best guess would be no. >If you think about it, accesses to the table may not even be done via >"links" which implies an Access FE. The access to the tables may come from >VB, a web page etc. All of these could use DAO or ADO. > >I think the best that you can do is look at the LDB (lock file) and see who >is CURRENTLY using the db. This method is far from reliable however since >there are cases where "user data" is not cleaned out of this file when the >user shuts down abnormally etc. > >John W. Colby >www.colbyconsulting.com >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Lonnie Johnson >Sent: Thursday, August 07, 2003 12:49 PM >To: Access Developers discussion and problem solving >Subject: [AccessD] Who is linked to my back end? > > >In a case of a "back end" holding data and various "front end interfaces", >is there a way to determine who or what is linked to the back end? Any >script I can run on the back end to determine what is linked to it and what >tables is that other database looking at? > > > >Lonnie Johnson >ProDev, Professional Development of MS Access Databases >Visit me at ==> http://www.prodev.us > > > > > > > > > >--------------------------------- >Do you Yahoo!? >Yahoo! SiteBuilder - Free, easy-to-use web site design >software_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > > >Lonnie Johnson >ProDev, Professional Development of MS Access Databases >Visit me at ==> http://www.prodev.us > > > > > > > > > >--------------------------------- >Do you Yahoo!? >Yahoo! SiteBuilder - Free, easy-to-use web site design software >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ STOP MORE SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Jdemarco at hshhp.org Thu Aug 7 13:14:25 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Thu, 7 Aug 2003 14:14:25 -0400 Subject: [AccessD] No Office 2003 ODE (Office Developer Edition)? Message-ID: <22F1CCD5171D17419CB37FEEE09D5F99017650DF@TTNEXCHSRV1.hshhp.com> Gustav, Although the process I saw looked similar to adding a reference to the Excel library the difference was you can actually run the app from within VS (meaning Launch Excel and step through the code). Yes of course you can do that from with Excel's VBA IDE (and from Access or VB to a certain degree) but that brings me to point #2. Once this application is compiled a reference to the app (dll) is set in the workbook. You open the workbook and you can run the code. The ever annoying "this workbook contains macros" warning is nowhere to be found because you're running the code from outside of Excel. If you run the component on a network it's smart enough to check for new versions and if one is found it's copied down to the PC's local cache so deployment is assisted as well. And it includes security so that if someone replaces your dll with one containing some evil code the app will not use it as it knows the signature of the dll it references. We're an Access/VB/SQL house anyway so maybe this is just a more logical step for us than if we weren't but just the bit of a demo I saw made the office tools look pretty valuable. Jim DeMarco -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: Thursday, August 07, 2003 1:53 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] No Office 2003 ODE (Office Developer Edition)? Hi Jim > Ken Getz did a demo of the Excel/Word tools last week at VSLive. > These are really neat tools that let you develop a Word or Excel > application from within Visual Studio. But why should one do that? I'm still confused on a higher level. No wonder MS asks in surveys to their dealers if we understand .net strategy and if we promote it to our clients. And boy if the asked the same about Access and Access development? What answer could I possibly give? /gustav _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From prodevmg at yahoo.com Thu Aug 7 13:22:21 2003 From: prodevmg at yahoo.com (Lonnie Johnson) Date: Thu, 7 Aug 2003 11:22:21 -0700 (PDT) Subject: [AccessD] Who is linked to my back end? In-Reply-To: Message-ID: <20030807182221.23782.qmail@web20418.mail.yahoo.com> You raise some great issues here John. I thank you again for your thoughts. However, I was reaching a bit in a different. I was wanting to know of ANYONE and EVERYONE that had a link to a particular table in my back end no matter if they were using it or not. I have an officer of the company wanting to know who could be linked to a particular table. It would have likely been via the linked table manager/wizard. Thanks again. John Colby wrote: AFAIK, JET and only JET "knows" the internals of the Access db. It creates the lock db and it handles requests for data from an MDB from requesters such as DAO and ADO. It does indeed give one pause. This is a sore point with the use of an MDB. OTOH, can you "ask" SQL Server who is accessing a given table at the moment? I don't have the answer to that. Now that someone has asked, it seems a logical thing to do, or at the very least ask who has accessed a given table (historical). The problem is that there are so many paths in to data. A document in word could do a mail merge. That document could be opened from a VB front end remotely. "who" is asking for the data? The document? The user of the machine that used automation to open the document? And if the request comes from the web... how in the world do you determine who asked for the data. At best you would get an application as the requester. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Don Elliker Sent: Thursday, August 07, 2003 1:34 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Who is linked to my back end? Not for nothing, but, SOMEthing is writing that LDB and seems to know a bit about the access to the Db. I wonder if any fields in the system tables are storing access information? I must say, I have never really looked to see how the LDB file gets created, etc. -but it gives one pause,no? _d "Things are only free to the extent that you don't pay for them".-Don Elliker >From: Lonnie Johnson >Reply-To: Access Developers discussion and problem >solving >To: Access Developers discussion and problem >solving >Subject: RE: [AccessD] Who is linked to my back end? >Date: Thu, 7 Aug 2003 10:25:16 -0700 (PDT) > >Thank you John. We don't always get the answer we want, but at least we >know what direction to go from there. I appreciate you taking the time to >respond. > > > >John Colby wrote: >Boy, now there is a million dollar question. My best guess would be no. >If you think about it, accesses to the table may not even be done via >"links" which implies an Access FE. The access to the tables may come from >VB, a web page etc. All of these could use DAO or ADO. > >I think the best that you can do is look at the LDB (lock file) and see who >is CURRENTLY using the db. This method is far from reliable however since >there are cases where "user data" is not cleaned out of this file when the >user shuts down abnormally etc. > >John W. Colby >www.colbyconsulting.com >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Lonnie Johnson >Sent: Thursday, August 07, 2003 12:49 PM >To: Access Developers discussion and problem solving >Subject: [AccessD] Who is linked to my back end? > > >In a case of a "back end" holding data and various "front end interfaces", >is there a way to determine who or what is linked to the back end? Any >script I can run on the back end to determine what is linked to it and what >tables is that other database looking at? > > > >Lonnie Johnson >ProDev, Professional Development of MS Access Databases >Visit me at ==> http://www.prodev.us > > > > > > > > > >--------------------------------- >Do you Yahoo!? >Yahoo! SiteBuilder - Free, easy-to-use web site design >software_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > > >Lonnie Johnson >ProDev, Professional Development of MS Access Databases >Visit me at ==> http://www.prodev.us > > > > > > > > > >--------------------------------- >Do you Yahoo!? >Yahoo! SiteBuilder - Free, easy-to-use web site design software >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ STOP MORE SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software -------------- next part -------------- An HTML attachment was scrubbed... URL: From cfoust at infostatsystems.com Thu Aug 7 13:27:46 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 7 Aug 2003 11:27:46 -0700 Subject: [AccessD] Who is linked to my back end? Message-ID: You can determine open connections using ADO to retrieve the User Roster, but there's no way I know of to find discover front ends that aren't open. For that matter, the roster only tells you the user login and workstation holding the connection open, not the database. You would have to start the other way and look at each front end to see what connections it held, I'm afraid. Charlotte Foust -----Original Message----- From: Lonnie Johnson [mailto:prodevmg at yahoo.com] Sent: Thursday, August 07, 2003 8:49 AM To: Access Developers discussion and problem solving Subject: [AccessD] Who is linked to my back end? In a case of a "back end" holding data and various "front end interfaces", is there a way to determine who or what is linked to the back end? Any script I can run on the back end to determine what is linked to it and what tables is that other database looking at? Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us _____ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software -------------- next part -------------- An HTML attachment was scrubbed... URL: From cfoust at infostatsystems.com Thu Aug 7 13:30:19 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 7 Aug 2003 11:30:19 -0700 Subject: [AccessD] No Office 2003 ODE (Office Developer Edition)? Message-ID: Thanks. It was buried in a ton of chaff and I missed it. So what happens if you already have Visual Studio .Net 2003 and then get Visual Studio Tools for Office? Does it just not install the VB.Net standard edition? Charlotte Foust -----Original Message----- From: Francisco H Tapia [mailto:my.lists at verizon.net] Sent: Thursday, August 07, 2003 9:27 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] No Office 2003 ODE (Office Developer Edition)? Built for use with Visual Studio .NET 2003, Visual Studio Tools for Office will be available shortly after Microsoft Office 2003 is released in late summer 2003. Visual Studio Tools for Office will also contain the Microsoft Access 2003 Developer Extensions (including the royalty-free Access runtime and additional developer tools), Visual Basic .NET Standard Edition and SQL Server 2000 Developer Edition. there -Francisco http://rcm.netfirms.com On Thursday, August 07, 2003 8:08 AM [GMT-8], Charlotte Foust wrote: : And free or not, I still don't see any mention of Access or any other : desktop database in there unless you extrapolate from ADO.Net somehow. : : Charlotte Foust : : -----Original Message----- : From: Gustav Brock [mailto:gustav at cactus.dk] : Sent: Wednesday, August 06, 2003 11:09 PM : To: Access Developers discussion and problem solving : Subject: Re: [AccessD] No Office 2003 ODE (Office Developer Edition)? : : : Hi Marty : : But is this a thought or a decision? : Sounds like those tools are not for free ... : :::: 2 and 3 are free downloads. : : /gustav : : :: Have a look at this to see if makes sense. :: Microsoft Developer Tools Roadmap 2003-2005 :: http://msdn.microsoft.com/vstudio/productinfo/roadmap.aspx#office : :: Gustav Brock wrote: : ::: Sorry for being dense, but I still cannot see if/how Visual Studio ::: fits into the picture of Access development. ::: ::: I'm aware that Visual Studio might bring some (Internet) features to ::: Access development, but what is important is to distinguish between ::: offers/features and needs. And if at all possible I do not want an ::: IIS : ::: to run on my trusted development machine; if it _is_ needed I wish ::: it to run on a server. ::: ::: By the way, what is "Office 2003 Windows Update CD"? ::: ::: /gustav ::: ::: :::: This hasn't been set in stone yet by Microsoft. Maybe they are :::: waiting :::: for a marketing decision. ::: :::: 1. Is VS Net 2003 :::: 2 and 3 are free downloads. :::: ::: :::: Who knows they may switch to an MSI install, which would require 2 :::: CD's :::: much like SageKeys :::: Office XP MSI wizard. :::: ::: :::: The Microsoft Installer may require two CD's to be shipped, the :::: Access :::: 2003 Application CD created by the Packaging Wizard and the Office :::: 2003 Windows Update CD. When the user inserts the Application CD, :::: they are : :::: prompted to load the Update CD first which loads the required :::: preconditioning components onto the target PC. :::: ::: :::: By the way IIS must be installed prior to loading VS Net, if you :::: plan :::: to use any of its features. :::: You can still use things like Net WinForms without IIS but not Web :::: Forms. If you install IIS after VS Net you can only use internal :::: Web Forms . To fix you have to do a clear and :::: reinstall in correct order, usually takes a couple of hours. :::: ::::: I'm slightly confused ... ::::: ::::: Does this mean you'll have to buy all this - in addition to Office ::::: 2003 Pro, of course - just to create an Access 2003 runtime: ::::: ::::: 1. Visual Studio ::::: 2. Visual Studio Tools for the Microsoft Office System ::::: 3. Access 2003 Developer Extensions ::::: ::::: as well as to soil your dearly beloved workstation with IIS? ::::: ::::: And which version of Visual Studio? I don't have it as I've never ::::: had a need for it. ::::: ::::: /gustav ::::: :::::: Looks like below doesn't contain the Access deployment features :::::: Access 2003 Developer Extensions Overview :::::: :::::: http://www.microsoft.com/office/preview/editions/accessdav.asp :::::: :::::: from recent posting newsgroup :::::: microsoft.public.vsnet.vstools.office ::::: :::::: Subject: Re: Access 2003 Developer Extensions :::::: From: "Peter Torr \(MS\)" Sent: 7/16/2003 :::::: 10:19:41 AM :::::: "Urs Stettler" wrote in message :::::: news:090401c34b7f$926f8de0$a401280a at phx.gbl... :::::: ::::::: According to the product description of the VS tools for Office, ::::::: Access 2003 Developer Extensions are supposed to be part of it. ::::::: ::::::: Well, I purchased the Office 03 beta, purchased VS 03 just to be ::::::: able to use Access depoloyment features. Having installed the VS ::::::: tools, I can't find any packaging wizard or any link in Access ::::::: 03 to start the packaging process. Am I missing something? ::::::: :::::: The Access Developer Extensions will be in the final retail :::::: product, which has not shipped yet. The beta release of Visual :::::: Studio Tools for Office just contains the Word and Excel managed :::::: code projects. : : _______________________________________________ : AccessD mailing list : AccessD at databaseadvisors.com : http://databaseadvisors.com/mailman/listinfo/accessd : Website: http://www.databaseadvisors.com : _______________________________________________ : AccessD mailing list : AccessD at databaseadvisors.com : http://databaseadvisors.com/mailman/listinfo/accessd : Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From delliker at hotmail.com Thu Aug 7 13:30:45 2003 From: delliker at hotmail.com (Don Elliker) Date: Thu, 07 Aug 2003 14:30:45 -0400 Subject: [AccessD] Who is linked to my back end? Message-ID: It would probably be managed better in the other direction. Either secure the application/BE files or folders in which they are kept. Then you (or the Big Chief) need not wonder (too much) who's accessing tables - that really is a Big Chief question....boy they can sure ask 'em - "Hey, I want to know everybody who has EVER parked around my parking space- I got a ding in my Beemer!!" _d "Things are only free to the extent that you don't pay for them".-Don Elliker >From: Lonnie Johnson >Reply-To: Access Developers discussion and problem >solving >To: Access Developers discussion and problem >solving >Subject: RE: [AccessD] Who is linked to my back end? >Date: Thu, 7 Aug 2003 11:22:21 -0700 (PDT) > >You raise some great issues here John. I thank you again for your thoughts. > >However, I was reaching a bit in a different. I was wanting to know of >ANYONE and EVERYONE that had a link to a particular table in my back end no >matter if they were using it or not. > >I have an officer of the company wanting to know who could be linked to a >particular table. It would have likely been via the linked table >manager/wizard. > >Thanks again. > >John Colby wrote: >AFAIK, JET and only JET "knows" the internals of the Access db. It creates >the lock db and it handles requests for data from an MDB from requesters >such as DAO and ADO. > >It does indeed give one pause. This is a sore point with the use of an MDB. >OTOH, can you "ask" SQL Server who is accessing a given table at the >moment? >I don't have the answer to that. Now that someone has asked, it seems a >logical thing to do, or at the very least ask who has accessed a given >table >(historical). The problem is that there are so many paths in to data. A >document in word could do a mail merge. That document could be opened from >a VB front end remotely. "who" is asking for the data? The document? The >user of the machine that used automation to open the document? And if the >request comes from the web... how in the world do you determine who asked >for the data. At best you would get an application as the requester. > >John W. Colby >www.colbyconsulting.com > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Don Elliker >Sent: Thursday, August 07, 2003 1:34 PM >To: accessd at databaseadvisors.com >Subject: RE: [AccessD] Who is linked to my back end? > > >Not for nothing, but, SOMEthing is writing that LDB and seems to know a bit >about the access to the Db. I wonder if any fields in the system tables are >storing access information? I must say, I have never really looked to see >how the LDB file gets created, etc. -but it gives one pause,no? >_d > > >"Things are only free to the extent that you don't pay for them".-Don >Elliker > > > > > > >From: Lonnie Johnson > > >Reply-To: Access Developers discussion and problem > >solving > >To: Access Developers discussion and problem > >solving > >Subject: RE: [AccessD] Who is linked to my back end? > >Date: Thu, 7 Aug 2003 10:25:16 -0700 (PDT) > > > >Thank you John. We don't always get the answer we want, but at least we > >know what direction to go from there. I appreciate you taking the time to > >respond. > > > > > > > >John Colby wrote: > >Boy, now there is a million dollar question. My best guess would be no. > >If you think about it, accesses to the table may not even be done via > >"links" which implies an Access FE. The access to the tables may come >from > >VB, a web page etc. All of these could use DAO or ADO. > > > >I think the best that you can do is look at the LDB (lock file) and see >who > >is CURRENTLY using the db. This method is far from reliable however since > >there are cases where "user data" is not cleaned out of this file when >the > >user shuts down abnormally etc. > > > >John W. Colby > >www.colbyconsulting.com > >-----Original Message----- > >From: accessd-bounces at databaseadvisors.com > >[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Lonnie Johnson > >Sent: Thursday, August 07, 2003 12:49 PM > >To: Access Developers discussion and problem solving > >Subject: [AccessD] Who is linked to my back end? > > > > > >In a case of a "back end" holding data and various "front end >interfaces", > >is there a way to determine who or what is linked to the back end? Any > >script I can run on the back end to determine what is linked to it and >what > >tables is that other database looking at? > > > > > > > >Lonnie Johnson > >ProDev, Professional Development of MS Access Databases > >Visit me at ==> http://www.prodev.us > > > > > > > > > > > > > > > > > > > >--------------------------------- > >Do you Yahoo!? > >Yahoo! SiteBuilder - Free, easy-to-use web site design > >software_______________________________________________ > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > > > > > > > > > >Lonnie Johnson > >ProDev, Professional Development of MS Access Databases > >Visit me at ==> http://www.prodev.us > > > > > > > > > > > > > > > > > > > >--------------------------------- > >Do you Yahoo!? > >Yahoo! SiteBuilder - Free, easy-to-use web site design software > >_______________________________________________ > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > >_________________________________________________________________ >STOP MORE SPAM with the new MSN 8 and get 2 months FREE* >http://join.msn.com/?page=features/junkmail > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > >Lonnie Johnson >ProDev, Professional Development of MS Access Databases >Visit me at ==> http://www.prodev.us > > > > > > > > > >--------------------------------- >Do you Yahoo!? >Yahoo! SiteBuilder - Free, easy-to-use web site design software >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ STOP MORE SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail From cfoust at infostatsystems.com Thu Aug 7 13:34:25 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 7 Aug 2003 11:34:25 -0700 Subject: [AccessD] No Office 2003 ODE (Office Developer Edition)? Message-ID: I think the idea is that you develop it in VS.Net and then deploy it in *either* Word or Excel. Charlotte Foust -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: Thursday, August 07, 2003 9:53 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] No Office 2003 ODE (Office Developer Edition)? Hi Jim > Ken Getz did a demo of the Excel/Word tools last week at VSLive. These > are really neat tools that let you develop a Word or Excel application > from within Visual Studio. But why should one do that? I'm still confused on a higher level. No wonder MS asks in surveys to their dealers if we understand .net strategy and if we promote it to our clients. And boy if the asked the same about Access and Access development? What answer could I possibly give? /gustav _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From John.Clark at niagaracounty.com Thu Aug 7 13:41:42 2003 From: John.Clark at niagaracounty.com (John Clark) Date: Thu, 07 Aug 2003 14:41:42 -0400 Subject: [AccessD] Setting focus to a field on a subform Message-ID: On a subform, I have four 'funding source' fields. Before the user leaves this subform, I want to ensure that they have chosen at least one of these. If none of these are chosen, then I want to present a message box and bounce back to the subform...preferably to the first of the fund sources. I put the following code into the 'On Exit' event of the subform control: If (chkCSE = False) And (chkCSI = False) And (chk3B = False) And (chk3E = False) Then X = MsgBox("You have no funding source selected.", vbOKOnly, "Funding Source Error") Me!sfrmSubConts.SetFocus 'Me!sfrmSubConts.Form!chkCSE.SetFocus End If As you may notice, I have commented out the last line...it didn't work on its own, and I also tried it along w/the previous line. Also, I haven't used message boxes too much, but I didn't think I needed the 'X =' that I apparently needed to include. Thanks John W Clark From martyconnelly at shaw.ca Thu Aug 7 13:45:15 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Thu, 07 Aug 2003 11:45:15 -0700 Subject: [AccessD] No Office 2003 ODE (Office Developer Edition)? References: <200307201721.SAA22981@hosea.qub.ac.uk> <7938568478.20030720192939@cactus.dk> <3F1AD9FC.5060702@shaw.ca> <3F1B645E.7070902@shaw.ca> <1141810283.20030805083927@cactus.dk> <3F2FE7DE.4050501@shaw.ca> <13145554523.20030805204831@cactus.dk> <3F317655.8010403@shaw.ca> <493234150.20030807090833@cactus.dk> Message-ID: <3F329E3B.5020507@shaw.ca> I would probably standby for further announcements. Supposedly Access 2003 Developer Extensions will be part of the new Visual Studio Tools for the Microsoft Office System Here is download for Visual Studio Tools for Office Beta http://www.microsoft.com/downloads/details.aspx?FamilyID=9e0b1b7c-4ab5-40d2-b4d9-5817ab0bc1e5&DisplayLang=en This works for Word and Excel only right now, Access not included Requires Win XP Pro or Win2000 with IIS, MSDE,VSNet 2003,MSDN Library(for help files and Help 2.0),Office 2003 Beta 2 plus others Note caveats on installation order This is so you can use VS.NET with Excel say you have a .Net WinForm and you want to put excel cells in a Winform ListBox Private Sub Button1_Click(ByVal sender As System.Object, _ ByVal e As System.EventArgs) Handles Button1.Click Dim xlApp As New Microsoft.Office.Interop.Excel.Application() Dim objWorkbook As Microsoft.Office.Interop.Excel.Workbook Dim objWorksheet As Microsoft.Office.Interop.Excel.Worksheet Dim objRange As Microsoft.Office.Interop.Excel.Range Dim intRow As Integer Dim intCell As Integer Dim strRow As String ' Change the path to SOLVSAMP.XLS to match the path on your computer. objWorkbook = xlApp.Workbooks.Open _ ("C:\Program Files\Microsoft Office\Office10\Samples\SOLVSAMP.XLS") objWorksheet = objWorkbook.Worksheets.Item("Quick Tour") objRange = objWorksheet.Range("A2", "F16") For intRow = 1 To 15 For intCell = 1 To 6 strRow = strRow & objRange.Cells(intRow, intCell).value & vbTab Next intCell Me.ListBox1.Items.Add(strRow) strRow = "" Next intRow End Sub Gustav Brock wrote: >Hi Marty > >But is this a thought or a decision? >Sounds like those tools are not for free ... > > > >>>> 2 and 3 are free downloads. >>>> >>>> > >/gustav > > > > >>Have a look at this to see if makes sense. >>Microsoft Developer Tools Roadmap 2003-2005 >>http://msdn.microsoft.com/vstudio/productinfo/roadmap.aspx#office >> >> > > > >>Gustav Brock wrote: >> >> > > > >>>Sorry for being dense, but I still cannot see if/how Visual Studio >>>fits into the picture of Access development. >>> >>>I'm aware that Visual Studio might bring some (Internet) features to >>>Access development, but what is important is to distinguish between >>>offers/features and needs. And if at all possible I do not want an IIS >>>to run on my trusted development machine; if it _is_ needed I wish it >>>to run on a server. >>> >>>By the way, what is "Office 2003 Windows Update CD"? >>> >>>/gustav >>> >>> >>> >>> >>>>This hasn't been set in stone yet by Microsoft. Maybe they are waiting >>>>for a marketing decision. >>>> >>>> >>>>1. Is VS Net 2003 >>>> 2 and 3 are free downloads. >>>> >>>> >>>> >>>>Who knows they may switch to an MSI install, which would require 2 CD's >>>>much like SageKeys >>>>Office XP MSI wizard. >>>> >>>> >>>> >>>>The Microsoft Installer may require two CD's to be shipped, the Access >>>>2003 Application CD created by the Packaging Wizard and the Office 2003 >>>>Windows Update CD. When the user inserts the Application CD, they are >>>>prompted to load the Update CD first which loads the required >>>>preconditioning components onto the target PC. >>>> >>>> >>>> >>>>By the way IIS must be installed prior to loading VS Net, if you plan >>>>to use any of its features. >>>>You can still use things like Net WinForms without IIS but not Web >>>>Forms. If you install IIS after VS Net you can only use internal Web >>>>Forms . To fix you have to do a clear and reinstall in >>>>correct order, usually takes a couple of hours. >>>> >>>> >>>> >>>>>I'm slightly confused ... >>>>> >>>>>Does this mean you'll have to buy all this - in addition to Office >>>>>2003 Pro, of course - just to create an Access 2003 runtime: >>>>> >>>>>1. Visual Studio >>>>>2. Visual Studio Tools for the Microsoft Office System >>>>>3. Access 2003 Developer Extensions >>>>> >>>>>as well as to soil your dearly beloved workstation with IIS? >>>>> >>>>>And which version of Visual Studio? I don't have it as I've never had >>>>>a need for it. >>>>> >>>>>/gustav >>>>> >>>>> >>>>> >>>>>>Looks like below doesn't contain the Access deployment features >>>>>>Access 2003 Developer Extensions Overview >>>>>> >>>>>>http://www.microsoft.com/office/preview/editions/accessdav.asp >>>>>> >>>>>> >>>>>> >>>>>>from recent posting newsgroup microsoft.public.vsnet.vstools.office >>>>> >>>>> >>>>> >>>>>>Subject: Re: Access 2003 Developer Extensions >>>>>>From: "Peter Torr \(MS\)" Sent: 7/16/2003 >>>>>>10:19:41 AM >>>>>>"Urs Stettler" wrote in message >>>>>>news:090401c34b7f$926f8de0$a401280a at phx.gbl... >>>>>> >>>>>> >>>>>> >>>>>>>According to the product description of the VS tools for >>>>>>>Office, Access 2003 Developer Extensions are supposed to >>>>>>>be part of it. >>>>>>> >>>>>>>Well, I purchased the Office 03 beta, purchased VS 03 just >>>>>>>to be able to use Access depoloyment features. Having >>>>>>>installed the VS tools, I can't find any packaging wizard >>>>>>>or any link in Access 03 to start the packaging process. >>>>>>>Am I missing something? >>>>>>> >>>>>>> >>>>>>> >>>>>>The Access Developer Extensions will be in the final retail product, which >>>>>>has not shipped yet. The beta release of Visual Studio Tools for Office >>>>>>just contains the Word and Excel managed code projects. >>>>>> >>>>>> > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > From jdolby at GATELY.COM Thu Aug 7 13:38:24 2003 From: jdolby at GATELY.COM (Jack Dolby) Date: Thu, 7 Aug 2003 14:38:24 -0400 Subject: [AccessD] No Office 2003 ODE (Office Developer Edition)? Message-ID: <84C3AB1A3A24D311BC9100500410A17E94E1FA@GATELY01> What is being developed is not a vba-equivalent program in dotnet... it is an automation application. Thus you are creating a dotnet app (usually in vb.net since there are some c# issues with the 2003 tools under c#) that will create or act upon word or excel files. As far as I know, MS has not even started rumors on when dotnet would migrate into the world currently occupied by vba. The dotnet office tools are, as stated earlier, only for word and excel 2003. Hth, jack --- I've wrestled with reality for 35 years, doctor, and I'm happy to state I finally won out over it. Elwood P. Dowd -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Thursday, August 07, 2003 2:34 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] No Office 2003 ODE (Office Developer Edition)? I think the idea is that you develop it in VS.Net and then deploy it in *either* Word or Excel. Charlotte Foust -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: Thursday, August 07, 2003 9:53 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] No Office 2003 ODE (Office Developer Edition)? Hi Jim > Ken Getz did a demo of the Excel/Word tools last week at VSLive. These > are really neat tools that let you develop a Word or Excel application > from within Visual Studio. But why should one do that? I'm still confused on a higher level. No wonder MS asks in surveys to their dealers if we understand .net strategy and if we promote it to our clients. And boy if the asked the same about Access and Access development? What answer could I possibly give? /gustav _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From cfoust at infostatsystems.com Thu Aug 7 13:47:16 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 7 Aug 2003 11:47:16 -0700 Subject: [AccessD] Setting focus to a field on a subform Message-ID: You're using the MsgBox function syntax, but if you do it like this, you don't need a return value: MsgBox "You have no funding source selected.", vbOKOnly, "Funding Source Error" Charlotte Foust -----Original Message----- From: John Clark [mailto:John.Clark at niagaracounty.com] Sent: Thursday, August 07, 2003 10:42 AM To: accessd at databaseadvisors.com Subject: [AccessD] Setting focus to a field on a subform On a subform, I have four 'funding source' fields. Before the user leaves this subform, I want to ensure that they have chosen at least one of these. If none of these are chosen, then I want to present a message box and bounce back to the subform...preferably to the first of the fund sources. I put the following code into the 'On Exit' event of the subform control: If (chkCSE = False) And (chkCSI = False) And (chk3B = False) And (chk3E = False) Then X = MsgBox("You have no funding source selected.", vbOKOnly, "Funding Source Error") Me!sfrmSubConts.SetFocus 'Me!sfrmSubConts.Form!chkCSE.SetFocus End If As you may notice, I have commented out the last line...it didn't work on its own, and I also tried it along w/the previous line. Also, I haven't used message boxes too much, but I didn't think I needed the 'X =' that I apparently needed to include. Thanks John W Clark _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Thu Aug 7 13:48:44 2003 From: gustav at cactus.dk (Gustav Brock) Date: Thu, 7 Aug 2003 20:48:44 +0200 Subject: [AccessD] *** Invitation to 3rd AccessD Conference *** In-Reply-To: <14036972583.20030617175923@cactus.dk> References: <52339DF8DCA2A544AF660C8217EB7DCD0227F1B7@MAILGATE.bury.gov.uk> <181301c334ca$2c679590$0300a8c0@S856> <14036972583.20030617175923@cactus.dk> Message-ID: <6645245459.20030807204844@cactus.dk> Hi all Hey! Signing off for a week. - leaving for M?nchen, Lembit's magnum grill, beer, and a week of true vacation travelling at leisure speed through Germany, Switzerland, Italy and Austria. /gustav >> The 3rd AccessD Conference will be held >> August-08 through August-10 2003 >> in Freising / Germany (near Munich) From Lambert.Heenan at AIG.com Thu Aug 7 13:58:36 2003 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Thu, 7 Aug 2003 14:58:36 -0400 Subject: [AccessD] Public Variables in a Report Message-ID: <8B98F8EA48F8BA47A2F24E0D0AF40CF407AD7575@xlivmbx12.aig.com> Yes. These two statements have identical effects... foo = Forms("SomeForm").SomeField foo = Forms!SomeForm!SomeField but the first version is slightly faster in execution as the form name, as a string, is the index into the Forms collection. Lambert > -----Original Message----- > From: Julie Reardon-Taylor [SMTP:prosoft6 at hotmail.com] > Sent: Thursday, August 07, 2003 2:02 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Public Variables in a Report > > Lambert, > > > Thanks for your reply. Isn't that the same as referencing the open record > > from the form? For example: Me.Hours111 = Forms!frmPayroll!F_shift1 + > Forms!frmPayroll!f_shift2 + Forms!frmPayroll!f_shift3 > > I need to be able to loop through the recordset created by the query and > then print the report. > > > > Julie Reardon-Taylor > PRO-SOFT OF NY, INC. > www.pro-soft.net > > _________________________________________________________________ > STOP MORE SPAM with the new MSN 8 and get 2 months FREE* > http://join.msn.com/?page=features/junkmail > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From donald.a.Mcgillivray at mail.sprint.com Thu Aug 7 14:01:12 2003 From: donald.a.Mcgillivray at mail.sprint.com (Mcgillivray, Donald [ITS]) Date: Thu, 7 Aug 2003 14:01:12 -0500 Subject: [AccessD] Setting focus to a field on a subform Message-ID: <6FC1C7A6E7BD5540AB0A8436713C43BF03661E07@PKDWB01C.ad.sprint.com> John, How about using the BeforeUpdate event of the subform itself instead of the OnExit of the subform control on the main form? Then you can cancel the update and reposition the cursor as you wish. Also, you may eliminate the 'X=' before your Msgbox if you eliminate the parentheses surrounding the Msgbox arguments. HTH Don McGillivray -----Original Message----- From: John Clark [mailto:John.Clark at niagaracounty.com] Sent: Thursday, August 07, 2003 11:42 AM To: accessd at databaseadvisors.com Subject: [AccessD] Setting focus to a field on a subform On a subform, I have four 'funding source' fields. Before the user leaves this subform, I want to ensure that they have chosen at least one of these. If none of these are chosen, then I want to present a message box and bounce back to the subform...preferably to the first of the fund sources. I put the following code into the 'On Exit' event of the subform control: If (chkCSE = False) And (chkCSI = False) And (chk3B = False) And (chk3E = False) Then X = MsgBox("You have no funding source selected.", vbOKOnly, "Funding Source Error") Me!sfrmSubConts.SetFocus 'Me!sfrmSubConts.Form!chkCSE.SetFocus End If As you may notice, I have commented out the last line...it didn't work on its own, and I also tried it along w/the previous line. Also, I haven't used message boxes too much, but I didn't think I needed the 'X =' that I apparently needed to include. Thanks John W Clark _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From CWortz at tea.state.tx.us Thu Aug 7 14:01:18 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Thu, 7 Aug 2003 14:01:18 -0500 Subject: [AccessD] Who is linked to my back end? Message-ID: Lonnie, If your db is open to everyone there is no sure fire way of determining who has accessed the data. If you move the table to a secured db, then you can control who has access to it and you can log each visit. But Access security can be broken easily so this is not a sure fire method either if you stay with Access. However, if you move the table to a db with industrial-strength security such as SQLServer, then you will be able to say with a much higher level of assurance that you know all that access the data. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Don Elliker [mailto:delliker at hotmail.com] Sent: Thursday 2003 Aug 07 13:31 To: accessd at databaseadvisors.com Subject: RE: [AccessD] Who is linked to my back end? It would probably be managed better in the other direction. Either secure the application/BE files or folders in which they are kept. Then you (or the Big Chief) need not wonder (too much) who's accessing tables - that really is a Big Chief question....boy they can sure ask 'em - "Hey, I want to know everybody who has EVER parked around my parking space- I got a ding in my Beemer!!" _d "Things are only free to the extent that you don't pay for them".-Don Elliker >From: Lonnie Johnson >Reply-To: Access Developers discussion and problem >solving >To: Access Developers discussion and problem >solving >Subject: RE: [AccessD] Who is linked to my back end? >Date: Thu, 7 Aug 2003 11:22:21 -0700 (PDT) > >You raise some great issues here John. I thank you again for your >thoughts. > >However, I was reaching a bit in a different. I was wanting to know of >ANYONE and EVERYONE that had a link to a particular table in my back end no >matter if they were using it or not. > >I have an officer of the company wanting to know who could be linked to >a >particular table. It would have likely been via the linked table >manager/wizard. > >Thanks again. > >John Colby wrote: >AFAIK, JET and only JET "knows" the internals of the Access db. It >creates the lock db and it handles requests for data from an MDB from >requesters such as DAO and ADO. > >It does indeed give one pause. This is a sore point with the use of an >MDB. OTOH, can you "ask" SQL Server who is accessing a given table at >the moment? I don't have the answer to that. Now that someone has >asked, it seems a logical thing to do, or at the very least ask who has >accessed a given table >(historical). The problem is that there are so many paths in to data. A >document in word could do a mail merge. That document could be opened from >a VB front end remotely. "who" is asking for the data? The document? The >user of the machine that used automation to open the document? And if the >request comes from the web... how in the world do you determine who asked >for the data. At best you would get an application as the requester. > >John W. Colby >www.colbyconsulting.com > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Don Elliker >Sent: Thursday, August 07, 2003 1:34 PM >To: accessd at databaseadvisors.com >Subject: RE: [AccessD] Who is linked to my back end? > > >Not for nothing, but, SOMEthing is writing that LDB and seems to know a >bit about the access to the Db. I wonder if any fields in the system >tables are storing access information? I must say, I have never really >looked to see how the LDB file gets created, etc. -but it gives one >pause,no? _d > > >"Things are only free to the extent that you don't pay for them".-Don >Elliker > > >From: Lonnie Johnson > > >Reply-To: Access Developers discussion and problem > >solving > >To: Access Developers discussion and problem > >solving > >Subject: RE: [AccessD] Who is linked to my back end? > >Date: Thu, 7 Aug 2003 10:25:16 -0700 (PDT) > > > >Thank you John. We don't always get the answer we want, but at least > >we know what direction to go from there. I appreciate you taking the > >time to respond. > > > > > > > >John Colby wrote: > >Boy, now there is a million dollar question. My best guess would be > >no. If you think about it, accesses to the table may not even be done > >via "links" which implies an Access FE. The access to the tables may > >come >from > >VB, a web page etc. All of these could use DAO or ADO. > > > >I think the best that you can do is look at the LDB (lock file) and > >see >who > >is CURRENTLY using the db. This method is far from reliable however > >since there are cases where "user data" is not cleaned out of this > >file when >the > >user shuts down abnormally etc. > > > >John W. Colby > >www.colbyconsulting.com > >-----Original Message----- > >From: accessd-bounces at databaseadvisors.com > >[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Lonnie > >Johnson > >Sent: Thursday, August 07, 2003 12:49 PM > >To: Access Developers discussion and problem solving > >Subject: [AccessD] Who is linked to my back end? > > > > > >In a case of a "back end" holding data and various "front end >interfaces", > >is there a way to determine who or what is linked to the back end? > >Any script I can run on the back end to determine what is linked to > >it and >what > >tables is that other database looking at? > > > > > > > >Lonnie Johnson > >ProDev, Professional Development of MS Access Databases Visit me at > >==> http://www.prodev.us > > From Jdemarco at hshhp.org Thu Aug 7 14:02:42 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Thu, 7 Aug 2003 15:02:42 -0400 Subject: [AccessD] *** Invitation to 3rd AccessD Conference *** Message-ID: <22F1CCD5171D17419CB37FEEE09D5F990173F372@TTNEXCHSRV1.hshhp.com> Have a great time Gustav Jim DeMarco -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: Thursday, August 07, 2003 2:49 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] *** Invitation to 3rd AccessD Conference *** Hi all Hey! Signing off for a week. - leaving for M?nchen, Lembit's magnum grill, beer, and a week of true vacation travelling at leisure speed through Germany, Switzerland, Italy and Austria. /gustav >> The 3rd AccessD Conference will be held >> August-08 through August-10 2003 >> in Freising / Germany (near Munich) _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From John.Clark at niagaracounty.com Thu Aug 7 14:01:37 2003 From: John.Clark at niagaracounty.com (John Clark) Date: Thu, 07 Aug 2003 15:01:37 -0400 Subject: [AccessD] Setting focus to a field on a subform Message-ID: OK, this clears up why I thought I needed that "x =" bit, but why will it not set the focus? I should have been a little more clear in my post...the message box did appear...I just want the focus to set back. >>> cfoust at infostatsystems.com 08/07/03 02:47PM >>> You're using the MsgBox function syntax, but if you do it like this, you don't need a return value: MsgBox "You have no funding source selected.", vbOKOnly, "Funding Source Error" Charlotte Foust -----Original Message----- From: John Clark [mailto:John.Clark at niagaracounty.com] Sent: Thursday, August 07, 2003 10:42 AM To: accessd at databaseadvisors.com Subject: [AccessD] Setting focus to a field on a subform On a subform, I have four 'funding source' fields. Before the user leaves this subform, I want to ensure that they have chosen at least one of these. If none of these are chosen, then I want to present a message box and bounce back to the subform...preferably to the first of the fund sources. I put the following code into the 'On Exit' event of the subform control: If (chkCSE = False) And (chkCSI = False) And (chk3B = False) And (chk3E = False) Then X = MsgBox("You have no funding source selected.", vbOKOnly, "Funding Source Error") Me!sfrmSubConts.SetFocus 'Me!sfrmSubConts.Form!chkCSE.SetFocus End If As you may notice, I have commented out the last line...it didn't work on its own, and I also tried it along w/the previous line. Also, I haven't used message boxes too much, but I didn't think I needed the 'X =' that I apparently needed to include. Thanks 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 prodevmg at yahoo.com Thu Aug 7 14:10:41 2003 From: prodevmg at yahoo.com (Lonnie Johnson) Date: Thu, 7 Aug 2003 12:10:41 -0700 (PDT) Subject: [AccessD] Who is linked to my back end? In-Reply-To: Message-ID: <20030807191041.83774.qmail@web20420.mail.yahoo.com> Hey Don, I shared this with my Supervisor and we had the greatest laugh. You are right on the nail Don Elliker wrote:It would probably be managed better in the other direction. Either secure the application/BE files or folders in which they are kept. Then you (or the Big Chief) need not wonder (too much) who's accessing tables - that really is a Big Chief question....boy they can sure ask 'em - "Hey, I want to know everybody who has EVER parked around my parking space- I got a ding in my Beemer!!" _d "Things are only free to the extent that you don't pay for them".-Don Elliker >From: Lonnie Johnson >Reply-To: Access Developers discussion and problem >solving >To: Access Developers discussion and problem >solving >Subject: RE: [AccessD] Who is linked to my back end? >Date: Thu, 7 Aug 2003 11:22:21 -0700 (PDT) > >You raise some great issues here John. I thank you again for your thoughts. > >However, I was reaching a bit in a different. I was wanting to know of >ANYONE and EVERYONE that had a link to a particular table in my back end no >matter if they were using it or not. > >I have an officer of the company wanting to know who could be linked to a >particular table. It would have likely been via the linked table >manager/wizard. > >Thanks again. > >John Colby wrote: >AFAIK, JET and only JET "knows" the internals of the Access db. It creates >the lock db and it handles requests for data from an MDB from requesters >such as DAO and ADO. > >It does indeed give one pause. This is a sore point with the use of an MDB. >OTOH, can you "ask" SQL Server who is accessing a given table at the >moment? >I don't have the answer to that. Now that someone has asked, it seems a >logical thing to do, or at the very least ask who has accessed a given >table >(historical). The problem is that there are so many paths in to data. A >document in word could do a mail merge. That document could be opened from >a VB front end remotely. "who" is asking for the data? The document? The >user of the machine that used automation to open the document? And if the >request comes from the web... how in the world do you determine who asked >for the data. At best you would get an application as the requester. > >John W. Colby >www.colbyconsulting.com > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Don Elliker >Sent: Thursday, August 07, 2003 1:34 PM >To: accessd at databaseadvisors.com >Subject: RE: [AccessD] Who is linked to my back end? > > >Not for nothing, but, SOMEthing is writing that LDB and seems to know a bit >about the access to the Db. I wonder if any fields in the system tables are >storing access information? I must say, I have never really looked to see >how the LDB file gets created, etc. -but it gives one pause,no? >_d > > >"Things are only free to the extent that you don't pay for them".-Don >Elliker > > > > > > >From: Lonnie Johnson > > >Reply-To: Access Developers discussion and problem > >solving > >To: Access Developers discussion and problem > >solving > >Subject: RE: [AccessD] Who is linked to my back end? > >Date: Thu, 7 Aug 2003 10:25:16 -0700 (PDT) > > > >Thank you John. We don't always get the answer we want, but at least we > >know what direction to go from there. I appreciate you taking the time to > >respond. > > > > > > > >John Colby wrote: > >Boy, now there is a million dollar question. My best guess would be no. > >If you think about it, accesses to the table may not even be done via > >"links" which implies an Access FE. The access to the tables may come >from > >VB, a web page etc. All of these could use DAO or ADO. > > > >I think the best that you can do is look at the LDB (lock file) and see >who > >is CURRENTLY using the db. This method is far from reliable however since > >there are cases where "user data" is not cleaned out of this file when >the > >user shuts down abnormally etc. > > > >John W. Colby > >www.colbyconsulting.com > >-----Original Message----- > >From: accessd-bounces at databaseadvisors.com > >[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Lonnie Johnson > >Sent: Thursday, August 07, 2003 12:49 PM > >To: Access Developers discussion and problem solving > >Subject: [AccessD] Who is linked to my back end? > > > > > >In a case of a "back end" holding data and various "front end >interfaces", > >is there a way to determine who or what is linked to the back end? Any > >script I can run on the back end to determine what is linked to it and >what > >tables is that other database looking at? > > > > > > > >Lonnie Johnson > >ProDev, Professional Development of MS Access Databases > >Visit me at ==> http://www.prodev.us > > > > > > > > > > > > > > > > > > > >--------------------------------- > >Do you Yahoo!? > >Yahoo! SiteBuilder - Free, easy-to-use web site design > >software_______________________________________________ > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > > > > > > > > > >Lonnie Johnson > >ProDev, Professional Development of MS Access Databases > >Visit me at ==> http://www.prodev.us > > > > > > > > > > > > > > > > > > > >--------------------------------- > >Do you Yahoo!? > >Yahoo! SiteBuilder - Free, easy-to-use web site design software > >_______________________________________________ > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > >_________________________________________________________________ >STOP MORE SPAM with the new MSN 8 and get 2 months FREE* >http://join.msn.com/?page=features/junkmail > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > >Lonnie Johnson >ProDev, Professional Development of MS Access Databases >Visit me at ==> http://www.prodev.us > > > > > > > > > >--------------------------------- >Do you Yahoo!? >Yahoo! SiteBuilder - Free, easy-to-use web site design software >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ STOP MORE SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software -------------- next part -------------- An HTML attachment was scrubbed... URL: From John.Clark at niagaracounty.com Thu Aug 7 14:55:31 2003 From: John.Clark at niagaracounty.com (John Clark) Date: Thu, 07 Aug 2003 15:55:31 -0400 Subject: [AccessD] Setting focus to a field on a subform Message-ID: I have altered my code to the following: If Not ((Me!sfrmSubConts.Form!chkCSE) Or (Me!sfrmSubConts.Form!chkCSI) Or (Me!sfrmSubConts.Form!chk3B) Or (Me!sfrmSubConts.Form!chk3E)) Then MsgBox "You have no funding source selected.", vbOKOnly, "Funding Source Error" Me!sfrmSubConts.SetFocus 'Me!sfrmSubConts.Form!chkCSE.SetFocus End If The MsgBox line changed due to the help of the list, and I noticed my validation code (i.e. the IF statement) didn't work as good as I had thought...actually it worked too good, becasue it worked even when it shouldn't have. It pops up the MsgBox at the correct times, but it still does not set the focus...it goes to the next control on the parent form. From harkins at iglou.com Thu Aug 7 15:01:50 2003 From: harkins at iglou.com (Susan Harkins) Date: Thu, 7 Aug 2003 16:01:50 -0400 Subject: [AccessD] No Office 2003 ODE (Office Developer Edition)? References: <84C3AB1A3A24D311BC9100500410A17E94E1FA@GATELY01> Message-ID: <00df01c35d1e$bf6efd70$e0e6ffcc@SusanOne> RE: [AccessD] No Office 2003 ODE (Office Developer Edition)?a.. One of the most frequently asked questions is will Office 2003 support .NET. Yes and no is the answer. Use Visual Studio Tools for Office to automate documents and workbooks using Visual Basic .NET (or Visual C# .NET) that's written in the in the next version of Visual Studio-Visual Studio .NET 2003. This is good news for the Office developers that are using .NET elsewhere as they won't have to wait for .NET to actually be incorporated in Office in the proper sense. While it isn't a full Office .NET package, it's more than XP offers, which supports limited .NET customization that can't associate .NET routines with a specific Office file. Those of you already in the process of moving to .NET can get a jump on Word and Excel applications. I don't think that really answers anyone's questions, but... Susan H. ----- Original Message ----- From: Jack Dolby To: 'Access Developers discussion and problem solving' Sent: Thursday, August 07, 2003 2:38 PM Subject: RE: [AccessD] No Office 2003 ODE (Office Developer Edition)? What is being developed is not a vba-equivalent program in dotnet... it is an automation application. Thus you are creating a dotnet app (usually in vb.net since there are some c# issues with the 2003 tools under c#) that will create or act upon word or excel files. As far as I know, MS has not even started rumors on when dotnet would migrate into the world currently occupied by vba. The dotnet office tools are, as stated earlier, only for word and excel 2003. Hth, jack --- I've wrestled with reality for 35 years, doctor, and I'm happy to state I finally won out over it. Elwood P. Dowd -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Thursday, August 07, 2003 2:34 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] No Office 2003 ODE (Office Developer Edition)? I think the idea is that you develop it in VS.Net and then deploy it in *either* Word or Excel. Charlotte Foust -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: Thursday, August 07, 2003 9:53 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] No Office 2003 ODE (Office Developer Edition)? Hi Jim > Ken Getz did a demo of the Excel/Word tools last week at VSLive. These > are really neat tools that let you develop a Word or Excel application > from within Visual Studio. But why should one do that? I'm still confused on a higher level. No wonder MS asks in surveys to their dealers if we understand .net strategy and if we promote it to our clients. And boy if the asked the same about Access and Access development? What answer could I possibly give? /gustav _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From CWortz at tea.state.tx.us Thu Aug 7 15:06:06 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Thu, 7 Aug 2003 15:06:06 -0500 Subject: [AccessD] Setting focus to a field on a subform Message-ID: John, I haven't been following this thread so I may not be reading you correctly. You are in the subform and trying to pop up the message box and then set the focus to the default location on the subform? Why are you not specifying a control on the subform that you want to get focus? For debugging purposes I would add an Else clause with its own MsgBox to make sure it is doing what you want it to do. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: John Clark [mailto:John.Clark at niagaracounty.com] Sent: Thursday 2003 Aug 07 14:56 To: accessd at databaseadvisors.com Subject: RE: [AccessD] Setting focus to a field on a subform I have altered my code to the following: If Not ((Me!sfrmSubConts.Form!chkCSE) Or (Me!sfrmSubConts.Form!chkCSI) Or (Me!sfrmSubConts.Form!chk3B) Or (Me!sfrmSubConts.Form!chk3E)) Then MsgBox "You have no funding source selected.", vbOKOnly, "Funding Source Error" Me!sfrmSubConts.SetFocus 'Me!sfrmSubConts.Form!chkCSE.SetFocus End If The MsgBox line changed due to the help of the list, and I noticed my validation code (i.e. the IF statement) didn't work as good as I had thought...actually it worked too good, becasue it worked even when it shouldn't have. It pops up the MsgBox at the correct times, but it still does not set the focus...it goes to the next control on the parent form. From tortise at paradise.net.nz Thu Aug 7 15:44:10 2003 From: tortise at paradise.net.nz (Tortise@Paradise) Date: Fri, 8 Aug 2003 08:44:10 +1200 Subject: [AccessD] Who is linked to my back end? References: <20030807191041.83774.qmail@web20420.mail.yahoo.com> Message-ID: <00c901c35d24$a77e6470$3e8bfea9@P1200n> Presumably if everyone is accessing the BE thru fixed front ends, then all the front ends can be designed to log all accesses, as they go? (Appending details to log tables in the BE?) Presumably most accesses are thru the front ends??? Yes this isn't watertight, but its a damned good start. Kind regards, David Hingston _________________________________________________________________________ Engines2Go - Now THAT's a Search Engine! Automated major search engine manager Makes searching quicker and easier - Have you tried it? http://www.engines2go.com/ http://www.cheqsoft.com/ The home of Clipboard Express, MP3 Detective, TimesOwn and Break Reminder. ----- Original Message ----- From: Lonnie Johnson To: Access Developers discussion and problem solving Sent: Friday, August 08, 2003 7:10 AM Subject: RE: [AccessD] Who is linked to my back end? Hey Don, I shared this with my Supervisor and we had the greatest laugh. You are right on the nail Don Elliker wrote: It would probably be managed better in the other direction. Either secure the application/BE files or folders in which they are kept. Then you (or the Big Chief) need not wonder (too much) who's accessing tables - that really is a Big Chief question....boy they can sure ask 'em - "Hey, I want to know everybody who has EVER parked around my parking space- I got a ding in my Beemer!!" _d "Things are only free to the extent that you don't pay for them".-Don Elliker >From: Lonnie Johnson >Reply-To: Access Developers discussion and problem >solving >To: Access Developers discussion and problem >solving >Subject: RE: [AccessD] Who is linked to my back end? >Date: Thu, 7 Aug 2003 11:22:21 -0700 (PDT) > >You raise some great issues here John. I thank you again for your thoughts. > >However, I was reaching a bit in a different. I was wanting to know of >ANYONE and EVERYONE that had a link to a particular table in my back end no >matter if they were using it or not. > >I have an officer of the company wanting to know who could be linked to a >particular table. It would have likely been via the linked table >manager/wizard. > >Thanks again. > >John Colby wrote: >AFAIK, JET and only JET "knows" the internals of the Access db. It creates >the lock db and it handles requests for data from an MDB from requesters >such as DAO and ADO. > >It does indeed give one pause. This is a sore point with the use of an MDB. >OTOH, can you "ask" SQL Server who is accessing a given table at the >moment? >I don't have the ans! wer to that. Now that someone has asked, it seems a >logical thing to do, or at the very least ask who has accessed a given >table >(historical). The problem is that there are so many paths in to data. A >document in word could do a mail merge. That document could be opened from >a VB front end remotely. "who" is asking for the data? The document? The >user of the machine that used automation to open the document? And if the >request comes from the web... how in the world do you determine who asked >for the data. At best you would get an application as the requester. > >John W. Colby >www.colbyconsulting.com > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Don Elliker >Sent: Thursday, August 07, 2003 1:34 PM >To: accessd at databaseadvisors.com >Subject: RE: [AccessD] Who is linked to my back end? > > >Not for nothing, but, SOMEthing is writing that LDB and seems to know a bit >about the access to the Db. I wonder if any fields in the system tables are >storing access information? I must say, I have never really looked to see >how the LDB file gets created, etc. -but it gives one pause,no? >_d > > >"Things are only free to the extent that you don't pay for them".-Don >Elliker > > > > > > >From: Lonnie Johnson > > >Reply-To: Access Developers discussion and problem > >solving > >To: Access Developers discussion and problem > >solving > >Subject: RE: [AccessD] Who is linked to my back end? > >Date: Thu, 7 Aug 2003 10:25:16 -0700 (PDT) > > > >Thank you John. We don't always get the answer we want, but at least we > >know what direction to go from there. I appreciate you taking! the time to > >respond. > > > > > > > >John Colby wrote: > >Boy, now there is a million dollar question. My best guess would be no. > >If you think about it, accesses to the table may not even be done via > >"links" which implies an Access FE. The access to the tables may come >from > >VB, a web page etc. All of these could use DAO or ADO. > > > >I think the best that you can do is look at the LDB (lock file) and see >who > >is CURRENTLY using the db. This method is far from reliable however since > >there are cases where "user data" is not cleaned out of this file when >the > >user shuts down abnormally etc. > > > >John W. Colby > >www.colbyconsulting.com > >-----Original Message----- > >From: accessd-bounces at databaseadvisors.com > >[mailto:accessd-bounces at databaseadvisors.com]On Beha! lf Of Lonnie Johnson > >Sent: Thursday, August 07, 2003 12:49 PM > >To: Access Developers discussion and problem solving > >Subject: [AccessD] Who is linked to my back end? > > > > > >In a case of a "back end" holding data and various "front end >interfaces", > >is there a way to determine who or what is linked to the back end? Any > >script I can run on the back end to determine what is linked to it and >what > >tables is that other database looking at? > > > > > > > >Lonnie Johnson > >ProDev, Professional Development of MS Access Databases > >Visit me at ==> http://www.prodev.us > > > > > > > > > > > > > > > > > > > >--------------------------------- > >Do you Yahoo!? > >Yahoo! SiteBuilder - Free, easy-to-use web site design > >software_______________________________________________ > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > > > > > > > > > >Lonnie Johnson > >ProDev, Professional Development of MS Access Databases > >Visit me at ==> http://www.prodev.us > > > > > > > > > > > > > > > > > > > >--------------------------------- > >Do you Yahoo!? > >Yahoo! SiteBuilder - Free, easy-to-use web site design software > >_______________________________________________ > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > >_________________________________________________________________ >STOP MORE SPAM with the new MSN 8 and get 2 months FREE* >http://join.msn.com/?page=features/junkmail > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > >Lonnie Johnson >ProDev, Professional Development of MS Access Databases >Visit me at ==> http://www.prodev.us > > > > > > > > > >--------------------------------- &g! t;Do you Yahoo!? >Yahoo! SiteBuilder - Free, easy-to-use web site design software >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ STOP MORE SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us ------------------------------------------------------------------------------ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From jcolby at colbyconsulting.com Thu Aug 7 15:57:33 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Thu, 7 Aug 2003 16:57:33 -0400 Subject: [AccessD] Who is linked to my back end? In-Reply-To: Message-ID: MessageAnd even the user roster doesn't address specifics like what that user is doing in the db, only that they are in the db. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Thursday, August 07, 2003 2:28 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Who is linked to my back end? You can determine open connections using ADO to retrieve the User Roster, but there's no way I know of to find discover front ends that aren't open. For that matter, the roster only tells you the user login and workstation holding the connection open, not the database. You would have to start the other way and look at each front end to see what connections it held, I'm afraid. Charlotte Foust -----Original Message----- From: Lonnie Johnson [mailto:prodevmg at yahoo.com] Sent: Thursday, August 07, 2003 8:49 AM To: Access Developers discussion and problem solving Subject: [AccessD] Who is linked to my back end? In a case of a "back end" holding data and various "front end interfaces", is there a way to determine who or what is linked to the back end? Any script I can run on the back end to determine what is linked to it and what tables is that other database looking at? Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us ---------------------------------------------------------------------------- Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software -------------- next part -------------- An HTML attachment was scrubbed... URL: From andrew.haslett at ilc.gov.au Thu Aug 7 16:24:22 2003 From: andrew.haslett at ilc.gov.au (Haslett, Andrew) Date: Fri, 8 Aug 2003 06:54:22 +0930 Subject: [AccessD] Who is linked to my back end? Message-ID: Theres a utility going around called LDBViewer or the like. Was released by FMS Inc but they've pulled it from their web site I believe. I have it on my machine somewhere if you'd like it. It basically lists the machines that have a current connection to a particular database, and you are able to prevent any further connections to it. Cheers, Andrew -----Original Message----- From: Lonnie Johnson [mailto:prodevmg at yahoo.com] Sent: Friday, 8 August 2003 2:19 AM To: Access Developers discussion and problem solving Subject: [AccessD] Who is linked to my back end? In a case of a "back end" holding data and various "front end interfaces", is there a way to determine who or what is linked to the back end? Any script I can run on the back end to determine what is linked to it and what tables is that other database looking at? Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us _____ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software IMPORTANT - PLEASE READ ******************** This email and any files transmitted with it are confidential and may contain information protected by law from disclosure. If you have received this message in error, please notify the sender immediately and delete this email from your system. No warranty is given that this email or files, if attached to this email, are free from computer viruses or other defects. They are provided on the basis the user assumes all responsibility for loss, damage or consequence resulting directly or indirectly from their use, whether caused by the negligence of the sender or not. -------------- next part -------------- An HTML attachment was scrubbed... URL: From cfoust at infostatsystems.com Thu Aug 7 16:52:14 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 7 Aug 2003 14:52:14 -0700 Subject: [AccessD] Who is linked to my back end? Message-ID: According to Microsoft (it used to be available from their site), the ldb file is not a reliable indicator and may not even get created in all cases. Charlotte Foust -----Original Message----- From: Haslett, Andrew [mailto:andrew.haslett at ilc.gov.au] Sent: Thursday, August 07, 2003 1:24 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Who is linked to my back end? Theres a utility going around called LDBViewer or the like. Was released by FMS Inc but they've pulled it from their web site I believe. I have it on my machine somewhere if you'd like it. It basically lists the machines that have a current connection to a particular database, and you are able to prevent any further connections to it. Cheers, Andrew -----Original Message----- From: Lonnie Johnson [mailto:prodevmg at yahoo.com] Sent: Friday, 8 August 2003 2:19 AM To: Access Developers discussion and problem solving Subject: [AccessD] Who is linked to my back end? In a case of a "back end" holding data and various "front end interfaces", is there a way to determine who or what is linked to the back end? Any script I can run on the back end to determine what is linked to it and what tables is that other database looking at? Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us _____ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software IMPORTANT - PLEASE READ ******************** This email and any files transmitted with it are confidential and may contain information protected by law from disclosure. If you have received this message in error, please notify the sender immediately and delete this email from your system. No warranty is given that this email or files, if attached to this email, are free from computer viruses or other defects. They are provided on the basis the user assumes all responsibility for loss, damage or consequence resulting directly or indirectly from their use, whether caused by the negligence of the sender or not. -------------- next part -------------- An HTML attachment was scrubbed... URL: From stuart at lexacorp.com.pg Thu Aug 7 16:55:46 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 08 Aug 2003 07:55:46 +1000 Subject: [AccessD] Who is linked to my back end? In-Reply-To: References: Message-ID: <3F335782.8996.170FCD@localhost> On 7 Aug 2003 at 14:08, John Colby wrote: > AFAIK, JET and only JET "knows" the internals of the Access db. It creates > the lock db and it handles requests for data from an MDB from requesters > such as DAO and ADO. > > It does indeed give one pause. This is a sore point with the use of an MDB. > OTOH, can you "ask" SQL Server who is accessing a given table at the moment? > I don't have the answer to that. Yes. Just look at the Processes and Locks in Enterprise Manager. -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From stuart at lexacorp.com.pg Thu Aug 7 16:55:46 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 08 Aug 2003 07:55:46 +1000 Subject: [AccessD] Excel & CSV File Import In-Reply-To: <009101c35ce6$64177c00$0c05a8c0@carlton.local> References: <3F32B551.27287.553BE4@localhost> Message-ID: <3F335782.30385.170FFF@localhost> On 7 Aug 2003 at 23:18, ACTEBS wrote: > Stuart, > > Thanks for that. All works great, but I get a sub script out range error > when the line feed gets to a blank/null row. Any ideas on how I can handle > that? > Test for the blank line. If strTemp > "" Then 'parse the line and do your manipulation Else 'skip the line End If -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From andrew.haslett at ilc.gov.au Thu Aug 7 17:20:57 2003 From: andrew.haslett at ilc.gov.au (Haslett, Andrew) Date: Fri, 8 Aug 2003 07:50:57 +0930 Subject: [AccessD] Who is linked to my back end? Message-ID: Oops, apologies. I was getting the MS one (LDBViewer) mixed up with the one from FMS (Jet4Admin). (And yes, the one from MS was a shocker!) Anyway, I've found the Jet4Admin utility so if ianyone wants it, let me know. Cheers, Andrew -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Friday, 8 August 2003 7:22 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Who is linked to my back end? According to Microsoft (it used to be available from their site), the ldb file is not a reliable indicator and may not even get created in all cases. Charlotte Foust -----Original Message----- From: Haslett, Andrew [mailto:andrew.haslett at ilc.gov.au] Sent: Thursday, August 07, 2003 1:24 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Who is linked to my back end? Theres a utility going around called LDBViewer or the like. Was released by FMS Inc but they've pulled it from their web site I believe. I have it on my machine somewhere if you'd like it. It basically lists the machines that have a current connection to a particular database, and you are able to prevent any further connections to it. Cheers, Andrew -----Original Message----- From: Lonnie Johnson [mailto:prodevmg at yahoo.com] Sent: Friday, 8 August 2003 2:19 AM To: Access Developers discussion and problem solving Subject: [AccessD] Who is linked to my back end? In a case of a "back end" holding data and various "front end interfaces", is there a way to determine who or what is linked to the back end? Any script I can run on the back end to determine what is linked to it and what tables is that other database looking at? Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us _____ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software IMPORTANT - PLEASE READ ******************** This email and any files transmitted with it are confidential and may contain information protected by law from disclosure. If you have received this message in error, please notify the sender immediately and delete this email from your system. No warranty is given that this email or files, if attached to this email, are free from computer viruses or other defects. They are provided on the basis the user assumes all responsibility for loss, damage or consequence resulting directly or indirectly from their use, whether caused by the negligence of the sender or not. IMPORTANT - PLEASE READ ******************** This email and any files transmitted with it are confidential and may contain information protected by law from disclosure. If you have received this message in error, please notify the sender immediately and delete this email from your system. No warranty is given that this email or files, if attached to this email, are free from computer viruses or other defects. They are provided on the basis the user assumes all responsibility for loss, damage or consequence resulting directly or indirectly from their use, whether caused by the negligence of the sender or not. -------------- next part -------------- An HTML attachment was scrubbed... URL: From jcolby at colbyconsulting.com Thu Aug 7 20:03:02 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Thu, 7 Aug 2003 21:03:02 -0400 Subject: [AccessD] Who is linked to my back end? In-Reply-To: <3F335782.8996.170FCD@localhost> Message-ID: I use SQL Server 2k for the data store for my billing program. I open the FE, open a table directly. I then open EM and look at the objects you mention. I see a lock and a process ID however I don't see any information about the table being examined. The lock type is DB, mode S, Status Grant, Owner Sess. That's all I see. Am I missing something? If not then SQL Server isn't overly helpful at identifying who is in the db either. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Stuart McLachlan Sent: Thursday, August 07, 2003 5:56 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Who is linked to my back end? On 7 Aug 2003 at 14:08, John Colby wrote: > AFAIK, JET and only JET "knows" the internals of the Access db. It creates > the lock db and it handles requests for data from an MDB from requesters > such as DAO and ADO. > > It does indeed give one pause. This is a sore point with the use of an MDB. > OTOH, can you "ask" SQL Server who is accessing a given table at the moment? > I don't have the answer to that. Yes. Just look at the Processes and Locks in Enterprise Manager. -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Thu Aug 7 20:26:44 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 08 Aug 2003 11:26:44 +1000 Subject: [AccessD] Who is linked to my back end? In-Reply-To: References: <3F335782.8996.170FCD@localhost> Message-ID: <3F3388F4.25815.493F505@localhost> On 7 Aug 2003 at 21:03, John Colby wrote: > I use SQL Server 2k for the data store for my billing program. I open the > FE, open a table directly. I then open EM and look at the objects you > mention. I see a lock and a process ID however I don't see any information > about the table being examined. The lock type is DB, mode S, Status Grant, > Owner Sess. That's all I see. > > Am I missing something? If not then SQL Server isn't overly helpful at > identifying who is in the db either. > Look at Process Info - it includes Username and Application Name and the time thast SQL command was run. Right click on Double click on a process and it shows the last SQL executed which will tell you what tables were acccessed. -- Stuart McLachlan Lexacorp Ltd Application Development, IT Consultancy http://www.lexacorp.com.pg From stephen at bondsoftware.co.nz Thu Aug 7 20:40:26 2003 From: stephen at bondsoftware.co.nz (Stephen Bond) Date: Fri, 08 Aug 2003 13:40:26 +1200 Subject: [AccessD] OT - Outlook and Access Message-ID: <70F3D727890C784291D8433E9C418F2908839A@server.bondsoftware.co.nz> In Access, I am programmatically building a string of email addresses which I load into a new Outlook mail item (using Automation). I want to know if there is any limit to the bcc field, either actual e-mail addresses or character count. Stephen Bond Otatara, South Island, New Zealand From jcolby at colbyconsulting.com Thu Aug 7 21:14:56 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Thu, 7 Aug 2003 22:14:56 -0400 Subject: [AccessD] Who is linked to my back end? In-Reply-To: <3F3388F4.25815.493F505@localhost> Message-ID: All it says is SP_Execute;1 According to help I should see the SQL statement, but I don't. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Stuart McLachlan Sent: Thursday, August 07, 2003 9:27 PM To: John Colby; accessd at databaseadvisors.com Subject: RE: [AccessD] Who is linked to my back end? On 7 Aug 2003 at 21:03, John Colby wrote: > I use SQL Server 2k for the data store for my billing program. I open the > FE, open a table directly. I then open EM and look at the objects you > mention. I see a lock and a process ID however I don't see any information > about the table being examined. The lock type is DB, mode S, Status Grant, > Owner Sess. That's all I see. > > Am I missing something? If not then SQL Server isn't overly helpful at > identifying who is in the db either. > Look at Process Info - it includes Username and Application Name and the time thast SQL command was run. Right click on Double click on a process and it shows the last SQL executed which will tell you what tables were acccessed. -- Stuart McLachlan Lexacorp Ltd Application Development, IT Consultancy http://www.lexacorp.com.pg _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Thu Aug 7 22:15:01 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 08 Aug 2003 13:15:01 +1000 Subject: [AccessD] OT - Outlook and Access In-Reply-To: <70F3D727890C784291D8433E9C418F2908839A@server.bondsoftware.co.nz> Message-ID: <3F33A255.31750.FDBB3C@localhost> On 8 Aug 2003 at 13:40, Stephen Bond wrote: > In Access, I am programmatically building a string of email addresses > which I load into a new Outlook mail item (using Automation). I want > to know if there is any limit to the bcc field, either > actual e-mail addresses or character count. > Hope you're not building a spam generator -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From actebs at actebs.com.au Thu Aug 7 23:39:44 2003 From: actebs at actebs.com.au (ACTEBS) Date: Fri, 08 Aug 2003 14:39:44 +1000 Subject: [AccessD] Excel & CSV File Import In-Reply-To: <3F335782.30385.170FFF@localhost> Message-ID: <003e01c35d67$19ee7b20$0c05a8c0@carlton.local> Stuart, Thanks for that...worked a treat... Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Friday, 8 August 2003 7:56 AM To: ACTEBS; accessd at databaseadvisors.com Subject: RE: [AccessD] Excel & CSV File Import On 7 Aug 2003 at 23:18, ACTEBS wrote: > Stuart, > > Thanks for that. All works great, but I get a sub script out range > error when the line feed gets to a blank/null row. Any ideas on how I > can handle that? > Test for the blank line. If strTemp > "" Then 'parse the line and do your manipulation Else 'skip the line End If -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Thu Aug 7 23:50:44 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Thu, 07 Aug 2003 21:50:44 -0700 Subject: [AccessD] OT - Outlook and Access References: <70F3D727890C784291D8433E9C418F2908839A@server.bondsoftware.co.nz> Message-ID: <3F332C24.1090706@shaw.ca> The size limit is 32 K characters, maybe higher in Outlook 2002, but your ISP may limit you to less than 500 addresses. Some ISP's get real intense if you send more than 10 emails a minute. So check with ISP beforehand. Also 1 bad address may blow you up so may want to use something like reg exp to check address sytanx or use Outlook Distribution list to precheck. Stephen Bond wrote: >In Access, I am programmatically building a string of email addresses >which I load into a new Outlook mail item (using Automation). I want >to know if there is any limit to the bcc field, either >actual e-mail addresses or character count. > >Stephen Bond >Otatara, South Island, New Zealand >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > From SDSSoftware at Optusnet.com.au Fri Aug 8 00:40:57 2003 From: SDSSoftware at Optusnet.com.au (Software Design & Solutions Pty Ltd.) Date: Fri, 8 Aug 2003 15:40:57 +1000 Subject: [AccessD] ASP - getting started Message-ID: <001501c35d6f$aa6e3c50$54dd31d2@OfficePC> Learning something new....hoping someone can point me in the right direction.... I want to create some ASP files. I am using Windows 2000 and have installed IIS on my office PC which has a workgroup network so that I can hook up the laptop to this PC. Under 'My computer', Properties, the computer name is 'OfficePC'. I notice that installing IIS has created an innetpub folder on the C drive with a number of subfolders. I was under the impression that by default, having installed IIS, if you enter an address such as http://officepc/ into a browser it should open a file called default.htm in the C:\inetpub\wwwroot folder. But when I do that I get 'page cannot be displayed'. (there is a default.htm in that folder). Have I missed something on the installation or ??? TIA Kath Pelletti Software Design & Solutions Pty Ltd. Ph: 9505-6714 Fax: 9505-6430 SDSSoftware at Optusnet.com.au -------------- next part -------------- An HTML attachment was scrubbed... URL: From michael.mattys at adelphia.net Fri Aug 8 00:56:18 2003 From: michael.mattys at adelphia.net (Michael R Mattys) Date: Fri, 8 Aug 2003 01:56:18 -0400 Subject: [AccessD] ASP - getting started References: <001501c35d6f$aa6e3c50$54dd31d2@OfficePC> Message-ID: <01ee01c35d71$ca6e26d0$6401a8c0@default> Kath, Try http://localhost or http://127.0.0.1 Michael R. Mattys www.mattysconsulting.com ----- Original Message ----- From: "Software Design & Solutions Pty Ltd." To: Sent: Friday, August 08, 2003 1:40 AM Subject: [AccessD] ASP - getting started Learning something new....hoping someone can point me in the right direction.... I want to create some ASP files. I am using Windows 2000 and have installed IIS on my office PC which has a workgroup network so that I can hook up the laptop to this PC. Under 'My computer', Properties, the computer name is 'OfficePC'. I notice that installing IIS has created an innetpub folder on the C drive with a number of subfolders. I was under the impression that by default, having installed IIS, if you enter an address such as http://officepc/ into a browser it should open a file called default.htm in the C:\inetpub\wwwroot folder. But when I do that I get 'page cannot be displayed'. (there is a default.htm in that folder). Have I missed something on the installation or ??? TIA Kath Pelletti Software Design & Solutions Pty Ltd. Ph: 9505-6714 Fax: 9505-6430 SDSSoftware at Optusnet.com.au ---------------------------------------------------------------------------- ---- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From stuart at pacific.net.hk Fri Aug 8 00:57:11 2003 From: stuart at pacific.net.hk (Stuart Sanders) Date: Fri, 8 Aug 2003 13:57:11 +0800 Subject: [AccessD] OT - Outsourced programming In-Reply-To: <3F332C24.1090706@shaw.ca> Message-ID: http://www.newtechusa.com/PPI/main.asp (remember this is Friday) -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 1500 bytes Desc: not available URL: From SDSSoftware at Optusnet.com.au Fri Aug 8 00:59:38 2003 From: SDSSoftware at Optusnet.com.au (Software Design & Solutions Pty Ltd.) Date: Fri, 8 Aug 2003 15:59:38 +1000 Subject: [AccessD] ASP - getting started References: <001501c35d6f$aa6e3c50$54dd31d2@OfficePC> <01ee01c35d71$ca6e26d0$6401a8c0@default> Message-ID: <002f01c35d72$409e58c0$54dd31d2@OfficePC> Michael - thanks.....http://localhost doesn't work but http://127.0.0.1 does. Why? And how / where do Im nominate what the file location is for my default home page for OfficePC? Kath ----- Original Message ----- From: Michael R Mattys To: Access Developers discussion and problem solving Sent: Friday, August 08, 2003 3:56 PM Subject: Re: [AccessD] ASP - getting started Kath, Try http://localhost or http://127.0.0.1 Michael R. Mattys www.mattysconsulting.com ----- Original Message ----- From: "Software Design & Solutions Pty Ltd." To: Sent: Friday, August 08, 2003 1:40 AM Subject: [AccessD] ASP - getting started Learning something new....hoping someone can point me in the right direction.... I want to create some ASP files. I am using Windows 2000 and have installed IIS on my office PC which has a workgroup network so that I can hook up the laptop to this PC. Under 'My computer', Properties, the computer name is 'OfficePC'. I notice that installing IIS has created an innetpub folder on the C drive with a number of subfolders. I was under the impression that by default, having installed IIS, if you enter an address such as http://officepc/ into a browser it should open a file called default.htm in the C:\inetpub\wwwroot folder. But when I do that I get 'page cannot be displayed'. (there is a default.htm in that folder). Have I missed something on the installation or ??? TIA Kath Pelletti Software Design & Solutions Pty Ltd. Ph: 9505-6714 Fax: 9505-6430 SDSSoftware at Optusnet.com.au ---------------------------------------------------------------------------- ---- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From andrew.haslett at ilc.gov.au Fri Aug 8 01:04:04 2003 From: andrew.haslett at ilc.gov.au (Haslett, Andrew) Date: Fri, 8 Aug 2003 15:34:04 +0930 Subject: [AccessD] ASP - getting started Message-ID: You need to use the IIS Manager. Control Panel -> Administrative Tools -> IIS Manager. Right click your website to bring up its properties, and somewhere in there you can list the page types/names that you want as your defaults. Cheers, Andrew -----Original Message----- From: Software Design & Solutions Pty Ltd. [mailto:SDSSoftware at optusnet.com.au] Sent: Friday, 8 August 2003 3:30 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] ASP - getting started Michael - thanks..... http://localhost doesn't work but http://127.0.0.1 does. Why? And how / where do Im nominate what the file location is for my default home page for OfficePC? Kath ----- Original Message ----- From: Michael R Mattys To: Access Developers discussion and problem solving Sent: Friday, August 08, 2003 3:56 PM Subject: Re: [AccessD] ASP - getting started Kath, Try http://localhost or http://127.0.0.1 Michael R. Mattys www.mattysconsulting.com ----- Original Message ----- From: "Software Design & Solutions Pty Ltd." < SDSSoftware at Optusnet.com.au > To: < AccessD at databaseadvisors.com > Sent: Friday, August 08, 2003 1:40 AM Subject: [AccessD] ASP - getting started Learning something new....hoping someone can point me in the right direction.... I want to create some ASP files. I am using Windows 2000 and have installed IIS on my office PC which has a workgroup network so that I can hook up the laptop to this PC. Under 'My computer', Properties, the computer name is 'OfficePC'. I notice that installing IIS has created an innetpub folder on the C drive with a number of subfolders. I was under the impression that by default, having installed IIS, if you enter an address such as http://officepc/ into a browser it should open a file called default.htm in the C:\inetpub\wwwroot folder. But when I do that I get 'page cannot be displayed'. (there is a default.htm in that folder). Have I missed something on the installation or ??? TIA Kath Pelletti Software Design & Solutions Pty Ltd. Ph: 9505-6714 Fax: 9505-6430 SDSSoftware at Optusnet.com.au ---------------------------------------------------------------------------- ---- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com IMPORTANT - PLEASE READ ******************** This email and any files transmitted with it are confidential and may contain information protected by law from disclosure. If you have received this message in error, please notify the sender immediately and delete this email from your system. No warranty is given that this email or files, if attached to this email, are free from computer viruses or other defects. They are provided on the basis the user assumes all responsibility for loss, damage or consequence resulting directly or indirectly from their use, whether caused by the negligence of the sender or not. -------------- next part -------------- An HTML attachment was scrubbed... URL: From michael.mattys at adelphia.net Fri Aug 8 01:14:02 2003 From: michael.mattys at adelphia.net (Michael R Mattys) Date: Fri, 8 Aug 2003 02:14:02 -0400 Subject: [AccessD] ASP - getting started References: <001501c35d6f$aa6e3c50$54dd31d2@OfficePC><01ee01c35d71$ca6e26d0$6401a8c0@default> <002f01c35d72$409e58c0$54dd31d2@OfficePC> Message-ID: <022201c35d74$44627ac0$6401a8c0@default> Kath, Here is my setup - I have Personal Web Server on Windows 2000. I just hit a checkbox that says "Use Default Page." I don't think I can help ... Michael R. Mattys www.mattysconsulting.com ----- Original Message ----- From: "Software Design & Solutions Pty Ltd." To: "Access Developers discussion and problem solving" Sent: Friday, August 08, 2003 1:59 AM Subject: Re: [AccessD] ASP - getting started Michael - thanks.....http://localhost doesn't work but http://127.0.0.1 does. Why? And how / where do Im nominate what the file location is for my default home page for OfficePC? Kath ----- Original Message ----- From: Michael R Mattys To: Access Developers discussion and problem solving Sent: Friday, August 08, 2003 3:56 PM Subject: Re: [AccessD] ASP - getting started Kath, Try http://localhost or http://127.0.0.1 Michael R. Mattys www.mattysconsulting.com ----- Original Message ----- From: "Software Design & Solutions Pty Ltd." To: Sent: Friday, August 08, 2003 1:40 AM Subject: [AccessD] ASP - getting started Learning something new....hoping someone can point me in the right direction.... I want to create some ASP files. I am using Windows 2000 and have installed IIS on my office PC which has a workgroup network so that I can hook up the laptop to this PC. Under 'My computer', Properties, the computer name is 'OfficePC'. I notice that installing IIS has created an innetpub folder on the C drive with a number of subfolders. I was under the impression that by default, having installed IIS, if you enter an address such as http://officepc/ into a browser it should open a file called default.htm in the C:\inetpub\wwwroot folder. But when I do that I get 'page cannot be displayed'. (there is a default.htm in that folder). Have I missed something on the installation or ??? TIA Kath Pelletti Software Design & Solutions Pty Ltd. Ph: 9505-6714 Fax: 9505-6430 SDSSoftware at Optusnet.com.au -------------------------------------------------------------------------- -- ---- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------------------------------- ---- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From stephen at bondsoftware.co.nz Fri Aug 8 01:17:45 2003 From: stephen at bondsoftware.co.nz (Stephen Bond) Date: Fri, 08 Aug 2003 18:17:45 +1200 Subject: [AccessD] OT - Outlook and Access Message-ID: <70F3D727890C784291D8433E9C418F2908839D@server.bondsoftware.co.nz> Er ... er ... nooo. Actually, a local tourism organisation, trying to entice people to the nether parts of this fair land. They have a fair size table of Contacts made over the years. S -----Original Message----- From: Stuart McLachlan [mailto:stuart at lexacorp.com.pg] Sent: Friday, 8 August 2003 3:15 p.m. To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT - Outlook and Access On 8 Aug 2003 at 13:40, Stephen Bond wrote: > In Access, I am programmatically building a string of email addresses > which I load into a new Outlook mail item (using Automation). I want > to know if there is any limit to the bcc field, either > actual e-mail addresses or character count. > Hope you're not building a spam generator -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stephen at bondsoftware.co.nz Fri Aug 8 01:19:26 2003 From: stephen at bondsoftware.co.nz (Stephen Bond) Date: Fri, 08 Aug 2003 18:19:26 +1200 Subject: [AccessD] OT - Outlook and Access Message-ID: <70F3D727890C784291D8433E9C418F2908839E@server.bondsoftware.co.nz> Thanks Marty. Can you point me to where this is documented, I did look! MTIA Stephen Bond -----Original Message----- From: MartyConnelly [mailto:martyconnelly at shaw.ca] Sent: Friday, 8 August 2003 4:51 p.m. To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT - Outlook and Access The size limit is 32 K characters, maybe higher in Outlook 2002, but your ISP may limit you to less than 500 addresses. Some ISP's get real intense if you send more than 10 emails a minute. So check with ISP beforehand. Also 1 bad address may blow you up so may want to use something like reg exp to check address sytanx or use Outlook Distribution list to precheck. Stephen Bond wrote: >In Access, I am programmatically building a string of email addresses >which I load into a new Outlook mail item (using Automation). I want >to know if there is any limit to the bcc field, either >actual e-mail addresses or character count. > >Stephen Bond >Otatara, South Island, New Zealand >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From SDSSoftware at Optusnet.com.au Fri Aug 8 03:28:55 2003 From: SDSSoftware at Optusnet.com.au (Software Design & Solutions Pty Ltd.) Date: Fri, 8 Aug 2003 18:28:55 +1000 Subject: [AccessD] ASP - getting started References: <001501c35d6f$aa6e3c50$54dd31d2@OfficePC><01ee01c35d71$ca6e26d0$6401a8c0@default><002f01c35d72$409e58c0$54dd31d2@OfficePC> <022201c35d74$44627ac0$6401a8c0@default> Message-ID: <002801c35d87$1bb2d9e0$54dd31d2@OfficePC> Thanks anyway... ----- Original Message ----- From: Michael R Mattys To: Access Developers discussion and problem solving Sent: Friday, August 08, 2003 4:14 PM Subject: Re: [AccessD] ASP - getting started Kath, Here is my setup - I have Personal Web Server on Windows 2000. I just hit a checkbox that says "Use Default Page." I don't think I can help ... Michael R. Mattys www.mattysconsulting.com ----- Original Message ----- From: "Software Design & Solutions Pty Ltd." To: "Access Developers discussion and problem solving" Sent: Friday, August 08, 2003 1:59 AM Subject: Re: [AccessD] ASP - getting started Michael - thanks.....http://localhost doesn't work but http://127.0.0.1 does. Why? And how / where do Im nominate what the file location is for my default home page for OfficePC? Kath ----- Original Message ----- From: Michael R Mattys To: Access Developers discussion and problem solving Sent: Friday, August 08, 2003 3:56 PM Subject: Re: [AccessD] ASP - getting started Kath, Try http://localhost or http://127.0.0.1 Michael R. Mattys www.mattysconsulting.com ----- Original Message ----- From: "Software Design & Solutions Pty Ltd." To: Sent: Friday, August 08, 2003 1:40 AM Subject: [AccessD] ASP - getting started Learning something new....hoping someone can point me in the right direction.... I want to create some ASP files. I am using Windows 2000 and have installed IIS on my office PC which has a workgroup network so that I can hook up the laptop to this PC. Under 'My computer', Properties, the computer name is 'OfficePC'. I notice that installing IIS has created an innetpub folder on the C drive with a number of subfolders. I was under the impression that by default, having installed IIS, if you enter an address such as http://officepc/ into a browser it should open a file called default.htm in the C:\inetpub\wwwroot folder. But when I do that I get 'page cannot be displayed'. (there is a default.htm in that folder). Have I missed something on the installation or ??? TIA Kath Pelletti Software Design & Solutions Pty Ltd. Ph: 9505-6714 Fax: 9505-6430 SDSSoftware at Optusnet.com.au -------------------------------------------------------------------------- -- ---- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------------------------------- ---- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From SDSSoftware at Optusnet.com.au Fri Aug 8 03:34:52 2003 From: SDSSoftware at Optusnet.com.au (Software Design & Solutions Pty Ltd.) Date: Fri, 8 Aug 2003 18:34:52 +1000 Subject: [AccessD] ASP - getting started References: Message-ID: <005501c35d87$f0402690$54dd31d2@OfficePC> Ok - I see the 'Home directory' specifies c:\inetpub\wwwroot and the 'Document' tab shows a list of 3 files with Default.htm at the top - so if it uses the top one then that solves the question of where it gets the file name from. Anyone know why I get 'Page not found' when I point my browser to http://localhost/iisHelp/ to try to learn this stuff? And why I can't use http://localhost ? Kath ----- Original Message ----- From: Haslett, Andrew To: 'Access Developers discussion and problem solving' Sent: Friday, August 08, 2003 4:04 PM Subject: RE: [AccessD] ASP - getting started You need to use the IIS Manager. Control Panel -> Administrative Tools -> IIS Manager. Right click your website to bring up its properties, and somewhere in there you can list the page types/names that you want as your defaults. Cheers, Andrew -----Original Message----- From: Software Design & Solutions Pty Ltd. [mailto:SDSSoftware at optusnet.com.au] Sent: Friday, 8 August 2003 3:30 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] ASP - getting started Michael - thanks.....http://localhost doesn't work but http://127.0.0.1 does. Why? And how / where do Im nominate what the file location is for my default home page for OfficePC? Kath ----- Original Message ----- From: Michael R Mattys To: Access Developers discussion and problem solving Sent: Friday, August 08, 2003 3:56 PM Subject: Re: [AccessD] ASP - getting started Kath, Try http://localhost or http://127.0.0.1 Michael R. Mattys www.mattysconsulting.com ----- Original Message ----- From: "Software Design & Solutions Pty Ltd." To: Sent: Friday, August 08, 2003 1:40 AM Subject: [AccessD] ASP - getting started Learning something new....hoping someone can point me in the right direction.... I want to create some ASP files. I am using Windows 2000 and have installed IIS on my office PC which has a workgroup network so that I can hook up the laptop to this PC. Under 'My computer', Properties, the computer name is 'OfficePC'. I notice that installing IIS has created an innetpub folder on the C drive with a number of subfolders. I was under the impression that by default, having installed IIS, if you enter an address such as http://officepc/ into a browser it should open a file called default.htm in the C:\inetpub\wwwroot folder. But when I do that I get 'page cannot be displayed'. (there is a default.htm in that folder). Have I missed something on the installation or ??? TIA Kath Pelletti Software Design & Solutions Pty Ltd. Ph: 9505-6714 Fax: 9505-6430 SDSSoftware at Optusnet.com.au ---------------------------------------------------------------------------- ---- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com IMPORTANT - PLEASE READ ******************** This email and any files transmitted with it are confidential and may contain information protected by law from disclosure. If you have received this message in error, please notify the sender immediately and delete this email from your system. No warranty is given that this email or files, if attached to this email, are free from computer viruses or other defects. They are provided on the basis the user assumes all responsibility for loss, damage or consequence resulting directly or indirectly from their use, whether caused by the negligence of the sender or not. ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From mwp.reid at qub.ac.uk Fri Aug 8 03:58:00 2003 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Fri, 8 Aug 2003 01:58:00 -0700 Subject: [AccessD] ASP - getting started References: <005501c35d87$f0402690$54dd31d2@OfficePC> Message-ID: <002b01c35d8b$2bbd7620$0f0b6351@martin1> Create a folder under wwwroot call it test. Set the properties of the folder for web sharing. Create a simple file called index.html with a few words in it. try http://localhost/test/index.html Martin ----- Original Message ----- From: Software Design & Solutions Pty Ltd. To: Access Developers discussion and problem solving Sent: Friday, August 08, 2003 1:34 AM Subject: Re: [AccessD] ASP - getting started Ok - I see the 'Home directory' specifies c:\inetpub\wwwroot and the 'Document' tab shows a list of 3 files with Default.htm at the top - so if it uses the top one then that solves the question of where it gets the file name from. Anyone know why I get 'Page not found' when I point my browser to http://localhost/iisHelp/ to try to learn this stuff? And why I can't use http://localhost ? Kath ----- Original Message ----- From: Haslett, Andrew To: 'Access Developers discussion and problem solving' Sent: Friday, August 08, 2003 4:04 PM Subject: RE: [AccessD] ASP - getting started You need to use the IIS Manager. Control Panel -> Administrative Tools -> IIS Manager. Right click your website to bring up its properties, and somewhere in there you can list the page types/names that you want as your defaults. Cheers, Andrew -----Original Message----- From: Software Design & Solutions Pty Ltd. [mailto:SDSSoftware at optusnet.com.au] Sent: Friday, 8 August 2003 3:30 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] ASP - getting started Michael - thanks.....http://localhost doesn't work but http://127.0.0.1 does. Why? And how / where do Im nominate what the file location is for my default home page for OfficePC? Kath ----- Original Message ----- From: Michael R Mattys To: Access Developers discussion and problem solving Sent: Friday, August 08, 2003 3:56 PM Subject: Re: [AccessD] ASP - getting started Kath, Try http://localhost or http://127.0.0.1 Michael R. Mattys www.mattysconsulting.com ----- Original Message ----- From: "Software Design & Solutions Pty Ltd." To: Sent: Friday, August 08, 2003 1:40 AM Subject: [AccessD] ASP - getting started Learning something new....hoping someone can point me in the right direction.... I want to create some ASP files. I am using Windows 2000 and have installed IIS on my office PC which has a workgroup network so that I can hook up the laptop to this PC. Under 'My computer', Properties, the computer name is 'OfficePC'. I notice that installing IIS has created an innetpub folder on the C drive with a number of subfolders. I was under the impression that by default, having installed IIS, if you enter an address such as http://officepc/ into a browser it should open a file called default.htm in the C:\inetpub\wwwroot folder. But when I do that I get 'page cannot be displayed'. (there is a default.htm in that folder). Have I missed something on the installation or ??? TIA Kath Pelletti Software Design & Solutions Pty Ltd. Ph: 9505-6714 Fax: 9505-6430 SDSSoftware at Optusnet.com.au ---------------------------------------------------------------------------- ---- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com IMPORTANT - PLEASE READ ******************** This email and any files transmitted with it are confidential and may contain information protected by law from disclosure. If you have received this message in error, please notify the sender immediately and delete this email from your system. No warranty is given that this email or files, if attached to this email, are free from computer viruses or other defects. They are provided on the basis the user assumes all responsibility for loss, damage or consequence resulting directly or indirectly from their use, whether caused by the negligence of the sender or not. ---------------------------------------------------------------------------- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From stuart at pacific.net.hk Fri Aug 8 04:58:28 2003 From: stuart at pacific.net.hk (Stuart Sanders) Date: Fri, 8 Aug 2003 17:58:28 +0800 Subject: [AccessD] ASP - getting started In-Reply-To: <005501c35d87$f0402690$54dd31d2@OfficePC> Message-ID: <00a501c35d93$9e3adfa0$5100a8c0@BITSNB02> At a guess if 127.0.0.1 works and localhost doesn't, then you might want to check your hosts file. Your hosts file (for me it is in c:\winnt\system32\drivers\etc) should contain the following line: 127.0.0.1 localhost Stuart -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Software Design & Solutions Pty Ltd. Sent: Friday, 08 August, 2003 4:35 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] ASP - getting started Ok - I see the 'Home directory' specifies c:\inetpub\wwwroot and the 'Document' tab shows a list of 3 files with Default.htm at the top - so if it uses the top one then that solves the question of where it gets the file name from. Anyone know why I get 'Page not found' when I point my browser to http://localhost/iisHelp/ to try to learn this stuff? And why I can't use http://localhost ? Kath ----- Original Message ----- From: Haslett, Andrew To: 'Access Developers discussion and problem solving' Sent: Friday, August 08, 2003 4:04 PM Subject: RE: [AccessD] ASP - getting started You need to use the IIS Manager. Control Panel -> Administrative Tools -> IIS Manager. Right click your website to bring up its properties, and somewhere in there you can list the page types/names that you want as your defaults. Cheers, Andrew -----Original Message----- From: Software Design & Solutions Pty Ltd. [mailto:SDSSoftware at optusnet.com.au] Sent: Friday, 8 August 2003 3:30 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] ASP - getting started Michael - thanks.....http://localhost doesn't work but http://127.0.0.1 does. Why? And how / where do Im nominate what the file location is for my default home page for OfficePC? Kath ----- Original Message ----- From: Michael R Mattys To: Access Developers discussion and problem solving Sent: Friday, August 08, 2003 3:56 PM Subject: Re: [AccessD] ASP - getting started Kath, Try http://localhost or http://127.0.0.1 Michael R. Mattys www.mattysconsulting.com ----- Original Message ----- From: "Software Design & Solutions Pty Ltd." To: Sent: Friday, August 08, 2003 1:40 AM Subject: [AccessD] ASP - getting started Learning something new....hoping someone can point me in the right direction.... I want to create some ASP files. I am using Windows 2000 and have installed IIS on my office PC which has a workgroup network so that I can hook up the laptop to this PC. Under 'My computer', Properties, the computer name is 'OfficePC'. I notice that installing IIS has created an innetpub folder on the C drive with a number of subfolders. I was under the impression that by default, having installed IIS, if you enter an address such as http://officepc/ into a browser it should open a file called default.htm in the C:\inetpub\wwwroot folder. But when I do that I get 'page cannot be displayed'. (there is a default.htm in that folder). Have I missed something on the installation or ??? TIA Kath Pelletti Software Design & Solutions Pty Ltd. Ph: 9505-6714 Fax: 9505-6430 SDSSoftware at Optusnet.com.au ---------------------------------------------------------------------------- ---- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com IMPORTANT - PLEASE READ ******************** This email and any files transmitted with it are confidential and may contain information protected by law from disclosure. If you have received this message in error, please notify the sender immediately and delete this email from your system. No warranty is given that this email or files, if attached to this email, are free from computer viruses or other defects. They are provided on the basis the user assumes all responsibility for loss, damage or consequence resulting directly or indirectly from their use, whether caused by the negligence of the sender or not. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Erwin.Craps at ithelps.be Fri Aug 8 05:44:17 2003 From: Erwin.Craps at ithelps.be (Erwin Craps) Date: Fri, 8 Aug 2003 12:44:17 +0200 Subject: [AccessD] Automation Error 8001010A when Automating Word 2000 Message-ID: By the way I just searched your returned error at MS KB. Did you see this? http://support.microsoft.com/default.aspx?scid=kb;EN-US;189408 And http://support.microsoft.com/default.aspx?scid=kb;EN-US;306269 Erwin -----Original Message----- From: Stuart Sanders [mailto:stuart at pacific.net.hk] Sent: Thursday, August 07, 2003 11:06 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Automation Error 8001010A when Automating Word 2000 Did you see this KB article? http://support.microsoft.com/default.aspx?scid=kb;EN-US;244264 This provides general troubleshooting for createobject errors. Stuart > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil > Salakhetdinov > Sent: Wednesday, 06 August, 2003 5:28 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Automation Error 8001010A when Automating Word > 2000 > > > Thanks for your reply Stuart - but they say they DON'T have NAV > installed and that disabling their GeCAD RAV Antivirus v8 doesn't help > to solve the > subject's problem... > > Shamil > > ----- Original Message ----- > From: "Stuart Sanders" > To: "'Access Developers discussion and problem solving'" > > Sent: Tuesday, August 05, 2003 1:53 PM > Subject: RE: [AccessD] Automation Error 8001010A when Automating Word > 2000 > > > > Shamil > > > > (been a while since I've had time to read the list, so I'll > try my best) > > > > I've had automation errors with Norton installed when > script blocking is > > turned on. > > > > I'd make a guess without knowing anything about their virus software > > that it may likely be the problem. Things to look out for would be > > anything similar to script blocking, and perhaps heuristic > capabilities. > > > > > > First thing I would suggest is to get them to test your app > with the AV > > product disabled. If it is the culprit, they could try selectively > > turning heuristic scanning and/or script scanning modules > (assuming the > > product allows that). > > > > I use zonealarm and haven't had any problems. > > > > Stuart > > > > > -----Original Message----- > > > Hi All, > > > > > > Have anybody seen the subject error, which appears when the > > > following VBA code line is executed: > > > > > > set wapp = CreateObject("Word.Application") > > > > > > or > > > > > > set wapp = CreateObject("Word.Application.9") > > > > > > where wapp is defined as: > > > > > > dim wapp as Object > > > > > > that the problem is because of Norton Antivirus installed but my > > customer > > > states that there is no NAV on their PC. There are: > > > > > > Zone Alarm and GeCAD RAV Antivirus v8. > > > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Erwin.Craps at ithelps.be Fri Aug 8 05:48:14 2003 From: Erwin.Craps at ithelps.be (Erwin Craps) Date: Fri, 8 Aug 2003 12:48:14 +0200 Subject: [AccessD] OT - Outlook and Access Message-ID: (one of) The limit is set by your Internet provider. Some providers refuse to relay to more than 100 addresses some have other limits... That is if you use their relay.. If u use DNS you should not have that problem -----Original Message----- From: Stephen Bond [mailto:stephen at bondsoftware.co.nz] Sent: Friday, August 08, 2003 3:40 AM To: accessd at databaseadvisors.com Subject: [AccessD] OT - Outlook and Access In Access, I am programmatically building a string of email addresses which I load into a new Outlook mail item (using Automation). I want to know if there is any limit to the bcc field, either actual e-mail addresses or character count. Stephen Bond Otatara, South Island, New Zealand _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From selina at easydatabases.com.au Fri Aug 8 07:02:35 2003 From: selina at easydatabases.com.au (Selina Iddon) Date: Fri, 8 Aug 2003 22:02:35 +1000 Subject: [AccessD] Calculate Age References: <001501c35d6f$aa6e3c50$54dd31d2@OfficePC> Message-ID: <00df01c35da4$f566a370$6465000a@venus> Hi All sorry to throw back to an old thread, but I couldn't remember if anyone actually came up with the final answer. If you're interested, I use the following code and (to date) haven't found it ever error. If you wanted to do it to the hour you'd just add the next datepart I suppose. Anyway, here t'is, most of it is comments. Function Age_Calc(birthdate As Date, dateto As Date) As Integer On Error GoTo eror 'if a dateto didn't get sent, use today Dim birthtime As Variant Dim nowtime As Variant Dim nowyear As Variant 'get a number for the date of the year, not using yeardate format because of leap years birthtime = DatePart("m", birthdate) & Format(DatePart("d", birthdate), "00") 'we need to work out what day it is we want to enquire to nowtime = CInt(DatePart("m", dateto) & Format(DatePart("d", dateto), "00")) 'let's just get the year difference nowyear = DatePart("yyyy", dateto) - DatePart("yyyy", birthdate) 'eg 2003-1965 'takeaway where we are calculating to using the dateto birthtime = nowtime - birthtime + 1 'should we count down for the age? If birthtime > 0 Then 'they were born before the calc to date Age_Calc = nowyear Else Age_Calc = nowyear - 1 End If Exit Function eror: MsgBox Err.Number & " : " & Err.Description End Function To use it in a query, call the function from the query: SELECT age_calc([tablename].[birthdate],Date()) AS age FROM tablename HTH Cheers Selina -------------------------------------------------------------------------------- Selina Iddon selina at easydatabases.com.au Ph: 0414 225 265 Easy Access Databases -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: small_logo.jpg Type: image/jpeg Size: 1219 bytes Desc: not available URL: From John.Clark at niagaracounty.com Fri Aug 8 07:46:39 2003 From: John.Clark at niagaracounty.com (John Clark) Date: Fri, 08 Aug 2003 08:46:39 -0400 Subject: [AccessD] Setting focus to a field on a subform Message-ID: I have verified that it is going into the proper side of the IF statement...the msgbox comes up, when it is suppose to, and it does not, when it should not. And, I am not testing for the scenario in the actual subform, because it just doesn't fit...I want to test that at least one of the "funding sources" is chosen, but what if the person uses a mouse and clicks off of the subform, before even getting to these boxes? This is why I chose to use the "On Exit" event of the subform control, on the main form. The correct syntax to access, as I have used it in the past, is: Me!SubformName.Form!ControlName.SetFocus Which, in my case, would be: Me!sfrmSubConts.Form!chkCSE.SetFocus At this point, I have some very strange solutions running through my mind. >>> CWortz at tea.state.tx.us 08/07/03 04:06PM >>> John, I haven't been following this thread so I may not be reading you correctly. You are in the subform and trying to pop up the message box and then set the focus to the default location on the subform? Why are you not specifying a control on the subform that you want to get focus? For debugging purposes I would add an Else clause with its own MsgBox to make sure it is doing what you want it to do. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: John Clark [mailto:John.Clark at niagaracounty.com] Sent: Thursday 2003 Aug 07 14:56 To: accessd at databaseadvisors.com Subject: RE: [AccessD] Setting focus to a field on a subform I have altered my code to the following: If Not ((Me!sfrmSubConts.Form!chkCSE) Or (Me!sfrmSubConts.Form!chkCSI) Or (Me!sfrmSubConts.Form!chk3B) Or (Me!sfrmSubConts.Form!chk3E)) Then MsgBox "You have no funding source selected.", vbOKOnly, "Funding Source Error" Me!sfrmSubConts.SetFocus 'Me!sfrmSubConts.Form!chkCSE.SetFocus End If The MsgBox line changed due to the help of the list, and I noticed my validation code (i.e. the IF statement) didn't work as good as I had thought...actually it worked too good, becasue it worked even when it shouldn't have. It pops up the MsgBox at the correct times, but it still does not set the focus...it goes to the next control on the parent form. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From delliker at hotmail.com Fri Aug 8 07:54:46 2003 From: delliker at hotmail.com (Don Elliker) Date: Fri, 08 Aug 2003 08:54:46 -0400 Subject: [AccessD] Setting focus to a field on a subform Message-ID: I think maybe....you need to cancel the exit before you set the focus to the subform control "Things are only free to the extent that you don't pay for them".-Don Elliker >From: "John Clark" >Reply-To: Access Developers discussion and problem >solving >To: >Subject: RE: [AccessD] Setting focus to a field on a subform >Date: Fri, 08 Aug 2003 08:46:39 -0400 > >I have verified that it is going into the proper side of the IF >statement...the msgbox comes up, when it is suppose to, and it does not, >when it should not. And, I am not testing for the scenario in the actual >subform, because it just doesn't fit...I want to test that at least one >of the "funding sources" is chosen, but what if the person uses a mouse >and clicks off of the subform, before even getting to these boxes? This >is why I chose to use the "On Exit" event of the subform control, on the >main form. > >The correct syntax to access, as I have used it in the past, is: > > Me!SubformName.Form!ControlName.SetFocus > >Which, in my case, would be: > > Me!sfrmSubConts.Form!chkCSE.SetFocus > >At this point, I have some very strange solutions running through my >mind. > > >>> CWortz at tea.state.tx.us 08/07/03 04:06PM >>> >John, > >I haven't been following this thread so I may not be reading you >correctly. You are in the subform and trying to pop up the message >box >and then set the focus to the default location on the subform? Why >are >you not specifying a control on the subform that you want to get >focus? >For debugging purposes I would add an Else clause with its own MsgBox >to >make sure it is doing what you want it to do. > >Charles Wortz >Software Development Division >Texas Education Agency >1701 N. Congress Ave >Austin, TX 78701-1494 >512-463-9493 >CWortz at tea.state.tx.us > > > >-----Original Message----- >From: John Clark [mailto:John.Clark at niagaracounty.com] >Sent: Thursday 2003 Aug 07 14:56 >To: accessd at databaseadvisors.com >Subject: RE: [AccessD] Setting focus to a field on a subform > >I have altered my code to the following: > > >If Not ((Me!sfrmSubConts.Form!chkCSE) Or (Me!sfrmSubConts.Form!chkCSI) >Or (Me!sfrmSubConts.Form!chk3B) Or (Me!sfrmSubConts.Form!chk3E)) Then > MsgBox "You have no funding source selected.", vbOKOnly, "Funding >Source Error" > Me!sfrmSubConts.SetFocus > 'Me!sfrmSubConts.Form!chkCSE.SetFocus >End If > >The MsgBox line changed due to the help of the list, and I noticed my >validation code (i.e. the IF statement) didn't work as good as I had >thought...actually it worked too good, becasue it worked even when it >shouldn't have. It pops up the MsgBox at the correct times, but it >still >does not set the focus...it goes to the next control on the parent >form. >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. http://join.msn.com/?page=features/virus From John.Clark at niagaracounty.com Fri Aug 8 07:59:05 2003 From: John.Clark at niagaracounty.com (John Clark) Date: Fri, 08 Aug 2003 08:59:05 -0400 Subject: [AccessD] Setting focus to a field on a subform Message-ID: Maybe I am going about this the wrong way. Somebody mentioned the idea of "cancelling" an action...can I cancel the closing of the subform? I looked under cancel in help, but I find nothing. Thanks John W Clark From John.Clark at niagaracounty.com Fri Aug 8 07:59:39 2003 From: John.Clark at niagaracounty.com (John Clark) Date: Fri, 08 Aug 2003 08:59:39 -0400 Subject: [AccessD] Setting focus to a field on a subform Message-ID: I just sent out an Email referring to this...how is it done? >>> delliker at hotmail.com 08/08/03 08:54AM >>> I think maybe....you need to cancel the exit before you set the focus to the subform control "Things are only free to the extent that you don't pay for them".-Don Elliker >From: "John Clark" >Reply-To: Access Developers discussion and problem >solving >To: >Subject: RE: [AccessD] Setting focus to a field on a subform >Date: Fri, 08 Aug 2003 08:46:39 -0400 > >I have verified that it is going into the proper side of the IF >statement...the msgbox comes up, when it is suppose to, and it does not, >when it should not. And, I am not testing for the scenario in the actual >subform, because it just doesn't fit...I want to test that at least one >of the "funding sources" is chosen, but what if the person uses a mouse >and clicks off of the subform, before even getting to these boxes? This >is why I chose to use the "On Exit" event of the subform control, on the >main form. > >The correct syntax to access, as I have used it in the past, is: > > Me!SubformName.Form!ControlName.SetFocus > >Which, in my case, would be: > > Me!sfrmSubConts.Form!chkCSE.SetFocus > >At this point, I have some very strange solutions running through my >mind. > > >>> CWortz at tea.state.tx.us 08/07/03 04:06PM >>> >John, > >I haven't been following this thread so I may not be reading you >correctly. You are in the subform and trying to pop up the message >box >and then set the focus to the default location on the subform? Why >are >you not specifying a control on the subform that you want to get >focus? >For debugging purposes I would add an Else clause with its own MsgBox >to >make sure it is doing what you want it to do. > >Charles Wortz >Software Development Division >Texas Education Agency >1701 N. Congress Ave >Austin, TX 78701-1494 >512-463-9493 >CWortz at tea.state.tx.us > > > >-----Original Message----- >From: John Clark [mailto:John.Clark at niagaracounty.com] >Sent: Thursday 2003 Aug 07 14:56 >To: accessd at databaseadvisors.com >Subject: RE: [AccessD] Setting focus to a field on a subform > >I have altered my code to the following: > > >If Not ((Me!sfrmSubConts.Form!chkCSE) Or (Me!sfrmSubConts.Form!chkCSI) >Or (Me!sfrmSubConts.Form!chk3B) Or (Me!sfrmSubConts.Form!chk3E)) Then > MsgBox "You have no funding source selected.", vbOKOnly, "Funding >Source Error" > Me!sfrmSubConts.SetFocus > 'Me!sfrmSubConts.Form!chkCSE.SetFocus >End If > >The MsgBox line changed due to the help of the list, and I noticed my >validation code (i.e. the IF statement) didn't work as good as I had >thought...actually it worked too good, becasue it worked even when it >shouldn't have. It pops up the MsgBox at the correct times, but it >still >does not set the focus...it goes to the next control on the parent >form. >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. http://join.msn.com/?page=features/virus _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From delliker at hotmail.com Fri Aug 8 08:04:30 2003 From: delliker at hotmail.com (Don Elliker) Date: Fri, 08 Aug 2003 09:04:30 -0400 Subject: [AccessD] Setting focus to a field on a subform Message-ID: yes, set cancel = true in the on exit event (after the test of course) that should do it for you. "Things are only free to the extent that you don't pay for them".-Don Elliker >From: "John Clark" >Reply-To: Access Developers discussion and problem >solving >To: >Subject: RE: [AccessD] Setting focus to a field on a subform >Date: Fri, 08 Aug 2003 08:59:05 -0400 > >Maybe I am going about this the wrong way. Somebody mentioned the idea >of "cancelling" an action...can I cancel the closing of the subform? I >looked under cancel in help, but I find nothing. > >Thanks > >John W Clark >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ The new MSN 8: advanced junk mail protection and 2 months FREE* http://join.msn.com/?page=features/junkmail From CWortz at tea.state.tx.us Fri Aug 8 08:09:27 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Fri, 8 Aug 2003 08:09:27 -0500 Subject: [AccessD] Setting focus to a field on a subform Message-ID: John, You may have said earlier in this thread why you are not using the correct syntax to get the focus onto the named control of the subform. But for those that may have missed your explanation, can you again state where the focus did go when you tried using the correct syntax: Me!sfrmSubConts.Form!chkCSE.SetFocus? Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: John Clark [mailto:John.Clark at niagaracounty.com] Sent: Friday 2003 Aug 08 07:47 To: accessd at databaseadvisors.com Subject: RE: [AccessD] Setting focus to a field on a subform I have verified that it is going into the proper side of the IF statement...the msgbox comes up, when it is suppose to, and it does not, when it should not. And, I am not testing for the scenario in the actual subform, because it just doesn't fit...I want to test that at least one of the "funding sources" is chosen, but what if the person uses a mouse and clicks off of the subform, before even getting to these boxes? This is why I chose to use the "On Exit" event of the subform control, on the main form. The correct syntax to access, as I have used it in the past, is: Me!SubformName.Form!ControlName.SetFocus Which, in my case, would be: Me!sfrmSubConts.Form!chkCSE.SetFocus At this point, I have some very strange solutions running through my mind. >>> CWortz at tea.state.tx.us 08/07/03 04:06PM >>> John, I haven't been following this thread so I may not be reading you correctly. You are in the subform and trying to pop up the message box and then set the focus to the default location on the subform? Why are you not specifying a control on the subform that you want to get focus? For debugging purposes I would add an Else clause with its own MsgBox to make sure it is doing what you want it to do. Charles Wortz -----Original Message----- From: John Clark [mailto:John.Clark at niagaracounty.com] Sent: Thursday 2003 Aug 07 14:56 To: accessd at databaseadvisors.com Subject: RE: [AccessD] Setting focus to a field on a subform I have altered my code to the following: If Not ((Me!sfrmSubConts.Form!chkCSE) Or (Me!sfrmSubConts.Form!chkCSI) Or (Me!sfrmSubConts.Form!chk3B) Or (Me!sfrmSubConts.Form!chk3E)) Then MsgBox "You have no funding source selected.", vbOKOnly, "Funding Source Error" Me!sfrmSubConts.SetFocus 'Me!sfrmSubConts.Form!chkCSE.SetFocus End If The MsgBox line changed due to the help of the list, and I noticed my validation code (i.e. the IF statement) didn't work as good as I had thought...actually it worked too good, becasue it worked even when it shouldn't have. It pops up the MsgBox at the correct times, but it still does not set the focus...it goes to the next control on the parent form. From John.Clark at niagaracounty.com Fri Aug 8 08:13:23 2003 From: John.Clark at niagaracounty.com (John Clark) Date: Fri, 08 Aug 2003 09:13:23 -0400 Subject: [AccessD] Setting focus to a field on a subform Message-ID: Well now, that is about as easy as it comes! Thanks for your help. I have never used a cancel statement before, and now that I needed it, I couldn't seem to find any help on it. I went through two books and the A2K help, and came up blank. Thanks again! And thankyou also to everybody else who helped. John W Clark >>> delliker at hotmail.com 08/08/03 09:04AM >>> yes, set cancel = true in the on exit event (after the test of course) that should do it for you. "Things are only free to the extent that you don't pay for them".-Don Elliker >From: "John Clark" >Reply-To: Access Developers discussion and problem >solving >To: >Subject: RE: [AccessD] Setting focus to a field on a subform >Date: Fri, 08 Aug 2003 08:59:05 -0400 > >Maybe I am going about this the wrong way. Somebody mentioned the idea >of "cancelling" an action...can I cancel the closing of the subform? I >looked under cancel in help, but I find nothing. > >Thanks > >John W Clark >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ The new MSN 8: advanced junk mail protection and 2 months FREE* http://join.msn.com/?page=features/junkmail _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From harkins at iglou.com Fri Aug 8 08:34:33 2003 From: harkins at iglou.com (Susan Harkins) Date: Fri, 8 Aug 2003 09:34:33 -0400 Subject: [AccessD] ASP - getting started References: <001501c35d6f$aa6e3c50$54dd31d2@OfficePC><01ee01c35d71$ca6e26d0$6401a8c0@default> <002f01c35d72$409e58c0$54dd31d2@OfficePC> Message-ID: <00ab01c35db1$da5edb30$e6e6ffcc@SusanOne> http://localhost is notoriously buggy and I've never really found an explanation why. Try naming your computer and using that name, that's what's worked for me in the past. Susan H. Michael - thanks.....http://localhost doesn't work but http://127.0.0.1 does. Why? And how / where do Im nominate what the file location is for my default home page for OfficePC? -------------- next part -------------- An HTML attachment was scrubbed... URL: From John.Clark at niagaracounty.com Fri Aug 8 09:27:16 2003 From: John.Clark at niagaracounty.com (John Clark) Date: Fri, 08 Aug 2003 10:27:16 -0400 Subject: [AccessD] Setting focus to a field on a subform Message-ID: I thought I was using the correct syntax. Actually the syntax that I tried...the one you listed...is suppose to be the way to refer to a control property on a subform from a parent form, and I did this because I was working with the subform control rather than being in the subform. I did try a simple 'Me!chkCSE.SetFocus' also, but that didn't work either, which I expected. I ended up cancelling the Exit event after 'OK' is pressed, and now it pops back to the last filed that it was on, in the subform...exactly what I was looking for. >>> CWortz at tea.state.tx.us 08/08/03 09:09AM >>> John, You may have said earlier in this thread why you are not using the correct syntax to get the focus onto the named control of the subform. But for those that may have missed your explanation, can you again state where the focus did go when you tried using the correct syntax: Me!sfrmSubConts.Form!chkCSE.SetFocus? Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: John Clark [mailto:John.Clark at niagaracounty.com] Sent: Friday 2003 Aug 08 07:47 To: accessd at databaseadvisors.com Subject: RE: [AccessD] Setting focus to a field on a subform I have verified that it is going into the proper side of the IF statement...the msgbox comes up, when it is suppose to, and it does not, when it should not. And, I am not testing for the scenario in the actual subform, because it just doesn't fit...I want to test that at least one of the "funding sources" is chosen, but what if the person uses a mouse and clicks off of the subform, before even getting to these boxes? This is why I chose to use the "On Exit" event of the subform control, on the main form. The correct syntax to access, as I have used it in the past, is: Me!SubformName.Form!ControlName.SetFocus Which, in my case, would be: Me!sfrmSubConts.Form!chkCSE.SetFocus At this point, I have some very strange solutions running through my mind. >>> CWortz at tea.state.tx.us 08/07/03 04:06PM >>> John, I haven't been following this thread so I may not be reading you correctly. You are in the subform and trying to pop up the message box and then set the focus to the default location on the subform? Why are you not specifying a control on the subform that you want to get focus? For debugging purposes I would add an Else clause with its own MsgBox to make sure it is doing what you want it to do. Charles Wortz -----Original Message----- From: John Clark [mailto:John.Clark at niagaracounty.com] Sent: Thursday 2003 Aug 07 14:56 To: accessd at databaseadvisors.com Subject: RE: [AccessD] Setting focus to a field on a subform I have altered my code to the following: If Not ((Me!sfrmSubConts.Form!chkCSE) Or (Me!sfrmSubConts.Form!chkCSI) Or (Me!sfrmSubConts.Form!chk3B) Or (Me!sfrmSubConts.Form!chk3E)) Then MsgBox "You have no funding source selected.", vbOKOnly, "Funding Source Error" Me!sfrmSubConts.SetFocus 'Me!sfrmSubConts.Form!chkCSE.SetFocus End If The MsgBox line changed due to the help of the list, and I noticed my validation code (i.e. the IF statement) didn't work as good as I had thought...actually it worked too good, becasue it worked even when it shouldn't have. It pops up the MsgBox at the correct times, but it still does not set the focus...it goes to the next control on the parent form. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at earthlink.net Fri Aug 8 09:31:32 2003 From: jimdettman at earthlink.net (Jim Dettman) Date: Fri, 8 Aug 2003 10:31:32 -0400 Subject: [AccessD] object with coloured lines? In-Reply-To: Message-ID: FWIW you can do colored lines in a continuous forms from A95 and up without conditional formatting as well. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Thursday, August 07, 2003 11:00 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] object with coloured lines? You can't do it with the standard listbox but there are third party activex controls that might work for you. Access 2000 and later has conditional formatting that may work for you in a continuous form. Charlotte Foust -----Original Message----- From: Sad Der [mailto:accessd666 at yahoo.com] Sent: Thursday, August 07, 2003 6:02 AM To: Acces User Group Subject: [AccessD] object with coloured lines? Hi group, I think this has been asked about a million and 1 times but: I'm storing a lot of 18-digit numbers in a listbox. Just like the users wants it. I just KNOW that he is going to ask me to display the data in different fore or backcolours. Any idea how and if it is possible to do? (Listbox or anything else?) Thnx in @vance Regards, Sander __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at earthlink.net Fri Aug 8 09:38:56 2003 From: jimdettman at earthlink.net (Jim Dettman) Date: Fri, 8 Aug 2003 10:38:56 -0400 Subject: [AccessD] Who is linked to my back end? In-Reply-To: <20030807164833.91708.qmail@web20413.mail.yahoo.com> Message-ID: Lonnie, Just to clarify a bit on some of the things that have been said: You can tell who is attached to the MDB by looking at the LDB file and the corresponding user locks. This is what the LDB viewer does. The LDB file supplies the machine and user name, the user lock tells you if the "slot" is active or not. Also by looking at the locks, you can tell who is using what table, but you need to go through all the locks for all users. No one I know of has bothered to do this. As with connections, there is a utility called DBLOCK that will tell you the table/page that is being locked based on a lock. The JET locking white paper has the outline of how to decipher locks. I don't believe it's been updated for JET 4.0 though. No locking/object access info is stored in the system tables. HTH, Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Lonnie Johnson Sent: Thursday, August 07, 2003 12:49 PM To: Access Developers discussion and problem solving Subject: [AccessD] Who is linked to my back end? In a case of a "back end" holding data and various "front end interfaces", is there a way to determine who or what is linked to the back end? Any script I can run on the back end to determine what is linked to it and what tables is that other database looking at? Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us ---------------------------------------------------------------------------- -- Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software -------------- next part -------------- An HTML attachment was scrubbed... URL: From cfoust at infostatsystems.com Fri Aug 8 10:01:59 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 8 Aug 2003 08:01:59 -0700 Subject: [AccessD] object with coloured lines? Message-ID: I know, and I've done it. I actually prefer that method to conditional formatting, which I don't like. Charlotte Foust -----Original Message----- From: Jim Dettman [mailto:jimdettman at earthlink.net] Sent: Friday, August 08, 2003 6:32 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] object with coloured lines? FWIW you can do colored lines in a continuous forms from A95 and up without conditional formatting as well. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Thursday, August 07, 2003 11:00 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] object with coloured lines? You can't do it with the standard listbox but there are third party activex controls that might work for you. Access 2000 and later has conditional formatting that may work for you in a continuous form. Charlotte Foust -----Original Message----- From: Sad Der [mailto:accessd666 at yahoo.com] Sent: Thursday, August 07, 2003 6:02 AM To: Acces User Group Subject: [AccessD] object with coloured lines? Hi group, I think this has been asked about a million and 1 times but: I'm storing a lot of 18-digit numbers in a listbox. Just like the users wants it. I just KNOW that he is going to ask me to display the data in different fore or backcolours. Any idea how and if it is possible to do? (Listbox or anything else?) Thnx in @vance Regards, Sander __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From delliker at hotmail.com Fri Aug 8 10:35:30 2003 From: delliker at hotmail.com (Don Elliker) Date: Fri, 08 Aug 2003 11:35:30 -0400 Subject: [AccessD] Access 2K / Linking Word Doc in Access Report Message-ID: OK- maybe I didn't put enough code in the last try at this question, so here is everyting except the dimensioning. This fails when I try to use '.Action = acOLECreateLink' I get error 2771- "The bound or unbound object frame you tried to edit doesn't contain an OLE object." Does Anybody have any idea why??? There is a QDoc on a similar subject but it has to do with Developer Toolkit custom OLE controls which this is not. strsql = "SELECT testcaseid,execcounter,screenshotref FROM [tblTCScreenShot]" Set rs = dbCur.OpenRecordset(strsql, dbOpenSnapshot) If rs.RecordCount <> 0 Then For intI = 0 To dbCur.Containers("reports").Documents.Count - 1 Set myDoc = dbCur.Containers("reports").Documents(intI) If myDoc.Name Like "Report*" Then DoCmd.DeleteObject acReport, myDoc.Name End If Next intI rs.MoveLast rs.MoveFirst ReDim arstrReportName(1 To rs.RecordCount) For intI = 1 To rs.RecordCount varreturn = Dir(rs!screenshotref) If varreturn <> "" Then 'Set myObj = GetObject(rs!screenshotref) Set rpt = CreateReport(dbCur.Name, "Template") Set ctl = CreateReportControl(rpt.Name, acObjectFrame, acDetail, "", "", 25, 12) strRef = rs!screenshotref arstrReportName(intI) = rpt.Name 'DoCmd.Close acReport, rpt.Name, acSaveYes 'DoCmd.OpenReport arstrReportName(intI), acViewDesign, , , acHidden Set ctl = Reports(0).Section(0).Controls(0) With ctl .Name = "SS" & intI '.Class = "word.document.8" .OLETypeAllowed = acOLEEither .SourceDoc = strRef '.SourceDoc = myObj .SizeMode = acOLESizeZoom .Action = acOLECreateLink '.SourceItem = myObj End With DoCmd.Close acReport, arstrReportName(intI), acSaveYes rs.MoveNext Else MsgBox "Could not find file " & rs!screenshotref, vbExclamation, APP_CAPTION End If Next intI For intI = 1 To UBound(arstrReportName) If UBound(arstrReportName) > 0 Then DoCmd.OpenReport arstrReportName(intI), acViewPreview Else MsgBox "No attachments found for this report.", vbInformation, APP_CAPTION End If Next intI End If fnPrintScreenShot_Exit: Erase arstrReportName Set myObj = Nothing Set rs = Nothing Set ctl = Nothing Set myDoc = Nothing Set rpt = Nothing If strEMsg <> "" Then MsgBox strEMsg, vbInformation, APP_CAPTION End If Exit function fnPrintScreenShot_Err: Select Case Err Case 7874 Resume Next Case Else strEMsg = Err & " - " & Err.Description Resume fnPrintScreenShot_Exit End Select End function "Things are only free to the extent that you don't pay for them".-Don Elliker _________________________________________________________________ Tired of spam? Get advanced junk mail protection with MSN 8. http://join.msn.com/?page=features/junkmail From andy at minstersystems.co.uk Fri Aug 8 12:05:52 2003 From: andy at minstersystems.co.uk (Andy Lacey) Date: Fri, 8 Aug 2003 18:05:52 +0100 Subject: [AccessD] OT - Friday light relief In-Reply-To: <70F3D727890C784291D8433E9C418F298EF6@server.bondsoftware.co.nz> Message-ID: <000001c35dcf$5a5ca3e0$b274d0d5@minster33c3r25> Love it, but who on earth has the time to put something like that together? I'm certainly not going to pass on the joke to any clients. They'd only take it on face value and want me to drop my rates to compete with PPI. Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Stephen Bond > Sent: 07 August 2003 18:27 > To: accessd at databaseadvisors.com > Subject: [AccessD] OT - Friday light relief > > > It's Friday already down here, and this just arrived embedded > in the Developer Central newsletter (Mike Gunderloy): > > "Finally, if you're in need of some comic relief, take a look > at Primate Programming, > http://www.newtechusa.com/PPI/main.asp . Then > consider > whether they might have had something to do with that abysmal > software that you inherited and are supposed to maintain..." > > > Stephen Bond > Otatara, New Zealand > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/a> ccessd > Website: > http://www.databaseadvisors.com > > From cfoust at infostatsystems.com Fri Aug 8 12:18:21 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 8 Aug 2003 10:18:21 -0700 Subject: [AccessD] OT - Friday light relief Message-ID: Isn't that a hilarious site? I can't imagine anyone working that hard to build it though. We had been looking for an Access developer and I suggested to my bosses that we should have recruited from that site! Charlotte Foust -----Original Message----- From: Andy Lacey [mailto:andy at minstersystems.co.uk] Sent: Friday, August 08, 2003 9:06 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] OT - Friday light relief Love it, but who on earth has the time to put something like that together? I'm certainly not going to pass on the joke to any clients. They'd only take it on face value and want me to drop my rates to compete with PPI. Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Stephen Bond > Sent: 07 August 2003 18:27 > To: accessd at databaseadvisors.com > Subject: [AccessD] OT - Friday light relief > > > It's Friday already down here, and this just arrived embedded > in the Developer Central newsletter (Mike Gunderloy): > > "Finally, if you're in need of some comic relief, take a look > at Primate Programming, > http://www.newtechusa.com/PPI/main.asp . Then > consider > whether they might have had something to do with that abysmal > software that you inherited and are supposed to maintain..." > > > Stephen Bond > Otatara, New Zealand > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/a> ccessd > Website: > http://www.databaseadvisors.com > > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From delliker at hotmail.com Fri Aug 8 12:18:32 2003 From: delliker at hotmail.com (Don Elliker) Date: Fri, 08 Aug 2003 13:18:32 -0400 Subject: [AccessD] OT - Friday light relief Message-ID: Yeah...the joke would go right over their heads (you should pardon the expression) It's a shame the backlash from all this 'cheaper is better' thinking probably won't occur before I retire from this business. I think it's about a ten year cycle. Breathe in...breathe out..... _D "Things are only free to the extent that you don't pay for them".-Don Elliker >From: "Andy Lacey" >Reply-To: Access Developers discussion and problem >solving >To: "'Access Developers discussion and problem >solving'" >Subject: RE: [AccessD] OT - Friday light relief >Date: Fri, 8 Aug 2003 18:05:52 +0100 > >Love it, but who on earth has the time to put something like that >together? > >I'm certainly not going to pass on the joke to any clients. They'd only >take it on face value and want me to drop my rates to compete with PPI. > >Andy Lacey >http://www.minstersystems.co.uk > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > > Stephen Bond > > Sent: 07 August 2003 18:27 > > To: accessd at databaseadvisors.com > > Subject: [AccessD] OT - Friday light relief > > > > > > It's Friday already down here, and this just arrived embedded > > in the Developer Central newsletter (Mike Gunderloy): > > > > "Finally, if you're in need of some comic relief, take a look > > at Primate Programming, > > http://www.newtechusa.com/PPI/main.asp . Then > consider > > whether they might have had something to do with that abysmal > > software that you inherited and are supposed to maintain..." > > > > > > Stephen Bond > > Otatara, New Zealand > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/a> ccessd > > Website: > > http://www.databaseadvisors.com > > > > > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Tired of spam? Get advanced junk mail protection with MSN 8. http://join.msn.com/?page=features/junkmail From delliker at hotmail.com Fri Aug 8 12:39:09 2003 From: delliker at hotmail.com (Don Elliker) Date: Fri, 08 Aug 2003 13:39:09 -0400 Subject: [AccessD] OT - Friday light relief Message-ID: I think it's an advertisement - they have the section about real human developers and how to contact them. Kind of a good idea. _D "Things are only free to the extent that you don't pay for them".-Don Elliker >From: "Charlotte Foust" >Reply-To: Access Developers discussion and problem >solving >To: "Access Developers discussion and problem >solving" >Subject: RE: [AccessD] OT - Friday light relief >Date: Fri, 8 Aug 2003 10:18:21 -0700 > >Isn't that a hilarious site? I can't imagine anyone working that hard >to build it though. > >We had been looking for an Access developer and I suggested to my >bosses that we should have recruited from that site! > >Charlotte Foust > >-----Original Message----- >From: Andy Lacey [mailto:andy at minstersystems.co.uk] >Sent: Friday, August 08, 2003 9:06 AM >To: 'Access Developers discussion and problem solving' >Subject: RE: [AccessD] OT - Friday light relief > > >Love it, but who on earth has the time to put something like that >together? > >I'm certainly not going to pass on the joke to any clients. They'd only >take it on face value and want me to drop my rates to compete with PPI. > >Andy Lacey >http://www.minstersystems.co.uk > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > > Stephen Bond > > Sent: 07 August 2003 18:27 > > To: accessd at databaseadvisors.com > > Subject: [AccessD] OT - Friday light relief > > > > > > It's Friday already down here, and this just arrived embedded > > in the Developer Central newsletter (Mike Gunderloy): > > > > "Finally, if you're in need of some comic relief, take a look > > at Primate Programming, > > http://www.newtechusa.com/PPI/main.asp . Then > consider > > whether they might have had something to do with that abysmal > > software that you inherited and are supposed to maintain..." > > > > > > Stephen Bond > > Otatara, New Zealand > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/a> ccessd > > Website: > > http://www.databaseadvisors.com > > > > > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Tired of spam? Get advanced junk mail protection with MSN 8. http://join.msn.com/?page=features/junkmail From Erwin.Craps at ithelps.be Fri Aug 8 15:26:49 2003 From: Erwin.Craps at ithelps.be (Erwin Craps) Date: Fri, 8 Aug 2003 22:26:49 +0200 Subject: [AccessD] ASP - getting started Message-ID: thats a simple one..... 127.0.0.1 is by standard the way to contact your local host without knowing the ip address (you can use IPconfig to know your address). localhast (by name like http://localhost) only works when this is added to the file C:\Windows\system32\DRIVERS\hosts. (no extension). add 127.0.0.1 localhost Somewhere at the bottem. You could also add 127.0.0.1 memyselfandi (that a joke:-) Do not use your local ip address 192.168.1.54 for example. You may, but if you have a DHCP server that address will change in time and your localhost name resolution will point to another computer. Another example, if you would add 192.168.0.12 othercomputer and you would browse to http://othercomputer you would come on the website of the computer having 192.168.0.12 as an ip address (and when having IIS installed ofcourse) Please note that you do not need to add real computer names to this file, they are already translated by the master browser in a peer to pear network or by Wins or DNS, if you have a real server in your network. Another reason why http://localhost would not work is that you use a proxy server (internet options) and "do not use proxy for local ..." is off. But this is only true for port 80 activity (http), unless you also have a Winsock Client, as for MS Proxy server or ISA server. I hope this clears some thing out. Erwin -----Original Message----- From: Susan Harkins [mailto:harkins at iglou.com] Sent: Friday, August 08, 2003 3:35 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] ASP - getting started http://localhost is notoriously buggy and I've never really found an explanation why. Try naming your computer and using that name, that's what's worked for me in the past. Susan H. Michael - thanks.....http://localhost doesn't work but http://127.0.0.1 does. Why? And how / where do Im nominate what the file location is for my default home page for OfficePC? -------------- next part -------------- An HTML attachment was scrubbed... URL: From pedro at plex.nl Fri Aug 8 14:36:19 2003 From: pedro at plex.nl (Pedro Janssen) Date: Fri, 8 Aug 2003 21:36:19 +0200 Subject: [AccessD] select more then one References: <22F1CCD5171D17419CB37FEEE09D5F9901764FB9@TTNEXCHSRV1.hshhp.com> Message-ID: <00b901c35deb$a06bc160$fbc581d5@pedro> Hello Jim and Scott, its not that i am afraid of asking, but i always think, may be i haven't spend enough time trying to solve the problem myself. Because there is always so little time and you guys are always that good, that i sometimes to quick with asking help. Thanks for the help. Pedro Janssen Cytologist -------------- next part -------------- An HTML attachment was scrubbed... URL: From john at winhaven.net Fri Aug 8 17:50:56 2003 From: john at winhaven.net (John Bartow) Date: Fri, 8 Aug 2003 17:50:56 -0500 Subject: [AccessD] Church Systems Message-ID: Anyone here involved in the development/support of Church Systems? John B. From jcolby at colbyconsulting.com Fri Aug 8 18:49:34 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Fri, 8 Aug 2003 19:49:34 -0400 Subject: [AccessD] Church Systems In-Reply-To: Message-ID: I helped develop the Catholic church, but that was in previous lifetime. My belief in previous lifetimes didn't sit well with the Catholic church and so my next lifetime I worked developing the Methodist church. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Bartow Sent: Friday, August 08, 2003 6:51 PM To: AccessD Subject: [AccessD] Church Systems Anyone here involved in the development/support of Church Systems? John B. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Fri Aug 8 18:51:38 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Fri, 08 Aug 2003 16:51:38 -0700 Subject: [AccessD] OT - Outlook and Access References: <70F3D727890C784291D8433E9C418F2908839E@server.bondsoftware.co.nz> Message-ID: <3F34378A.4090400@shaw.ca> Saw this number on Sue Moshers site www.slipstick.com but the limitation is not in Outlook per se but in SMTP or mail server as BCC in object model is just a text string. Have look through here for ISP limitations and how they work or how to evade usually through a single mail chugger or multiple distribution lists. http://www.outlookpower.com/issues/issue200209/list001.html http://www.marketingforidiots.com/outlook_mail_blaster.htm http://www.mindlikewater.com/marketing/outlook_newsletters.html Using Distribution Lists with MS - Exchange 5 . If you use the very basic information for contacts (for example, only the name and the e-mail address), your DL limit may be 125 to 130 contacts. On average, the number of contacts that you can add to a DL is limited between 50 and 70 contacts, but for some user who have contacts that contain a large amount of data, the DL limit can only be as little as 25 contacts. The DL limit is also based on the property size limit of the Microsoft Exchange server. The property size limit for an Exchange server is about 8 kilobytes (KB). The adminstrative default for MS Exchange is 5000 recipient addresses but most admins turn this down to below 100. http://support.microsoft.com/?kbid=238569 Mailing header standards RFC 2822 doesn't mention any limit on the size of a header line after unfolding. RFC 2821 specifys the following - 100 Recipients - 998 characters for a single field So it depends on the standards used by your mail server Stephen Bond wrote: >Thanks Marty. Can you point me to where this is documented, I did look! > >MTIA > >Stephen Bond > > >-----Original Message----- >From: MartyConnelly [mailto:martyconnelly at shaw.ca] >Sent: Friday, 8 August 2003 4:51 p.m. >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] OT - Outlook and Access > > >The size limit is 32 K characters, maybe higher in Outlook 2002, but >your ISP may limit you to less than 500 addresses. Some ISP's get real >intense if you send more than 10 emails a minute. >So check with ISP beforehand. Also 1 bad address may blow you up so may >want to use something like reg exp to check address sytanx or use >Outlook Distribution list to precheck. > >Stephen Bond wrote: > > > >>In Access, I am programmatically building a string of email addresses >>which I load into a new Outlook mail item (using Automation). I want >>to know if there is any limit to the bcc field, either >>actual e-mail addresses or character count. >> >>Stephen Bond >>Otatara, South Island, New Zealand >>_______________________________________________ >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >> >> >> >> >> > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > From rjhjr at cox.net Fri Aug 8 23:13:25 2003 From: rjhjr at cox.net (Bob Hall) Date: Sat, 9 Aug 2003 00:13:25 -0400 Subject: [AccessD] Church Systems In-Reply-To: References: Message-ID: <20030809041325.GA20678@kongemord.krig.net> On Fri, Aug 08, 2003 at 07:49:34PM -0400, John Colby wrote: > I helped develop the Catholic church, but that was in previous lifetime. My > belief in previous lifetimes didn't sit well with the Catholic church and so > my next lifetime I worked developing the Methodist church. You can't fool me. That was done by primates. And to go completely off topic, why isn't the Primate of All England the Primate of England? From dajomigo at tpg.com.au Sat Aug 9 03:04:39 2003 From: dajomigo at tpg.com.au (David & Joanne Gould) Date: Sat, 09 Aug 2003 18:04:39 +1000 Subject: [AccessD] Access form and report anomalies Message-ID: <5.1.0.14.2.20030809180216.01d3b040@mail.tpg.com.au> Well, I fixed the tab form. Thanks, Arthur for your suggestion about the subforms - turns that's where the problem was. However, I still can't find any reason for the reports printing in triplicate. Hoping someone can shed some light on this. TIA David Sorry for the delay in replying. In answer to your questions: * yes, each form has a subform that just reports on extra data. The user can't add any data to them. * The combo sits above the tab form. * Is it possible to set the recordsource to a tab sheet. I set the recordsource to the whole form. * I'm not sure what you mean by your suggestion. * The same result happens no matter what computer I am using. At 11:02 31/07/2003 -0400, you wrote: >Maybe I'd have to see the form to understand your request better. Do you >have a subform on each of two tab pages? Does the combo sit on a tab page or >above it in the form header? Or alternatively does the selected record >source populate both tab pages? What about creating an additional hidden >field and pointing each record set at its own hidden field? You'd have to >modify one query slightly but that way the confusion might be eliminated. > >On the reports issue, is there a chance that the printer is set up for 3 >copies? > >Hth, >Arthur > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David & Joanne >Gould >Sent: July 31, 2003 8:57 AM >To: accessd at databaseadvisors.com >Subject: [AccessD] Access form and report anomalies > > >I have found two confusing problems with a database I am writing. > >1. I have a tab form where the record source is decided from a combo box. >The record sources are both queries that are changed depending which tab is >picked. both queries rely on a record number in a hidden field. If I leave >the data in this field as is when changing record sources the form works >perfectly except that the data on the chosen tab form uses the record >number from the other form to display its data. I tried to clear the data >in this field so that each time a form opens it opens clean. but I kept >getting the message that I was changing the record source and the form >would crash. This only happened to the second of the form tabs while the >first still kept working fine. Does anyone have any ideas what may be >causing this. > >2. I have four similar reports that for some reason print in triplicate >everytime they are run. This results whenever these reports are run, even >if they are just previewed. Other than this hiccup the reports work >perfectly. I hope someone can help me out of my confusion and to solve this >anomaly. > >TIA > >David > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Sat Aug 9 03:23:08 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sat, 09 Aug 2003 18:23:08 +1000 Subject: [AccessD] Access form and report anomalies In-Reply-To: <5.1.0.14.2.20030809180216.01d3b040@mail.tpg.com.au> Message-ID: <3F353C0C.26233.2000789@localhost> On 9 Aug 2003 at 18:04, David & Joanne Gould wrote: > Well, I fixed the tab form. Thanks, Arthur for your suggestion about the > subforms - turns that's where the problem was. However, I still can't find > any reason for the reports printing in triplicate. > > Hoping someone can shed some light on this. > Do you have one table in the underlying query with three different records (some sort of lookup table?). I'd suspect a missing join in the query. Have you opened the underlying query directly to see whether it is creating triplicate records. -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From wdhindman at bellsouth.net Sat Aug 9 05:40:57 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Sat, 9 Aug 2003 06:40:57 -0400 Subject: [AccessD] Church Systems References: <20030809041325.GA20678@kongemord.krig.net> Message-ID: <001001c35e62$b79001e0$6001a8c0@dejpolsys> ...because the English don't speak plain English? :))))))) William Hindman "You know the world is going crazy when the best rapper is a white guy, the best golfer is a black guy, The Swiss hold the America's Cup, France is accusing the US of arrogance, and Germany doesn't want to go to war." ----- Original Message ----- From: "Bob Hall" To: "Access Developers discussion and problem solving" Sent: Saturday, August 09, 2003 12:13 AM Subject: Re: [AccessD] Church Systems > On Fri, Aug 08, 2003 at 07:49:34PM -0400, John Colby wrote: > > I helped develop the Catholic church, but that was in previous lifetime. My > > belief in previous lifetimes didn't sit well with the Catholic church and so > > my next lifetime I worked developing the Methodist church. > > You can't fool me. That was done by primates. > > And to go completely off topic, why isn't the Primate of All England > the Primate of England? > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From dajomigo at tpg.com.au Sat Aug 9 09:15:55 2003 From: dajomigo at tpg.com.au (David & Joanne Gould) Date: Sun, 10 Aug 2003 00:15:55 +1000 Subject: [AccessD] Access form and report anomalies In-Reply-To: <3F353C0C.26233.2000789@localhost> References: <5.1.0.14.2.20030809180216.01d3b040@mail.tpg.com.au> Message-ID: <5.1.0.14.2.20030810001416.01db4b00@mail.tpg.com.au> thank you. I checked the underlying queries and they were creating duplicate records. The problem was the same query was being used for the main report and the sub-report. I adjusted them and the reports now work perfectly. Thanks David At 18:23 9/08/2003 +1000, you wrote: >On 9 Aug 2003 at 18:04, David & Joanne Gould wrote: > > > Well, I fixed the tab form. Thanks, Arthur for your suggestion about the > > subforms - turns that's where the problem was. However, I still can't find > > any reason for the reports printing in triplicate. > > > > Hoping someone can shed some light on this. > > > >Do you have one table in the underlying query with three different >records (some sort of lookup table?). I'd suspect a missing join in >the query. > >Have you opened the underlying query directly to see whether it is >creating triplicate records. > > > > > > > >-- >Lexacorp Ltd >http://www.lexacorp.com.pg >Information Technology Consultancy, Software Development,System >Support. > > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Sun Aug 10 12:26:31 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Sun, 10 Aug 2003 10:26:31 -0700 Subject: [AccessD] Access and Data Warehouses References: <5.1.0.14.2.20030809180216.01d3b040@mail.tpg.com.au> <5.1.0.14.2.20030810001416.01db4b00@mail.tpg.com.au> Message-ID: <3F368047.5050408@shaw.ca> Just an interesting article that mentions the proliferation of Access databases when a Data Warehouse is slow to come online. From an Australian Government audit. http://www.itworldcanada.com/index.cfm/ci_id/46435.htm From accessd at shaw.ca Sun Aug 10 17:09:18 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Sun, 10 Aug 2003 15:09:18 -0700 Subject: [AccessD] Access and Data Warehouses In-Reply-To: <3F368047.5050408@shaw.ca> Message-ID: Hi Marty: It is a very traditional complaint from and to a department with it's own set of specifically customized databases and the ITS vision that data could be better managed under one giant database system (warehousing). In either case this is not a matter of service to users but who gets to control the data and therefore control the people that need and use that data. If you are the ITS individual working within a branch that is where you want data control to be but as an ITS person managing the branch or ministries' data, that is where the control should be and that is where you want YOUR data warehousing. As a contractor, I have floated between both camps and it is a matter of empire building and who controls who and the process has little to do with servicing the clients, common sense, capabilities etc.. My two cents worth Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of MartyConnelly Sent: Sunday, August 10, 2003 10:27 AM To: Access Developers discussion and problem solving Subject: [AccessD] Access and Data Warehouses Just an interesting article that mentions the proliferation of Access databases when a Data Warehouse is slow to come online. From an Australian Government audit. http://www.itworldcanada.com/index.cfm/ci_id/46435.htm _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dfe at nudgeeinternational.com Sun Aug 10 18:26:15 2003 From: dfe at nudgeeinternational.com (David Fenton) Date: Mon, 11 Aug 2003 09:26:15 +1000 Subject: [AccessD] RE: Yet another age calculator - 43 yrs 8 months Message-ID: Try this simple one folks. Actually calculates to the nearest month. Gustav I'm not sure if it accounts for those people born on Feb 29th. Public Function CalculateAge(datBirth As Date) As Long 'Calculates a person's age in years and months from their birthdate to today's date. 'I'm using the # marks because in Australia we format the dates differently and it doesn't seem 'to work here without them - 'cause I've tried. 'Usage for a birthdate of 1st Dec 1960 - try Debug.Print CalculateAge(#1/12/60#) Dim lngNumDays As Long Dim lngNumMonths As Long Dim Months As Double lngNumDays = DateDiff("d", Format(datBirth, "dd/mmm/yyyy"), Date) lngNumMonths = DateDiff("m", Format(datBirth, "dd/mmm/yyyy"), Date) CalculateAge = Int(lngNumMonths / 12) Months = (lngNumMonths / 12) Mod 12 Debug.Print CalculateAge; " yrs " & Months & " months" End Function Cheers David ???? Brisbane Australia -------------- next part -------------- An HTML attachment was scrubbed... URL: From ad_tp at hotmail.com Sun Aug 10 23:52:46 2003 From: ad_tp at hotmail.com (A.D.Tejpal) Date: Mon, 11 Aug 2003 10:22:46 +0530 Subject: [AccessD] Age calculation function References: <916187228923D311A6FE00A0CC3FAA30527B56@ADGSERVER> <1477641227.20030806104455@cactus.dk> Message-ID: Calculation of Age happens to be a universally gripping topic for programmers. Threads related to this issue keep emerging from time to time. Devising a function capable of giving truly consistent results in terms of years, months and days lapsed between two dates remains a specially sought after objective. Many amongst programming community feel tempted to prepare custom functions towards this end. However, a consensus as to which particular function can be said to have met all tests for consistency, is probably yet to be established. Interested members of this forum might like to give their suggestions regarding tests that the ideal function should be required to satisfy. An overall list incorporating these suggestions could help identify the most suitable function / functions. It is also suggested that all relevant postings be done under a common thread "Re: [AccessD] Age calculation function" so as to avoid fragmentation. Regards, A.D.Tejpal -------------- ----- Original Message ----- From: Selina Iddon To: Access Developers discussion and problem solving Sent: Friday, August 08, 2003 17:32 Subject: Re: [AccessD] Calculate Age Hi All sorry to throw back to an old thread, but I couldn't remember if anyone actually came up with the final answer. If you're interested, I use the following code and (to date) haven't found it ever error. If you wanted to do it to the hour you'd just add the next datepart I suppose. Anyway, here t'is, most of it is comments. Function Age_Calc(birthdate As Date, dateto As Date) As Integer On Error GoTo eror 'if a dateto didn't get sent, use today Dim birthtime As Variant Dim nowtime As Variant Dim nowyear As Variant 'get a number for the date of the year, not using yeardate format because of leap years birthtime = DatePart("m", birthdate) & Format(DatePart("d", birthdate), "00") 'we need to work out what day it is we want to enquire to nowtime = CInt(DatePart("m", dateto) & Format(DatePart("d", dateto), "00")) 'let's just get the year difference nowyear = DatePart("yyyy", dateto) - DatePart("yyyy", birthdate) 'eg 2003-1965 'takeaway where we are calculating to using the dateto birthtime = nowtime - birthtime + 1 'should we count down for the age? If birthtime > 0 Then 'they were born before the calc to date Age_Calc = nowyear Else Age_Calc = nowyear - 1 End If Exit Function eror: MsgBox Err.Number & " : " & Err.Description End Function To use it in a query, call the function from the query: SELECT age_calc([tablename].[birthdate],Date()) AS age FROM tablename HTH Cheers Selina ------------------------------------------------------------------------------ Selina Iddon selina at easydatabases.com.au Ph: 0414 225 265 Easy Access Databases -------------- next part -------------- An HTML attachment was scrubbed... URL: From accessd666 at yahoo.com Mon Aug 11 02:09:48 2003 From: accessd666 at yahoo.com (Sad Der) Date: Mon, 11 Aug 2003 00:09:48 -0700 (PDT) Subject: [AccessD] object with coloured lines? In-Reply-To: Message-ID: <20030811070948.33291.qmail@web10003.mail.yahoo.com> Hi Jim, do have any info for me on this? I'm a bit confused on how to implement this. do I have to count the records in the form and give the 1-3-5-7 records a diff background? Isn't that a bit slow? Sander --- Jim Dettman wrote: > FWIW you can do colored lines in a continuous forms > from A95 and up without > conditional formatting as well. > > Jim Dettman > President, > Online Computer Services of WNY, Inc. > (315) 699-3443 > jimdettman at earthlink.net > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On > Behalf Of Charlotte > Foust > Sent: Thursday, August 07, 2003 11:00 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] object with coloured lines? > > > You can't do it with the standard listbox but there > are third party > activex controls that might work for you. Access > 2000 and later has > conditional formatting that may work for you in a > continuous form. > > Charlotte Foust > > -----Original Message----- > From: Sad Der [mailto:accessd666 at yahoo.com] > Sent: Thursday, August 07, 2003 6:02 AM > To: Acces User Group > Subject: [AccessD] object with coloured lines? > > > Hi group, > > I think this has been asked about a million and 1 > times but: > > I'm storing a lot of 18-digit numbers in a listbox. > Just like the users wants it. I just KNOW that he is > going to ask me to display the data in different > fore > or backcolours. > > Any idea how and if it is possible to do? (Listbox > or > anything else?) > > Thnx in @vance > Regards, > Sander > > __________________________________ > Do you Yahoo!? > Yahoo! SiteBuilder - Free, easy-to-use web site > design software > http://sitebuilder.yahoo.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com From keysolns at lantic.net Mon Aug 11 06:51:11 2003 From: keysolns at lantic.net (Gary Lockett) Date: Mon, 11 Aug 2003 13:51:11 +0200 Subject: [AccessD] Linked Table - Excel Spreadsheet Message-ID: <027101c35fff$45ec0220$0104a8c0@office> I have a customer who has a database with a table linking to an Excel Spreadsheet. This morning (Monday morning blues) they are unable to access the data. Access gives an error message saying that the external table is not in the correct format. When I tried opening the spreadsheet with Excel, the file is not in the correct format. The customer says that the only problem they have had is running out of space on the C: Drive - could this corrupt the Excel file? Are there any utilities available to repair an Excel file? What steps do I need to take to retrieve the data? The customer promises to start taking backups from now on. I need to recover their data. Can someone on this wonderful list help make me look good in the customers eyes???? Gary Lockett Key Solutions Port Elizabeth South Africa From keysolns at lantic.net Mon Aug 11 07:02:59 2003 From: keysolns at lantic.net (Gary Lockett) Date: Mon, 11 Aug 2003 14:02:59 +0200 Subject: [AccessD] Linked Table - Excel Spreadsheet References: <027101c35fff$45ec0220$0104a8c0@office> Message-ID: <028301c36000$838c91c0$0104a8c0@office> Having reread my post, it is rather misleading. When I try opening the spreadsheet with Excel, I am unable to open the file. It says "Unable to read file". ----- Original Message ----- From: "Gary Lockett" To: Sent: Monday, August 11, 2003 1:51 PM Subject: [AccessD] Linked Table - Excel Spreadsheet I have a customer who has a database with a table linking to an Excel Spreadsheet. This morning (Monday morning blues) they are unable to access the data. Access gives an error message saying that the external table is not in the correct format. When I tried opening the spreadsheet with Excel, the file is not in the correct format. The customer says that the only problem they have had is running out of space on the C: Drive - could this corrupt the Excel file? Are there any utilities available to repair an Excel file? What steps do I need to take to retrieve the data? The customer promises to start taking backups from now on. I need to recover their data. Can someone on this wonderful list help make me look good in the customers eyes???? Gary Lockett Key Solutions Port Elizabeth South Africa _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ************************************************************ Scanned by @lantic IS Virus Control Service This message was scanned for viruses and dangerous content. @lantic Internet Services (Pty) Ltd. - http://www.lantic.net eScan for Windows-based PCs - http://www.escan.co.za ************************************************************ From Jdemarco at hshhp.org Mon Aug 11 07:05:14 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Mon, 11 Aug 2003 08:05:14 -0400 Subject: [AccessD] Linked Table - Excel Spreadsheet Message-ID: <22F1CCD5171D17419CB37FEEE09D5F990173F38B@TTNEXCHSRV1.hshhp.com> Can you open it in Notepad? Jim DeMarco -----Original Message----- From: Gary Lockett [mailto:keysolns at lantic.net] Sent: Monday, August 11, 2003 8:03 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Linked Table - Excel Spreadsheet Having reread my post, it is rather misleading. When I try opening the spreadsheet with Excel, I am unable to open the file. It says "Unable to read file". ----- Original Message ----- From: "Gary Lockett" To: Sent: Monday, August 11, 2003 1:51 PM Subject: [AccessD] Linked Table - Excel Spreadsheet I have a customer who has a database with a table linking to an Excel Spreadsheet. This morning (Monday morning blues) they are unable to access the data. Access gives an error message saying that the external table is not in the correct format. When I tried opening the spreadsheet with Excel, the file is not in the correct format. The customer says that the only problem they have had is running out of space on the C: Drive - could this corrupt the Excel file? Are there any utilities available to repair an Excel file? What steps do I need to take to retrieve the data? The customer promises to start taking backups from now on. I need to recover their data. Can someone on this wonderful list help make me look good in the customers eyes???? Gary Lockett Key Solutions Port Elizabeth South Africa _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ************************************************************ Scanned by @lantic IS Virus Control Service This message was scanned for viruses and dangerous content. @lantic Internet Services (Pty) Ltd. - http://www.lantic.net eScan for Windows-based PCs - http://www.escan.co.za ************************************************************ _______________________________________________ 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 marcel.vreuls at achmea.nl Mon Aug 11 07:06:14 2003 From: marcel.vreuls at achmea.nl (marcel.vreuls at achmea.nl) Date: Mon, 11 Aug 2003 14:06:14 +0200 Subject: Betreft: Re: [AccessD] Linked Table - Excel Spreadsheet Message-ID: Gary, I had a similar problem. I had the spreadsheet also open in excel and that causes the message Unable to read the file. G.r marcel "Gary Lockett" @databaseadvisors.com op 11-08-2003 14:02:59 Antwoord aub aan Access Developers discussion and problem solving Verzonden door: accessd-bounces at databaseadvisors.com Aan: "Access Developers discussion and problem solving" cc: Onderwerp: Re: [AccessD] Linked Table - Excel Spreadsheet Having reread my post, it is rather misleading. When I try opening the spreadsheet with Excel, I am unable to open the file. It says "Unable to read file". ----- Original Message ----- From: "Gary Lockett" To: Sent: Monday, August 11, 2003 1:51 PM Subject: [AccessD] Linked Table - Excel Spreadsheet I have a customer who has a database with a table linking to an Excel Spreadsheet. This morning (Monday morning blues) they are unable to access the data. Access gives an error message saying that the external table is not in the correct format. When I tried opening the spreadsheet with Excel, the file is not in the correct format. The customer says that the only problem they have had is running out of space on the C: Drive - could this corrupt the Excel file? Are there any utilities available to repair an Excel file? What steps do I need to take to retrieve the data? The customer promises to start taking backups from now on. I need to recover their data. Can someone on this wonderful list help make me look good in the customers eyes???? Gary Lockett Key Solutions Port Elizabeth South Africa _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ************************************************************ Scanned by @lantic IS Virus Control Service This message was scanned for viruses and dangerous content. @lantic Internet Services (Pty) Ltd. - http://www.lantic.net eScan for Windows-based PCs - http://www.escan.co.za ************************************************************ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ********************* DISCLAIMER ********************* De informatie in dit e-mail bericht is uitsluitend bestemd voor de geadresseerde. Verstrekking aan en gebruik door anderen is niet toegestaan. Door de electronische verzending van het bericht kunnen er geen rechten worden ontleend aan de informatie. ************************************************************ From CWortz at tea.state.tx.us Mon Aug 11 07:44:04 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Mon, 11 Aug 2003 07:44:04 -0500 Subject: Betreft: Re: [AccessD] Linked Table - Excel Spreadsheet Message-ID: Gary, Does the spreadsheet still have the .xls file extension or does it now have the .doc file extension? It is possible somebody opened and then saved it in Word. If so, then you can open it in Word and try saving it in Excel. If that's not it, then try opening the file in either Word or Notepad and try copying the data to a clean Excel worksheet. You should be able to recover most of the data that way. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- Sent: Monday 2003 Aug 11 07:06 To: Access Developers discussion and problem solving Subject:Re: [AccessD] Linked Table - Excel Spreadsheet Having reread my post, it is rather misleading. When I try opening the spreadsheet with Excel, I am unable to open the file. It says "Unable to read file". ----- Original Message ----- From: "Gary Lockett" To: Sent: Monday, August 11, 2003 1:51 PM Subject: [AccessD] Linked Table - Excel Spreadsheet I have a customer who has a database with a table linking to an Excel Spreadsheet. This morning (Monday morning blues) they are unable to access the data. Access gives an error message saying that the external table is not in the correct format. When I tried opening the spreadsheet with Excel, the file is not in the correct format. The customer says that the only problem they have had is running out of space on the C: Drive - could this corrupt the Excel file? Are there any utilities available to repair an Excel file? What steps do I need to take to retrieve the data? The customer promises to start taking backups from now on. I need to recover their data. Can someone on this wonderful list help make me look good in the customers eyes???? Gary Lockett Key Solutions Port Elizabeth South Africa From mwhittinghill at symphonyinfo.com Mon Aug 11 10:05:19 2003 From: mwhittinghill at symphonyinfo.com (Mark Whittinghill) Date: Mon, 11 Aug 2003 10:05:19 -0500 Subject: [AccessD] Age calculation function References: <916187228923D311A6FE00A0CC3FAA30527B56@ADGSERVER><1477641227.20030806104455@cactus.dk> Message-ID: <025101c36019$facf62d0$0400000a@PASCAL> For, the record, this is what I ended up with. It's pretty much Gustav's function, but I just tweaked it a bit on naming and minor things like that. I also made it return a variant, since there are situations where I would want it to return null. The goal of this function is to return an age in integer years, as in my birthday is July 10, so I'm 35 on July 9, and 36 on July 10. I have been unable to make this function return an incorrect value, assuming I don't give it impossible data. If a person is born Feb 29, it uses Feb 28 for the birthday in non leap years. Works for me. Public Function CalculateAge(varBirth As Variant, varEndDate As Variant) As Variant 'This function will calculate age from birthday ' Just using datediff rounds up a year 'Variants are used, since this is also called from queries ' Thanks to Gustav Brock, Cactus Data ApS. On Error GoTo eh Dim datBirth As Date Dim datEnd As Date If IsDate(varBirth) = False Then CalculateAge = Null GoTo ex End If If IsDate(varEndDate) = False Then CalculateAge = Null GoTo ex End If datBirth = CDate(varBirth) datEnd = CDate(varEndDate) CalculateAge = CalculateYears(datBirth, datEnd) ex: Exit Function eh: CalculateAge = -999 Resume ex End Function Public Function CalculateYears(ByVal datDate1 As Date, ByVal datDate2 As Date) As Integer ' Returns the difference in full years between datDate1 and datDate2. ' ' Calculates correctly for: ' negative differences ' leap years ' dates of 29. February ' date/time values with embedded time values ' negative date/time values (prior to 1899-12-29) ' ' Thanks toGustav Brock, Cactus Data ApS. On Error GoTo eh ' Constants for leap year calculation. Last normal date of February. Const cbytFebMonth As Byte = 2 Const cbytFebLastDay As Byte = 28 ' Maximum number of days in a month. Const cbytMonthDaysMax As Byte = 31 Dim intYears As Integer Dim intDaysDiff As Integer Dim intReversed As Integer intYears = DateDiff("yyyy", datDate1, datDate2) If intYears = 0 Then ' Both dates fall within the same year. Else ' Check for ultimo February and leap years. If (Month(datDate1) = cbytFebMonth) And (Month(datDate2) = cbytFebMonth) Then ' Both dates fall in February. ' Check if dates are at ultimo February. If (Day(datDate1) >= cbytFebLastDay) And (Day(datDate2) >= cbytFebLastDay) Then ' Both dates are at ultimo February. ' Check if the dates fall in leap years. If Day(DateSerial(Year(datDate1), cbytFebMonth + 1, 0)) = cbytFebLastDay Xor _ Day(DateSerial(Year(datDate2), cbytFebMonth + 1, 0)) = cbytFebLastDay Then ' Only one date falls within a leap year. ' Adjust both dates to day 28 of February. datDate1 = DateAdd("d", cbytFebLastDay - Day(datDate1), datDate1) datDate2 = DateAdd("d", cbytFebLastDay - Day(datDate2), datDate2) Else ' Both dates fall either in leap years or non leap years. ' No adjustment needed. End If End If End If ' Calculate day difference using months and days as Days() will fail when ' comparing leap years with non leap years for dates after February. intDaysDiff = (Month(datDate1) * cbytMonthDaysMax + Day(datDate1)) - (Month(datDate2) * cbytMonthDaysMax + Day(datDate2)) intReversed = Sgn(intYears) ' Decrease count of years by one if dates are closer than one year. intYears = intYears + (intReversed * ((intReversed * intDaysDiff) > 0)) End If CalculateYears = intYears ex: Exit Function eh: CalculateYears = -999 Resume ex End Function Mark Whittinghill Symphony Information Services 612-333-1311 mwhittinghill at symphonyinfo.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From martyconnelly at shaw.ca Mon Aug 11 11:43:18 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Mon, 11 Aug 2003 09:43:18 -0700 Subject: [AccessD] Linked Table - Excel Spreadsheet References: <22F1CCD5171D17419CB37FEEE09D5F990173F38B@TTNEXCHSRV1.hshhp.com> Message-ID: <3F37C7A6.9020609@shaw.ca> One of many recovery firms http://www.excelwordrecovery.com/ Long list of backup and recovery methods for Excel exceptional measures included I prefer putting Microsoft shares in a bottle and casting into an active volcano. http://www.mvps.org/dmcritchie/excel/backup.htm http://support.microsoft.com/default.aspx?scid=kb;EN-US;142117 Starting Excel in safe mode brings up Excel without macros and without addins. To start it in safe mode use the "/s" switch e.g. from run command "C:\Program Files\Microsoft Office\Office\excel.exe" /s Q159474 -- XL97: Startup Switches for Microsoft Excel 97 EXCEL : Easy forced backup Include this function in "thisworkbook" : Private Sub Workbook_BeforeSave(ByVal SaveAsUI As Boolean, Cancel As Boolean) Dim strDate As String Count = Len(ActiveWorkbook.Name) Nom = Left(ActiveWorkbook.Name, Count - 4) strDate = Format(Date, "dd-mm-yy") & " " & Format(Time, "h-mm-ss") ThisWorkbook.SaveCopyAs filename:=Name & strDate & ".xls" End Sub Makes a backup copy of your work book at each save. Jim DeMarco wrote: >Can you open it in Notepad? > >Jim DeMarco > >-----Original Message----- >From: Gary Lockett [mailto:keysolns at lantic.net] >Sent: Monday, August 11, 2003 8:03 AM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] Linked Table - Excel Spreadsheet > > >Having reread my post, it is rather misleading. When I try opening the >spreadsheet with Excel, I am unable to open the file. It says "Unable to >read file". > >----- Original Message ----- >From: "Gary Lockett" >To: >Sent: Monday, August 11, 2003 1:51 PM >Subject: [AccessD] Linked Table - Excel Spreadsheet > > >I have a customer who has a database with a table linking to an Excel >Spreadsheet. This morning (Monday morning blues) they are unable to access >the data. Access gives an error message saying that the external table is >not in the correct format. When I tried opening the spreadsheet with Excel, >the file is not in the correct format. > >The customer says that the only problem they have had is running out of >space on the C: Drive - could this corrupt the Excel file? > >Are there any utilities available to repair an Excel file? What steps do I >need to take to retrieve the data? > >The customer promises to start taking backups from now on. I need to recover >their data. Can someone on this wonderful list help make me look good in the >customers eyes???? > >Gary Lockett >Key Solutions >Port Elizabeth >South Africa > > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > >************************************************************ >Scanned by @lantic IS Virus Control Service >This message was scanned for viruses and dangerous content. >@lantic Internet Services (Pty) Ltd. - http://www.lantic.net >eScan for Windows-based PCs - http://www.escan.co.za >************************************************************ > > >_______________________________________________ >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 keysolns at lantic.net Mon Aug 11 12:44:59 2003 From: keysolns at lantic.net (Gary Lockett) Date: Mon, 11 Aug 2003 19:44:59 +0200 Subject: [AccessD] Linked Table - Excel Spreadsheet References: <22F1CCD5171D17419CB37FEEE09D5F990173F38B@TTNEXCHSRV1.hshhp.com> Message-ID: <033001c36030$72a7c480$0104a8c0@office> Jim Yes I can, but I do not know how to interpret the data thereafter. There should be about 10 columns of information, but I cannot seem to see ALL of the data Gary ----- Original Message ----- From: "Jim DeMarco" To: "Access Developers discussion and problem solving" Sent: Monday, August 11, 2003 2:05 PM Subject: RE: [AccessD] Linked Table - Excel Spreadsheet Can you open it in Notepad? Jim DeMarco -----Original Message----- From: Gary Lockett [mailto:keysolns at lantic.net] Sent: Monday, August 11, 2003 8:03 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Linked Table - Excel Spreadsheet Having reread my post, it is rather misleading. When I try opening the spreadsheet with Excel, I am unable to open the file. It says "Unable to read file". ----- Original Message ----- From: "Gary Lockett" To: Sent: Monday, August 11, 2003 1:51 PM Subject: [AccessD] Linked Table - Excel Spreadsheet I have a customer who has a database with a table linking to an Excel Spreadsheet. This morning (Monday morning blues) they are unable to access the data. Access gives an error message saying that the external table is not in the correct format. When I tried opening the spreadsheet with Excel, the file is not in the correct format. The customer says that the only problem they have had is running out of space on the C: Drive - could this corrupt the Excel file? Are there any utilities available to repair an Excel file? What steps do I need to take to retrieve the data? The customer promises to start taking backups from now on. I need to recover their data. Can someone on this wonderful list help make me look good in the customers eyes???? Gary Lockett Key Solutions Port Elizabeth South Africa _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ************************************************************ Scanned by @lantic IS Virus Control Service This message was scanned for viruses and dangerous content. @lantic Internet Services (Pty) Ltd. - http://www.lantic.net eScan for Windows-based PCs - http://www.escan.co.za ************************************************************ _______________________________________________ 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 ************************************************************ Scanned by @lantic IS Virus Control Service This message was scanned for viruses and dangerous content. @lantic Internet Services (Pty) Ltd. - http://www.lantic.net eScan for Windows-based PCs - http://www.escan.co.za ************************************************************ From keysolns at lantic.net Mon Aug 11 12:46:37 2003 From: keysolns at lantic.net (Gary Lockett) Date: Mon, 11 Aug 2003 19:46:37 +0200 Subject: Betreft: Re: [AccessD] Linked Table - Excel Spreadsheet References: Message-ID: <033101c36030$840199e0$0104a8c0@office> When opening the file in Notepad or Wordpad, there are a number of unprintable characters. Unfortunately the data is not produced in a nice neat format that can easily be copied and pasted. Gary ----- Original Message ----- From: "Wortz, Charles" To: "Access Developers discussion and problem solving" Sent: Monday, August 11, 2003 2:44 PM Subject: RE: Betreft: Re: [AccessD] Linked Table - Excel Spreadsheet Gary, Does the spreadsheet still have the .xls file extension or does it now have the .doc file extension? It is possible somebody opened and then saved it in Word. If so, then you can open it in Word and try saving it in Excel. If that's not it, then try opening the file in either Word or Notepad and try copying the data to a clean Excel worksheet. You should be able to recover most of the data that way. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- Sent: Monday 2003 Aug 11 07:06 To: Access Developers discussion and problem solving Subject:Re: [AccessD] Linked Table - Excel Spreadsheet Having reread my post, it is rather misleading. When I try opening the spreadsheet with Excel, I am unable to open the file. It says "Unable to read file". ----- Original Message ----- From: "Gary Lockett" To: Sent: Monday, August 11, 2003 1:51 PM Subject: [AccessD] Linked Table - Excel Spreadsheet I have a customer who has a database with a table linking to an Excel Spreadsheet. This morning (Monday morning blues) they are unable to access the data. Access gives an error message saying that the external table is not in the correct format. When I tried opening the spreadsheet with Excel, the file is not in the correct format. The customer says that the only problem they have had is running out of space on the C: Drive - could this corrupt the Excel file? Are there any utilities available to repair an Excel file? What steps do I need to take to retrieve the data? The customer promises to start taking backups from now on. I need to recover their data. Can someone on this wonderful list help make me look good in the customers eyes???? Gary Lockett Key Solutions Port Elizabeth South Africa _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ************************************************************ Scanned by @lantic IS Virus Control Service This message was scanned for viruses and dangerous content. @lantic Internet Services (Pty) Ltd. - http://www.lantic.net eScan for Windows-based PCs - http://www.escan.co.za ************************************************************ From sgeller at cce.umn.edu Mon Aug 11 12:59:12 2003 From: sgeller at cce.umn.edu (Susan Geller) Date: Mon, 11 Aug 2003 12:59:12 -0500 Subject: [AccessD] OT: Job Opening in Minneapolis (cross posted) Message-ID: For those of you local to the Twin Cities, wanted to let you know about a job opening in my unit for a SQL Server DBA/Programmer. Contact me off line if you are interested and I can answer questions. http://www1.umn.edu/ohr/jobs/R119892.html --Susan Susan B. Geller Office of Information Systems College of Continuing Education University of Minnesota 306 Wesbrook Hall 77 Pleasant Street SE Minneapolis, MN 55455 Phone: 612-626-4785 Fax: 612-625-2568 From Jdemarco at hshhp.org Mon Aug 11 13:03:54 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Mon, 11 Aug 2003 14:03:54 -0400 Subject: [AccessD] Linked Table - Excel Spreadsheet Message-ID: <22F1CCD5171D17419CB37FEEE09D5F990173F391@TTNEXCHSRV1.hshhp.com> You could try to open in Notepad and save as *.txt file, then try to open the txt in Excel (or import into Access?). Just WAG but worth a try. Jim DeMarco -----Original Message----- From: Gary Lockett [mailto:keysolns at lantic.net] Sent: Monday, August 11, 2003 1:45 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Linked Table - Excel Spreadsheet Jim Yes I can, but I do not know how to interpret the data thereafter. There should be about 10 columns of information, but I cannot seem to see ALL of the data Gary ----- Original Message ----- From: "Jim DeMarco" To: "Access Developers discussion and problem solving" Sent: Monday, August 11, 2003 2:05 PM Subject: RE: [AccessD] Linked Table - Excel Spreadsheet Can you open it in Notepad? Jim DeMarco -----Original Message----- From: Gary Lockett [mailto:keysolns at lantic.net] Sent: Monday, August 11, 2003 8:03 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Linked Table - Excel Spreadsheet Having reread my post, it is rather misleading. When I try opening the spreadsheet with Excel, I am unable to open the file. It says "Unable to read file". ----- Original Message ----- From: "Gary Lockett" To: Sent: Monday, August 11, 2003 1:51 PM Subject: [AccessD] Linked Table - Excel Spreadsheet I have a customer who has a database with a table linking to an Excel Spreadsheet. This morning (Monday morning blues) they are unable to access the data. Access gives an error message saying that the external table is not in the correct format. When I tried opening the spreadsheet with Excel, the file is not in the correct format. The customer says that the only problem they have had is running out of space on the C: Drive - could this corrupt the Excel file? Are there any utilities available to repair an Excel file? What steps do I need to take to retrieve the data? The customer promises to start taking backups from now on. I need to recover their data. Can someone on this wonderful list help make me look good in the customers eyes???? Gary Lockett Key Solutions Port Elizabeth South Africa _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ************************************************************ Scanned by @lantic IS Virus Control Service This message was scanned for viruses and dangerous content. @lantic Internet Services (Pty) Ltd. - http://www.lantic.net eScan for Windows-based PCs - http://www.escan.co.za ************************************************************ _______________________________________________ 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 ************************************************************ Scanned by @lantic IS Virus Control Service This message was scanned for viruses and dangerous content. @lantic Internet Services (Pty) Ltd. - http://www.lantic.net eScan for Windows-based PCs - http://www.escan.co.za ************************************************************ _______________________________________________ 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 mwp.reid at qub.ac.uk Mon Aug 11 13:12:27 2003 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Mon, 11 Aug 2003 11:12:27 -0700 Subject: [AccessD] TEchie Question References: Message-ID: <001301c36034$1fbb2470$0f0b6351@martin1> I know I know But anyone know what svchost.exe is. I am gettign and "The instruction at XXXX referenced memory at xxx. The memory couldnot be written. SVCHOST.exe is the app causing the problem. Long as I dont close the error message down I can continue to use the PC. Martin From sgeller at cce.umn.edu Mon Aug 11 12:59:12 2003 From: sgeller at cce.umn.edu (Susan Geller) Date: Mon, 11 Aug 2003 12:59:12 -0500 Subject: [AccessD] [dba-SQLServer]OT: Job Opening in Minneapolis (cross posted) Message-ID: For those of you local to the Twin Cities, wanted to let you know about a job opening in my unit for a SQL Server DBA/Programmer. Contact me off line if you are interested and I can answer questions. http://www1.umn.edu/ohr/jobs/R119892.html --Susan Susan B. Geller Office of Information Systems College of Continuing Education University of Minnesota 306 Wesbrook Hall 77 Pleasant Street SE Minneapolis, MN 55455 Phone: 612-626-4785 Fax: 612-625-2568 _______________________________________________ dba-SQLServer mailing list dba-SQLServer at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-sqlserver http://www.databaseadvisors.com From backroad at idir.net Mon Aug 11 13:14:45 2003 From: backroad at idir.net (Backroads Data) Date: Mon, 11 Aug 2003 13:14:45 -0500 Subject: [AccessD] Church Systems References: Message-ID: <00a401c36034$87d7f970$6501a8c0@Julie> Hi John, Not sure what you're asking here, but here's my experience... A couple years ago I started looking into Church Management Systems and found so many commericial applications out there that it didn't make sense to build one from the ground up. I could probably point you to some good resources on these, including one that compares features of various systems, if that would help. Best Regards, Julie Schwalm Backroads Data www.backroadsdata.com 785-594-6807 ----- Original Message ----- From: "John Bartow" To: "AccessD" Sent: Friday, August 08, 2003 5:50 PM Subject: [AccessD] Church Systems > Anyone here involved in the development/support of Church Systems? > > John B. > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From Jdemarco at hshhp.org Mon Aug 11 13:16:51 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Mon, 11 Aug 2003 14:16:51 -0400 Subject: [AccessD] TEchie Question Message-ID: <22F1CCD5171D17419CB37FEEE09D5F990173F392@TTNEXCHSRV1.hshhp.com> Did a quick google search: What this means is that you have services running from dynamic-link libraries Found at http://www.grtg.org/stuff/computers/windows/svchost_exe.php HTH, Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan -----Original Message----- From: Martin Reid [mailto:mwp.reid at qub.ac.uk] Sent: Monday, August 11, 2003 2:12 PM To: Access Developers discussion and problem solving Subject: [AccessD] TEchie Question I know I know But anyone know what svchost.exe is. I am gettign and "The instruction at XXXX referenced memory at xxx. The memory couldnot be written. SVCHOST.exe is the app causing the problem. Long as I dont close the error message down I can continue to use the PC. Martin _______________________________________________ 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 keysolns at lantic.net Mon Aug 11 13:21:09 2003 From: keysolns at lantic.net (Gary Lockett) Date: Mon, 11 Aug 2003 20:21:09 +0200 Subject: Betreft: Re: [AccessD] Linked Table - Excel Spreadsheet References: Message-ID: <039c01c36035$57731980$0104a8c0@office> Have tried reading the file with Word and XLViewer. In both cases, I get an illegal operation. ----- Original Message ----- From: "Wortz, Charles" To: "Access Developers discussion and problem solving" Sent: Monday, August 11, 2003 2:44 PM Subject: RE: Betreft: Re: [AccessD] Linked Table - Excel Spreadsheet Gary, Does the spreadsheet still have the .xls file extension or does it now have the .doc file extension? It is possible somebody opened and then saved it in Word. If so, then you can open it in Word and try saving it in Excel. If that's not it, then try opening the file in either Word or Notepad and try copying the data to a clean Excel worksheet. You should be able to recover most of the data that way. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- Sent: Monday 2003 Aug 11 07:06 To: Access Developers discussion and problem solving Subject:Re: [AccessD] Linked Table - Excel Spreadsheet Having reread my post, it is rather misleading. When I try opening the spreadsheet with Excel, I am unable to open the file. It says "Unable to read file". ----- Original Message ----- From: "Gary Lockett" To: Sent: Monday, August 11, 2003 1:51 PM Subject: [AccessD] Linked Table - Excel Spreadsheet I have a customer who has a database with a table linking to an Excel Spreadsheet. This morning (Monday morning blues) they are unable to access the data. Access gives an error message saying that the external table is not in the correct format. When I tried opening the spreadsheet with Excel, the file is not in the correct format. The customer says that the only problem they have had is running out of space on the C: Drive - could this corrupt the Excel file? Are there any utilities available to repair an Excel file? What steps do I need to take to retrieve the data? The customer promises to start taking backups from now on. I need to recover their data. Can someone on this wonderful list help make me look good in the customers eyes???? Gary Lockett Key Solutions Port Elizabeth South Africa _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ************************************************************ Scanned by @lantic IS Virus Control Service This message was scanned for viruses and dangerous content. @lantic Internet Services (Pty) Ltd. - http://www.lantic.net eScan for Windows-based PCs - http://www.escan.co.za ************************************************************ From Lembit.Soobik at t-online.de Mon Aug 11 13:19:00 2003 From: Lembit.Soobik at t-online.de (Lembit Soobik) Date: Mon, 11 Aug 2003 20:19:00 +0200 Subject: [AccessD] TEchie Question References: <001301c36034$1fbb2470$0f0b6351@martin1> Message-ID: <126501c36035$0987be10$0200a8c0@S856> Martin, dont know whether that helps, but if you google it yo get more thatn just this: http://www.grtg.org/stuff/computers/windows/svchost_exe.php Svchost.exe is just an easy name to say. What this means is that you have services running from dynamic-link libraries (DLLs). The Svchost.exe file is located in the %SystemRoot%\System32 folder. At startup, Svchost.exe checks the services portion of the registry to construct a list of services that it needs to load. There can be multiple instances of Svchost.exe running at the same time. Each Svchost.exe session can contain a grouping of services, so that separate services can be run depending on how and where Svchost.exe is started. This allows for better control and debugging. Svchost.exe groups are identified in the following registry key: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Svchost Each value under this key represents a separate Svchost group, and represents one instance of Svchost.exe. Each value is a REG_MULTI_SZ value and contains the services that run under that Svchost group. Each Svchost group can have more than one service_names extracted from the following registry key, whose Parameters key contains a ServiceDLL value: HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\ service If you go to Start --> Run and type command, you can find out what the svchost.exe files corrispond to. (Windows XP) Once you have the command line up, type Tasklist /SVC. (Windows 2K) See end of page! Lembit Soobik ----- Original Message ----- From: "Martin Reid" To: "Access Developers discussion and problem solving" Sent: Monday, August 11, 2003 8:12 PM Subject: [AccessD] TEchie Question > I know I know > > But anyone know what svchost.exe is. I am gettign and "The instruction at > XXXX referenced memory at xxx. The memory couldnot be written. SVCHOST.exe > is the app causing the problem. Long as I dont close the error message down > I can continue to use the PC. > > Martin > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From harkins at iglou.com Mon Aug 11 13:28:20 2003 From: harkins at iglou.com (Susan Harkins) Date: Mon, 11 Aug 2003 14:28:20 -0400 Subject: [AccessD] TEchie Question References: <001301c36034$1fbb2470$0f0b6351@martin1> Message-ID: <00c801c36036$58d01c00$cae6ffcc@SusanOne> http://www.grtg.org/stuff/computers/windows/svchost_exe.php Just do a google -- several links come up. :) I can hear you groaning from Ireland! ;) Susan H. > I know I know > > But anyone know what svchost.exe is. I am gettign and "The instruction at > XXXX referenced memory at xxx. The memory couldnot be written. SVCHOST.exe > is the app causing the problem. Long as I dont close the error message down > I can continue to use the PC. From CWortz at tea.state.tx.us Mon Aug 11 13:30:44 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Mon, 11 Aug 2003 13:30:44 -0500 Subject: Betreft: Re: [AccessD] Linked Table - Excel Spreadsheet Message-ID: Gary, Some of those unprintable characters are probably the cell boundaries. If they are then you could try saving as .txt or try importing into Access. If neither of those work, you could copy a row at a time as a string and strip out the unprintable characters. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Gary Lockett [mailto:keysolns at lantic.net] Sent: Monday 2003 Aug 11 12:47 To: Access Developers discussion and problem solving Subject: Re: Betreft: Re: [AccessD] Linked Table - Excel Spreadsheet When opening the file in Notepad or Wordpad, there are a number of unprintable characters. Unfortunately the data is not produced in a nice neat format that can easily be copied and pasted. Gary ----- Original Message ----- From: "Wortz, Charles" To: "Access Developers discussion and problem solving" Sent: Monday, August 11, 2003 2:44 PM Subject: RE: Betreft: Re: [AccessD] Linked Table - Excel Spreadsheet Gary, Does the spreadsheet still have the .xls file extension or does it now have the .doc file extension? It is possible somebody opened and then saved it in Word. If so, then you can open it in Word and try saving it in Excel. If that's not it, then try opening the file in either Word or Notepad and try copying the data to a clean Excel worksheet. You should be able to recover most of the data that way. Charles Wortz -----Original Message----- Sent: Monday 2003 Aug 11 07:06 To: Access Developers discussion and problem solving Subject:Re: [AccessD] Linked Table - Excel Spreadsheet Having reread my post, it is rather misleading. When I try opening the spreadsheet with Excel, I am unable to open the file. It says "Unable to read file". ----- Original Message ----- From: "Gary Lockett" To: Sent: Monday, August 11, 2003 1:51 PM Subject: [AccessD] Linked Table - Excel Spreadsheet I have a customer who has a database with a table linking to an Excel Spreadsheet. This morning (Monday morning blues) they are unable to access the data. Access gives an error message saying that the external table is not in the correct format. When I tried opening the spreadsheet with Excel, the file is not in the correct format. The customer says that the only problem they have had is running out of space on the C: Drive - could this corrupt the Excel file? Are there any utilities available to repair an Excel file? What steps do I need to take to retrieve the data? The customer promises to start taking backups from now on. I need to recover their data. Can someone on this wonderful list help make me look good in the customers eyes???? Gary Lockett Key Solutions Port Elizabeth South Africa From jcolby at colbyconsulting.com Mon Aug 11 13:50:56 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Mon, 11 Aug 2003 14:50:56 -0400 Subject: [AccessD] TEchie Question In-Reply-To: <001301c36034$1fbb2470$0f0b6351@martin1> Message-ID: http://www.grtg.org/stuff/computers/windows/svchost_exe.php http://support.microsoft.com/default.aspx?scid=http://support.microsoft.com: 80/support/kb/articles/Q250/3/20.ASP&NoWebContent=1 John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Martin Reid Sent: Monday, August 11, 2003 2:12 PM To: Access Developers discussion and problem solving Subject: [AccessD] TEchie Question I know I know But anyone know what svchost.exe is. I am gettign and "The instruction at XXXX referenced memory at xxx. The memory couldnot be written. SVCHOST.exe is the app causing the problem. Long as I dont close the error message down I can continue to use the PC. Martin _______________________________________________ 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 Mon Aug 11 13:51:10 2003 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Mon, 11 Aug 2003 11:51:10 -0700 Subject: [AccessD] TEchie Question References: <001301c36034$1fbb2470$0f0b6351@martin1> <00c801c36036$58d01c00$cae6ffcc@SusanOne> Message-ID: <000901c36039$8ac4c6e0$0f0b6351@martin1> LOL Now we know what it is how do we fix it? If I leave the rror message on all works ok. This is the second box to go. I have one in being repaired and now this one is going. Martin ----- Original Message ----- From: "Susan Harkins" To: "Access Developers discussion and problem solving" Sent: Monday, August 11, 2003 11:28 AM Subject: Re: [AccessD] TEchie Question > http://www.grtg.org/stuff/computers/windows/svchost_exe.php > > Just do a google -- several links come up. :) I can hear you groaning from > Ireland! ;) > > Susan H. > > > > I know I know > > > > But anyone know what svchost.exe is. I am gettign and "The instruction at > > XXXX referenced memory at xxx. The memory couldnot be written. SVCHOST.exe > > is the app causing the problem. Long as I dont close the error message > down > > I can continue to use the PC. > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jcolby at colbyconsulting.com Mon Aug 11 14:07:43 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Mon, 11 Aug 2003 15:07:43 -0400 Subject: [AccessD] TEchie Question In-Reply-To: <000901c36039$8ac4c6e0$0f0b6351@martin1> Message-ID: It sounds like a specific application you are running is causing the problem. The svchost is literally just a host service for some process. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Martin Reid Sent: Monday, August 11, 2003 2:51 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] TEchie Question LOL Now we know what it is how do we fix it? If I leave the rror message on all works ok. This is the second box to go. I have one in being repaired and now this one is going. Martin ----- Original Message ----- From: "Susan Harkins" To: "Access Developers discussion and problem solving" Sent: Monday, August 11, 2003 11:28 AM Subject: Re: [AccessD] TEchie Question > http://www.grtg.org/stuff/computers/windows/svchost_exe.php > > Just do a google -- several links come up. :) I can hear you groaning from > Ireland! ;) > > Susan H. > > > > I know I know > > > > But anyone know what svchost.exe is. I am gettign and "The instruction at > > XXXX referenced memory at xxx. The memory couldnot be written. SVCHOST.exe > > is the app causing the problem. Long as I dont close the error message > down > > I can continue to use the PC. > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Mark.Mitsules at ngc.com Mon Aug 11 14:30:59 2003 From: Mark.Mitsules at ngc.com (Mitsules, Mark) Date: Mon, 11 Aug 2003 15:30:59 -0400 Subject: [AccessD] ASCII Sorting - Numeric First, then Alpha-Numeric Message-ID: Group, I am converting an Excel solution to Access. The Excel solution had a column of values that the user typed in (numerical sequence as text 000-999). I have created a table of all possible 3 character codes (46,656 records). I would like a list box to default to the next available code. As the Excel list is already at 919, I would like the remaining numeric codes to be used first (920-999), after that, ASCII sort is fine . Any thoughts on how I can accomplish this? Mark From mwp.reid at qub.ac.uk Mon Aug 11 15:08:25 2003 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Mon, 11 Aug 2003 13:08:25 -0700 Subject: [AccessD] Techie Question References: Message-ID: <001701c36044$5370f460$0f0b6351@martin1> It would appear I have two programs trying to use the same memory area. Now I need to find out which. Way out of my league this. Tryed reinstalling the OS - still getting the error and stopped every service I understood without killing the system. Still no luck. Martin ----- Original Message ----- From: "John Colby" To: "Access Developers discussion and problem solving" Sent: Monday, August 11, 2003 11:50 AM Subject: RE: [AccessD] TEchie Question > http://www.grtg.org/stuff/computers/windows/svchost_exe.php > http://support.microsoft.com/default.aspx?scid=http://support.microsoft.com: > 80/support/kb/articles/Q250/3/20.ASP&NoWebContent=1 > > > John W. Colby > www.colbyconsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Martin Reid > Sent: Monday, August 11, 2003 2:12 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] TEchie Question > > > I know I know > > But anyone know what svchost.exe is. I am gettign and "The instruction at > XXXX referenced memory at xxx. The memory couldnot be written. SVCHOST.exe > is the app causing the problem. Long as I dont close the error message down > I can continue to use the PC. > > Martin > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From Christian.Brock at hoffman.army.mil Mon Aug 11 15:46:04 2003 From: Christian.Brock at hoffman.army.mil (Brock, Christian T, PERSCOM) Date: Mon, 11 Aug 2003 16:46:04 -0400 Subject: [AccessD] ASCII Sorting - Numeric First, then Alpha-Numeric Message-ID: Add another long integer column to the table that specifies the sort order and sort using that column. Christian Brock -----Original Message----- From: Mitsules, Mark [mailto:Mark.Mitsules at ngc.com] Sent: Monday, 11 August 2003 15:31 To: '[AccessD]' Subject: [AccessD] ASCII Sorting - Numeric First, then Alpha-Numeric Importance: High Group, I am converting an Excel solution to Access. The Excel solution had a column of values that the user typed in (numerical sequence as text 000-999). I have created a table of all possible 3 character codes (46,656 records). I would like a list box to default to the next available code. As the Excel list is already at 919, I would like the remaining numeric codes to be used first (920-999), after that, ASCII sort is fine . Any thoughts on how I can accomplish this? Mark _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Mon Aug 11 15:59:32 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 11 Aug 2003 13:59:32 -0700 Subject: [AccessD] Access and Data Warehouses Message-ID: The real problem is that the auditors hadn't a clue as what a datawarehouse actually is or they would not have raised the issue in the first place. Data warehouses are for reporting, nothing else really. If you need to *capture* data, you do it elsewhere. Every data warehouse I've ever seen was built by someone who had no earthly idea of what users actually needed to extract from it, so the reporting tools left a great deal to be desired. Sounds like the case here as well. Charlotte Foust -----Original Message----- From: MartyConnelly [mailto:martyconnelly at shaw.ca] Sent: Sunday, August 10, 2003 9:27 AM To: Access Developers discussion and problem solving Subject: [AccessD] Access and Data Warehouses Just an interesting article that mentions the proliferation of Access databases when a Data Warehouse is slow to come online. From an Australian Government audit. http://www.itworldcanada.com/index.cfm/ci_id/46435.htm _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From sgeller at cce.umn.edu Mon Aug 11 16:30:58 2003 From: sgeller at cce.umn.edu (Susan Geller) Date: Mon, 11 Aug 2003 16:30:58 -0500 Subject: [AccessD] OT: Job Opening in Minneapolis (cross posted) Message-ID: For those of you local to the Twin Cities, wanted to let you know about a job opening in my unit for a SQL Server DBA/Programmer. Contact me off line if you are interested and I can answer questions. http://www1.umn.edu/ohr/jobs/R119892.html --Susan Susan B. Geller Office of Information Systems College of Continuing Education University of Minnesota 306 Wesbrook Hall 77 Pleasant Street SE Minneapolis, MN 55455 Phone: 612-626-4785 Fax: 612-625-2568 From sgeller at cce.umn.edu Mon Aug 11 16:34:07 2003 From: sgeller at cce.umn.edu (Susan Geller) Date: Mon, 11 Aug 2003 16:34:07 -0500 Subject: [AccessD] ADP/SP problem Message-ID: Michael, I know what I would do if you were in an unbound form, but I'm not sure what to tell you with bound. If you haven't gotten any other ideas, I can send you that and you can try to work with it. Let me know. --Susan -----Original Message----- From: Michael Brosdorf [mailto:michael.broesdorf at web.de] Sent: Thursday, August 07, 2003 3:51 AM To: Access Developers discussion and problem solving Subject: [AccessD] ADP/SP problem Hello, in my ADP-project (A2K) I have a (read-only) subform that is bound to a stored procedure with an input parameter. The input parameter uses a textbox on the main form. That works fine as long as the SP returns records. However, if the SP does not return records, Access displays a message telling me that the SP has been executed but did not return any records. I click on OK and the same message reappears over and over again. I can only end this by 'killing' access using the task manager of Windows. How can I tell Access not to tell me that no records are returned by the SP? TIA, Michael _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Mon Aug 11 17:30:05 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Mon, 11 Aug 2003 15:30:05 -0700 Subject: [AccessD] Techie Question References: <001701c36044$5370f460$0f0b6351@martin1> Message-ID: <3F3818ED.7020404@shaw.ca> Check if you have more than one copy of svchost.exe anywhere on your machine. A valid copy should be around 8-15K depending on the OS. If you have another large one, say around 500K, you may have a Trojan spoofing it. I think some Bots may do this. You can run multiple versions of svchost Martin Reid wrote: >It would appear I have two programs trying to use the same memory area. Now >I need to find out which. Way out of my league this. Tryed reinstalling the >OS - still getting the error and stopped every service I understood without >killing the system. Still no luck. > >Martin > > >----- Original Message ----- >From: "John Colby" >To: "Access Developers discussion and problem solving" > >Sent: Monday, August 11, 2003 11:50 AM >Subject: RE: [AccessD] TEchie Question > > > > >>http://www.grtg.org/stuff/computers/windows/svchost_exe.php >> >> >> >http://support.microsoft.com/default.aspx?scid=http://support.microsoft.com: > > >>80/support/kb/articles/Q250/3/20.ASP&NoWebContent=1 >> >> >>John W. Colby >>www.colbyconsulting.com >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Martin Reid >>Sent: Monday, August 11, 2003 2:12 PM >>To: Access Developers discussion and problem solving >>Subject: [AccessD] TEchie Question >> >> >>I know I know >> >>But anyone know what svchost.exe is. I am gettign and "The instruction at >>XXXX referenced memory at xxx. The memory couldnot be written. SVCHOST.exe >>is the app causing the problem. Long as I dont close the error message >> >> >down > > >>I can continue to use the PC. >> >>Martin >> >>_______________________________________________ >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >> >> >> >>_______________________________________________ >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>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 Mon Aug 11 17:34:02 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue, 12 Aug 2003 08:34:02 +1000 Subject: [AccessD] TEchie Question In-Reply-To: <000901c36039$8ac4c6e0$0f0b6351@martin1> Message-ID: <3F38A67A.26401.DA2FF@localhost> On 11 Aug 2003 at 11:51, Martin Reid wrote: > LOL > > Now we know what it is how do we fix it? > > If I leave the rror message on all works ok. > > This is the second box to go. I have one in being repaired and now this one > is going. > > > Martin > > ----- Original Message ----- > From: "Susan Harkins" > To: "Access Developers discussion and problem solving" > > Sent: Monday, August 11, 2003 11:28 AM > Subject: Re: [AccessD] TEchie Question > > > > http://www.grtg.org/stuff/computers/windows/svchost_exe.php > > > > Just do a google -- several links come up. :) I can hear you groaning from > > Ireland! ;) > > > > Susan H. > > > > > > > I know I know > > > > > > But anyone know what svchost.exe is. I am gettign and "The instruction > at > > > XXXX referenced memory at xxx. The memory couldnot be written. > SVCHOST.exe > > > is the app causing the problem. Long as I dont close the error message > > down > > > I can continue to use the PC. > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From harkins at iglou.com Mon Aug 11 18:38:43 2003 From: harkins at iglou.com (Susan Harkins) Date: Mon, 11 Aug 2003 19:38:43 -0400 Subject: [AccessD] martin's problem Message-ID: <000201c36062$1613e550$dcecffcc@SusanOne> The same thing's happening to me this afternoon Martin -- I think so anyway. I get a Generic Host Process for Win32 Services has encountered a problem... and then if I close the warning, it eventually reboots. I also just got a warning about a new worm and maybe that's the problem? Susan H. From melissasener at earthlink.net Mon Aug 11 18:50:24 2003 From: melissasener at earthlink.net (Melissa F. Sener) Date: Mon, 11 Aug 2003 16:50:24 -0700 Subject: [AccessD] martin's problem In-Reply-To: <000201c36062$1613e550$dcecffcc@SusanOne> Message-ID: There is a new worm out there called something like msblast.exe. It bad, reboots you ever couple of minutes, i'm battling it now. If you have patch 823980 it shouldn't bother you (98 not effected). -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan Harkins Sent: Monday, August 11, 2003 4:39 PM To: AccessD at databaseadvisors.com Subject: [AccessD] martin's problem The same thing's happening to me this afternoon Martin -- I think so anyway. I get a Generic Host Process for Win32 Services has encountered a problem... and then if I close the warning, it eventually reboots. I also just got a warning about a new worm and maybe that's the problem? Susan H. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From harkins at iglou.com Mon Aug 11 18:52:02 2003 From: harkins at iglou.com (Susan Harkins) Date: Mon, 11 Aug 2003 19:52:02 -0400 Subject: [AccessD]OT martin's problem References: <000201c36062$1613e550$dcecffcc@SusanOne> Message-ID: <001e01c36063$92398da0$dcecffcc@SusanOne> Internet Virus Alert: Central Command Warns Of New RPC Computer Worm Named Worm/Lovsan.A http://support.centralcommand.com/cgi-bin/command.cfg/php/enduser/std_adp.ph p?p_faqid=506 ========I'll be looking for more info on how to get rid of this -- info talks as though msblast.exe is the virus file and I've got it. :( Not sure where I got it from though if that's the case -- the wording is a bit ambiguous and I'm not positive that msblast.exe isn't a valid file. If anyone finds more info on how to get rid of this sucker, let me know please. Susan H. ----- Original Message ----- From: "Susan Harkins" To: Sent: Monday, August 11, 2003 7:38 PM Subject: [AccessD] martin's problem > The same thing's happening to me this afternoon Martin -- I think so anyway. > I get a Generic Host Process for Win32 Services has encountered a problem... > and then if I close the warning, it eventually reboots. I also just got a > warning about a new worm and maybe that's the problem? > > Susan H. > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From harkins at iglou.com Mon Aug 11 18:59:56 2003 From: harkins at iglou.com (Susan Harkins) Date: Mon, 11 Aug 2003 19:59:56 -0400 Subject: [AccessD] martin's problem References: Message-ID: <000d01c36064$acdf0940$96e6ffcc@SusanOne> How do I get this patch -- does it work for Win 2002 -- the one I finally found doesn't. Susan H. > There is a new worm out there called something like msblast.exe. > It bad, reboots you ever couple of minutes, i'm battling it now. If you have > patch 823980 it shouldn't bother you (98 not effected). From stuart at lexacorp.com.pg Mon Aug 11 19:00:01 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue, 12 Aug 2003 10:00:01 +1000 Subject: [AccessD] martin's problem In-Reply-To: <000201c36062$1613e550$dcecffcc@SusanOne> Message-ID: <3F38BAA1.11893.5C5E08@localhost> On 11 Aug 2003 at 19:38, Susan Harkins wrote: > The same thing's happening to me this afternoon Martin -- I think so anyway. > I get a Generic Host Process for Win32 Services has encountered a problem... > and then if I close the warning, it eventually reboots. I also just got a > warning about a new worm and maybe that's the problem? > In the last couple of hours, I have had a dozen or so probes to Port 135 on my PC (that and quite a few probes of port 445). My firewall tells me that that port 135 is currently used by SVCHOST. Looks like something out there is trying to take me over my SVCHOST. Maybe your's has been? -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From stuart at lexacorp.com.pg Mon Aug 11 19:07:20 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue, 12 Aug 2003 10:07:20 +1000 Subject: [AccessD]OT martin's problem In-Reply-To: <001e01c36063$92398da0$dcecffcc@SusanOne> Message-ID: <3F38BC58.19011.630E88@localhost> On 11 Aug 2003 at 19:52, Susan Harkins wrote: > Internet Virus Alert: Central Command Warns Of New RPC > Computer Worm Named Worm/Lovsan.A > > > http://support.centralcommand.com/cgi-bin/command.cfg/php/enduser/std_adp.ph > p?p_faqid=506 > > > ========I'll be looking for more info on how to get rid of this -- info > talks as though msblast.exe is the virus file and I've got it. :( Not sure > where I got it from though if that's the case -- the wording is a bit Are you firewalled? If not, it snuck into your system using the "Buffer Overrun In RPC Interface Could Allow Code Execution " exploit. See http://support.microsoft.com/?kbid=823980 > ambiguous and I'm not positive that msblast.exe isn't a valid file. > Doubt if it is a valid file. There's none on my W2k system. > If anyone finds more info on how to get rid of this sucker, let me know > please. > Looks like it's just a case of deleting the reg key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run "windows auto update"="msblast.exe" and the MSBLAST.EXE file. -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From SDSSoftware at Optusnet.com.au Mon Aug 11 20:17:12 2003 From: SDSSoftware at Optusnet.com.au (Software Design & Solutions Pty Ltd.) Date: Tue, 12 Aug 2003 11:17:12 +1000 Subject: [AccessD] ASP - getting started References: <005501c35d87$f0402690$54dd31d2@OfficePC> <002b01c35d8b$2bbd7620$0f0b6351@martin1> Message-ID: <006d01c3606f$758dced0$54dd31d2@OfficePC> THanks. Tried that but still no luck with local host. - 'page not found' etc. Kath ----- Original Message ----- From: Martin Reid To: Access Developers discussion and problem solving Sent: Friday, August 08, 2003 6:58 PM Subject: Re: [AccessD] ASP - getting started Create a folder under wwwroot call it test. Set the properties of the folder for web sharing. Create a simple file called index.html with a few words in it. try http://localhost/test/index.html Martin ----- Original Message ----- From: Software Design & Solutions Pty Ltd. To: Access Developers discussion and problem solving Sent: Friday, August 08, 2003 1:34 AM Subject: Re: [AccessD] ASP - getting started Ok - I see the 'Home directory' specifies c:\inetpub\wwwroot and the 'Document' tab shows a list of 3 files with Default.htm at the top - so if it uses the top one then that solves the question of where it gets the file name from. Anyone know why I get 'Page not found' when I point my browser to http://localhost/iisHelp/ to try to learn this stuff? And why I can't use http://localhost ? Kath ----- Original Message ----- From: Haslett, Andrew To: 'Access Developers discussion and problem solving' Sent: Friday, August 08, 2003 4:04 PM Subject: RE: [AccessD] ASP - getting started You need to use the IIS Manager. Control Panel -> Administrative Tools -> IIS Manager. Right click your website to bring up its properties, and somewhere in there you can list the page types/names that you want as your defaults. Cheers, Andrew -----Original Message----- From: Software Design & Solutions Pty Ltd. [mailto:SDSSoftware at optusnet.com.au] Sent: Friday, 8 August 2003 3:30 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] ASP - getting started Michael - thanks.....http://localhost doesn't work but http://127.0.0.1 does. Why? And how / where do Im nominate what the file location is for my default home page for OfficePC? Kath ----- Original Message ----- From: Michael R Mattys To: Access Developers discussion and problem solving Sent: Friday, August 08, 2003 3:56 PM Subject: Re: [AccessD] ASP - getting started Kath, Try http://localhost or http://127.0.0.1 Michael R. Mattys www.mattysconsulting.com ----- Original Message ----- From: "Software Design & Solutions Pty Ltd." To: Sent: Friday, August 08, 2003 1:40 AM Subject: [AccessD] ASP - getting started Learning something new....hoping someone can point me in the right direction.... I want to create some ASP files. I am using Windows 2000 and have installed IIS on my office PC which has a workgroup network so that I can hook up the laptop to this PC. Under 'My computer', Properties, the computer name is 'OfficePC'. I notice that installing IIS has created an innetpub folder on the C drive with a number of subfolders. I was under the impression that by default, having installed IIS, if you enter an address such as http://officepc/ into a browser it should open a file called default.htm in the C:\inetpub\wwwroot folder. But when I do that I get 'page cannot be displayed'. (there is a default.htm in that folder). Have I missed something on the installation or ??? TIA Kath Pelletti Software Design & Solutions Pty Ltd. Ph: 9505-6714 Fax: 9505-6430 SDSSoftware at Optusnet.com.au ---------------------------------------------------------------------------- ---- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com IMPORTANT - PLEASE READ ******************** This email and any files transmitted with it are confidential and may contain information protected by law from disclosure. If you have received this message in error, please notify the sender immediately and delete this email from your system. No warranty is given that this email or files, if attached to this email, are free from computer viruses or other defects. They are provided on the basis the user assumes all responsibility for loss, damage or consequence resulting directly or indirectly from their use, whether caused by the negligence of the sender or not. -------------------------------------------------------------------------- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------------------------------- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From SDSSoftware at Optusnet.com.au Mon Aug 11 20:18:58 2003 From: SDSSoftware at Optusnet.com.au (Software Design & Solutions Pty Ltd.) Date: Tue, 12 Aug 2003 11:18:58 +1000 Subject: [AccessD] ASP - getting started References: <00a501c35d93$9e3adfa0$5100a8c0@BITSNB02> Message-ID: <007701c3606f$b51b2fc0$54dd31d2@OfficePC> Thanks Stuart. I have added that line - but still not recognising local host. Kath ----- Original Message ----- From: Stuart Sanders To: 'Access Developers discussion and problem solving' Sent: Friday, August 08, 2003 7:58 PM Subject: RE: [AccessD] ASP - getting started At a guess if 127.0.0.1 works and localhost doesn't, then you might want to check your hosts file. Your hosts file (for me it is in c:\winnt\system32\drivers\etc) should contain the following line: 127.0.0.1 localhost Stuart -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Software Design & Solutions Pty Ltd. Sent: Friday, 08 August, 2003 4:35 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] ASP - getting started Ok - I see the 'Home directory' specifies c:\inetpub\wwwroot and the 'Document' tab shows a list of 3 files with Default.htm at the top - so if it uses the top one then that solves the question of where it gets the file name from. Anyone know why I get 'Page not found' when I point my browser to http://localhost/iisHelp/ to try to learn this stuff? And why I can't use http://localhost ? Kath ----- Original Message ----- From: Haslett, Andrew To: 'Access Developers discussion and problem solving' Sent: Friday, August 08, 2003 4:04 PM Subject: RE: [AccessD] ASP - getting started You need to use the IIS Manager. Control Panel -> Administrative Tools -> IIS Manager. Right click your website to bring up its properties, and somewhere in there you can list the page types/names that you want as your defaults. Cheers, Andrew -----Original Message----- From: Software Design & Solutions Pty Ltd. [mailto:SDSSoftware at optusnet.com.au] Sent: Friday, 8 August 2003 3:30 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] ASP - getting started Michael - thanks.....http://localhost doesn't work but http://127.0.0.1 does. Why? And how / where do Im nominate what the file location is for my default home page for OfficePC? Kath ----- Original Message ----- From: Michael R Mattys To: Access Developers discussion and problem solving Sent: Friday, August 08, 2003 3:56 PM Subject: Re: [AccessD] ASP - getting started Kath, Try http://localhost or http://127.0.0.1 Michael R. Mattys www.mattysconsulting.com ----- Original Message ----- From: "Software Design & Solutions Pty Ltd." To: Sent: Friday, August 08, 2003 1:40 AM Subject: [AccessD] ASP - getting started Learning something new....hoping someone can point me in the right direction.... I want to create some ASP files. I am using Windows 2000 and have installed IIS on my office PC which has a workgroup network so that I can hook up the laptop to this PC. Under 'My computer', Properties, the computer name is 'OfficePC'. I notice that installing IIS has created an innetpub folder on the C drive with a number of subfolders. I was under the impression that by default, having installed IIS, if you enter an address such as http://officepc/ into a browser it should open a file called default.htm in the C:\inetpub\wwwroot folder. But when I do that I get 'page cannot be displayed'. (there is a default.htm in that folder). Have I missed something on the installation or ??? TIA Kath Pelletti Software Design & Solutions Pty Ltd. Ph: 9505-6714 Fax: 9505-6430 SDSSoftware at Optusnet.com.au ---------------------------------------------------------------------------- ---- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com IMPORTANT - PLEASE READ ******************** This email and any files transmitted with it are confidential and may contain information protected by law from disclosure. If you have received this message in error, please notify the sender immediately and delete this email from your system. No warranty is given that this email or files, if attached to this email, are free from computer viruses or other defects. They are provided on the basis the user assumes all responsibility for loss, damage or consequence resulting directly or indirectly from their use, whether caused by the negligence of the sender or not. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From SDSSoftware at Optusnet.com.au Mon Aug 11 20:19:44 2003 From: SDSSoftware at Optusnet.com.au (Software Design & Solutions Pty Ltd.) Date: Tue, 12 Aug 2003 11:19:44 +1000 Subject: [AccessD] ASP - getting started References: <001501c35d6f$aa6e3c50$54dd31d2@OfficePC><01ee01c35d71$ca6e26d0$6401a8c0@default><002f01c35d72$409e58c0$54dd31d2@OfficePC> <00ab01c35db1$da5edb30$e6e6ffcc@SusanOne> Message-ID: <008e01c3606f$d0734f00$54dd31d2@OfficePC> Susan - I can;t get the computer name to work either. Only the http://127.0.0.1 address works. Thanks anyway. Kath ----- Original Message ----- From: Susan Harkins To: Access Developers discussion and problem solving Sent: Friday, August 08, 2003 11:34 PM Subject: Re: [AccessD] ASP - getting started http://localhost is notoriously buggy and I've never really found an explanation why. Try naming your computer and using that name, that's what's worked for me in the past. Susan H. Michael - thanks.....http://localhost doesn't work but http://127.0.0.1 does. Why? And how / where do Im nominate what the file location is for my default home page for OfficePC? ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From SDSSoftware at Optusnet.com.au Mon Aug 11 20:22:15 2003 From: SDSSoftware at Optusnet.com.au (Software Design & Solutions Pty Ltd.) Date: Tue, 12 Aug 2003 11:22:15 +1000 Subject: [AccessD] ASP - getting started References: Message-ID: <00ac01c36070$2a5086f0$54dd31d2@OfficePC> BerichtThanks Erwin - I am learning from all of you but still no luck with getting locahost to work. Now that I know to use 127.0.0.1 at least I can get into the help and will read through there...using http://127.0.0.1/iishelp Kath ----- Original Message ----- From: Erwin Craps To: Access Developers discussion and problem solving Sent: Saturday, August 09, 2003 6:26 AM Subject: RE: [AccessD] ASP - getting started thats a simple one..... 127.0.0.1 is by standard the way to contact your local host without knowing the ip address (you can use IPconfig to know your address). localhast (by name like http://localhost) only works when this is added to the file C:\Windows\system32\DRIVERS\hosts. (no extension). add 127.0.0.1 localhost Somewhere at the bottem. You could also add 127.0.0.1 memyselfandi (that a joke:-) Do not use your local ip address 192.168.1.54 for example. You may, but if you have a DHCP server that address will change in time and your localhost name resolution will point to another computer. Another example, if you would add 192.168.0.12 othercomputer and you would browse to http://othercomputer you would come on the website of the computer having 192.168.0.12 as an ip address (and when having IIS installed ofcourse) Please note that you do not need to add real computer names to this file, they are already translated by the master browser in a peer to pear network or by Wins or DNS, if you have a real server in your network. Another reason why http://localhost would not work is that you use a proxy server (internet options) and "do not use proxy for local ..." is off. But this is only true for port 80 activity (http), unless you also have a Winsock Client, as for MS Proxy server or ISA server. I hope this clears some thing out. Erwin -----Original Message----- From: Susan Harkins [mailto:harkins at iglou.com] Sent: Friday, August 08, 2003 3:35 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] ASP - getting started http://localhost is notoriously buggy and I've never really found an explanation why. Try naming your computer and using that name, that's what's worked for me in the past. Susan H. Michael - thanks.....http://localhost doesn't work but http://127.0.0.1 does. Why? And how / where do Im nominate what the file location is for my default home page for OfficePC? ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From d.dick at uws.edu.au Mon Aug 11 20:39:26 2003 From: d.dick at uws.edu.au (Darren DICK) Date: Tue, 12 Aug 2003 11:39:26 +1000 Subject: [AccessD] World Series References: <001201c35c67$c0b2b530$6501a8c0@laptop> Message-ID: <01d201c36072$90df7e10$3c619a89@DDICK> I was of the opinion it was originally sponsored or supported by 'The World' newspaper >From a luddite Ozzie ----- Original Message ----- From: "Scott Marcus" To: "'Access Developers discussion and problem solving'" Sent: Thursday, August 07, 2003 8:11 AM Subject: RE: [AccessD] World Series > Toronto, Canada has a major league baseball team. So it isn't just the USA. > > Scott Marcus > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert > Sent: Wednesday, August 06, 2003 3:26 PM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] World Series > > But it is limited to TEAMS that are in the NL or AL, whereas the World Cup > (for instance) is between teams from all countries (that are members of > FIFA). It (The World Series) is only played in North America the World Cup > is held all over the planet. > > The "Major Leagues" treat teams from any other country (Japan, Cuba [shock! > a left-wing dictatorship!!!]... I can't think of any others, though I'm sure > there must be) with almost as much respect as they give to the Minor Leagues > - precious little. > > > -----Original Message----- > > From: Huffman, Jarad B. [SMTP:jbhuffman at mdh.org] > > Sent: Wednesday, August 06, 2003 2:37 PM > > To: 'Access Developers discussion and problem solving' > > Subject: RE: [AccessD] World Series > > > > There are players from around the world playing in American ball; it's not > > just limited to American atheletes. > > > > Jarad Huffman > > > > > > -----Original Message----- > > From: Charlotte Foust [mailto:cfoust at infostatsystems.com] > > Sent: Wednesday, August 06, 2003 1:26 PM > > To: Access Developers discussion and problem solving > > Subject: RE: [AccessD] World Series > > > > > > Well, doesn't the world center around the USA? > > Baseball as a professional sport was exported to other countries fairly > > recently. The baseball world used to be much smaller. > > > > Charlotte Foust > > > > -----Original Message----- > > From: Martin Reid [mailto:mwp.reid at qub.ac.uk] > > Sent: Wednesday, August 06, 2003 10:15 AM > > To: Access Developers discussion and problem solving > > Subject: [AccessD] World Series > > > > > > Why do they call the World Series the World Series anyway? Always wondered > > about that? > > > > Martin > > > > > You'll know the world is returning to reality when rapping is classed > > > as poetry, not music, when the US is respectful of other countries, > > > when the World Series is renamed the North American Baseball > > > Championship, when > > SUV's > > > are either banned or subject to pollution taxes, when we stop BURNING > > > oil and start to use it as a raw material for other products, when the > > > > > industrial military complex accounts for less that 10% of the US GNP, > > > when the Detroit Auto industry loses any clout it has with Washington, > > > > > when we start seriously investing in rail transportation, when no more > > > > > 6 lane highways are built, when Cell phones are stored behind glass > > > panels with "break in case of emergency" signs on them, when bicycle > > > sales exceed > > those > > > of cars, etc. etc. etc. > > > > > > Lambert > > > > -----Original Message----- > > > > From: William Hindman [mailto:wdhindman at bellsouth.net] > > > > Sent: Tuesday 2003 Aug 05 22:18 > > > > To: Access Developers discussion and problem solving > > > > Subject: Re: [AccessD] AXP Text File Import Crashes Access > > > > > > > > > > > > ...lol ...well at least with this one, there are no militant > > > > protesters threatening to e-bomb my mail server :) > > > > > > > > William Hindman > > > > "You know the world is going crazy when the best rapper is a white > > > > guy, the best golfer is a black guy, The Swiss hold the America's > > > > Cup, France is accusing the US of arrogance, and Germany doesn't > > > > want to go to war." > > > > > > > > ----- Original Message ----- > > > > From: Software Design & Solutions Pty Ltd. > > > > > > > > To: Access Developers discussion and problem solving > > > > > > > > Sent: Tuesday, August 05, 2003 9:42 PM > > > > Subject: Re: [AccessD] AXP Text File Import Crashes Access > > > > > > > > William - great tag on your email! > > > > Kath > > > > > > > > > > > > << File: ATT964242.txt >> > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From harkins at iglou.com Mon Aug 11 20:37:40 2003 From: harkins at iglou.com (Susan Harkins) Date: Mon, 11 Aug 2003 21:37:40 -0400 Subject: [AccessD] ASP - getting started References: <00ac01c36070$2a5086f0$54dd31d2@OfficePC> Message-ID: <000001c36072$92296330$eeecffcc@SusanOne> BerichtKath; You might try a Shift Refresh, but there's another keystroke combination that's worked for me before, but I can't recall it now -- once I named my computer I stopped having the problem. Maybe someone else will know the combination? Susan H. Thanks Erwin - I am learning from all of you but still no luck with getting locahost to work. Now that I know to use 127.0.0.1 at least I can get into the help and will read through there...using http://127.0.0.1/iishelp -------------- next part -------------- An HTML attachment was scrubbed... URL: From andrew.haslett at ilc.gov.au Mon Aug 11 21:00:49 2003 From: andrew.haslett at ilc.gov.au (Haslett, Andrew) Date: Tue, 12 Aug 2003 11:30:49 +0930 Subject: [AccessD] ASP - getting started Message-ID: I reckon its time to remove and reinstall IIS though. You can do it through Add/Remove programs. Cheers, Andrew -----Original Message----- From: Susan Harkins [mailto:harkins at iglou.com] Sent: Tuesday, 12 August 2003 11:08 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] ASP - getting started Kath; You might try a Shift Refresh, but there's another keystroke combination that's worked for me before, but I can't recall it now -- once I named my computer I stopped having the problem. Maybe someone else will know the combination? Susan H. Thanks Erwin - I am learning from all of you but still no luck with getting locahost to work. Now that I know to use 127.0.0.1 at least I can get into the help and will read through there...using http://127.0.0.1/iishelp IMPORTANT - PLEASE READ ******************** This email and any files transmitted with it are confidential and may contain information protected by law from disclosure. If you have received this message in error, please notify the sender immediately and delete this email from your system. No warranty is given that this email or files, if attached to this email, are free from computer viruses or other defects. They are provided on the basis the user assumes all responsibility for loss, damage or consequence resulting directly or indirectly from their use, whether caused by the negligence of the sender or not. -------------- next part -------------- An HTML attachment was scrubbed... URL: From stuart at lexacorp.com.pg Mon Aug 11 21:09:03 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue, 12 Aug 2003 12:09:03 +1000 Subject: [AccessD] World Series In-Reply-To: <01d201c36072$90df7e10$3c619a89@DDICK> Message-ID: <3F38D8DF.10256.1954EF6F@localhost> On 12 Aug 2003 at 11:39, Darren DICK wrote: > I was of the opinion it was originally sponsored or supported by 'The World' newspaper > >From a luddite Ozzie > > A common misconception. See http://www.snopes.com/business/names/worldser.htm -- Stuart McLachlan Lexacorp Ltd Application Development, IT Consultancy http://www.lexacorp.com.pg From djkr at msn.com Mon Aug 11 21:20:02 2003 From: djkr at msn.com (DJK(John) Robinson) Date: Tue, 12 Aug 2003 03:20:02 +0100 Subject: [AccessD]OT martin's problem In-Reply-To: <001e01c36063$92398da0$dcecffcc@SusanOne> Message-ID: <001f01c36078$3c7fb410$db00a8c0@dabsight> Susan Sophos gives the aliases of this pest: http://www.sophos.com/virusinfo/analyses/w32blastera.html (and you can download their free 30-day trial) Although it seems you are infected, it doesn't sound as though it's the source of Martin's troubles... John > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Susan Harkins > Sent: 12 August 2003 00:52 > To: Access Developers discussion and problem solving > Subject: Re: [AccessD]OT martin's problem > > > Internet Virus Alert: Central Command Warns Of New RPC > Computer Worm Named Worm/Lovsan.A > > http://support.centralcommand.com/cgi-bin/command.cfg/php/enduser/std_adp.ph p?p_faqid=506 ========I'll be looking for more info on how to get rid of this -- info talks as though msblast.exe is the virus file and I've got it. :( Not sure where I got it from though if that's the case -- the wording is a bit ambiguous and I'm not positive that msblast.exe isn't a valid file. If anyone finds more info on how to get rid of this sucker, let me know please. Susan H. ----- Original Message ----- From: "Susan Harkins" To: Sent: Monday, August 11, 2003 7:38 PM Subject: [AccessD] martin's problem > The same thing's happening to me this afternoon Martin -- I think so anyway. > I get a Generic Host Process for Win32 Services has encountered a problem... > and then if I close the warning, it eventually reboots. I also just > got a warning about a new worm and maybe that's the problem? > > 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 wdhindman at bellsouth.net Mon Aug 11 21:23:36 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Mon, 11 Aug 2003 22:23:36 -0400 Subject: [AccessD]OT martin's problem References: <3F38BC58.19011.630E88@localhost> Message-ID: <001e01c36078$bc1d6190$6001a8c0@dejpolsys> ...more ...msblast.exe is the destructive package the worm downloads once you're infected ...you can get rid of msblast and the worm itself is not affected ...and may download msblast again ...you apparently need to block outbound on port 69 :( "From the reports so far, if you block outbound requests to any IP address where the destination port is 69, you should be able to block any attempt to get the actual worm component. Suggestions are that after the initial connection from attacker, the victim then does a TFTP call to known IP addresses (which are being blocked as we speak, but there's some doubt as to whether or not the list is static or dynamic.) If it reaches one of these TFTP servers, it will then download the component which does the replication and attacking. One report says that an XP Pro system had its RPC crash, then the system rebooted, then due to a run key under WindowsUpdate, it started the MSBLAST.EXE tool (that was, presumably, brought in via TFTP.) That executable started launching attacks. William Hindman So, then, to every man his chance -- to every man, regardless of his birth, his shining golden opportunity -- to every man his right to live, to work, to be himself, to become whatever his manhood and his vision can combine to make him -- this, seeker, is the promise of America. -- Thomas Wolfe ----- Original Message ----- From: "Stuart McLachlan" To: "Access Developers discussion and problem solving" Sent: Monday, August 11, 2003 8:07 PM Subject: Re: [AccessD]OT martin's problem > On 11 Aug 2003 at 19:52, Susan Harkins wrote: > > > Internet Virus Alert: Central Command Warns Of New RPC > > Computer Worm Named Worm/Lovsan.A > > > > > > http://support.centralcommand.com/cgi-bin/command.cfg/php/enduser/std_adp.ph > > p?p_faqid=506 > > > > > > ========I'll be looking for more info on how to get rid of this -- info > > talks as though msblast.exe is the virus file and I've got it. :( Not sure > > where I got it from though if that's the case -- the wording is a bit > > Are you firewalled? If not, it snuck into your system using the > "Buffer Overrun In RPC Interface Could Allow Code Execution " > exploit. > > See http://support.microsoft.com/?kbid=823980 > > > > ambiguous and I'm not positive that msblast.exe isn't a valid file. > > > Doubt if it is a valid file. There's none on my W2k system. > > > If anyone finds more info on how to get rid of this sucker, let me know > > please. > > > > > Looks like it's just a case of deleting the reg key: > > HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run > "windows auto update"="msblast.exe" > > and the MSBLAST.EXE file. > > > -- > Lexacorp Ltd > http://www.lexacorp.com.pg > Information Technology Consultancy, Software Development,System > Support. > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From martyconnelly at shaw.ca Mon Aug 11 21:27:06 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Mon, 11 Aug 2003 19:27:06 -0700 Subject: [AccessD]OT martin's problem References: <000201c36062$1613e550$dcecffcc@SusanOne> <001e01c36063$92398da0$dcecffcc@SusanOne> Message-ID: <3F38507A.2050304@shaw.ca> http://www.trendmicro.com/vinfo/virusencyclo/default5.asp?VName=WORM_MSBLAST.A Has instructions to kill worm in memory and remove from registry startup You may have problems downloading a patch. It is also directing a DOS attack against www.windowsupdate.com ;) .Interesting approach for a nuisance. Susan Harkins wrote: >Internet Virus Alert: Central Command Warns Of New RPC >Computer Worm Named Worm/Lovsan.A > > >http://support.centralcommand.com/cgi-bin/command.cfg/php/enduser/std_adp.ph >p?p_faqid=506 > > >========I'll be looking for more info on how to get rid of this -- info >talks as though msblast.exe is the virus file and I've got it. :( Not sure >where I got it from though if that's the case -- the wording is a bit >ambiguous and I'm not positive that msblast.exe isn't a valid file. > >If anyone finds more info on how to get rid of this sucker, let me know >please. > >Susan H. > > >----- Original Message ----- >From: "Susan Harkins" >To: >Sent: Monday, August 11, 2003 7:38 PM >Subject: [AccessD] martin's problem > > > > >>The same thing's happening to me this afternoon Martin -- I think so >> >> >anyway. > > >>I get a Generic Host Process for Win32 Services has encountered a >> >> >problem... > > >>and then if I close the warning, it eventually reboots. I also just got a >>warning about a new worm and maybe that's the problem? >> >>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 SDSSoftware at Optusnet.com.au Mon Aug 11 22:31:35 2003 From: SDSSoftware at Optusnet.com.au (Software Design & Solutions Pty Ltd.) Date: Tue, 12 Aug 2003 13:31:35 +1000 Subject: [AccessD] ASP - getting started References: Message-ID: <003401c36082$3d30d010$54dd31d2@OfficePC> BerichtNo luck with Ctrl+F5. And I have reinstalled - no change. I have also restarted the machine since editing the hosts file and still no change. I'm going to make do with 127.0.0.1 for now until I nut out the prob with localhost. THanks Kath ----- Original Message ----- From: Haslett, Andrew To: 'Access Developers discussion and problem solving' Sent: Tuesday, August 12, 2003 12:00 PM Subject: RE: [AccessD] ASP - getting started I reckon its time to remove and reinstall IIS though. You can do it through Add/Remove programs. Cheers, Andrew -----Original Message----- From: Susan Harkins [mailto:harkins at iglou.com] Sent: Tuesday, 12 August 2003 11:08 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] ASP - getting started Kath; You might try a Shift Refresh, but there's another keystroke combination that's worked for me before, but I can't recall it now -- once I named my computer I stopped having the problem. Maybe someone else will know the combination? Susan H. Thanks Erwin - I am learning from all of you but still no luck with getting locahost to work. Now that I know to use 127.0.0.1 at least I can get into the help and will read through there...using http://127.0.0.1/iishelp IMPORTANT - PLEASE READ ******************** This email and any files transmitted with it are confidential and may contain information protected by law from disclosure. If you have received this message in error, please notify the sender immediately and delete this email from your system. No warranty is given that this email or files, if attached to this email, are free from computer viruses or other defects. They are provided on the basis the user assumes all responsibility for loss, damage or consequence resulting directly or indirectly from their use, whether caused by the negligence of the sender or not. ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From harkins at iglou.com Mon Aug 11 22:31:46 2003 From: harkins at iglou.com (Susan Harkins) Date: Mon, 11 Aug 2003 23:31:46 -0400 Subject: [AccessD]OT martin's problem References: <000201c36062$1613e550$dcecffcc@SusanOne> <001e01c36063$92398da0$dcecffcc@SusanOne> <3F38507A.2050304@shaw.ca> Message-ID: <001501c36082$485b64f0$96e6ffcc@SusanOne> Yes, it really was just a nuisance -- thanks for the link -- I do want to get rid of the key and the file. It took me a few tries to get the patch downloaded before it shut me down. That was challenging, but beyond that it was just annoying. Susan H. > > > http://www.trendmicro.com/vinfo/virusencyclo/default5.asp?VName=WORM_MSBLAST .A > > Has instructions to kill worm in memory and remove from registry startup > You may have problems downloading a patch. It is also directing a DOS > attack against > www.windowsupdate.com ;) .Interesting approach for a nuisance. > > Susan Harkins wrote: > From d.dick at uws.edu.au Mon Aug 11 22:41:30 2003 From: d.dick at uws.edu.au (Darren DICK) Date: Tue, 12 Aug 2003 13:41:30 +1000 Subject: [AccessD] World Series References: <3F38D8DF.10256.1954EF6F@localhost> Message-ID: <022501c36083$9e1d79e0$3c619a89@DDICK> NO ARCHIVE Now I know DD ----- Original Message ----- From: "Stuart McLachlan" To: "Access Developers discussion and problem solving" Sent: Tuesday, August 12, 2003 12:09 PM Subject: Re: [AccessD] World Series > On 12 Aug 2003 at 11:39, Darren DICK wrote: > > > I was of the opinion it was originally sponsored or supported by 'The World' newspaper > > >From a luddite Ozzie > > > > > A common misconception. > > See http://www.snopes.com/business/names/worldser.htm > > > > -- > Stuart McLachlan > Lexacorp Ltd > Application Development, IT Consultancy > http://www.lexacorp.com.pg > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From accessd666 at yahoo.com Tue Aug 12 00:39:36 2003 From: accessd666 at yahoo.com (Sad Der) Date: Mon, 11 Aug 2003 22:39:36 -0700 (PDT) Subject: [AccessD] ASP - getting started In-Reply-To: <003401c36082$3d30d010$54dd31d2@OfficePC> Message-ID: <20030812053936.15798.qmail@web10007.mail.yahoo.com> Hi there, is you're problem still that you cannot open you're page with IIS locally installed? I just started building ASP stuff 2 weeks ago but I ran into the same problems. Took me a while before I got it going but now it runs like a train! Didn't read everything about this but you could try the following. Lets say you're computername is: wacky you've got a project called: prjWacky (THIS MEANS THAT IN YOU'RE INET\WWWROOT you got a dir called prjWacky with some files in it!) You've got a file in it called wackyhome.asp Now in you're IIS you've got this project (map) in/under the "DEFAULT WEB SITE" directory: in IIS you see: wacky |-Default Web Site |-Scripts |-... |-prjWacky When you right click prjWacky and go to the tab documents you're wackyhome.asp should be the first item. If it isn't add it! Then you should type the following in you're browser: wacky/prjWacky and tadaa you're first web site! HTH Sander BTW try VB-FORUMS.COM and check ASP thingy!! --- "Software Design & Solutions Pty Ltd." wrote: > BerichtNo luck with Ctrl+F5. And I have reinstalled > - no change. I have also restarted the machine since > editing the hosts file and still no change. > > I'm going to make do with 127.0.0.1 for now until I > nut out the prob with localhost. > THanks > Kath > ----- Original Message ----- > From: Haslett, Andrew > To: 'Access Developers discussion and problem > solving' > Sent: Tuesday, August 12, 2003 12:00 PM > Subject: RE: [AccessD] ASP - getting started > > > > > I reckon its time to remove and reinstall IIS > though. > > You can do it through Add/Remove programs. > > Cheers, > Andrew > -----Original Message----- > From: Susan Harkins [mailto:harkins at iglou.com] > Sent: Tuesday, 12 August 2003 11:08 AM > To: Access Developers discussion and problem > solving > Subject: Re: [AccessD] ASP - getting started > > > Kath; > > You might try a Shift Refresh, but there's > another keystroke combination that's worked for me > before, but I can't recall it now -- once I named my > computer I stopped having the problem. Maybe someone > else will know the combination? > > Susan H. > > > Thanks Erwin - I am learning from all of you > but still no luck with getting locahost to work. > > Now that I know to use 127.0.0.1 at least I > can get into the help and will read through > there...using http://127.0.0.1/iishelp > > > > IMPORTANT - PLEASE READ ******************** > > This email and any files transmitted with it are > confidential and may > > contain information protected by law from > disclosure. > > If you have received this message in error, please > notify the sender > > immediately and delete this email from your > system. > > No warranty is given that this email or files, if > attached to this > > email, are free from computer viruses or other > defects. They > > are provided on the basis the user assumes all > responsibility for > > loss, damage or consequence resulting directly or > indirectly from > > their use, whether caused by the negligence of the > sender or not. > > > > ------------------------------------------------------------------------------ > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com From accessd666 at yahoo.com Tue Aug 12 00:45:32 2003 From: accessd666 at yahoo.com (Sad Der) Date: Mon, 11 Aug 2003 22:45:32 -0700 (PDT) Subject: [AccessD] Re: Copy range of ID's from excel In-Reply-To: <020401c3604b$dad65880$7305f0d5@default> Message-ID: <20030812054532.39918.qmail@web10010.mail.yahoo.com> Here you go. Just paste the stuff in you're code and voila. Select a couple of things in Excel (or Word or Internet or whatever) and paste it. And no, I did not yet add error handling! The only thing you have to figure out is the object I use to plant the clipboard data in :-) Private Const CF_TEXT = 1 Private Declare Function GetClipboardData Lib "user32" (ByVal wFormat As Long) As Long Private Declare Function CloseClipboard Lib "user32" () As Long Private Declare Function OpenClipboard Lib "user32" (ByVal hwnd As Long) As Long Private Declare Function lstrlen Lib "kernel32" Alias "lstrlenA" (ByVal lpString As Long) As Long Private Declare Sub CopyMemory Lib "kernel32" Alias "RtlMoveMemory" (pDst As Any, pSrc As Long, ByVal ByteLen As Long) Private Sub Paste_Click() Dim hStrPtr As Long Dim lLength As Long Dim sBuffer As String Dim strValues As String Dim tmp_array Dim i As Integer '------------------------------------------------------------------------- OpenClipboard Me.hwnd hStrPtr = GetClipboardData(CF_TEXT) If hStrPtr <> 0 Then lLength = lstrlen(hStrPtr) If lLength > 0 Then sBuffer = Space$(lLength) CopyMemory ByVal sBuffer, ByVal hStrPtr, lLength strValues = StringWithoutEnters(sBuffer) End If End If CloseClipboard 'Add values to listbox lstEANCopy.RowSource = strValues End Sub '========================================================================================= ' Function Name : StringWithoutEnters ' Parameters : No parameters ' Return value : (Long) ' Purpose : ' Assumptions : --- ' Uses : --- ' Created : 2003-Jul-24 10:09, MaRo ' Modifications : '========================================================================================= Public Function StringWithoutEnters(ByVal r_strWithEnters As String) As String On Error GoTo ErrorHandler r_strWithEnters = Replace(Replace(Replace(r_strWithEnters, vbCrLf, ";"), vbCr, ";"), vbLf, ";") StringWithoutEnters = r_strWithEnters Exit Function ErrorHandler: 'r_strError = Err.Source & " (" & Err.Number & ") " & Err.Description End Function Function GetNumberOfMarkers(strSearch As String) As Integer Dim lngLength As Long Dim intPos As Integer Dim i As Integer Dim intMarkerPos As Integer Dim intOccurencesFound As Integer i = 1 intOccurencesFound = 0 'Get the length of the string lngLength = Len(strSearch) intPos = 1 'Loop through the string Do While i <= lngLength 'find the first marker (#) intMarkerPos = InStr(intPos, strSearch, "#", vbTextCompare) intPos = intMarkerPos + 1 i = intPos intOccurencesFound = intOccurencesFound + 1 Loop GetNumberOfMarkers = intOccurencesFound End Function --- Brindza Ervin wrote: > Sander > Can yuo send me your solution, it would be > interested for me too! > Many TIA, > Ervin > > > __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com From SDSSoftware at Optusnet.com.au Tue Aug 12 01:03:14 2003 From: SDSSoftware at Optusnet.com.au (Software Design & Solutions Pty Ltd.) Date: Tue, 12 Aug 2003 16:03:14 +1000 Subject: [AccessD] ASP - getting started References: <20030812053936.15798.qmail@web10007.mail.yahoo.com> Message-ID: <003401c36097$6b0fc670$54dd31d2@OfficePC> Hi Sander - OK - I've gone thru' all that and it all works so long as I use http://127.0.0.1/, so to use your example I can enter http://127.0.0.1/prjWacky and see the page but not if I use my computer name. In my case the PC is called OfficePC. I have created a subfolder called Test and it has a file in it called index.html. (WHich I can modify to be an ASP later). When I go into Administration Tools in the CP and look at 'Default Web Site' I can see the subfolder 'Test'. When I go into the Properties of Test and click on the 'Documents' tab the name Index is the first file name. The only problem I seem to have (given that all this works with 127.0.0.1) is that the browser can't find the computer name of OfficePC or find it using localHost despite my having reinstalled etc.) Is there anything I need to set under the Properties of OfficePC (computer name) itself? Cheers Kath ----- Original Message ----- From: Sad Der To: Access Developers discussion and problem solving Sent: Tuesday, August 12, 2003 3:39 PM Subject: Re: [AccessD] ASP - getting started Hi there, is you're problem still that you cannot open you're page with IIS locally installed? I just started building ASP stuff 2 weeks ago but I ran into the same problems. Took me a while before I got it going but now it runs like a train! Didn't read everything about this but you could try the following. Lets say you're computername is: wacky you've got a project called: prjWacky (THIS MEANS THAT IN YOU'RE INET\WWWROOT you got a dir called prjWacky with some files in it!) You've got a file in it called wackyhome.asp Now in you're IIS you've got this project (map) in/under the "DEFAULT WEB SITE" directory: in IIS you see: wacky |-Default Web Site |-Scripts |-... |-prjWacky When you right click prjWacky and go to the tab documents you're wackyhome.asp should be the first item. If it isn't add it! Then you should type the following in you're browser: wacky/prjWacky and tadaa you're first web site! HTH Sander BTW try VB-FORUMS.COM and check ASP thingy!! --- "Software Design & Solutions Pty Ltd." wrote: > BerichtNo luck with Ctrl+F5. And I have reinstalled > - no change. I have also restarted the machine since > editing the hosts file and still no change. > > I'm going to make do with 127.0.0.1 for now until I > nut out the prob with localhost. > THanks > Kath > ----- Original Message ----- > From: Haslett, Andrew > To: 'Access Developers discussion and problem > solving' > Sent: Tuesday, August 12, 2003 12:00 PM > Subject: RE: [AccessD] ASP - getting started > > > > > I reckon its time to remove and reinstall IIS > though. > > You can do it through Add/Remove programs. > > Cheers, > Andrew > -----Original Message----- > From: Susan Harkins [mailto:harkins at iglou.com] > Sent: Tuesday, 12 August 2003 11:08 AM > To: Access Developers discussion and problem > solving > Subject: Re: [AccessD] ASP - getting started > > > Kath; > > You might try a Shift Refresh, but there's > another keystroke combination that's worked for me > before, but I can't recall it now -- once I named my > computer I stopped having the problem. Maybe someone > else will know the combination? > > Susan H. > > > Thanks Erwin - I am learning from all of you > but still no luck with getting locahost to work. > > Now that I know to use 127.0.0.1 at least I > can get into the help and will read through > there...using http://127.0.0.1/iishelp > > > > IMPORTANT - PLEASE READ ******************** > > This email and any files transmitted with it are > confidential and may > > contain information protected by law from > disclosure. > > If you have received this message in error, please > notify the sender > > immediately and delete this email from your > system. > > No warranty is given that this email or files, if > attached to this > > email, are free from computer viruses or other > defects. They > > are provided on the basis the user assumes all > responsibility for > > loss, damage or consequence resulting directly or > indirectly from > > their use, whether caused by the negligence of the > sender or not. > > > > ------------------------------------------------------------------------------ > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From andrew.haslett at ilc.gov.au Tue Aug 12 02:27:21 2003 From: andrew.haslett at ilc.gov.au (Haslett, Andrew) Date: Tue, 12 Aug 2003 16:57:21 +0930 Subject: [AccessD] ASP - getting started Message-ID: See if any of these help: http://support.microsoft.com/default.aspx?scid=kb;en-us;290766 http://support.microsoft.com/default.aspx?scid=kb;en-us;255650 http://support.microsoft.com/default.aspx?scid=kb;en-us;220173 -----Original Message----- From: Software Design & Solutions Pty Ltd. [mailto:SDSSoftware at optusnet.com.au] Sent: Tuesday, 12 August 2003 3:33 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] ASP - getting started Hi Sander - OK - I've gone thru' all that and it all works so long as I use http://127.0.0.1/, so to use your example I can enter http://127.0.0.1/prjWacky and see the page but not if I use my computer name. In my case the PC is called OfficePC. I have created a subfolder called Test and it has a file in it called index.html. (WHich I can modify to be an ASP later). When I go into Administration Tools in the CP and look at 'Default Web Site' I can see the subfolder 'Test'. When I go into the Properties of Test and click on the 'Documents' tab the name Index is the first file name. The only problem I seem to have (given that all this works with 127.0.0.1) is that the browser can't find the computer name of OfficePC or find it using localHost despite my having reinstalled etc.) Is there anything I need to set under the Properties of OfficePC (computer name) itself? Cheers Kath ----- Original Message ----- From: Sad Der To: Access Developers discussion and problem solving Sent: Tuesday, August 12, 2003 3:39 PM Subject: Re: [AccessD] ASP - getting started Hi there, is you're problem still that you cannot open you're page with IIS locally installed? I just started building ASP stuff 2 weeks ago but I ran into the same problems. Took me a while before I got it going but now it runs like a train! Didn't read everything about this but you could try the following. Lets say you're computername is: wacky you've got a project called: prjWacky (THIS MEANS THAT IN YOU'RE INET\WWWROOT you got a dir called prjWacky with some files in it!) You've got a file in it called wackyhome.asp Now in you're IIS you've got this project (map) in/under the "DEFAULT WEB SITE" directory: in IIS you see: wacky |-Default Web Site |-Scripts |-... |-prjWacky When you right click prjWacky and go to the tab documents you're wackyhome.asp should be the first item. If it isn't add it! Then you should type the following in you're browser: wacky/prjWacky and tadaa you're first web site! HTH Sander BTW try VB-FORUMS.COM and check ASP thingy!! --- "Software Design & Solutions Pty Ltd." < SDSSoftware at Optusnet.com.au > wrote: > BerichtNo luck with Ctrl+F5. And I have reinstalled > - no change. I have also restarted the machine since > editing the hosts file and still no change. > > I'm going to make do with 127.0.0.1 for now until I > nut out the prob with localhost. > THanks > Kath > ----- Original Message ----- > From: Haslett, Andrew > To: 'Access Developers discussion and problem > solving' > Sent: Tuesday, August 12, 2003 12:00 PM > Subject: RE: [AccessD] ASP - getting started > > > > > I reckon its time to remove and reinstall IIS > though. > > You can do it through Add/Remove programs. > > Cheers, > Andrew > -----Original Message----- > From: Susan Harkins [mailto:harkins at iglou.com] > Sent: Tuesday, 12 August 2003 11:08 AM > To: Access Developers discussion and problem > solving > Subject: Re: [AccessD] ASP - getting started > > > Kath; > > You might try a Shift Refresh, but there's > another keystroke combination that's worked for me > before, but I can't recall it now -- once I named my > computer I stopped having the problem. Maybe someone > else will know the combination? > > Susan H. > > > Thanks Erwin - I am learning from all of you > but still no luck with getting locahost to work. > > Now that I know to use 127.0.0.1 at least I > can get into the help and will read through > there...using http://127.0.0.1/iishelp > > > > IMPORTANT - PLEASE READ ******************** > > This email and any files transmitted with it are > confidential and may > > contain information protected by law from > disclosure. > > If you have received this message in error, please > notify the sender > > immediately and delete this email from your > system. > > No warranty is given that this email or files, if > attached to this > > email, are free from computer viruses or other > defects. They > > are provided on the basis the user assumes all > responsibility for > > loss, damage or consequence resulting directly or > indirectly from > > their use, whether caused by the negligence of the > sender or not. > > > > ---------------------------------------------------------------------------- -- > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com IMPORTANT - PLEASE READ ******************** This email and any files transmitted with it are confidential and may contain information protected by law from disclosure. If you have received this message in error, please notify the sender immediately and delete this email from your system. No warranty is given that this email or files, if attached to this email, are free from computer viruses or other defects. They are provided on the basis the user assumes all responsibility for loss, damage or consequence resulting directly or indirectly from their use, whether caused by the negligence of the sender or not. -------------- next part -------------- An HTML attachment was scrubbed... URL: From viner at EUnet.yu Tue Aug 12 01:21:01 2003 From: viner at EUnet.yu (Brindza Ervin) Date: Tue, 12 Aug 2003 08:21:01 +0200 Subject: [AccessD] Re: Copy range of ID's from excel References: <20030812054532.39918.qmail@web10010.mail.yahoo.com> Message-ID: <00b401c3609b$bddd4c20$6905f0d5@default> Thanks for the sample! I'm on holiday now, and have no Office at home, so it takes a couple of days before I can open you sample. Many thanks and best regards, Ervin From stuart at pacific.net.hk Tue Aug 12 04:10:09 2003 From: stuart at pacific.net.hk (Stuart Sanders) Date: Tue, 12 Aug 2003 17:10:09 +0800 Subject: [AccessD]OT martin's problem In-Reply-To: <001501c36082$485b64f0$96e6ffcc@SusanOne> Message-ID: Just out of curiosity are you running Zonealarm or any of the other personal firewalls? (Symantec, Sygate, Tiny etc) In theory they could protect from worms such as this, but not if the buggy service in question is allowed to listen to the attacked service port. Stuart > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Susan Harkins > Sent: Tuesday, 12 August, 2003 11:32 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD]OT martin's problem > > > Yes, it really was just a nuisance -- thanks for the link -- > I do want to > get rid of the key and the file. It took me a few tries to > get the patch > downloaded before it shut me down. That was challenging, but > beyond that it > was just annoying. > > Susan H. > > > > > > > > > http://www.trendmicro.com/vinfo/virusencyclo/default5.asp?VNam e=WORM_MSBLAST .A > > Has instructions to kill worm in memory and remove from registry startup > You may have problems downloading a patch. It is also directing a DOS > attack against > www.windowsupdate.com ;) .Interesting approach for a nuisance. > > Susan Harkins wrote: > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 2548 bytes Desc: not available URL: From mwp.reid at qub.ac.uk Tue Aug 12 05:05:22 2003 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Tue, 12 Aug 2003 11:05:22 +0100 Subject: [AccessD]OT martin's problem References: Message-ID: <001701c360b9$3ea65410$9111758f@aine> Nope but will do later. I just got that worm on this machine in work. Not my week. Martin ----- Original Message ----- From: "Stuart Sanders" To: "'Access Developers discussion and problem solving'" Sent: Tuesday, August 12, 2003 10:10 AM Subject: RE: [AccessD]OT martin's problem > Just out of curiosity are you running Zonealarm or any of the other personal firewalls? (Symantec, Sygate, Tiny etc) > > In theory they could protect from worms such as this, but not if the buggy service in question is allowed to listen to the attacked > service port. > > Stuart > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > > Susan Harkins > > Sent: Tuesday, 12 August, 2003 11:32 AM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD]OT martin's problem > > > > > > Yes, it really was just a nuisance -- thanks for the link -- > > I do want to > > get rid of the key and the file. It took me a few tries to > > get the patch > > downloaded before it shut me down. That was challenging, but > > beyond that it > > was just annoying. > > > > Susan H. > > > > > > > > > > > > > > > http://www.trendmicro.com/vinfo/virusencyclo/default5.asp?VNam > e=WORM_MSBLAST > .A > > > > Has instructions to kill worm in memory and remove from registry startup > > You may have problems downloading a patch. It is also directing a DOS > > attack against > > www.windowsupdate.com ;) .Interesting approach for a nuisance. > > > > Susan Harkins wrote: > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > ---------------------------------------------------------------------------- ---- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From roz.clarke at donnslaw.co.uk Tue Aug 12 06:20:06 2003 From: roz.clarke at donnslaw.co.uk (Roz Clarke) Date: Tue, 12 Aug 2003 12:20:06 +0100 Subject: [AccessD] Jet SQL vs ADO (AXP) Message-ID: <61F915314798D311A2F800A0C9C83188047C61DA@dibble.observatory.donnslaw.co.uk> Dear all I have some code which attempts to open a query as an ADO recordset. The SQL statement underlying the query is this: "SELECT Avg(([CaseCasdet_1].[case_value]/[CaseCasdet].[case_value])*100) AS [OutlayRec%] FROM (GFClosedCasesReport_Base INNER JOIN CaseCasdet ON GFClosedCasesReport_Base.case_id = CaseCasdet.case_id) INNER JOIN CaseCasdet AS CaseCasdet_1 ON GFClosedCasesReport_Base.case_id = CaseCasdet_1.case_id" The query runs fine and returns a value, but when attempting to open it as a recordset I get an error message; "Join expression not supported" Can anyone see what is wrong with the SELECT statement? GFClosedCasesReport_base is a subquery but I have other queries based on this and they open in ADO without any problems. TIA Roz -------------- next part -------------- An HTML attachment was scrubbed... URL: From roz.clarke at donnslaw.co.uk Tue Aug 12 06:42:04 2003 From: roz.clarke at donnslaw.co.uk (Roz Clarke) Date: Tue, 12 Aug 2003 12:42:04 +0100 Subject: [AccessD] Jet SQL vs ADO (AXP) Message-ID: <61F915314798D311A2F800A0C9C83188047C61DB@dibble.observatory.donnslaw.co.uk> Ignore this. :-) -----Original Message----- From: Roz Clarke [mailto:roz.clarke at donnslaw.co.uk] Sent: 12 August 2003 12:20 To: AccessD (AccessD at databaseadvisors.com) Subject: [AccessD] Jet SQL vs ADO (AXP) Dear all I have some code which attempts to open a query as an ADO recordset. The SQL statement underlying the query is this: "SELECT Avg(([CaseCasdet_1].[case_value]/[CaseCasdet].[case_value])*100) AS [OutlayRec%] FROM (GFClosedCasesReport_Base INNER JOIN CaseCasdet ON GFClosedCasesReport_Base.case_id = CaseCasdet.case_id) INNER JOIN CaseCasdet AS CaseCasdet_1 ON GFClosedCasesReport_Base.case_id = CaseCasdet_1.case_id" The query runs fine and returns a value, but when attempting to open it as a recordset I get an error message; "Join expression not supported" Can anyone see what is wrong with the SELECT statement? GFClosedCasesReport_base is a subquery but I have other queries based on this and they open in ADO without any problems. TIA Roz -------------- next part -------------- An HTML attachment was scrubbed... URL: From mikedorism at ntelos.net Tue Aug 12 06:43:41 2003 From: mikedorism at ntelos.net (Mike and Doris Manning) Date: Tue, 12 Aug 2003 07:43:41 -0400 Subject: [AccessD] ADP/SP problem In-Reply-To: Message-ID: <000001c360c6$fe460a60$b7320cd8@hargrove.internal> Add SET NOCOUNT ON to the beginning of the stored procedure and the Access message should go away. >From SQL Books Online: SET NOCOUNT Stops the message indicating the number of rows affected by a Transact-SQL statement from being returned as part of the results. Syntax SET NOCOUNT { ON | OFF } Remarks When SET NOCOUNT is ON, the count (indicating the number of rows affected by a Transact-SQL statement) is not returned. When SET NOCOUNT is OFF, the count is returned. The @@ROWCOUNT function is updated even when SET NOCOUNT is ON. SET NOCOUNT ON eliminates the sending of DONE_IN_PROC messages to the client for each statement in a stored procedure. When using the utilities provided with MicrosoftR SQL ServerT to execute queries, the results prevent "nn rows affected" from being displayed at the end Transact-SQL statements such as SELECT, INSERT, UPDATE, and DELETE. For stored procedures that contain several statements that do not return much actual data, this can provide a significant performance boost because network traffic is greatly reduced. The setting of SET NOCOUNT is set at execute or run time and not at parse time. Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: Michael Brosdorf [mailto:michael.broesdorf at web.de] Sent: Thursday, August 07, 2003 3:51 AM To: Access Developers discussion and problem solving Subject: [AccessD] ADP/SP problem Hello, in my ADP-project (A2K) I have a (read-only) subform that is bound to a stored procedure with an input parameter. The input parameter uses a textbox on the main form. That works fine as long as the SP returns records. However, if the SP does not return records, Access displays a message telling me that the SP has been executed but did not return any records. I click on OK and the same message reappears over and over again. I can only end this by 'killing' access using the task manager of Windows. How can I tell Access not to tell me that no records are returned by the SP? TIA, Michael _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Mark.Mitsules at ngc.com Tue Aug 12 06:53:19 2003 From: Mark.Mitsules at ngc.com (Mitsules, Mark) Date: Tue, 12 Aug 2003 07:53:19 -0400 Subject: [AccessD] ASCII Sorting - Numeric First, then Alpha-Numeric Message-ID: Well now...wouldn't that just be too simple? ;) Thanks...over analysis strikes again. Mark -----Original Message----- From: Brock, Christian (Internet) [mailto:christian.brock at hoffman.army.mil] Sent: Monday, August 11, 2003 4:46 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] ASCII Sorting - Numeric First, then Alpha-Numeric Add another long integer column to the table that specifies the sort order and sort using that column. Christian Brock -----Original Message----- From: Mitsules, Mark [mailto:Mark.Mitsules at ngc.com] Sent: Monday, 11 August 2003 15:31 To: '[AccessD]' Subject: [AccessD] ASCII Sorting - Numeric First, then Alpha-Numeric Importance: High Group, I am converting an Excel solution to Access. The Excel solution had a column of values that the user typed in (numerical sequence as text 000-999). I have created a table of all possible 3 character codes (46,656 records). I would like a list box to default to the next available code. As the Excel list is already at 919, I would like the remaining numeric codes to be used first (920-999), after that, ASCII sort is fine . Any thoughts on how I can accomplish this? Mark _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From paul.hartland at fsmail.net Tue Aug 12 07:51:09 2003 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Tue, 12 Aug 2003 12:51:09 +0000 Subject: [AccessD] Open Dialog Box Message-ID: <20030812125109.JCYA1637.fep04-svc.ttys.com@localhost> To all, I am using Access XP and have forgotten the command(s) to open the OpenDialog box, can anyone tell me how to do this ? Thanks in advance Paul __________________________________________________________________________ Join Freeserve http://www.freeserve.com/time/ Winner of the 2003 Internet Service Providers' Association awards for Best Unmetered ISP and Best Consumer Application. From jcolby at colbyconsulting.com Tue Aug 12 07:58:14 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Tue, 12 Aug 2003 08:58:14 -0400 Subject: [AccessD]OT martin's problem In-Reply-To: <3F38507A.2050304@shaw.ca> Message-ID: Apparently a very successful DOS attack. The site is inaccessible. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of MartyConnelly Sent: Monday, August 11, 2003 10:27 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD]OT martin's problem http://www.trendmicro.com/vinfo/virusencyclo/default5.asp?VName=WORM_MSBLAST .A Has instructions to kill worm in memory and remove from registry startup You may have problems downloading a patch. It is also directing a DOS attack against www.windowsupdate.com ;) .Interesting approach for a nuisance. Susan Harkins wrote: >Internet Virus Alert: Central Command Warns Of New RPC >Computer Worm Named Worm/Lovsan.A > > >http://support.centralcommand.com/cgi-bin/command.cfg/php/enduser/std_adp.p h >p?p_faqid=506 > > >========I'll be looking for more info on how to get rid of this -- info >talks as though msblast.exe is the virus file and I've got it. :( Not sure >where I got it from though if that's the case -- the wording is a bit >ambiguous and I'm not positive that msblast.exe isn't a valid file. > >If anyone finds more info on how to get rid of this sucker, let me know >please. > >Susan H. > > >----- Original Message ----- >From: "Susan Harkins" >To: >Sent: Monday, August 11, 2003 7:38 PM >Subject: [AccessD] martin's problem > > > > >>The same thing's happening to me this afternoon Martin -- I think so >> >> >anyway. > > >>I get a Generic Host Process for Win32 Services has encountered a >> >> >problem... > > >>and then if I close the warning, it eventually reboots. I also just got a >>warning about a new worm and maybe that's the problem? >> >>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 jcolby at colbyconsulting.com Tue Aug 12 08:06:50 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Tue, 12 Aug 2003 09:06:50 -0400 Subject: [AccessD] mail merge Message-ID: My client wants to do mail merges where they can stop and edit the letter, and also choose (on-the-fly) boiler plate text to be inserted in the document. I am building a wizard or code library to manage mail merge but it seems that with these requirements I would need a form to pop up to allow them to make selections. Has anyone ever done this stuff? How do you handle it? John W. Colby www.colbyconsulting.com From harkins at iglou.com Tue Aug 12 08:18:36 2003 From: harkins at iglou.com (Susan Harkins) Date: Tue, 12 Aug 2003 09:18:36 -0400 Subject: [AccessD] mail merge References: Message-ID: <006201c360d4$51ae8170$2b4afccc@SusanOne> I'd also like to know how to do a mail merge when there's lots of detail records -- a grouped report in effect -- can't figure it out. Susan H. > My client wants to do mail merges where they can stop and edit the letter, > and also choose (on-the-fly) boiler plate text to be inserted in the > document. I am building a wizard or code library to manage mail merge but > it seems that with these requirements I would need a form to pop up to allow > them to make selections. > From mwp.reid at qub.ac.uk Tue Aug 12 08:24:02 2003 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Tue, 12 Aug 2003 14:24:02 +0100 Subject: [AccessD]OT martin's problem References: Message-ID: <000d01c360d4$ff242d00$9111758f@aine> You can download the fix from http://securityresponse.symantec.com/avcenter/venc/data/w32.blaster.worm.html Once you run it it will also downlaod the requried patch from MS. Martin ----- Original Message ----- From: "John Colby" To: "Access Developers discussion and problem solving" Sent: Tuesday, August 12, 2003 1:58 PM Subject: RE: [AccessD]OT martin's problem > Apparently a very successful DOS attack. The site is inaccessible. > > John W. Colby > www.colbyconsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of MartyConnelly > Sent: Monday, August 11, 2003 10:27 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD]OT martin's problem > > > > > http://www.trendmicro.com/vinfo/virusencyclo/default5.asp?VName=WORM_MSBLAST > .A > > Has instructions to kill worm in memory and remove from registry startup > You may have problems downloading a patch. It is also directing a DOS > attack against > www.windowsupdate.com ;) .Interesting approach for a nuisance. > > Susan Harkins wrote: > > >Internet Virus Alert: Central Command Warns Of New RPC > >Computer Worm Named Worm/Lovsan.A > > > > > >http://support.centralcommand.com/cgi-bin/command.cfg/php/enduser/std_adp.p > h > >p?p_faqid=506 > > > > > >========I'll be looking for more info on how to get rid of this -- info > >talks as though msblast.exe is the virus file and I've got it. :( Not sure > >where I got it from though if that's the case -- the wording is a bit > >ambiguous and I'm not positive that msblast.exe isn't a valid file. > > > >If anyone finds more info on how to get rid of this sucker, let me know > >please. > > > >Susan H. > > > > > >----- Original Message ----- > >From: "Susan Harkins" > >To: > >Sent: Monday, August 11, 2003 7:38 PM > >Subject: [AccessD] martin's problem > > > > > > > > > >>The same thing's happening to me this afternoon Martin -- I think so > >> > >> > >anyway. > > > > > >>I get a Generic Host Process for Win32 Services has encountered a > >> > >> > >problem... > > > > > >>and then if I close the warning, it eventually reboots. I also just got a > >>warning about a new worm and maybe that's the problem? > >> > >>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 Jeff at OUTBAKTech.com Tue Aug 12 09:02:51 2003 From: Jeff at OUTBAKTech.com (Jeff Barrows) Date: Tue, 12 Aug 2003 09:02:51 -0500 Subject: [AccessD] Question about the BEU Message-ID: <8DA8776D2F418E46A2A464AC6CE63050032649@outbaksrv1.outbaktech.com> Where is the best place to ask a question about rhe BEU? What I need to know is, can I change it to save the error log file somewhere other than in the same folder as the FE app? From Bryan_Carbonnell at cbc.ca Tue Aug 12 09:14:54 2003 From: Bryan_Carbonnell at cbc.ca (Bryan Carbonnell) Date: Tue, 12 Aug 2003 10:14:54 -0400 Subject: [AccessD] Question about the BEU Message-ID: Jeff, Funny you should ask where to ask BEU questions. We are just talking about that :) and haven't fully decided yet. But to answer your question, you can change where the log goes, but how have to edit the code. Open the basbeuDBAErrorLogging module. Goto the beudbaStartLogging procedure and look for the lines (about 10 lines of code down): 'Get Log file name strDBName = db.name 'Strip of .mdb extension strDBName = Left(strDBName, Len(strDBName) - 4) ' Add indication that this is an error log strLogFile = strDBName & "- Error.log" This is what builds the file and path for the error log file. If you want to hard code the location and file name, then comment out all these lines and add: strLogFile = "c:\full\path\to\error.log" That's it if you want a hardcoded error log location. If you want more flexibility then you will need to write your own logic to get the path and name correct. The only thing you need to make sure is that before you get to the lines: 'Add Path to Log Collection colLog.Add strLogFile you need to assign the full path and file name to the varialbe strLogFile. Bryan Carbonnell bryan_carbonnell at cbc.ca >>> Jeff at OUTBAKTech.com 12-Aug-03 10:02:51 AM >>> Where is the best place to ask a question about rhe BEU? What I need to know is, can I change it to save the error log file somewhere other than in the same folder as the FE app? _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From CWortz at tea.state.tx.us Tue Aug 12 09:33:04 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Tue, 12 Aug 2003 09:33:04 -0500 Subject: [AccessD] Question about the BEU Message-ID: Bryan, Since the BEU development team developed the BEU mainly for the AccessD list, then asking questions about it belong on AccessD. However, you may want to create a separate archive/FAQ for the BEU. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Bryan Carbonnell [mailto:Bryan_Carbonnell at cbc.ca] Sent: Tuesday 2003 Aug 12 09:15 To: accessd at databaseadvisors.com Subject: Re: [AccessD] Question about the BEU Jeff, Funny you should ask where to ask BEU questions. We are just talking about that :) and haven't fully decided yet. But to answer your question, you can change where the log goes, but how have to edit the code. Bryan Carbonnell bryan_carbonnell at cbc.ca >>> Jeff at OUTBAKTech.com 12-Aug-03 10:02:51 AM >>> Where is the best place to ask a question about rhe BEU? What I need to know is, can I change it to save the error log file somewhere other than in the same folder as the FE app? From cfoust at infostatsystems.com Tue Aug 12 10:00:18 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 12 Aug 2003 08:00:18 -0700 Subject: [AccessD] mail merge Message-ID: Are you trying to manage it from Access? You might think about a Word form and macros for some of the on-the-fly stuff, but even Word makes you make your merge choices from a wizard unless you're hand-building the merge document. They can always edit the merged document if you merge to a new document instead of directly to the printer. Charlotte Foust -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Tuesday, August 12, 2003 5:07 AM To: AccessD Subject: [AccessD] mail merge My client wants to do mail merges where they can stop and edit the letter, and also choose (on-the-fly) boiler plate text to be inserted in the document. I am building a wizard or code library to manage mail merge but it seems that with these requirements I would need a form to pop up to allow them to make selections. Has anyone ever done this stuff? How do you handle it? 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 roz.clarke at donnslaw.co.uk Tue Aug 12 10:11:56 2003 From: roz.clarke at donnslaw.co.uk (Roz Clarke) Date: Tue, 12 Aug 2003 16:11:56 +0100 Subject: [AccessD] OT: Excel Goto method Message-ID: <61F915314798D311A2F800A0C9C83188047C61DD@dibble.observatory.donnslaw.co.uk> Any Excel gurus out there who can tell me why this: oApp.Goto Reference:=shtCurr.Range("qryF1") would return an 'Application-defined or object-defined error'?? TIA Roz (PS the full code is Set oBook = GetObject("I:\IT\Systems Dev\Jobs\821GFGMIS\BBS Format UKI Donns.xls") Set oApp = oBook.Parent Set shtCurr = oBook.Sheets(Format(Forms!frmGreenFlag!txtBeginningDate, "mmmm")) oApp.Goto Reference:=shtCurr.Range("qryF1") with qryF1 being a single-cell range which exists on all the sheets in the workbook.) -------------- next part -------------- An HTML attachment was scrubbed... URL: From CWortz at tea.state.tx.us Tue Aug 12 10:17:54 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Tue, 12 Aug 2003 10:17:54 -0500 Subject: [AccessD] mail merge Message-ID: John, Why the on-the-fly choosing? I have developed mail merge apps where the user had the choice of several boilerplate templates, but which one to use was predetermined by the data. The user makes all the choices before the mail merge is run, not during it. Also, why the need to edit the results? All the variable data should come from the db or user choices before the mail merge process begins, not during it. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Tuesday 2003 Aug 12 10:00 To: Access Developers discussion and problem solving Subject: RE: [AccessD] mail merge Are you trying to manage it from Access? You might think about a Word form and macros for some of the on-the-fly stuff, but even Word makes you make your merge choices from a wizard unless you're hand-building the merge document. They can always edit the merged document if you merge to a new document instead of directly to the printer. Charlotte Foust -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Tuesday, August 12, 2003 5:07 AM To: AccessD Subject: [AccessD] mail merge My client wants to do mail merges where they can stop and edit the letter, and also choose (on-the-fly) boiler plate text to be inserted in the document. I am building a wizard or code library to manage mail merge but it seems that with these requirements I would need a form to pop up to allow them to make selections. Has anyone ever done this stuff? How do you handle it? John W. Colby www.colbyconsulting.com From CWortz at tea.state.tx.us Tue Aug 12 10:17:54 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Tue, 12 Aug 2003 10:17:54 -0500 Subject: [AccessD] mail merge Message-ID: John, Why the on-the-fly choosing? I have developed mail merge apps where the user had the choice of several boilerplate templates, but which one to use was predetermined by the data. The user makes all the choices before the mail merge is run, not during it. Also, why the need to edit the results? All the variable data should come from the db or user choices before the mail merge process begins, not during it. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Tuesday 2003 Aug 12 10:00 To: Access Developers discussion and problem solving Subject: RE: [AccessD] mail merge Are you trying to manage it from Access? You might think about a Word form and macros for some of the on-the-fly stuff, but even Word makes you make your merge choices from a wizard unless you're hand-building the merge document. They can always edit the merged document if you merge to a new document instead of directly to the printer. Charlotte Foust -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Tuesday, August 12, 2003 5:07 AM To: AccessD Subject: [AccessD] mail merge My client wants to do mail merges where they can stop and edit the letter, and also choose (on-the-fly) boiler plate text to be inserted in the document. I am building a wizard or code library to manage mail merge but it seems that with these requirements I would need a form to pop up to allow them to make selections. Has anyone ever done this stuff? How do you handle it? 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 Jdemarco at hshhp.org Tue Aug 12 10:29:01 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Tue, 12 Aug 2003 11:29:01 -0400 Subject: [AccessD] OT: Excel Goto method Message-ID: <22F1CCD5171D17419CB37FEEE09D5F990173F3A5@TTNEXCHSRV1.hshhp.com> Maybe oApp should be : Set oApp = CreateObject("Excel.Application") 'or GetObject HTH, Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan -----Original Message----- From: Roz Clarke [mailto:roz.clarke at donnslaw.co.uk] Sent: Tuesday, August 12, 2003 11:12 AM To: AccessD (AccessD at databaseadvisors.com) Subject: [AccessD] OT: Excel Goto method Any Excel gurus out there who can tell me why this: oApp.Goto Reference:=shtCurr.Range("qryF1") would return an 'Application-defined or object-defined error'?? TIA Roz (PS the full code is Set oBook = GetObject("I:\IT\Systems Dev\Jobs\821GFGMIS\BBS Format UKI Donns.xls") Set oApp = oBook.Parent Set shtCurr = oBook.Sheets(Format(Forms!frmGreenFlag!txtBeginningDate, "mmmm")) oApp.Goto Reference:=shtCurr.Range("qryF1") with qryF1 being a single-cell range which exists on all the sheets in the workbook.) *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: From jcolby at colbyconsulting.com Tue Aug 12 10:34:11 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Tue, 12 Aug 2003 11:34:11 -0400 Subject: [AccessD] mail merge In-Reply-To: Message-ID: I am generating a reply to Charlotte explaining in more detail. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Wortz, Charles Sent: Tuesday, August 12, 2003 11:18 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] mail merge John, Why the on-the-fly choosing? I have developed mail merge apps where the user had the choice of several boilerplate templates, but which one to use was predetermined by the data. The user makes all the choices before the mail merge is run, not during it. Also, why the need to edit the results? All the variable data should come from the db or user choices before the mail merge process begins, not during it. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Tuesday 2003 Aug 12 10:00 To: Access Developers discussion and problem solving Subject: RE: [AccessD] mail merge Are you trying to manage it from Access? You might think about a Word form and macros for some of the on-the-fly stuff, but even Word makes you make your merge choices from a wizard unless you're hand-building the merge document. They can always edit the merged document if you merge to a new document instead of directly to the printer. Charlotte Foust -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Tuesday, August 12, 2003 5:07 AM To: AccessD Subject: [AccessD] mail merge My client wants to do mail merges where they can stop and edit the letter, and also choose (on-the-fly) boiler plate text to be inserted in the document. I am building a wizard or code library to manage mail merge but it seems that with these requirements I would need a form to pop up to allow them to make selections. Has anyone ever done this stuff? How do you handle it? John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jcolby at colbyconsulting.com Tue Aug 12 10:35:58 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Tue, 12 Aug 2003 11:35:58 -0400 Subject: [AccessD] mail merge In-Reply-To: Message-ID: Can you say "user"? They wants what they wants, and what they wants is to be able to add custom information from their head about the claim they are working on. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Wortz, Charles Sent: Tuesday, August 12, 2003 11:18 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] mail merge John, Why the on-the-fly choosing? I have developed mail merge apps where the user had the choice of several boilerplate templates, but which one to use was predetermined by the data. The user makes all the choices before the mail merge is run, not during it. Also, why the need to edit the results? All the variable data should come from the db or user choices before the mail merge process begins, not during it. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Tuesday 2003 Aug 12 10:00 To: Access Developers discussion and problem solving Subject: RE: [AccessD] mail merge Are you trying to manage it from Access? You might think about a Word form and macros for some of the on-the-fly stuff, but even Word makes you make your merge choices from a wizard unless you're hand-building the merge document. They can always edit the merged document if you merge to a new document instead of directly to the printer. Charlotte Foust -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Tuesday, August 12, 2003 5:07 AM To: AccessD Subject: [AccessD] mail merge My client wants to do mail merges where they can stop and edit the letter, and also choose (on-the-fly) boiler plate text to be inserted in the document. I am building a wizard or code library to manage mail merge but it seems that with these requirements I would need a form to pop up to allow them to make selections. Has anyone ever done this stuff? How do you handle it? 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 roz.clarke at donnslaw.co.uk Tue Aug 12 10:37:41 2003 From: roz.clarke at donnslaw.co.uk (Roz Clarke) Date: Tue, 12 Aug 2003 16:37:41 +0100 Subject: [AccessD] OT: Excel Goto method Message-ID: <61F915314798D311A2F800A0C9C83188047C61DE@dibble.observatory.donnslaw.co.uk> Nope, that construction is OK. Turns out I had a hanging Excel process - doh! Thanks for the suggestion Roz -----Original Message----- From: Jim DeMarco [mailto:Jdemarco at hshhp.org] Sent: 12 August 2003 16:29 To: Access Developers discussion and problem solving Subject: RE: [AccessD] OT: Excel Goto method Maybe oApp should be : Set oApp = CreateObject("Excel.Application") 'or GetObject HTH, Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan -----Original Message----- From: Roz Clarke [mailto:roz.clarke at donnslaw.co.uk] Sent: Tuesday, August 12, 2003 11:12 AM To: AccessD (AccessD at databaseadvisors.com) Subject: [AccessD] OT: Excel Goto method Any Excel gurus out there who can tell me why this: oApp.Goto Reference:=shtCurr.Range("qryF1") would return an 'Application-defined or object-defined error'?? TIA Roz (PS the full code is Set oBook = GetObject("I:\IT\Systems Dev\Jobs\821GFGMIS\BBS Format UKI Donns.xls") Set oApp = oBook.Parent Set shtCurr = oBook.Sheets(Format(Forms!frmGreenFlag!txtBeginningDate, "mmmm")) oApp.Goto Reference:=shtCurr.Range("qryF1") with qryF1 being a single-cell range which exists on all the sheets in the workbook.) **************************************************************************** ******* "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". **************************************************************************** ******* -------------- next part -------------- An HTML attachment was scrubbed... URL: From jcolby at colbyconsulting.com Tue Aug 12 10:41:28 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Tue, 12 Aug 2003 11:41:28 -0400 Subject: [AccessD] mail merge In-Reply-To: Message-ID: Charlotte, this is a call center application for an insurance company. They add new claimants / claims, and then handle phone calls re the claim. They need the ability to do mail merge type stuff for a raft of documents from various places in the program. When a new claim is entered, generate letters to the claimant / doctor / lawyer etc requesting more information. While handling the claim, generate letters to the claimant / employer / doctors etc. for various reasons. My client is nailing down exactly where in the app they want to generate the documents from, and in general I would expect a button / toolbar etc which allows the user to generate a specific document or select from a list of documents based upon what tab they are on in the app (which will provide a PK for filtering a mail merge query). As you can see, what they are doing will be custom defined, we will write queries to grab the specific data required for the mail merge letter, define a specific or a set of specific letters that can be created from any specific place in the app. The users of the system don't want to have to leave the place they are entering data to "go build a document". They want to just say "send a letter to the current claimant regarding the current claim, on this subject, with this selected boiler plate inserted, and allow me to edit the letter, perhaps in a specific place (paragraph). All of that is simple enough until you get to the "selected boiler plate inserted" kind of thing. That requires a combo or something to allow them to select boiler plate. In addition, I am attempting to build upon a foundation of a table driven mail merge system. The system was built by someone else and I am simply expanding on it (quite a bit). This system allows the DBA to create mail merges in advance. The DBA selects a document from a directory on the disk, and an existing query which will provide the data to the MM. The MM Wizard then reads the bookmarks out of the document into a combo and the fields of the query into another combo. It then allows the DBA to match the bookmarks with the fields of the query and write that information into a child table. The MM Wizard also allows the DBA to select text attributes such as font / pitch / bold / underline etc for each bookmark insertion. All of this ends up in a pair of tables: Mail Merge Header - containing the information about the merge process such as document name, query name, number of copies, duplex, etc. Mail Merge Fields - containing information about the document bookmarks and the matching query fields, as well as the formatting information for each such pair. It appears that I need to expand the system to include a boiler plate table with a m-m child to this table as well as the mail merge header, then allow bookmarks where the data is specifically selected boiler plate, and for those fields pop up a form or something to allow them to select the boiler plate related to a given letter. Also a bookmark which is specifically a user edit. It seems like a useful thing to do, just a bit outside of what I was doing already. I was hoping somebody could tell me that they had encountered similar requests and that they had resolved them by... John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Tuesday, August 12, 2003 11:00 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] mail merge Are you trying to manage it from Access? You might think about a Word form and macros for some of the on-the-fly stuff, but even Word makes you make your merge choices from a wizard unless you're hand-building the merge document. They can always edit the merged document if you merge to a new document instead of directly to the printer. Charlotte Foust -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Tuesday, August 12, 2003 5:07 AM To: AccessD Subject: [AccessD] mail merge My client wants to do mail merges where they can stop and edit the letter, and also choose (on-the-fly) boiler plate text to be inserted in the document. I am building a wizard or code library to manage mail merge but it seems that with these requirements I would need a form to pop up to allow them to make selections. Has anyone ever done this stuff? How do you handle it? 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 jimdettman at earthlink.net Tue Aug 12 10:44:01 2003 From: jimdettman at earthlink.net (Jim Dettman) Date: Tue, 12 Aug 2003 11:44:01 -0400 Subject: [AccessD] mail merge In-Reply-To: Message-ID: John, If you look at that code I sent you awhile back, you'll see that it's a simple matter not to return control to Access. The user can then edit to their hearts content. The insert of text though would need to be done through Word if the user has control, unless they know what they want to say before the merge takes place. It's also a simple matter to create one new document per record (that may even be the way it was when I sent it to you). Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Colby Sent: Tuesday, August 12, 2003 11:36 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] mail merge Can you say "user"? They wants what they wants, and what they wants is to be able to add custom information from their head about the claim they are working on. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Wortz, Charles Sent: Tuesday, August 12, 2003 11:18 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] mail merge John, Why the on-the-fly choosing? I have developed mail merge apps where the user had the choice of several boilerplate templates, but which one to use was predetermined by the data. The user makes all the choices before the mail merge is run, not during it. Also, why the need to edit the results? All the variable data should come from the db or user choices before the mail merge process begins, not during it. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Tuesday 2003 Aug 12 10:00 To: Access Developers discussion and problem solving Subject: RE: [AccessD] mail merge Are you trying to manage it from Access? You might think about a Word form and macros for some of the on-the-fly stuff, but even Word makes you make your merge choices from a wizard unless you're hand-building the merge document. They can always edit the merged document if you merge to a new document instead of directly to the printer. Charlotte Foust -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Tuesday, August 12, 2003 5:07 AM To: AccessD Subject: [AccessD] mail merge My client wants to do mail merges where they can stop and edit the letter, and also choose (on-the-fly) boiler plate text to be inserted in the document. I am building a wizard or code library to manage mail merge but it seems that with these requirements I would need a form to pop up to allow them to make selections. Has anyone ever done this stuff? How do you handle it? John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Tue Aug 12 11:25:47 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 12 Aug 2003 09:25:47 -0700 Subject: [AccessD] mail merge Message-ID: Well, I created a system that was used for some years to prepare documents to securitize loans. That involved highly customized Word templates with conditional fields in them (hey, this was around Office 6!) to handle the verbiage for specific counties/states/townships, etc. I put the boilerplate and logic in to the Word docs and the fields that triggered the condition into the merge file. Is that any use to you? Charlotte Foust -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Tuesday, August 12, 2003 7:41 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] mail merge Charlotte, this is a call center application for an insurance company. They add new claimants / claims, and then handle phone calls re the claim. They need the ability to do mail merge type stuff for a raft of documents from various places in the program. When a new claim is entered, generate letters to the claimant / doctor / lawyer etc requesting more information. While handling the claim, generate letters to the claimant / employer / doctors etc. for various reasons. My client is nailing down exactly where in the app they want to generate the documents from, and in general I would expect a button / toolbar etc which allows the user to generate a specific document or select from a list of documents based upon what tab they are on in the app (which will provide a PK for filtering a mail merge query). As you can see, what they are doing will be custom defined, we will write queries to grab the specific data required for the mail merge letter, define a specific or a set of specific letters that can be created from any specific place in the app. The users of the system don't want to have to leave the place they are entering data to "go build a document". They want to just say "send a letter to the current claimant regarding the current claim, on this subject, with this selected boiler plate inserted, and allow me to edit the letter, perhaps in a specific place (paragraph). All of that is simple enough until you get to the "selected boiler plate inserted" kind of thing. That requires a combo or something to allow them to select boiler plate. In addition, I am attempting to build upon a foundation of a table driven mail merge system. The system was built by someone else and I am simply expanding on it (quite a bit). This system allows the DBA to create mail merges in advance. The DBA selects a document from a directory on the disk, and an existing query which will provide the data to the MM. The MM Wizard then reads the bookmarks out of the document into a combo and the fields of the query into another combo. It then allows the DBA to match the bookmarks with the fields of the query and write that information into a child table. The MM Wizard also allows the DBA to select text attributes such as font / pitch / bold / underline etc for each bookmark insertion. All of this ends up in a pair of tables: Mail Merge Header - containing the information about the merge process such as document name, query name, number of copies, duplex, etc. Mail Merge Fields - containing information about the document bookmarks and the matching query fields, as well as the formatting information for each such pair. It appears that I need to expand the system to include a boiler plate table with a m-m child to this table as well as the mail merge header, then allow bookmarks where the data is specifically selected boiler plate, and for those fields pop up a form or something to allow them to select the boiler plate related to a given letter. Also a bookmark which is specifically a user edit. It seems like a useful thing to do, just a bit outside of what I was doing already. I was hoping somebody could tell me that they had encountered similar requests and that they had resolved them by... John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Tuesday, August 12, 2003 11:00 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] mail merge Are you trying to manage it from Access? You might think about a Word form and macros for some of the on-the-fly stuff, but even Word makes you make your merge choices from a wizard unless you're hand-building the merge document. They can always edit the merged document if you merge to a new document instead of directly to the printer. Charlotte Foust -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Tuesday, August 12, 2003 5:07 AM To: AccessD Subject: [AccessD] mail merge My client wants to do mail merges where they can stop and edit the letter, and also choose (on-the-fly) boiler plate text to be inserted in the document. I am building a wizard or code library to manage mail merge but it seems that with these requirements I would need a form to pop up to allow them to make selections. Has anyone ever done this stuff? How do you handle it? John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Lambert.Heenan at AIG.com Tue Aug 12 11:46:03 2003 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Tue, 12 Aug 2003 12:46:03 -0400 Subject: [AccessD] martin's problem - SOLUTON Message-ID: <8B98F8EA48F8BA47A2F24E0D0AF40CF407AD75B3@xlivmbx12.aig.com> This link point's to Symnatec's fix for the worm. Look for "Removal using the W32.Blaster.Worm Removal Tool" to locate the link to the fix file. http://securityresponse.symantec.com/avcenter/venc/data/w32.blaster.worm.htm l Once eradicated, be sure to go to MS Windows Update and install all the critial updates. Lambert > -----Original Message----- > From: Stuart McLachlan [SMTP:stuart at lexacorp.com.pg] > Sent: Monday, August 11, 2003 8:00 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] martin's problem > > On 11 Aug 2003 at 19:38, Susan Harkins wrote: > > > The same thing's happening to me this afternoon Martin -- I think so > anyway. > > I get a Generic Host Process for Win32 Services has encountered a > problem... > > and then if I close the warning, it eventually reboots. I also just got > a > > warning about a new worm and maybe that's the problem? > > > In the last couple of hours, I have had a dozen or so probes to Port > 135 on my PC (that and quite a few probes of port 445). My firewall > tells me that that port 135 is currently used by SVCHOST. > > Looks like something out there is trying to take me over my SVCHOST. > Maybe your's has been? > > > > > > > -- > Lexacorp Ltd > http://www.lexacorp.com.pg > Information Technology Consultancy, Software Development,System > Support. > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From my.lists at verizon.net Tue Aug 12 11:54:45 2003 From: my.lists at verizon.net (Francisco H Tapia) Date: Tue, 12 Aug 2003 09:54:45 -0700 Subject: [AccessD] World Series - END OF THREAD (thanks) References: <3F38D8DF.10256.1954EF6F@localhost> <022501c36083$9e1d79e0$3c619a89@DDICK> Message-ID: <004501c360f2$6f4f83a0$b615010a@FHTAPIA> Just a friendly reminder, that you are welcomed to continue this thread with the AccessD community on the OT list. Here is the link for your convenience... http://databaseadvisors.com/mailman/listinfo/dba-OT -Francisco http://rcm.netfirms.com : ----- Original Message ----- : To: "Access Developers discussion and problem solving" : Sent: Tuesday, August 12, 2003 12:09 PM : Subject: Re: [AccessD] World Series : : :: On 12 Aug 2003 at 11:39, Darren DICK wrote: :: ::: I was of the opinion it was originally sponsored or supported by ::: 'The World' newspaper :::: From a luddite Ozzie ::: ::: :: A common misconception. :: :: See http://www.snopes.com/business/names/worldser.htm From jcolby at colbyconsulting.com Tue Aug 12 12:21:10 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Tue, 12 Aug 2003 13:21:10 -0400 Subject: [AccessD] mail merge In-Reply-To: Message-ID: Tell me about the "boilerplate and logic in the doc". Are you saying that you have boilerplate hidden in the doc and unhide it? That sounds useful as well. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Tuesday, August 12, 2003 12:26 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] mail merge Well, I created a system that was used for some years to prepare documents to securitize loans. That involved highly customized Word templates with conditional fields in them (hey, this was around Office 6!) to handle the verbiage for specific counties/states/townships, etc. I put the boilerplate and logic in to the Word docs and the fields that triggered the condition into the merge file. Is that any use to you? Charlotte Foust -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Tuesday, August 12, 2003 7:41 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] mail merge Charlotte, this is a call center application for an insurance company. They add new claimants / claims, and then handle phone calls re the claim. They need the ability to do mail merge type stuff for a raft of documents from various places in the program. When a new claim is entered, generate letters to the claimant / doctor / lawyer etc requesting more information. While handling the claim, generate letters to the claimant / employer / doctors etc. for various reasons. My client is nailing down exactly where in the app they want to generate the documents from, and in general I would expect a button / toolbar etc which allows the user to generate a specific document or select from a list of documents based upon what tab they are on in the app (which will provide a PK for filtering a mail merge query). As you can see, what they are doing will be custom defined, we will write queries to grab the specific data required for the mail merge letter, define a specific or a set of specific letters that can be created from any specific place in the app. The users of the system don't want to have to leave the place they are entering data to "go build a document". They want to just say "send a letter to the current claimant regarding the current claim, on this subject, with this selected boiler plate inserted, and allow me to edit the letter, perhaps in a specific place (paragraph). All of that is simple enough until you get to the "selected boiler plate inserted" kind of thing. That requires a combo or something to allow them to select boiler plate. In addition, I am attempting to build upon a foundation of a table driven mail merge system. The system was built by someone else and I am simply expanding on it (quite a bit). This system allows the DBA to create mail merges in advance. The DBA selects a document from a directory on the disk, and an existing query which will provide the data to the MM. The MM Wizard then reads the bookmarks out of the document into a combo and the fields of the query into another combo. It then allows the DBA to match the bookmarks with the fields of the query and write that information into a child table. The MM Wizard also allows the DBA to select text attributes such as font / pitch / bold / underline etc for each bookmark insertion. All of this ends up in a pair of tables: Mail Merge Header - containing the information about the merge process such as document name, query name, number of copies, duplex, etc. Mail Merge Fields - containing information about the document bookmarks and the matching query fields, as well as the formatting information for each such pair. It appears that I need to expand the system to include a boiler plate table with a m-m child to this table as well as the mail merge header, then allow bookmarks where the data is specifically selected boiler plate, and for those fields pop up a form or something to allow them to select the boiler plate related to a given letter. Also a bookmark which is specifically a user edit. It seems like a useful thing to do, just a bit outside of what I was doing already. I was hoping somebody could tell me that they had encountered similar requests and that they had resolved them by... John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Tuesday, August 12, 2003 11:00 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] mail merge Are you trying to manage it from Access? You might think about a Word form and macros for some of the on-the-fly stuff, but even Word makes you make your merge choices from a wizard unless you're hand-building the merge document. They can always edit the merged document if you merge to a new document instead of directly to the printer. Charlotte Foust -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Tuesday, August 12, 2003 5:07 AM To: AccessD Subject: [AccessD] mail merge My client wants to do mail merges where they can stop and edit the letter, and also choose (on-the-fly) boiler plate text to be inserted in the document. I am building a wizard or code library to manage mail merge but it seems that with these requirements I would need a form to pop up to allow them to make selections. Has anyone ever done this stuff? How do you handle it? John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Tue Aug 12 12:35:24 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 12 Aug 2003 10:35:24 -0700 Subject: [AccessD] mail merge Message-ID: This was a long time ago, but yes. I had fields in the document template that used conditional tests, like an IIF to determine which boilerplate to display in some sections. The test was based on a merge field value. So, it the state was Pennsylvania and the County was whatever, then the language was different from the other counties for that state. I built standard templates that met each state's requirements and then customized them for county, township, whatever with conditional fields. When I ran a mailmerge, I based the new document on the appropriate template and passed it the field values it needed to determine which county, or whatever, it was so the document could morph itself. So if we had a dozen loans to securitize in a particular state, the legal documents accompanying each loan could be produced in a single mail merge even though the details and language differed between loans. As an alternative, you could pass the boilerplate in the mergefile in separate fields and determine which field to use with a conditional test. You could build yourself a wizard wizard, I suppose, to let them customize their templates themselves. I never went that far. They called me for years when they needed a language change or they had managed to zap a template completely. Charlotte Foust -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Tuesday, August 12, 2003 9:21 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] mail merge Tell me about the "boilerplate and logic in the doc". Are you saying that you have boilerplate hidden in the doc and unhide it? That sounds useful as well. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Tuesday, August 12, 2003 12:26 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] mail merge Well, I created a system that was used for some years to prepare documents to securitize loans. That involved highly customized Word templates with conditional fields in them (hey, this was around Office 6!) to handle the verbiage for specific counties/states/townships, etc. I put the boilerplate and logic in to the Word docs and the fields that triggered the condition into the merge file. Is that any use to you? Charlotte Foust -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Tuesday, August 12, 2003 7:41 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] mail merge Charlotte, this is a call center application for an insurance company. They add new claimants / claims, and then handle phone calls re the claim. They need the ability to do mail merge type stuff for a raft of documents from various places in the program. When a new claim is entered, generate letters to the claimant / doctor / lawyer etc requesting more information. While handling the claim, generate letters to the claimant / employer / doctors etc. for various reasons. My client is nailing down exactly where in the app they want to generate the documents from, and in general I would expect a button / toolbar etc which allows the user to generate a specific document or select from a list of documents based upon what tab they are on in the app (which will provide a PK for filtering a mail merge query). As you can see, what they are doing will be custom defined, we will write queries to grab the specific data required for the mail merge letter, define a specific or a set of specific letters that can be created from any specific place in the app. The users of the system don't want to have to leave the place they are entering data to "go build a document". They want to just say "send a letter to the current claimant regarding the current claim, on this subject, with this selected boiler plate inserted, and allow me to edit the letter, perhaps in a specific place (paragraph). All of that is simple enough until you get to the "selected boiler plate inserted" kind of thing. That requires a combo or something to allow them to select boiler plate. In addition, I am attempting to build upon a foundation of a table driven mail merge system. The system was built by someone else and I am simply expanding on it (quite a bit). This system allows the DBA to create mail merges in advance. The DBA selects a document from a directory on the disk, and an existing query which will provide the data to the MM. The MM Wizard then reads the bookmarks out of the document into a combo and the fields of the query into another combo. It then allows the DBA to match the bookmarks with the fields of the query and write that information into a child table. The MM Wizard also allows the DBA to select text attributes such as font / pitch / bold / underline etc for each bookmark insertion. All of this ends up in a pair of tables: Mail Merge Header - containing the information about the merge process such as document name, query name, number of copies, duplex, etc. Mail Merge Fields - containing information about the document bookmarks and the matching query fields, as well as the formatting information for each such pair. It appears that I need to expand the system to include a boiler plate table with a m-m child to this table as well as the mail merge header, then allow bookmarks where the data is specifically selected boiler plate, and for those fields pop up a form or something to allow them to select the boiler plate related to a given letter. Also a bookmark which is specifically a user edit. It seems like a useful thing to do, just a bit outside of what I was doing already. I was hoping somebody could tell me that they had encountered similar requests and that they had resolved them by... John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Tuesday, August 12, 2003 11:00 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] mail merge Are you trying to manage it from Access? You might think about a Word form and macros for some of the on-the-fly stuff, but even Word makes you make your merge choices from a wizard unless you're hand-building the merge document. They can always edit the merged document if you merge to a new document instead of directly to the printer. Charlotte Foust -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Tuesday, August 12, 2003 5:07 AM To: AccessD Subject: [AccessD] mail merge My client wants to do mail merges where they can stop and edit the letter, and also choose (on-the-fly) boiler plate text to be inserted in the document. I am building a wizard or code library to manage mail merge but it seems that with these requirements I would need a form to pop up to allow them to make selections. Has anyone ever done this stuff? How do you handle it? John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Bryan_Carbonnell at cbc.ca Tue Aug 12 13:47:25 2003 From: Bryan_Carbonnell at cbc.ca (Bryan Carbonnell) Date: Tue, 12 Aug 2003 14:47:25 -0400 Subject: [AccessD] Question about the BEU Message-ID: IMO, the questions don't really belong here as a rule. Most of the "support" requests have come from folks that are not subscribed to AccessD (barring Jeff's question :). So we don't want to make folks subscribe to AccessD just to ask a question about a DBA "product" My $0.02 Bryan Carbonnell bryan_carbonnell at cbc.ca >>> CWortz at tea.state.tx.us 12-Aug-03 10:33:04 AM >>> Bryan, Since the BEU development team developed the BEU mainly for the AccessD list, then asking questions about it belong on AccessD. However, you may want to create a separate archive/FAQ for the BEU. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Bryan Carbonnell [mailto:Bryan_Carbonnell at cbc.ca] Sent: Tuesday 2003 Aug 12 09:15 To: accessd at databaseadvisors.com Subject: Re: [AccessD] Question about the BEU Jeff, Funny you should ask where to ask BEU questions. We are just talking about that :) and haven't fully decided yet. But to answer your question, you can change where the log goes, but how have to edit the code. Bryan Carbonnell bryan_carbonnell at cbc.ca >>> Jeff at OUTBAKTech.com 12-Aug-03 10:02:51 AM >>> Where is the best place to ask a question about rhe BEU? What I need to know is, can I change it to save the error log file somewhere other than in the same folder as the FE app? _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From andy at minstersystems.co.uk Tue Aug 12 16:02:51 2003 From: andy at minstersystems.co.uk (Andy Lacey) Date: Tue, 12 Aug 2003 22:02:51 +0100 Subject: [AccessD] Question about the BEU In-Reply-To: Message-ID: <001501c36115$18058bd0$b274d0d5@minster33c3r25> I agree. Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Bryan Carbonnell > Sent: 12 August 2003 19:47 > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Question about the BEU > > > IMO, the questions don't really belong here as a rule. > > Most of the "support" requests have come from folks that are > not subscribed to AccessD (barring Jeff's question :). So we > don't want to make folks subscribe to AccessD just to ask a > question about a DBA "product" > > My $0.02 > > Bryan Carbonnell > bryan_carbonnell at cbc.ca > > >>> CWortz at tea.state.tx.us 12-Aug-03 10:33:04 AM >>> > Bryan, > > Since the BEU development team developed the BEU mainly for > the AccessD list, then asking questions about it belong on > AccessD. However, you may want to create a separate > archive/FAQ for the BEU. > > Charles Wortz > Software Development Division > Texas Education Agency > 1701 N. Congress Ave > Austin, TX 78701-1494 > 512-463-9493 > CWortz at tea.state.tx.us > > > > -----Original Message----- > From: Bryan Carbonnell [mailto:Bryan_Carbonnell at cbc.ca] > Sent: Tuesday 2003 Aug 12 09:15 > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Question about the BEU > > Jeff, > > Funny you should ask where to ask BEU questions. We are just > talking about that :) and haven't fully decided yet. > > But to answer your question, you can change where the log > goes, but how have to edit the code. > Bryan Carbonnell bryan_carbonnell at cbc.ca > > > >>> Jeff at OUTBAKTech.com 12-Aug-03 10:02:51 AM >>> > Where is the best place to ask a question about rhe BEU? > What I need to know is, can I change it to save the error log > file somewhere other than in the same folder as the FE app? > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/a> ccessd > Website: > http://www.databaseadvisors.com > > From MPorter at acsalaska.com Tue Aug 12 16:18:44 2003 From: MPorter at acsalaska.com (Porter, Mark) Date: Tue, 12 Aug 2003 13:18:44 -0800 Subject: [AccessD] Cannot open .mdb file Message-ID: Hi all, I have an .mdb file which I cannot open. The error is "The Microsoft Jet database engine stopped the process because you and another user are attempting to change the same data at the same time" This file was recently recovered from a backup tape. The admins have verified that all users have access to the file. Nobody else is using this file, there is not even an .ldb file for it in the directory. I also cannot connect to it; I recieve the same error. Any ideas? Mark This transmittal may contain confidential information intended solely for the addressee. If you are not the intended recipient, you are hereby notified that you have received this transmittal in error; any review, dissemination, distribution or copying of this transmittal is strictly prohibited. If you have received this communication in error, please notify us immediately by reply or by telephone (collect at 907-564-1000) and ask to speak with the message sender. In addition, please immediately delete this message and all attachments. Thank you. From melissasener at earthlink.net Tue Aug 12 16:23:08 2003 From: melissasener at earthlink.net (Melissa F. Sener) Date: Tue, 12 Aug 2003 14:23:08 -0700 Subject: [AccessD] How can I change my table to include on characters in lowercase? In-Reply-To: Message-ID: How can I change my table to include on characters in lowercase? Is there a way to run a macro to convert any uppercase to lower case? I need it actually changed in the table not just displayed as lowercase. Thanx Melissa From clh at christopherhawkins.com Tue Aug 12 16:31:52 2003 From: clh at christopherhawkins.com (Christopher Hawkins) Date: Tue, 12 Aug 2003 15:31:52 -0600 Subject: [AccessD] Getting Desperate - Apologies for the OT message Message-ID: <274540-220038212213152851@christopherhawkins.com> First off, I apologize for such a blatantly OT message, but I just don't know where else to turn. 6 months ago, I bought a house. Three weeks later, I was laid off. Ouch. Dribs and drabs of contract work have come in, but I'm so far out of any major tech market that there are not enough contract jobs or W2 jobs available within commutable distance. I'm making an appeal to any among you who may find yourself in the enviable positon of having more work offered than you can handle, or who may have knowledge of projects that are staffing up. I'm looking for a chance to subcontract, a referral, and outright assignment - anything that gets the revenue train going again. I know this is crass, but if I have to take the initiative and beg for work to keep my family fed and housed, I'll beg! Anyone with work or leads, feel free to contact me offline - clh at christopherhawkins.com. Thank you. -Christopher Hawkins- From cfoust at infostatsystems.com Tue Aug 12 16:38:08 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 12 Aug 2003 14:38:08 -0700 Subject: [AccessD] How can I change my table to include on characters inlowercase? Message-ID: You can do an update query and use the Lcase() function, but are there just particular fields you want to do this on? Otherwise, you would have to create a query that updated each field to the Lcase() value of that field. Charlotte Foust -----Original Message----- From: Melissa F. Sener [mailto:melissasener at earthlink.net] Sent: Tuesday, August 12, 2003 1:23 PM To: Access Developers discussion and problem solving Subject: [AccessD] How can I change my table to include on characters inlowercase? How can I change my table to include on characters in lowercase? Is there a way to run a macro to convert any uppercase to lower case? I need it actually changed in the table not just displayed as lowercase. Thanx Melissa _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From todd_5036 at msn.com Tue Aug 12 16:50:31 2003 From: todd_5036 at msn.com (Todd Buttrey) Date: Tue, 12 Aug 2003 16:50:31 -0500 Subject: [AccessD] Cannot open .mdb file Message-ID: Is the file marked read only? ----Original Message Follows---- From: "Porter, Mark" Reply-To: Access Developers discussion and problem solving To: "'Access Developers discussion and problem solving'" Subject: [AccessD] Cannot open .mdb file Date: Tue, 12 Aug 2003 13:18:44 -0800 Hi all, I have an .mdb file which I cannot open. The error is "The Microsoft Jet database engine stopped the process because you and another user are attempting to change the same data at the same time" This file was recently recovered from a backup tape. The admins have verified that all users have access to the file. Nobody else is using this file, there is not even an .ldb file for it in the directory. I also cannot connect to it; I recieve the same error. Any ideas? Mark This transmittal may contain confidential information intended solely for the addressee. If you are not the intended recipient, you are hereby notified that you have received this transmittal in error; any review, dissemination, distribution or copying of this transmittal is strictly prohibited. If you have received this communication in error, please notify us immediately by reply or by telephone (collect at 907-564-1000) and ask to speak with the message sender. In addition, please immediately delete this message and all attachments. Thank you. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _________________________________________________________________ Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 From serbach at new.rr.com Tue Aug 12 16:57:56 2003 From: serbach at new.rr.com (Steven W. Erbach) Date: Tue, 12 Aug 2003 16:57:56 -0500 Subject: [AccessD] martin's problem - SOLUTON References: <8B98F8EA48F8BA47A2F24E0D0AF40CF407AD75B3@xlivmbx12.aig.com> Message-ID: <001a01c3611c$cbb59740$3c06d018@W2k> Dear Group, >> This link point's to Symnatec's fix for the worm. Look for "Removal using the W32.Blaster.Worm Removal Tool" to locate the link to the fix file. << For what it's worth, I went to a client's site to eradicate the Blaster Worm. SHEESH! It's a Win XP Home system that has not been updated to the most recent Windows update since they bought it about two years ago. It has Norton AntiVirus 2003 on it, but, of course, the last time they did a virus update was last week. They have no firewall. I was able to download the Symantec "fix" while in normal Windows, but I had to run the program in Safe Mode since the RPC error / Shutdown message appeared every time I tried to run the fix. So far so good. I thought that I'd try to go to the Windows Update site. It showed that this PC, of course, hadn't ever been updated, so there were 34 critical updates to make. Started the first one...RPC error / Shutdown. Okay, lets update Norton AntiVirus. Did that, but I still got the RPC error. Shutdown. Started up in Safe Mode and ran a full Norton AV System Scan. 114,000 files later there were no viruses present. Restarted in normal Windows and went to the Windows Update site. Norton displayed its W32.Blaster.Worm detection screen and said that it had been deleted...but a minute or two later the RPC error appeared again anyway and I had to shut the system down and restart. I tried this Windows Update thingy a few more times. There were a couple of times after the Norton AV message appeared indicating that, once again, it had deleted Blaster.Worm, a Windows message appeared indicating that the Generic Host Process for Win32 Services had encountered a problem and needed to close. Right after that the RPC / Shutdown error appeared. Restart. I finally got wise that Windows REALLY needed to have the MS KB823980 patch applied. I hadn't tried that right away because I thought that Windows had to be updated to the most recent level first. I tried to run the file from the Microsoft site rather than saving to disk and got both the Generic Host Process error and the RPC error. Shutdown and restart. I got even MORE wise and restarted in Safe Mode With Network capability. I downloaded the patch all right...but instead of applying it I thought I'd try the Windows update again. RPC. Shutdown. Restarted in Safe Mode with Network. Started the patch. RPC / Shutdown. Restared in Safe Mode WITHOUT the network. Ran the patch. COMPLETED! Restarted in Safe Mode WITH Networking to try Windows Update again. Finally the PC began downloading the huge number of pieces that it needed to upgrade Win XP to the current revision. I left my client's office about 4 hours after I'd arrived, giving them instructions to call when the downloads were completed. I should be able to walk them through the Windows Update process tonight. They have DSL but it was god-awful slow. 95 MB download estimated at about 200 minutes...more than 10 times slower than my cable service would take. So, the upshot is, if the PC hasn't been updated to the most recent version of XP lately (or at all) make sure that you download and run everything in Safe Mode...and make sure to run the MS patch in Safe Mode WITHOUT networking. I must have seen that RPC shutdown thing two dozen times or more, and the General Host Process error 8 or 9 times. It's now looking good, but we're not finished upgrading Windows XP yet. I'm crossing my fingers that the guy on the other end of the phone is somewhat proficient. Crossing my fingers. Steve Erbach Scientific Marketing Neenah, WI "Eventually, socialists run out of other people's money." -- Lady Margaret Thatcher From szayko at secor.com Tue Aug 12 17:07:54 2003 From: szayko at secor.com (Stephen R. Zayko) Date: Tue, 12 Aug 2003 18:07:54 -0400 Subject: [AccessD] Cannot open .mdb file In-Reply-To: Message-ID: <001c01c3611e$32d61570$343da8c0@STEVE2K> Mark: I am not sure what/how you are getting the error but I get a similar one when working with an mdb that links to ODBC data sources. Similar circumstances... I am the only user of the database (verified by firewall logs). Not every time you edit a record, but 60-80% of the time. This is my environment: FE = Access 2000 BE = ODBC datasource (MySQL or MS_SQL) DSN = system DSN Source of data to be edited can be 'linked table' or 'query of linked table' or form based upon either of those. When editing the contents of a field and then you move to another record: ________________________________________________________________________ ____ Write Conflict! This record has been changed by another user since you have started editing it. If you save the record you will overwrite the changes the other user made. Copying the changes to the clipboard will let you look at the values the other user entered, and then paste your changes back in if you decide to make changes. _______________ _____________________ _________________ | Save Record | | Copy to Clipboard | | Drop Changes | --------------- --------------------- ----------------- ________________________________________________________________________ ___ The 'Save Record' button is ALWAYS disabled and you have to select the button to 'Drop Changes' Evil evil evil evil evil. I have worked around this by making everything 'unbound' but do not wish to open that entertaining debate right now. What I would like to do now is find out 1) What on earth is causing that error? 2) Why does it never let a user select 'Save Record' to just bullhead your way through changes? 3) What can I do as a developer to stop it from occurring? Stephen R. Zayko, P.E. SECOR International Inc. 2321 Club Meridian Drive, Ste E Okemos, MI 48864 (p) (517) 349-9499 ex24 (f) (517) 349-6863 (m) (517) 204-5136 szayko at secor.com www.secor.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Porter, Mark Sent: Tuesday, August 12, 2003 05:19 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Cannot open .mdb file Hi all, I have an .mdb file which I cannot open. The error is "The Microsoft Jet database engine stopped the process because you and another user are attempting to change the same data at the same time" This file was recently recovered from a backup tape. The admins have verified that all users have access to the file. Nobody else is using this file, there is not even an .ldb file for it in the directory. I also cannot connect to it; I recieve the same error. Any ideas? Mark This transmittal may contain confidential information intended solely for the addressee. If you are not the intended recipient, you are hereby notified that you have received this transmittal in error; any review, dissemination, distribution or copying of this transmittal is strictly prohibited. If you have received this communication in error, please notify us immediately by reply or by telephone (collect at 907-564-1000) and ask to speak with the message sender. In addition, please immediately delete this message and all attachments. Thank you. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Tue Aug 12 17:38:41 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Tue, 12 Aug 2003 15:38:41 -0700 Subject: [AccessD] Open Dialog Box References: <20030812125109.JCYA1637.fep04-svc.ttys.com@localhost> Message-ID: <3F396C71.4040606@shaw.ca> Use the API's http://www.mvps.org/access/api/api0001.htm paul.hartland at fsmail.net wrote: >To all, > >I am using Access XP and have forgotten the command(s) to open the OpenDialog box, can anyone tell me how to do this ? > >Thanks in advance > >Paul > >__________________________________________________________________________ >Join Freeserve http://www.freeserve.com/time/ > >Winner of the 2003 Internet Service Providers' Association awards for Best Unmetered ISP and Best Consumer Application. > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > From serbach at new.rr.com Tue Aug 12 17:45:07 2003 From: serbach at new.rr.com (Steven W. Erbach) Date: Tue, 12 Aug 2003 17:45:07 -0500 Subject: [AccessD] Getting Desperate - Apologies for the OT message References: <274540-220038212213152851@christopherhawkins.com> Message-ID: <00b501c36123$62fddda0$3c06d018@W2k> Christopher, >> I know this is crass, but if I have to take the initiative and beg for work to keep my family fed and housed, I'll beg! << It isn't crass at all. I'm afraid I can't help. I'm in the same boat, living from small project to small project and trying to keep up with the mortgage and the car payment and the health insurance and the taxes...oh, and food, too. My best wishes to you. As General George S. Patton said, "Do not take counsel of your fears." Steve Erbach Scientific Marketing Neenah, WI "Eventually, socialists run out of other people's money." -- Lady Margaret Thatcher From d.dick at uws.edu.au Tue Aug 12 18:52:30 2003 From: d.dick at uws.edu.au (Darren DICK) Date: Wed, 13 Aug 2003 09:52:30 +1000 Subject: [AccessD] A2K: What's this Message-ID: <00b801c3612c$cb346610$3c619a89@DDICK> Hello all In the property sheet it's possible to set the What's This button to true. The you get the nice little Q mark. The user clicks on the Q mark then on the area of interest and viola - a nice yellow popup with info in it. My Q is...How and where do I actually write and store text for the yellow popups in the past? Make sense? Many thanks in advance Darren From cfoust at infostatsystems.com Tue Aug 12 19:03:32 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 12 Aug 2003 17:03:32 -0700 Subject: [AccessD] A2K: What's this Message-ID: If by yellow popups you mean tooltips, objects like controls in Access have a ControlTip property where those are stored. In 2002, the What's This button goes to Access help unless you've created a custom help file and (I assume) the contextID you've indicated for that object. We haven't addressed HTML help yet so I can't make any suggestions. Charlotte Foust -----Original Message----- From: Darren DICK [mailto:d.dick at uws.edu.au] Sent: Tuesday, August 12, 2003 3:53 PM To: AccessD List Subject: [AccessD] A2K: What's this Hello all In the property sheet it's possible to set the What's This button to true. The you get the nice little Q mark. The user clicks on the Q mark then on the area of interest and viola - a nice yellow popup with info in it. My Q is...How and where do I actually write and store text for the yellow popups in the past? Make sense? Many thanks in advance Darren _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From d.dick at uws.edu.au Tue Aug 12 21:06:47 2003 From: d.dick at uws.edu.au (Darren DICK) Date: Wed, 13 Aug 2003 12:06:47 +1000 Subject: [AccessD] A2K: What's this References: Message-ID: <00da01c3613f$8d217580$3c619a89@DDICK> HI Charlotte Thanks for the reply. No I didn't mean the Control Tip Text Property. I think I need a Microsoft Help Compiler or some such beast. Anyone got any news or info on that? Many thanks Darren ----- Original Message ----- From: "Charlotte Foust" To: "Access Developers discussion and problem solving" Sent: Wednesday, August 13, 2003 10:03 AM Subject: RE: [AccessD] A2K: What's this > If by yellow popups you mean tooltips, objects like controls in Access > have a ControlTip property where those are stored. In 2002, the What's > This button goes to Access help unless you've created a custom help file > and (I assume) the contextID you've indicated for that object. We > haven't addressed HTML help yet so I can't make any suggestions. > > Charlotte Foust > > -----Original Message----- > From: Darren DICK [mailto:d.dick at uws.edu.au] > Sent: Tuesday, August 12, 2003 3:53 PM > To: AccessD List > Subject: [AccessD] A2K: What's this > > > Hello all > In the property sheet it's possible to set the What's This button to > true. The you get the nice little Q mark. The user clicks on the Q mark > then on the area of interest and viola - a nice yellow popup with info > in it. > > My Q is...How and where do I actually write and store text for the > yellow popups in the past? > > Make sense? > > Many thanks in advance > > Darren > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From clh at christopherhawkins.com Tue Aug 12 21:23:45 2003 From: clh at christopherhawkins.com (Christopher Hawkins) Date: Tue, 12 Aug 2003 20:23:45 -0600 Subject: [AccessD] Getting Desperate - Apologies for the OT message Message-ID: <2870-22003831322345989@christopherhawkins.com> Thank you for the kind words, Steven. -Christopher Hawkins- ---- Original Message ---- From: serbach at new.rr.com To: accessd at databaseadvisors.com, Subject: Re: [AccessD] Getting Desperate - Apologies for the OT message Date: Tue, 12 Aug 2003 17:45:07 -0500 >Christopher, > >>> I know this is crass, but if I have to take the initiative and beg >for work to keep my family fed and housed, I'll beg! << > >It isn't crass at all. I'm afraid I can't help. I'm in the same >boat, living >from small project to small project and trying to keep up with the >mortgage >and the car payment and the health insurance and the taxes...oh, and >food, >too. > >My best wishes to you. As General George S. Patton said, "Do not take >counsel of your fears." > >Steve Erbach >Scientific Marketing >Neenah, WI > >"Eventually, socialists run out of other people's money." >-- Lady Margaret Thatcher > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > From kathryn at bassett.net Tue Aug 12 22:27:01 2003 From: kathryn at bassett.net (Kathryn Bassett) Date: Tue, 12 Aug 2003 20:27:01 -0700 Subject: [AccessD]OT martin's problem In-Reply-To: Message-ID: Once you get rid of the worm, the patch is at: http://microsoft.com/downloads/search.aspx?displaylang=en&categoryid=7 -- Kathryn Rhinehart Bassett (Pasadena CA) "Genealogy is my bag" "GH is my soap" kathryn at bassett.net http://bassett.net > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Colby > Sent: 12 Aug 2003 5:58:AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD]OT martin's problem > > > Apparently a very successful DOS attack. The site is inaccessible. > > John W. Colby > www.colbyconsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of MartyConnelly > Sent: Monday, August 11, 2003 10:27 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD]OT martin's problem > > > > > http://www.trendmicro.com/vinfo/virusencyclo/default5.asp?VName=WORM_MSBLAST > .A > > Has instructions to kill worm in memory and remove from registry startup > You may have problems downloading a patch. It is also directing a DOS > attack against > www.windowsupdate.com ;) .Interesting approach for a nuisance. > > Susan Harkins wrote: > > >Internet Virus Alert: Central Command Warns Of New RPC > >Computer Worm Named Worm/Lovsan.A > > > > > >http://support.centralcommand.com/cgi-bin/command.cfg/php/enduser/std_adp.p > h > >p?p_faqid=506 > > > > > >========I'll be looking for more info on how to get rid of this -- info > >talks as though msblast.exe is the virus file and I've got it. :( Not sure > >where I got it from though if that's the case -- the wording is a bit > >ambiguous and I'm not positive that msblast.exe isn't a valid file. > > > >If anyone finds more info on how to get rid of this sucker, let me know > >please. > > > >Susan H. > > > > > >----- Original Message ----- > >From: "Susan Harkins" > >To: > >Sent: Monday, August 11, 2003 7:38 PM > >Subject: [AccessD] martin's problem > > > > > > > > > >>The same thing's happening to me this afternoon Martin -- I think so > >> > >> > >anyway. > > > > > >>I get a Generic Host Process for Win32 Services has encountered a > >> > >> > >problem... > > > > > >>and then if I close the warning, it eventually reboots. I also just got a > >>warning about a new worm and maybe that's the problem? > >> > >>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 wdhindman at bellsouth.net Tue Aug 12 22:50:42 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Tue, 12 Aug 2003 23:50:42 -0400 Subject: [AccessD] Getting Desperate - Apologies for the OT message References: <274540-220038212213152851@christopherhawkins.com> Message-ID: <000f01c3614e$11d0dd30$6001a8c0@dejpolsys> Christopher ...its neither crass nor off-topic ...read the netiquette if you wish but sharing and friendship are the constants that make this list far better than others we all are aware of ...and using the list to look for work is both highly relevant and welcome ...as for work itself, its been slow here for months now ...if not for a couple of steady clients, it might well be me writing your post instead. ...you might consider posting your resume as well or a link to it ...would make referrals easier :) William Hindman So, then, to every man his chance -- to every man, regardless of his birth, his shining golden opportunity -- to every man his right to live, to work, to be himself, to become whatever his manhood and his vision can combine to make him -- this, seeker, is the promise of America. -- Thomas Wolfe ----- Original Message ----- From: "Christopher Hawkins" To: Sent: Tuesday, August 12, 2003 5:31 PM Subject: [AccessD] Getting Desperate - Apologies for the OT message > First off, I apologize for such a blatantly OT message, but I just > don't know where else to turn. > > 6 months ago, I bought a house. Three weeks later, I was laid off. > Ouch. Dribs and drabs of contract work have come in, but I'm so far > out of any major tech market that there are not enough contract jobs > or W2 jobs available within commutable distance. > > I'm making an appeal to any among you who may find yourself in the > enviable positon of having more work offered than you can handle, or > who may have knowledge of projects that are staffing up. I'm looking > for a chance to subcontract, a referral, and outright assignment - > anything that gets the revenue train going again. > > I know this is crass, but if I have to take the initiative and beg > for work to keep my family fed and housed, I'll beg! > > Anyone with work or leads, feel free to contact me offline - > clh at christopherhawkins.com. > > Thank you. > > -Christopher Hawkins- > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From wdhindman at bellsouth.net Tue Aug 12 23:05:53 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Wed, 13 Aug 2003 00:05:53 -0400 Subject: [AccessD] martin's problem - SOLUTON References: <8B98F8EA48F8BA47A2F24E0D0AF40CF407AD75B3@xlivmbx12.aig.com> <001a01c3611c$cbb59740$3c06d018@W2k> Message-ID: <001801c36150$30e444d0$6001a8c0@dejpolsys> ...some follow-up comments ...the MS Win Update site was heavily loaded all day long ...dls were much slower than normal at every client site ...and as for what you were seeing, the worm exploits a buffer overrun to get into your system, then dls the msblast.exe from a dynamically changing list of IPs and ports ...so even if you wipe msblast, it just reloads the next time you connect ...you have to have the ms patch installed to prevent it from using the buffer overrun to reload itself again and again ...then the virus cleaning will work ...only positive was that it was an excellent client object lesson in keeping Win updates current ...safest thing is to dl them automatically every night and then apply selectively ...that way you at least have them dl'd before everyone starts hitting on the ms site ...I'm really pretty surprised that it worked as well as it did. William Hindman So, then, to every man his chance -- to every man, regardless of his birth, his shining golden opportunity -- to every man his right to live, to work, to be himself, to become whatever his manhood and his vision can combine to make him -- this, seeker, is the promise of America. -- Thomas Wolfe ----- Original Message ----- From: "Steven W. Erbach" To: "Access Developers discussion and problem solving" Sent: Tuesday, August 12, 2003 5:57 PM Subject: Re: [AccessD] martin's problem - SOLUTON > Dear Group, > > >> This link point's to Symnatec's fix for the worm. Look for "Removal using > the W32.Blaster.Worm Removal Tool" to locate the link to the fix file. << > > For what it's worth, I went to a client's site to eradicate the Blaster > Worm. SHEESH! It's a Win XP Home system that has not been updated to the > most recent Windows update since they bought it about two years ago. It has > Norton AntiVirus 2003 on it, but, of course, the last time they did a virus > update was last week. They have no firewall. > > I was able to download the Symantec "fix" while in normal Windows, but I had > to run the program in Safe Mode since the RPC error / Shutdown message > appeared every time I tried to run the fix. So far so good. > > I thought that I'd try to go to the Windows Update site. It showed that this > PC, of course, hadn't ever been updated, so there were 34 critical updates > to make. Started the first one...RPC error / Shutdown. > > Okay, lets update Norton AntiVirus. Did that, but I still got the RPC error. > Shutdown. > > Started up in Safe Mode and ran a full Norton AV System Scan. 114,000 files > later there were no viruses present. > > Restarted in normal Windows and went to the Windows Update site. Norton > displayed its W32.Blaster.Worm detection screen and said that it had been > deleted...but a minute or two later the RPC error appeared again anyway and > I had to shut the system down and restart. > > I tried this Windows Update thingy a few more times. There were a couple of > times after the Norton AV message appeared indicating that, once again, it > had deleted Blaster.Worm, a Windows message appeared indicating that the > Generic Host Process for Win32 Services had encountered a problem and needed > to close. Right after that the RPC / Shutdown error appeared. Restart. > > I finally got wise that Windows REALLY needed to have the MS KB823980 patch > applied. I hadn't tried that right away because I thought that Windows had > to be updated to the most recent level first. I tried to run the file from > the Microsoft site rather than saving to disk and got both the Generic Host > Process error and the RPC error. Shutdown and restart. > > I got even MORE wise and restarted in Safe Mode With Network capability. I > downloaded the patch all right...but instead of applying it I thought I'd > try the Windows update again. RPC. Shutdown. > > Restarted in Safe Mode with Network. Started the patch. RPC / Shutdown. > > Restared in Safe Mode WITHOUT the network. Ran the patch. COMPLETED! > > Restarted in Safe Mode WITH Networking to try Windows Update again. Finally > the PC began downloading the huge number of pieces that it needed to upgrade > Win XP to the current revision. I left my client's office about 4 hours > after I'd arrived, giving them instructions to call when the downloads were > completed. I should be able to walk them through the Windows Update process > tonight. > > They have DSL but it was god-awful slow. 95 MB download estimated at about > 200 minutes...more than 10 times slower than my cable service would take. > > So, the upshot is, if the PC hasn't been updated to the most recent version > of XP lately (or at all) make sure that you download and run everything in > Safe Mode...and make sure to run the MS patch in Safe Mode WITHOUT > networking. I must have seen that RPC shutdown thing two dozen times or > more, and the General Host Process error 8 or 9 times. > > It's now looking good, but we're not finished upgrading Windows XP yet. I'm > crossing my fingers that the guy on the other end of the phone is somewhat > proficient. Crossing my fingers. > > Steve Erbach > Scientific Marketing > Neenah, WI > > "Eventually, socialists run out of other people's money." > -- Lady Margaret Thatcher > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From Jeff at OUTBAKTech.com Tue Aug 12 23:34:54 2003 From: Jeff at OUTBAKTech.com (Jeff Barrows) Date: Tue, 12 Aug 2003 23:34:54 -0500 Subject: [AccessD] Getting Desperate - Apologies for the OT message Message-ID: <8DA8776D2F418E46A2A464AC6CE630509234@outbaksrv1.outbaktech.com> Wasn't there talk about a Member's Page? With your resume and a short self-written bio? Btw, I have been looking for work (new clients, new work from current clients, or a salaried position) for about 17 months now. Jeff Barrows Outbak Technologies, LLC Racine, WI Phone: (262) 634-0653 Mailto: jeff_developer at hotmail.com www.outbaktech.com -----Original Message----- From: William Hindman [mailto:wdhindman at bellsouth.net] Sent: Tuesday, August 12, 2003 10:51 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Getting Desperate - Apologies for the OT message Christopher ...its neither crass nor off-topic ...read the netiquette if you wish but sharing and friendship are the constants that make this list far better than others we all are aware of ...and using the list to look for work is both highly relevant and welcome ...as for work itself, its been slow here for months now ...if not for a couple of steady clients, it might well be me writing your post instead. ...you might consider posting your resume as well or a link to it ...would make referrals easier :) William Hindman So, then, to every man his chance -- to every man, regardless of his birth, his shining golden opportunity -- to every man his right to live, to work, to be himself, to become whatever his manhood and his vision can combine to make him -- this, seeker, is the promise of America. -- Thomas Wolfe ----- Original Message ----- From: "Christopher Hawkins" To: Sent: Tuesday, August 12, 2003 5:31 PM Subject: [AccessD] Getting Desperate - Apologies for the OT message > First off, I apologize for such a blatantly OT message, but I just > don't know where else to turn. > > 6 months ago, I bought a house. Three weeks later, I was laid off. > Ouch. Dribs and drabs of contract work have come in, but I'm so far > out of any major tech market that there are not enough contract jobs > or W2 jobs available within commutable distance. > > I'm making an appeal to any among you who may find yourself in the > enviable positon of having more work offered than you can handle, or > who may have knowledge of projects that are staffing up. I'm looking > for a chance to subcontract, a referral, and outright assignment - > anything that gets the revenue train going again. > > I know this is crass, but if I have to take the initiative and beg > for work to keep my family fed and housed, I'll beg! > > Anyone with work or leads, feel free to contact me offline - > clh at christopherhawkins.com. > > Thank you. > > -Christopher Hawkins- > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd666 at yahoo.com Wed Aug 13 00:50:51 2003 From: accessd666 at yahoo.com (Sad Der) Date: Tue, 12 Aug 2003 22:50:51 -0700 (PDT) Subject: [AccessD] ASP - getting started In-Reply-To: <003401c36097$6b0fc670$54dd31d2@OfficePC> Message-ID: <20030813055051.38100.qmail@web10008.mail.yahoo.com> Hi, hmm I never said anything about 127.0.0.1. I also got that tip but I couldn't get it to work that way?! Sorry but I have very little knowledge of PC's itself and can't help you with you're question! So: is there a SYSTEM ADMINISTATOR in the house/forum? Sander PS: I'll have a look at it today if I find time to do it. --- "Software Design & Solutions Pty Ltd." wrote: > Hi Sander - OK - I've gone thru' all that and it all > works so long as I use http://127.0.0.1/, so to use > your example I can enter > http://127.0.0.1/prjWacky and see the page but not > if I use my computer name. > > In my case the PC is called OfficePC. I have created > a subfolder called Test and it has a file in it > called index.html. (WHich I can modify to be an ASP > later). > > When I go into Administration Tools in the CP and > look at 'Default Web Site' I can see the subfolder > 'Test'. > When I go into the Properties of Test and click on > the 'Documents' tab the name Index is the first file > name. > > The only problem I seem to have (given that all this > works with 127.0.0.1) is that the browser can't find > the computer name of OfficePC or find it using > localHost despite my having reinstalled etc.) > > Is there anything I need to set under the Properties > of OfficePC (computer name) itself? > Cheers > Kath > > ----- Original Message ----- > From: Sad Der > To: Access Developers discussion and problem > solving > Sent: Tuesday, August 12, 2003 3:39 PM > Subject: Re: [AccessD] ASP - getting started > > > Hi there, > > is you're problem still that you cannot open > you're > page with IIS locally installed? > > I just started building ASP stuff 2 weeks ago but > I > ran into the same problems. Took me a while before > I > got it going but now it runs like a train! > > Didn't read everything about this but you could > try > the following. > > Lets say you're computername is: wacky > you've got a project called: prjWacky (THIS MEANS > THAT > IN YOU'RE INET\WWWROOT you got a dir called > prjWacky > with some files in it!) > You've got a file in it called wackyhome.asp > > Now in you're IIS you've got this project (map) > in/under the "DEFAULT WEB SITE" directory: > in IIS you see: > wacky > |-Default Web Site > |-Scripts > |-... > |-prjWacky > > > When you right click prjWacky and go to the tab > documents you're wackyhome.asp should be the first > item. If it isn't add it! > > Then you should type the following in you're > browser: > wacky/prjWacky > > and tadaa you're first web site! > > HTH > > Sander > > BTW try VB-FORUMS.COM and check ASP thingy!! > --- "Software Design & Solutions Pty Ltd." > wrote: > > BerichtNo luck with Ctrl+F5. And I have > reinstalled > > - no change. I have also restarted the machine > since > > editing the hosts file and still no change. > > > > I'm going to make do with 127.0.0.1 for now > until I > > nut out the prob with localhost. > > THanks > > Kath > > ----- Original Message ----- > > From: Haslett, Andrew > > To: 'Access Developers discussion and problem > > solving' > > Sent: Tuesday, August 12, 2003 12:00 PM > > Subject: RE: [AccessD] ASP - getting started > > > > > > > > > > I reckon its time to remove and reinstall IIS > > though. > > > > You can do it through Add/Remove programs. > > > > Cheers, > > Andrew > > -----Original Message----- > > From: Susan Harkins > [mailto:harkins at iglou.com] > > Sent: Tuesday, 12 August 2003 11:08 AM > > To: Access Developers discussion and problem > > solving > > Subject: Re: [AccessD] ASP - getting started > > > > > > Kath; > > > > You might try a Shift Refresh, but there's > > another keystroke combination that's worked for > me > > before, but I can't recall it now -- once I > named my > > computer I stopped having the problem. Maybe > someone > > else will know the combination? > > > > Susan H. > > > > > > Thanks Erwin - I am learning from all of > you > > but still no luck with getting locahost to work. > > > > > Now that I know to use 127.0.0.1 at least > I > > can get into the help and will read through > > there...using http://127.0.0.1/iishelp > > > > > > > > IMPORTANT - PLEASE READ ******************** > > > > This email and any files transmitted with it > are > > confidential and may > > > > contain information protected by law from > > disclosure. > > > > If you have received this message in error, > please > > notify the sender > > > > immediately and delete this email from your > > system. > > > > No warranty is given that this email or files, > if > > attached to this > > > > email, are free from computer viruses or other > > defects. They > > > > are provided on the basis the user assumes all > > responsibility for > > > > loss, damage or consequence resulting directly > or > > indirectly from > > > > their use, whether caused by the negligence of > the > > sender or not. > > > > > > > > > > ------------------------------------------------------------------------------ > > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > _______________________________________________ > === message truncated ===> _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com From accessd666 at yahoo.com Wed Aug 13 01:13:24 2003 From: accessd666 at yahoo.com (Sad Der) Date: Tue, 12 Aug 2003 23:13:24 -0700 (PDT) Subject: [AccessD] DAO and ADO problem =>urgent! Message-ID: <20030813061324.15813.qmail@web10003.mail.yahoo.com> Hi group, i've got a big problem. I've created a certain 'general access solution' that I've implemented in a lot of applications, works like a charm. ....until I came to this DAO app! The solution I created is all ADO. When I reference ADO, so I've got DAO and below it in the reference field I've got ADO, the app doesn't run anymore. However it DOES compile?! When i run the app It doesn't get lines like: Set db = CurrentDb() PLEASE TELL ME THAT I CAN USE DAO AND ADO OR I'M IN BIG TROUBLE! thnx Sander __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com From stuart at lexacorp.com.pg Wed Aug 13 01:24:24 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 13 Aug 2003 16:24:24 +1000 Subject: [AccessD] DAO and ADO problem =>urgent! In-Reply-To: <20030813061324.15813.qmail@web10003.mail.yahoo.com> Message-ID: <3F3A6638.11211.1C7BEF7@localhost> On 12 Aug 2003 at 23:13, Sad Der wrote: > Hi group, > > i've got a big problem. I've created a certain > 'general access solution' that I've implemented in a > lot of applications, works like a charm. > > ....until I came to this DAO app! The solution I > created is all ADO. > > When I reference ADO, so I've got DAO and below it in > the reference field I've got ADO, the app doesn't run > anymore. However it DOES compile?! When i run the app > It doesn't get lines like: > Set db = CurrentDb() > > PLEASE TELL ME THAT I CAN USE DAO AND ADO OR I'M IN > BIG TROUBLE! > If you have both ADO and DAO referenced, you have to explicitly DIM it as the correct type or it is likely to use the wrong reference. Try Dim db as DAO.Database -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From jmoss111 at bellsouth.net Wed Aug 13 02:17:39 2003 From: jmoss111 at bellsouth.net (jmoss111) Date: Wed, 13 Aug 2003 02:17:39 -0500 Subject: [AccessD] Getting Desperate - Apologies for the OT message References: <2870-22003831322345989@christopherhawkins.com> Message-ID: <009b01c3616a$fa8dcad0$31691442@hive> I was in the same boat being unemployed for almost 15 months and barely (sometimes) squeaking by on contract work before landing another job in mid May. I had to do some reinventing myself and working hard on my contacts and ads on the net. But it did pay off, not quite what I was use to making but not far from it. I'm doing ETL for a data warehousing/CRM company here in Nashville and business is good. Try to keep a good attitude, and stay very close to your loved ones. Good hunting Jim ----- Original Message ----- From: "Christopher Hawkins" To: Sent: Tuesday, August 12, 2003 9:23 PM Subject: Re: [AccessD] Getting Desperate - Apologies for the OT message > Thank you for the kind words, Steven. > > -Christopher Hawkins- > > ---- Original Message ---- > From: serbach at new.rr.com > To: accessd at databaseadvisors.com, > Subject: Re: [AccessD] Getting Desperate - Apologies for the OT > message > Date: Tue, 12 Aug 2003 17:45:07 -0500 > > >Christopher, > > > >>> I know this is crass, but if I have to take the initiative and beg > >for work to keep my family fed and housed, I'll beg! << > > > >It isn't crass at all. I'm afraid I can't help. I'm in the same > >boat, living > >from small project to small project and trying to keep up with the > >mortgage > >and the car payment and the health insurance and the taxes...oh, and > >food, > >too. > > > >My best wishes to you. As General George S. Patton said, "Do not take > >counsel of your fears." > > > >Steve Erbach > >Scientific Marketing > >Neenah, WI > > > >"Eventually, socialists run out of other people's money." > >-- Lady Margaret Thatcher > > > > > >_______________________________________________ > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From Erwin.Craps at ithelps.be Wed Aug 13 02:56:55 2003 From: Erwin.Craps at ithelps.be (Erwin Craps) Date: Wed, 13 Aug 2003 09:56:55 +0200 Subject: [AccessD] ASP - getting started Message-ID: did you check the hosts file? To check if you have a good entry try to ping localhost from a command prompt. If that does not work, you have not or incorrectly added the localhost entry in your hosts file. If pinging does work, and http://localhost not, you probably using a proxy server. Turn it off and try again. -----Original Message----- From: Software Design & Solutions Pty Ltd. [mailto:SDSSoftware at optusnet.com.au] Sent: Tuesday, August 12, 2003 5:32 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] ASP - getting started No luck with Ctrl+F5. And I have reinstalled - no change. I have also restarted the machine since editing the hosts file and still no change. I'm going to make do with 127.0.0.1 for now until I nut out the prob with localhost. THanks Kath ----- Original Message ----- From: Haslett, Andrew To: 'Access Developers discussion and problem solving' Sent: Tuesday, August 12, 2003 12:00 PM Subject: RE: [AccessD] ASP - getting started I reckon its time to remove and reinstall IIS though. You can do it through Add/Remove programs. Cheers, Andrew -----Original Message----- From: Susan Harkins [mailto:harkins at iglou.com] Sent: Tuesday, 12 August 2003 11:08 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] ASP - getting started Kath; You might try a Shift Refresh, but there's another keystroke combination that's worked for me before, but I can't recall it now -- once I named my computer I stopped having the problem. Maybe someone else will know the combination? Susan H. Thanks Erwin - I am learning from all of you but still no luck with getting locahost to work. Now that I know to use 127.0.0.1 at least I can get into the help and will read through there...using http://127.0.0.1/iishelp IMPORTANT - PLEASE READ ******************** This email and any files transmitted with it are confidential and may contain information protected by law from disclosure. If you have received this message in error, please notify the sender immediately and delete this email from your system. No warranty is given that this email or files, if attached to this email, are free from computer viruses or other defects. They are provided on the basis the user assumes all responsibility for loss, damage or consequence resulting directly or indirectly from their use, whether caused by the negligence of the sender or not. _____ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From carbonnb at sympatico.ca Wed Aug 13 04:42:21 2003 From: carbonnb at sympatico.ca (Bryan Carbonnell) Date: Wed, 13 Aug 2003 05:42:21 -0400 Subject: [AccessD] A2K: What's this In-Reply-To: <00b801c3612c$cb346610$3c619a89@DDICK> Message-ID: <3F39CFBD.30971.264B82@localhost> On 13 Aug 2003 at 9:52, Darren DICK wrote: > Hello all > In the property sheet it's possible to set the What's This button to > true. The you get the nice little Q mark. The user clicks on the Q > mark then on the area of interest and viola - a nice yellow popup with > info in it. > > My Q is...How and where do I actually write and store text for the > yellow popups in the past? Darren, It's been a while since I've done it, but IIRC, the yellow pop ups you are talking about (Context sensitive help and not the tooltips) require an actual help file. They are a PITA to write unless you have some good help authoring software. Unfortunately when I wrote my help file, the price of the software was too expensive to justify the cost for a one of. -- Bryan Carbonnell - carbonnb at sympatico.ca I'm not a complete idiot some parts are missing. From lists at jbsolutions.com.au Wed Aug 13 05:18:17 2003 From: lists at jbsolutions.com.au (Joshua B) Date: Wed, 13 Aug 2003 20:18:17 +1000 Subject: [AccessD] A2K: What's this Message-ID: <200308131017.h7DAHwQ30976@databaseadvisors.com> Hi, I just recently discovered a freeware help authoring tool, havent had a chance to have a good play with it, and it doesnt support html help, but it seems to be fairly easy to use and may be worth a look. The program also has a "What's This?" section. Wesbite is http://www.greeneclipsesoftware.com/eh.html ======= At 2003-08-13, 05:42:00 you wrote: ======= >On 13 Aug 2003 at 9:52, Darren DICK wrote: > >> Hello all >> In the property sheet it's possible to set the What's This button to >> true. The you get the nice little Q mark. The user clicks on the Q >> mark then on the area of interest and viola - a nice yellow popup with >> info in it. >> >> My Q is...How and where do I actually write and store text for the >> yellow popups in the past? > >Darren, > >It's been a while since I've done it, but IIRC, the yellow pop ups >you are talking about (Context sensitive help and not the tooltips) >require an actual help file. > >They are a PITA to write unless you have some good help authoring >software. Unfortunately when I wrote my help file, the price of the >software was too expensive to justify the cost for a one of. > >-- >Bryan Carbonnell - carbonnb at sympatico.ca >I'm not a complete idiot some parts are missing. > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com = = = = = = = = = = = = = = = = = = = = Best regards. Joshua B lists at jbsolutions.com.au www.jbsolutions.com.au 2003-08-13 From accessd666 at yahoo.com Wed Aug 13 05:36:06 2003 From: accessd666 at yahoo.com (Sad Der) Date: Wed, 13 Aug 2003 03:36:06 -0700 (PDT) Subject: [AccessD] DAO and ADO problem =>urgent! In-Reply-To: <3F3A6638.11211.1C7BEF7@localhost> Message-ID: <20030813103606.10411.qmail@web10009.mail.yahoo.com> AAHRG, did some testing and DAO 3.0 instead of 3.6 was referenced! Now it works again. Regards, Sander --- Stuart McLachlan wrote: > On 12 Aug 2003 at 23:13, Sad Der wrote: > > > Hi group, > > > > i've got a big problem. I've created a certain > > 'general access solution' that I've implemented in > a > > lot of applications, works like a charm. > > > > ....until I came to this DAO app! The solution I > > created is all ADO. > > > > When I reference ADO, so I've got DAO and below it > in > > the reference field I've got ADO, the app doesn't > run > > anymore. However it DOES compile?! When i run the > app > > It doesn't get lines like: > > Set db = CurrentDb() > > > > PLEASE TELL ME THAT I CAN USE DAO AND ADO OR I'M > IN > > BIG TROUBLE! > > > If you have both ADO and DAO referenced, you have > to explicitly DIM > it as the correct type or it is likely to use the > wrong reference. > > Try Dim db as DAO.Database > > > > > > > > > -- > Lexacorp Ltd > http://www.lexacorp.com.pg > Information Technology Consultancy, Software > Development,System > Support. > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com From accessd666 at yahoo.com Wed Aug 13 06:40:18 2003 From: accessd666 at yahoo.com (Sad Der) Date: Wed, 13 Aug 2003 04:40:18 -0700 (PDT) Subject: [AccessD] SQL question (wich item isn't in the table?) Message-ID: <20030813114018.2175.qmail@web10007.mail.yahoo.com> Hi, can anybody help me with this. I've got this query: SELECT DISTINCT cid.ID FROM ClientID cid WHERE cid.ID IN ('156','157') Model of table ClientID: (ID number(3)) Data of table ClientID: ID 157 158 159 It shows all id's from the where clause that are in the table, wich is 157. How do I modify it so that it now shows all id's that are not in the table (156) thnx SD __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com From Mark.Mitsules at ngc.com Wed Aug 13 07:25:40 2003 From: Mark.Mitsules at ngc.com (Mitsules, Mark) Date: Wed, 13 Aug 2003 08:25:40 -0400 Subject: [AccessD] SQL question (wich item isn't in the table?) Message-ID: SD, Create a table "UnmatchedClientID" listing your search items. SELECT UnmatchedClientID.ID FROM UnmatchedClientID LEFT JOIN ClientID ON UnmatchedClientID.ID = ClientID.ID WHERE (((ClientID.ID) Is Null)); Mark -----Original Message----- From: Sad Der [mailto:accessd666 at yahoo.com] Sent: Wednesday, August 13, 2003 7:40 AM To: Acces User Group Subject: [AccessD] SQL question (wich item isn't in the table?) Hi, can anybody help me with this. I've got this query: SELECT DISTINCT cid.ID FROM ClientID cid WHERE cid.ID IN ('156','157') Model of table ClientID: (ID number(3)) Data of table ClientID: ID 157 158 159 It shows all id's from the where clause that are in the table, wich is 157. How do I modify it so that it now shows all id's that are not in the table (156) thnx SD __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mikedorism at ntelos.net Wed Aug 13 07:46:12 2003 From: mikedorism at ntelos.net (Mike and Doris Manning) Date: Wed, 13 Aug 2003 08:46:12 -0400 Subject: [AccessD] SQL question (wich item isn't in the table?) In-Reply-To: <20030813114018.2175.qmail@web10007.mail.yahoo.com> Message-ID: <000001c36198$e5a33eb0$c5360cd8@hargrove.internal> What are you trying to achieve? If the ID isn't in the table, then nothing at all will show. 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 Sad Der Sent: Wednesday, August 13, 2003 7:40 AM To: Acces User Group Subject: [AccessD] SQL question (wich item isn't in the table?) Hi, can anybody help me with this. I've got this query: SELECT DISTINCT cid.ID FROM ClientID cid WHERE cid.ID IN ('156','157') Model of table ClientID: (ID number(3)) Data of table ClientID: ID 157 158 159 It shows all id's from the where clause that are in the table, wich is 157. How do I modify it so that it now shows all id's that are not in the table (156) thnx SD __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jcolby at colbyconsulting.com Wed Aug 13 07:51:14 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Wed, 13 Aug 2003 08:51:14 -0400 Subject: [AccessD] martin's problem - SOLUTON In-Reply-To: <001801c36150$30e444d0$6001a8c0@dejpolsys> Message-ID: Windows has a little client program that sits in the toolbar, loaded when windows loads. It checks for updates automatically and offers a choice of "install automatically", "Ask before install", and "jump off a bridge". It works very well. I have all my systems set up to download and then ask before install. Not sure why I do that as I always just install them anyway. At any rate, my computers are always up to date. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of William Hindman Sent: Wednesday, August 13, 2003 12:06 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] martin's problem - SOLUTON ...some follow-up comments ...the MS Win Update site was heavily loaded all day long ...dls were much slower than normal at every client site ...and as for what you were seeing, the worm exploits a buffer overrun to get into your system, then dls the msblast.exe from a dynamically changing list of IPs and ports ...so even if you wipe msblast, it just reloads the next time you connect ...you have to have the ms patch installed to prevent it from using the buffer overrun to reload itself again and again ...then the virus cleaning will work ...only positive was that it was an excellent client object lesson in keeping Win updates current ...safest thing is to dl them automatically every night and then apply selectively ...that way you at least have them dl'd before everyone starts hitting on the ms site ...I'm really pretty surprised that it worked as well as it did. William Hindman So, then, to every man his chance -- to every man, regardless of his birth, his shining golden opportunity -- to every man his right to live, to work, to be himself, to become whatever his manhood and his vision can combine to make him -- this, seeker, is the promise of America. -- Thomas Wolfe ----- Original Message ----- From: "Steven W. Erbach" To: "Access Developers discussion and problem solving" Sent: Tuesday, August 12, 2003 5:57 PM Subject: Re: [AccessD] martin's problem - SOLUTON > Dear Group, > > >> This link point's to Symnatec's fix for the worm. Look for "Removal using > the W32.Blaster.Worm Removal Tool" to locate the link to the fix file. << > > For what it's worth, I went to a client's site to eradicate the Blaster > Worm. SHEESH! It's a Win XP Home system that has not been updated to the > most recent Windows update since they bought it about two years ago. It has > Norton AntiVirus 2003 on it, but, of course, the last time they did a virus > update was last week. They have no firewall. > > I was able to download the Symantec "fix" while in normal Windows, but I had > to run the program in Safe Mode since the RPC error / Shutdown message > appeared every time I tried to run the fix. So far so good. > > I thought that I'd try to go to the Windows Update site. It showed that this > PC, of course, hadn't ever been updated, so there were 34 critical updates > to make. Started the first one...RPC error / Shutdown. > > Okay, lets update Norton AntiVirus. Did that, but I still got the RPC error. > Shutdown. > > Started up in Safe Mode and ran a full Norton AV System Scan. 114,000 files > later there were no viruses present. > > Restarted in normal Windows and went to the Windows Update site. Norton > displayed its W32.Blaster.Worm detection screen and said that it had been > deleted...but a minute or two later the RPC error appeared again anyway and > I had to shut the system down and restart. > > I tried this Windows Update thingy a few more times. There were a couple of > times after the Norton AV message appeared indicating that, once again, it > had deleted Blaster.Worm, a Windows message appeared indicating that the > Generic Host Process for Win32 Services had encountered a problem and needed > to close. Right after that the RPC / Shutdown error appeared. Restart. > > I finally got wise that Windows REALLY needed to have the MS KB823980 patch > applied. I hadn't tried that right away because I thought that Windows had > to be updated to the most recent level first. I tried to run the file from > the Microsoft site rather than saving to disk and got both the Generic Host > Process error and the RPC error. Shutdown and restart. > > I got even MORE wise and restarted in Safe Mode With Network capability. I > downloaded the patch all right...but instead of applying it I thought I'd > try the Windows update again. RPC. Shutdown. > > Restarted in Safe Mode with Network. Started the patch. RPC / Shutdown. > > Restared in Safe Mode WITHOUT the network. Ran the patch. COMPLETED! > > Restarted in Safe Mode WITH Networking to try Windows Update again. Finally > the PC began downloading the huge number of pieces that it needed to upgrade > Win XP to the current revision. I left my client's office about 4 hours > after I'd arrived, giving them instructions to call when the downloads were > completed. I should be able to walk them through the Windows Update process > tonight. > > They have DSL but it was god-awful slow. 95 MB download estimated at about > 200 minutes...more than 10 times slower than my cable service would take. > > So, the upshot is, if the PC hasn't been updated to the most recent version > of XP lately (or at all) make sure that you download and run everything in > Safe Mode...and make sure to run the MS patch in Safe Mode WITHOUT > networking. I must have seen that RPC shutdown thing two dozen times or > more, and the General Host Process error 8 or 9 times. > > It's now looking good, but we're not finished upgrading Windows XP yet. I'm > crossing my fingers that the guy on the other end of the phone is somewhat > proficient. Crossing my fingers. > > Steve Erbach > Scientific Marketing > Neenah, WI > > "Eventually, socialists run out of other people's money." > -- Lady Margaret Thatcher > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd666 at yahoo.com Wed Aug 13 07:53:12 2003 From: accessd666 at yahoo.com (Sad Der) Date: Wed, 13 Aug 2003 05:53:12 -0700 (PDT) Subject: [AccessD] SQL question (wich item isn't in the table?) In-Reply-To: <000001c36198$e5a33eb0$c5360cd8@hargrove.internal> Message-ID: <20030813125312.99813.qmail@web10001.mail.yahoo.com> that's just it. I need to prove that a lot of ID's aren't in the table! I really would like to find these ID's using a sql. that way I do not have to create an extra function, object or whatever. SD --- Mike and Doris Manning wrote: > What are you trying to achieve? If the ID isn't in > the table, then nothing > at all will show. > > 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 Sad Der > Sent: Wednesday, August 13, 2003 7:40 AM > To: Acces User Group > Subject: [AccessD] SQL question (wich item isn't in > the table?) > > > Hi, > > can anybody help me with this. > I've got this query: > SELECT DISTINCT cid.ID > FROM ClientID cid > WHERE cid.ID IN ('156','157') > > Model of table ClientID: > (ID number(3)) > Data of table ClientID: > ID > 157 > 158 > 159 > > It shows all id's from the where clause that are in > the table, wich is 157. > > How do I modify it so that it now shows all id's > that > are not in the table (156) > > thnx > > SD > > __________________________________ > Do you Yahoo!? > Yahoo! SiteBuilder - Free, easy-to-use web site > design software > http://sitebuilder.yahoo.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com From jcolby at colbyconsulting.com Wed Aug 13 07:54:56 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Wed, 13 Aug 2003 08:54:56 -0400 Subject: [AccessD] Getting Desperate - Apologies for the OT message In-Reply-To: <000f01c3614e$11d0dd30$6001a8c0@dejpolsys> Message-ID: On that note, for anyone who doesn't have a web site and wants to post their resume, send them to me attached to an email as a word doc. I will build a "developer resume" page and will put them up on my site. You can then have people go there to read / download your resume. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of William Hindman Sent: Tuesday, August 12, 2003 11:51 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Getting Desperate - Apologies for the OT message Christopher ...its neither crass nor off-topic ...read the netiquette if you wish but sharing and friendship are the constants that make this list far better than others we all are aware of ...and using the list to look for work is both highly relevant and welcome ...as for work itself, its been slow here for months now ...if not for a couple of steady clients, it might well be me writing your post instead. ...you might consider posting your resume as well or a link to it ...would make referrals easier :) William Hindman So, then, to every man his chance -- to every man, regardless of his birth, his shining golden opportunity -- to every man his right to live, to work, to be himself, to become whatever his manhood and his vision can combine to make him -- this, seeker, is the promise of America. -- Thomas Wolfe ----- Original Message ----- From: "Christopher Hawkins" To: Sent: Tuesday, August 12, 2003 5:31 PM Subject: [AccessD] Getting Desperate - Apologies for the OT message > First off, I apologize for such a blatantly OT message, but I just > don't know where else to turn. > > 6 months ago, I bought a house. Three weeks later, I was laid off. > Ouch. Dribs and drabs of contract work have come in, but I'm so far > out of any major tech market that there are not enough contract jobs > or W2 jobs available within commutable distance. > > I'm making an appeal to any among you who may find yourself in the > enviable positon of having more work offered than you can handle, or > who may have knowledge of projects that are staffing up. I'm looking > for a chance to subcontract, a referral, and outright assignment - > anything that gets the revenue train going again. > > I know this is crass, but if I have to take the initiative and beg > for work to keep my family fed and housed, I'll beg! > > Anyone with work or leads, feel free to contact me offline - > clh at christopherhawkins.com. > > Thank you. > > -Christopher Hawkins- > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From djkr at msn.com Wed Aug 13 07:56:59 2003 From: djkr at msn.com (DJK(John) Robinson) Date: Wed, 13 Aug 2003 13:56:59 +0100 Subject: [AccessD] SQL question (wich item isn't in the table?) In-Reply-To: <20030813114018.2175.qmail@web10007.mail.yahoo.com> Message-ID: <00a901c3619a$62576b60$db00a8c0@dabsight> SD I don't think you can (just modify it), since the query is essentially reporting *only* on the table ClientID - just using the 'Where...In...' clause to limit the number of records returned from ClientID. To do what you want, you need to be reporting on your list of IDs instead, so I don't see how you could do it apart from having them in their own table, and then employing the usual technique of an outer join and a test for Null. Or perhaps a NOT IN. John > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Sad Der > Sent: 13 August 2003 12:40 > To: Acces User Group > Subject: [AccessD] SQL question (wich item isn't in the table?) > > > Hi, > > can anybody help me with this. > I've got this query: > SELECT DISTINCT cid.ID > FROM ClientID cid > WHERE cid.ID IN ('156','157') > > Model of table ClientID: > (ID number(3)) > Data of table ClientID: > ID > 157 > 158 > 159 > > It shows all id's from the where clause that are in > the table, wich is 157. > > How do I modify it so that it now shows all id's that > are not in the table (156) > > thnx > > SD > > __________________________________ > Do you Yahoo!? > Yahoo! SiteBuilder - Free, easy-to-use web site design > software http://sitebuilder.yahoo.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/a> ccessd > Website: > http://www.databaseadvisors.com > From CWortz at tea.state.tx.us Wed Aug 13 08:16:23 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Wed, 13 Aug 2003 08:16:23 -0500 Subject: Windows updates - was RE: [AccessD] martin's problem - SOLUTON Message-ID: John, It is good that you have it set up to ask before install. I subscribe to several newsletters that have issued warnings about botched updates from M$ that they recommend one should not install unless one suffers from a particular problem. Unfortunately, M$ is not known for thoroughly testing their patches before releasing them to the public. So more than one patch has been issued to repair problems created by prior patches. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Wednesday 2003 Aug 13 07:51 To: Access Developers discussion and problem solving Subject: RE: [AccessD] martin's problem - SOLUTON Windows has a little client program that sits in the toolbar, loaded when windows loads. It checks for updates automatically and offers a choice of "install automatically", "Ask before install", and "jump off a bridge". It works very well. I have all my systems set up to download and then ask before install. Not sure why I do that as I always just install them anyway. At any rate, my computers are always up to date. John W. Colby www.colbyconsulting.com From CWortz at tea.state.tx.us Wed Aug 13 08:21:39 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Wed, 13 Aug 2003 08:21:39 -0500 Subject: [AccessD] SQL question (wich item isn't in the table?) Message-ID: SD, I think you missed the point that Doris was trying to make: If it is not in the table, then there is no way to show that it is not there. The closest you can come to showing that those IDs are not there is to have one table with all the desired IDs in question and then to use the Unmatched Query Wizard to list all those IDs in your full list against all the IDs in the table. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Sad Der [mailto:accessd666 at yahoo.com] Sent: Wednesday 2003 Aug 13 07:53 To: Access Developers discussion and problem solving Subject: RE: [AccessD] SQL question (wich item isn't in the table?) that's just it. I need to prove that a lot of ID's aren't in the table! I really would like to find these ID's using a sql. that way I do not have to create an extra function, object or whatever. SD --- Mike and Doris Manning wrote: > What are you trying to achieve? If the ID isn't in > the table, then nothing > at all will show. > > Doris Manning > Database Administrator > Hargrove Inc. > www.hargroveinc.com From jcolby at colbyconsulting.com Wed Aug 13 08:25:07 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Wed, 13 Aug 2003 09:25:07 -0400 Subject: Windows updates - was RE: [AccessD] martin's problem - SOLUTON In-Reply-To: Message-ID: Yea, the problem with that theory though is that the warnings to not install don't get issued until enough users have installed that the issue is discovered. Since I am getting notification of the update within hours of it posting, I either have to not install it for a fixed period, or I am one of those doing the testing and finding the issue. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Wortz, Charles Sent: Wednesday, August 13, 2003 9:16 AM To: Access Developers discussion and problem solving Subject: Windows updates - was RE: [AccessD] martin's problem - SOLUTON John, It is good that you have it set up to ask before install. I subscribe to several newsletters that have issued warnings about botched updates from M$ that they recommend one should not install unless one suffers from a particular problem. Unfortunately, M$ is not known for thoroughly testing their patches before releasing them to the public. So more than one patch has been issued to repair problems created by prior patches. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Wednesday 2003 Aug 13 07:51 To: Access Developers discussion and problem solving Subject: RE: [AccessD] martin's problem - SOLUTON Windows has a little client program that sits in the toolbar, loaded when windows loads. It checks for updates automatically and offers a choice of "install automatically", "Ask before install", and "jump off a bridge". It works very well. I have all my systems set up to download and then ask before install. Not sure why I do that as I always just install them anyway. At any rate, my computers are always up to date. John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From harkins at iglou.com Wed Aug 13 08:25:25 2003 From: harkins at iglou.com (Susan Harkins) Date: Wed, 13 Aug 2003 09:25:25 -0400 Subject: Windows updates - was RE: [AccessD] martin's problem - SOLUTON References: Message-ID: <009e01c3619e$5debb000$144afccc@SusanOne> Charles, this is my problem too -- I'm leery of updates in general. My habit has always been to wait awhile before installing an update -- this time that decision just bit me in the behind! ;( Susan H. > John, From wdhindman at bellsouth.net Wed Aug 13 09:43:54 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Wed, 13 Aug 2003 10:43:54 -0400 Subject: [AccessD] martin's problem - SOLUTON References: Message-ID: <000401c361a9$51a793d0$6001a8c0@dejpolsys> ...you have to have admin rights to install ...I never give that to any client unless they have a dba ...for those clients where I control the network, I do configure them to dl the updates but not install ...way too many "updates" have turned out to have serious problems so unless its a serious security hole, I usually wait a bit until the dust has settled before actually installing the updates ...I never automatically dl and install anything ...lots of people do and as far as I'm concerned, they make great guinea pigs :)))))) ...no client where I control the network had any problem yesterday because the security patches were already installed ...but one who was using another network company called me when they couldn't get them to respond ...and they've now switched to me at a stiff premium ...so I say (tongue in cheek) god bless the hackers, they're great job security in these tight times :) William Hindman So, then, to every man his chance -- to every man, regardless of his birth, his shining golden opportunity -- to every man his right to live, to work, to be himself, to become whatever his manhood and his vision can combine to make him -- this, seeker, is the promise of America. -- Thomas Wolfe ----- Original Message ----- From: "John Colby" To: "Access Developers discussion and problem solving" Sent: Wednesday, August 13, 2003 8:51 AM Subject: RE: [AccessD] martin's problem - SOLUTON > Windows has a little client program that sits in the toolbar, loaded when > windows loads. It checks for updates automatically and offers a choice of > "install automatically", "Ask before install", and "jump off a bridge". It > works very well. I have all my systems set up to download and then ask > before install. Not sure why I do that as I always just install them > anyway. > > At any rate, my computers are always up to date. > > John W. Colby > www.colbyconsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of William > Hindman > Sent: Wednesday, August 13, 2003 12:06 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] martin's problem - SOLUTON > > > ...some follow-up comments ...the MS Win Update site was heavily loaded all > day long ...dls were much slower than normal at every client site ...and as > for what you were seeing, the worm exploits a buffer overrun to get into > your system, then dls the msblast.exe from a dynamically changing list of > IPs and ports ...so even if you wipe msblast, it just reloads the next time > you connect ...you have to have the ms patch installed to prevent it from > using the buffer overrun to reload itself again and again ...then the virus > cleaning will work ...only positive was that it was an excellent client > object lesson in keeping Win updates current ...safest thing is to dl them > automatically every night and then apply selectively ...that way you at > least have them dl'd before everyone starts hitting on the ms site ...I'm > really pretty surprised that it worked as well as it did. > > William Hindman > So, then, to every man his chance -- to every man, regardless of his birth, > his shining golden opportunity -- to every man his right to live, to work, > to be himself, to become whatever his manhood and his vision can combine to > make him -- this, seeker, is the promise of America. > -- Thomas Wolfe > > > > ----- Original Message ----- > From: "Steven W. Erbach" > To: "Access Developers discussion and problem solving" > > Sent: Tuesday, August 12, 2003 5:57 PM > Subject: Re: [AccessD] martin's problem - SOLUTON > > > > Dear Group, > > > > >> This link point's to Symnatec's fix for the worm. Look for "Removal > using > > the W32.Blaster.Worm Removal Tool" to locate the link to the fix file. << > > > > For what it's worth, I went to a client's site to eradicate the Blaster > > Worm. SHEESH! It's a Win XP Home system that has not been updated to the > > most recent Windows update since they bought it about two years ago. It > has > > Norton AntiVirus 2003 on it, but, of course, the last time they did a > virus > > update was last week. They have no firewall. > > > > I was able to download the Symantec "fix" while in normal Windows, but I > had > > to run the program in Safe Mode since the RPC error / Shutdown message > > appeared every time I tried to run the fix. So far so good. > > > > I thought that I'd try to go to the Windows Update site. It showed that > this > > PC, of course, hadn't ever been updated, so there were 34 critical updates > > to make. Started the first one...RPC error / Shutdown. > > > > Okay, lets update Norton AntiVirus. Did that, but I still got the RPC > error. > > Shutdown. > > > > Started up in Safe Mode and ran a full Norton AV System Scan. 114,000 > files > > later there were no viruses present. > > > > Restarted in normal Windows and went to the Windows Update site. Norton > > displayed its W32.Blaster.Worm detection screen and said that it had been > > deleted...but a minute or two later the RPC error appeared again anyway > and > > I had to shut the system down and restart. > > > > I tried this Windows Update thingy a few more times. There were a couple > of > > times after the Norton AV message appeared indicating that, once again, it > > had deleted Blaster.Worm, a Windows message appeared indicating that the > > Generic Host Process for Win32 Services had encountered a problem and > needed > > to close. Right after that the RPC / Shutdown error appeared. Restart. > > > > I finally got wise that Windows REALLY needed to have the MS KB823980 > patch > > applied. I hadn't tried that right away because I thought that Windows had > > to be updated to the most recent level first. I tried to run the file from > > the Microsoft site rather than saving to disk and got both the Generic > Host > > Process error and the RPC error. Shutdown and restart. > > > > I got even MORE wise and restarted in Safe Mode With Network capability. I > > downloaded the patch all right...but instead of applying it I thought I'd > > try the Windows update again. RPC. Shutdown. > > > > Restarted in Safe Mode with Network. Started the patch. RPC / Shutdown. > > > > Restared in Safe Mode WITHOUT the network. Ran the patch. COMPLETED! > > > > Restarted in Safe Mode WITH Networking to try Windows Update again. > Finally > > the PC began downloading the huge number of pieces that it needed to > upgrade > > Win XP to the current revision. I left my client's office about 4 hours > > after I'd arrived, giving them instructions to call when the downloads > were > > completed. I should be able to walk them through the Windows Update > process > > tonight. > > > > They have DSL but it was god-awful slow. 95 MB download estimated at about > > 200 minutes...more than 10 times slower than my cable service would take. > > > > So, the upshot is, if the PC hasn't been updated to the most recent > version > > of XP lately (or at all) make sure that you download and run everything in > > Safe Mode...and make sure to run the MS patch in Safe Mode WITHOUT > > networking. I must have seen that RPC shutdown thing two dozen times or > > more, and the General Host Process error 8 or 9 times. > > > > It's now looking good, but we're not finished upgrading Windows XP yet. > I'm > > crossing my fingers that the guy on the other end of the phone is somewhat > > proficient. Crossing my fingers. > > > > Steve Erbach > > Scientific Marketing > > Neenah, WI > > > > "Eventually, socialists run out of other people's money." > > -- Lady Margaret Thatcher > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From Mark.Mitsules at ngc.com Wed Aug 13 09:43:21 2003 From: Mark.Mitsules at ngc.com (Mitsules, Mark) Date: Wed, 13 Aug 2003 10:43:21 -0400 Subject: [AccessD] SQL question (wich item isn't in the table?) Message-ID: SD, This is just a wild @$$ suggestion, but since you prefer not use the "unmatched" query method using a second table of search values, perhaps it is possible to replicate the effect of such a query using only one table. I'm referring to a past thread on in-line sub queries and the use of temporary or virtual tables. You may be able to utilize the []. syntax to achieve your desired results...? ...and to really put it all together, is it possible to make it a parameter query that prompts you for your search item to be placed in the temp table? Please let me know if you have any success with this. Mark -----Original Message----- From: Mitsules, Mark S. (Newport News) [mailto:mitsules_ms at nns.com] Sent: Wednesday, August 13, 2003 8:26 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] SQL question (wich item isn't in the table?) SD, Create a table "UnmatchedClientID" listing your search items. SELECT UnmatchedClientID.ID FROM UnmatchedClientID LEFT JOIN ClientID ON UnmatchedClientID.ID = ClientID.ID WHERE (((ClientID.ID) Is Null)); Mark -----Original Message----- From: Sad Der [mailto:accessd666 at yahoo.com] Sent: Wednesday, August 13, 2003 7:40 AM To: Acces User Group Subject: [AccessD] SQL question (wich item isn't in the table?) Hi, can anybody help me with this. I've got this query: SELECT DISTINCT cid.ID FROM ClientID cid WHERE cid.ID IN ('156','157') Model of table ClientID: (ID number(3)) Data of table ClientID: ID 157 158 159 It shows all id's from the where clause that are in the table, wich is 157. How do I modify it so that it now shows all id's that are not in the table (156) thnx SD __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mwhittinghill at symphonyinfo.com Wed Aug 13 10:00:20 2003 From: mwhittinghill at symphonyinfo.com (Mark Whittinghill) Date: Wed, 13 Aug 2003 10:00:20 -0500 Subject: [AccessD] Indexes on a table from relationships Message-ID: <00e601c361ab$9da739f0$0400000a@PASCAL> 2 questions: 1. This is how I understand indexes in Jet mdbs. You can have up to 32 indexes on a table. If you have a relationship with Referential integrity, Access creates an index on the linked field. If you set an index on the same field, you have double indexed it. In this case, you would want to remove the index from the indexes popup, and just let the autocreated index be the index for that field. Is this correct, or what is wrong with this? 2. Let's say we have two tables, Parent and Child. Parent links OTM on Parent.ParentID (PK) join Child.ParentID. Will this count as one of the 32 allowed indexes for Parent, Child, or both? Thanks, Mark Whittinghill Symphony Information Services 612-333-1311 mwhittinghill at symphonyinfo.com From jimdettman at earthlink.net Wed Aug 13 10:12:06 2003 From: jimdettman at earthlink.net (Jim Dettman) Date: Wed, 13 Aug 2003 11:12:06 -0400 Subject: [AccessD] Indexes on a table from relationships In-Reply-To: <00e601c361ab$9da739f0$0400000a@PASCAL> Message-ID: Mark, <<1. This is how I understand indexes in Jet mdbs. You can have up to 32 indexes on a table. If you have a relationship with Referential integrity, Access creates an index on the linked field. If you set an index on the same field, you have double indexed it. In this case, you would want to remove the index from the indexes popup, and just let the autocreated index be the index for that field.>> That is correct. <<2. Let's say we have two tables, Parent and Child. Parent links OTM on Parent.ParentID (PK) join Child.ParentID. Will this count as one of the 32 allowed indexes for Parent, Child, or both?>> Child as long as RI is enforced. If RI is not enforced, no additional indexes are created. If it is, Access/JET creates a hidden index on the child side. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mark Whittinghill Sent: Wednesday, August 13, 2003 11:00 AM To: accessd at databaseadvisors.com Subject: [AccessD] Indexes on a table from relationships 2 questions: 1. This is how I understand indexes in Jet mdbs. You can have up to 32 indexes on a table. If you have a relationship with Referential integrity, Access creates an index on the linked field. If you set an index on the same field, you have double indexed it. In this case, you would want to remove the index from the indexes popup, and just let the autocreated index be the index for that field. Is this correct, or what is wrong with this? 2. Let's say we have two tables, Parent and Child. Parent links OTM on Parent.ParentID (PK) join Child.ParentID. Will this count as one of the 32 allowed indexes for Parent, Child, or both? Thanks, Mark Whittinghill Symphony Information Services 612-333-1311 mwhittinghill at symphonyinfo.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at pacific.net.hk Wed Aug 13 10:20:29 2003 From: stuart at pacific.net.hk (Stuart Sanders) Date: Wed, 13 Aug 2003 23:20:29 +0800 Subject: [AccessD] martin's problem - SOLUTON In-Reply-To: <000401c361a9$51a793d0$6001a8c0@dejpolsys> Message-ID: <005501c361ae$6ef37a80$5100a8c0@BITSNB02> Hehe ditto ... None of my clients had a problem :) Note that I don't always install patches as quickly as that one, but the hole was wide enough to sale the Titanic through and deserved special attention. On a side note, here's a new advisory from MS: http://www.microsoft.com/security/incident/blast.asp Note they recommend home users to install 3rd party software firewalls eg ZoneAlarm, Tiny, Kerio, etc. This should also apply to SOHO or small businesses. Stuart > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > William Hindman > Sent: Wednesday, 13 August, 2003 10:44 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] martin's problem - SOLUTON > > > ...you have to have admin rights to install ...I never give > that to any > client unless they have a dba ...for those clients where I control the > network, I do configure them to dl the updates but not > install ...way too > many "updates" have turned out to have serious problems so > unless its a > serious security hole, I usually wait a bit until the dust has settled > before actually installing the updates ...I never automatically dl and > install anything ...lots of people do and as far as I'm > concerned, they make > great guinea pigs :)))))) > > ...no client where I control the network had any problem > yesterday because > the security patches were already installed ...but one who > was using another > network company called me when they couldn't get them to > respond ...and > they've now switched to me at a stiff premium ...so I say > (tongue in cheek) > god bless the hackers, they're great job security in these > tight times :) > > William Hindman > So, then, to every man his chance -- to every man, regardless > of his birth, > his shining golden opportunity -- to every man his right to > live, to work, > to be himself, to become whatever his manhood and his vision > can combine to > make him -- this, seeker, is the promise of America. > -- Thomas Wolfe > > > > ----- Original Message ----- > From: "John Colby" > To: "Access Developers discussion and problem solving" > > Sent: Wednesday, August 13, 2003 8:51 AM > Subject: RE: [AccessD] martin's problem - SOLUTON > > > > Windows has a little client program that sits in the > toolbar, loaded when > > windows loads. It checks for updates automatically and > offers a choice of > > "install automatically", "Ask before install", and "jump > off a bridge". > It > > works very well. I have all my systems set up to download > and then ask > > before install. Not sure why I do that as I always just > install them > > anyway. > > > > At any rate, my computers are always up to date. > > > > John W. Colby > > www.colbyconsulting.com > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of William > > Hindman > > Sent: Wednesday, August 13, 2003 12:06 AM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] martin's problem - SOLUTON > > > > > > ...some follow-up comments ...the MS Win Update site was > heavily loaded > all > > day long ...dls were much slower than normal at every > client site ...and > as > > for what you were seeing, the worm exploits a buffer > overrun to get into > > your system, then dls the msblast.exe from a dynamically > changing list of > > IPs and ports ...so even if you wipe msblast, it just > reloads the next > time > > you connect ...you have to have the ms patch installed to > prevent it from > > using the buffer overrun to reload itself again and again > ...then the > virus > > cleaning will work ...only positive was that it was an > excellent client > > object lesson in keeping Win updates current ...safest > thing is to dl them > > automatically every night and then apply selectively > ...that way you at > > least have them dl'd before everyone starts hitting on the > ms site ...I'm > > really pretty surprised that it worked as well as it did. > > > > William Hindman > > So, then, to every man his chance -- to every man, regardless of his > birth, > > his shining golden opportunity -- to every man his right to > live, to work, > > to be himself, to become whatever his manhood and his > vision can combine > to > > make him -- this, seeker, is the promise of America. > > -- Thomas Wolfe > > > > > > > > ----- Original Message ----- > > From: "Steven W. Erbach" > > To: "Access Developers discussion and problem solving" > > > > Sent: Tuesday, August 12, 2003 5:57 PM > > Subject: Re: [AccessD] martin's problem - SOLUTON > > > > > > > Dear Group, > > > > > > >> This link point's to Symnatec's fix for the worm. Look > for "Removal > > using > > > the W32.Blaster.Worm Removal Tool" to locate the link to > the fix file. > << > > > > > > For what it's worth, I went to a client's site to > eradicate the Blaster > > > Worm. SHEESH! It's a Win XP Home system that has not been > updated to the > > > most recent Windows update since they bought it about two > years ago. It > > has > > > Norton AntiVirus 2003 on it, but, of course, the last > time they did a > > virus > > > update was last week. They have no firewall. > > > > > > I was able to download the Symantec "fix" while in normal > Windows, but I > > had > > > to run the program in Safe Mode since the RPC error / > Shutdown message > > > appeared every time I tried to run the fix. So far so good. > > > > > > I thought that I'd try to go to the Windows Update site. > It showed that > > this > > > PC, of course, hadn't ever been updated, so there were 34 critical > updates > > > to make. Started the first one...RPC error / Shutdown. > > > > > > Okay, lets update Norton AntiVirus. Did that, but I still > got the RPC > > error. > > > Shutdown. > > > > > > Started up in Safe Mode and ran a full Norton AV System > Scan. 114,000 > > files > > > later there were no viruses present. > > > > > > Restarted in normal Windows and went to the Windows > Update site. Norton > > > displayed its W32.Blaster.Worm detection screen and said > that it had > been > > > deleted...but a minute or two later the RPC error > appeared again anyway > > and > > > I had to shut the system down and restart. > > > > > > I tried this Windows Update thingy a few more times. > There were a couple > > of > > > times after the Norton AV message appeared indicating > that, once again, > it > > > had deleted Blaster.Worm, a Windows message appeared > indicating that the > > > Generic Host Process for Win32 Services had encountered a > problem and > > needed > > > to close. Right after that the RPC / Shutdown error > appeared. Restart. > > > > > > I finally got wise that Windows REALLY needed to have the > MS KB823980 > > patch > > > applied. I hadn't tried that right away because I thought > that Windows > had > > > to be updated to the most recent level first. I tried to > run the file > from > > > the Microsoft site rather than saving to disk and got > both the Generic > > Host > > > Process error and the RPC error. Shutdown and restart. > > > > > > I got even MORE wise and restarted in Safe Mode With > Network capability. > I > > > downloaded the patch all right...but instead of applying > it I thought > I'd > > > try the Windows update again. RPC. Shutdown. > > > > > > Restarted in Safe Mode with Network. Started the patch. > RPC / Shutdown. > > > > > > Restared in Safe Mode WITHOUT the network. Ran the patch. > COMPLETED! > > > > > > Restarted in Safe Mode WITH Networking to try Windows > Update again. > > Finally > > > the PC began downloading the huge number of pieces that > it needed to > > upgrade > > > Win XP to the current revision. I left my client's office > about 4 hours > > > after I'd arrived, giving them instructions to call when > the downloads > > were > > > completed. I should be able to walk them through the > Windows Update > > process > > > tonight. > > > > > > They have DSL but it was god-awful slow. 95 MB download > estimated at > about > > > 200 minutes...more than 10 times slower than my cable > service would > take. > > > > > > So, the upshot is, if the PC hasn't been updated to the > most recent > > version > > > of XP lately (or at all) make sure that you download and > run everything > in > > > Safe Mode...and make sure to run the MS patch in Safe Mode WITHOUT > > > networking. I must have seen that RPC shutdown thing two > dozen times or > > > more, and the General Host Process error 8 or 9 times. > > > > > > It's now looking good, but we're not finished upgrading > Windows XP yet. > > I'm > > > crossing my fingers that the guy on the other end of the phone is > somewhat > > > proficient. Crossing my fingers. > > > > > > Steve Erbach > > > Scientific Marketing > > > Neenah, WI > > > > > > "Eventually, socialists run out of other people's money." > > > -- Lady Margaret Thatcher > > > > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From mwhittinghill at symphonyinfo.com Wed Aug 13 11:01:56 2003 From: mwhittinghill at symphonyinfo.com (Mark Whittinghill) Date: Wed, 13 Aug 2003 11:01:56 -0500 Subject: [AccessD] Indexes on a table from relationships References: Message-ID: <010d01c361b4$38803640$0400000a@PASCAL> Ok, just to be clear, I could have Parent be the parent table to 40 tables with RI, and I wouldn't go over the limit, at least from these alone. However, if I tried to have 40 Foreign key fields with RI, I'd be out of luck, unless I split Child into some OTO tables. Mark Whittinghill Symphony Information Services 612-333-1311 mwhittinghill at symphonyinfo.com ----- Original Message ----- From: "Jim Dettman" To: "Access Developers discussion and problem solving" Sent: Wednesday, August 13, 2003 10:12 AM Subject: RE: [AccessD] Indexes on a table from relationships > Mark, > > <<1. This is how I understand indexes in Jet mdbs. You can have up to 32 > indexes on a table. If you have a relationship with Referential integrity, > Access creates an index on the linked field. If you set an index on the > same field, you have double indexed it. In this case, you would want to > remove the index from the indexes popup, and just let the autocreated index > be the index for that field.>> > > That is correct. > > <<2. Let's say we have two tables, Parent and Child. Parent links OTM on > Parent.ParentID (PK) join Child.ParentID. Will this count as one of the 32 > allowed indexes for Parent, Child, or both?>> > > Child as long as RI is enforced. If RI is not enforced, no additional > indexes are created. If it is, Access/JET creates a hidden index on the > child side. > > > Jim Dettman > President, > Online Computer Services of WNY, Inc. > (315) 699-3443 > jimdettman at earthlink.net > From jimdettman at earthlink.net Wed Aug 13 11:08:20 2003 From: jimdettman at earthlink.net (Jim Dettman) Date: Wed, 13 Aug 2003 12:08:20 -0400 Subject: [AccessD] Indexes on a table from relationships In-Reply-To: <010d01c361b4$38803640$0400000a@PASCAL> Message-ID: Mark, <> As long as it was the one of the possible 32 indexes you could have on the parent side, then yes you could do that. <> Correct. Generally I've only seen the limit a problem in some HR apps and scientific applications. Most folks don't hit it if the DB is designed properly (not saying you didn't either). Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mark Whittinghill Sent: Wednesday, August 13, 2003 12:02 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Indexes on a table from relationships Ok, just to be clear, I could have Parent be the parent table to 40 tables with RI, and I wouldn't go over the limit, at least from these alone. However, if I tried to have 40 Foreign key fields with RI, I'd be out of luck, unless I split Child into some OTO tables. Mark Whittinghill Symphony Information Services 612-333-1311 mwhittinghill at symphonyinfo.com ----- Original Message ----- From: "Jim Dettman" To: "Access Developers discussion and problem solving" Sent: Wednesday, August 13, 2003 10:12 AM Subject: RE: [AccessD] Indexes on a table from relationships > Mark, > > <<1. This is how I understand indexes in Jet mdbs. You can have up to 32 > indexes on a table. If you have a relationship with Referential integrity, > Access creates an index on the linked field. If you set an index on the > same field, you have double indexed it. In this case, you would want to > remove the index from the indexes popup, and just let the autocreated index > be the index for that field.>> > > That is correct. > > <<2. Let's say we have two tables, Parent and Child. Parent links OTM on > Parent.ParentID (PK) join Child.ParentID. Will this count as one of the 32 > allowed indexes for Parent, Child, or both?>> > > Child as long as RI is enforced. If RI is not enforced, no additional > indexes are created. If it is, Access/JET creates a hidden index on the > child side. > > > Jim Dettman > President, > Online Computer Services of WNY, Inc. > (315) 699-3443 > jimdettman at earthlink.net > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mwhittinghill at symphonyinfo.com Wed Aug 13 11:19:43 2003 From: mwhittinghill at symphonyinfo.com (Mark Whittinghill) Date: Wed, 13 Aug 2003 11:19:43 -0500 Subject: [AccessD] Indexes on a table from relationships References: Message-ID: <012201c361b6$b4a9e0c0$0400000a@PASCAL> Jim, Thanks for the responses. I don't actually have a child table with that many keys, but our Person table is getting to be parent to a lot of tables. Mark Whittinghill Symphony Information Services 612-333-1311 mwhittinghill at symphonyinfo.com ----- Original Message ----- From: "Jim Dettman" To: "Access Developers discussion and problem solving" Sent: Wednesday, August 13, 2003 11:08 AM Subject: RE: [AccessD] Indexes on a table from relationships > Mark, > > < with RI, and I wouldn't go over the limit, at least from these alone.>> > > As long as it was the one of the possible 32 indexes you could have on the > parent side, then yes you could do that. > > < luck, unless I split Child into some OTO tables.>> > > Correct. > > Generally I've only seen the limit a problem in some HR apps and > scientific applications. Most folks don't hit it if the DB is designed > properly (not saying you didn't either). > > Jim Dettman > President, > Online Computer Services of WNY, Inc. > (315) 699-3443 > jimdettman at earthlink.net > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mark > Whittinghill > Sent: Wednesday, August 13, 2003 12:02 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Indexes on a table from relationships > > > Ok, just to be clear, I could have Parent be the parent table to 40 tables > with RI, and I wouldn't go over the limit, at least from these alone. > However, if I tried to have 40 Foreign key fields with RI, I'd be out of > luck, unless I split Child into some OTO tables. > > Mark Whittinghill > Symphony Information Services > 612-333-1311 > mwhittinghill at symphonyinfo.com > ----- Original Message ----- > From: "Jim Dettman" > To: "Access Developers discussion and problem solving" > > Sent: Wednesday, August 13, 2003 10:12 AM > Subject: RE: [AccessD] Indexes on a table from relationships > > > > Mark, > > > > <<1. This is how I understand indexes in Jet mdbs. You can have up to 32 > > indexes on a table. If you have a relationship with Referential > integrity, > > Access creates an index on the linked field. If you set an index on the > > same field, you have double indexed it. In this case, you would want to > > remove the index from the indexes popup, and just let the autocreated > index > > be the index for that field.>> > > > > That is correct. > > > > <<2. Let's say we have two tables, Parent and Child. Parent links OTM on > > Parent.ParentID (PK) join Child.ParentID. Will this count as one of the > 32 > > allowed indexes for Parent, Child, or both?>> > > > > Child as long as RI is enforced. If RI is not enforced, no additional > > indexes are created. If it is, Access/JET creates a hidden index on the > > child side. > > > > > > Jim Dettman > > President, > > Online Computer Services of WNY, Inc. > > (315) 699-3443 > > jimdettman at earthlink.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 cfoust at infostatsystems.com Wed Aug 13 11:17:41 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 13 Aug 2003 09:17:41 -0700 Subject: [AccessD] SQL question (wich item isn't in the table?) Message-ID: If the ID isn't in the table, how do you know what it is? Is there a table that contains all IDS that should exist, or are you looking for gaps in consecutive numbers? Charlotte Foust -----Original Message----- From: Sad Der [mailto:accessd666 at yahoo.com] Sent: Wednesday, August 13, 2003 4:53 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] SQL question (wich item isn't in the table?) that's just it. I need to prove that a lot of ID's aren't in the table! I really would like to find these ID's using a sql. that way I do not have to create an extra function, object or whatever. SD --- Mike and Doris Manning wrote: > What are you trying to achieve? If the ID isn't in > the table, then nothing > at all will show. > > 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 Sad Der > Sent: Wednesday, August 13, 2003 7:40 AM > To: Acces User Group > Subject: [AccessD] SQL question (wich item isn't in > the table?) > > > Hi, > > can anybody help me with this. > I've got this query: > SELECT DISTINCT cid.ID > FROM ClientID cid > WHERE cid.ID IN ('156','157') > > Model of table ClientID: > (ID number(3)) > Data of table ClientID: > ID > 157 > 158 > 159 > > It shows all id's from the where clause that are in > the table, wich is 157. > > How do I modify it so that it now shows all id's > that > are not in the table (156) > > thnx > > SD > > __________________________________ > Do you Yahoo!? > Yahoo! SiteBuilder - Free, easy-to-use web site > design software > http://sitebuilder.yahoo.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jeffrey.demulling at usbank.com Wed Aug 13 10:40:21 2003 From: jeffrey.demulling at usbank.com (jeffrey.demulling at usbank.com) Date: Wed, 13 Aug 2003 10:40:21 -0500 Subject: [AccessD] Setting A2K combo box rowsource using ADO Message-ID: Below is the code I have for a form. I am using A2K and connecting to a SQLBase db using ADO. What I want to do is set my combo box's rowsouce using the code below. First I check to make sure that I can get to the database and if so I want to set the rowsouce accordingly. The problem I run into is that I get a compile error for a Type MisMatch. Any help is greatly appreciated. TIA -Jeff Code: Option Compare Database Option Explicit Private rsName As ADODB.Recordset Private Sub Form_Open(Cancel As Integer) Dim con As New ADODB.Connection Dim RS As New ADODB.Recordset Dim cmdtext As String Dim mymessage As String 'Set the default status of the buttons here Me.btnExit.Enabled = True Me.btnSearch.Enabled = True Me.lblProgress.Visible = False Me.cmbACSName.Visible = False DoEvents Me.lblProgress.Caption = "Retrieving active ACS users...." Me.lblProgress.Visible = True DoEvents 'Check to see if we can connect to ACS con = ACSconnection con.Open If Not CBool(con.State And adStateOpen) Then con.Close 'Could NOT connect to ACS mymessage = "ACS User Center could not establish a connection to ACS." & Chr(13) & Chr(10) MsgBox mymessage, vbCritical, "Error: Unable to Connect to ACS" Me.lblProgress.Caption = "Error: Could not connect to ACS..." DoEvents Exit Sub Else con.Close End If cmdtext = "SELECT ALL" cmdtext = cmdtext & " UADMINKEY," cmdtext = cmdtext & " UADMINNO," cmdtext = cmdtext & " (CLAST || ', ' || CFIRST) AS FULLNAME," cmdtext = cmdtext & " USERNAME" cmdtext = cmdtext & " FROM PASSWRD," cmdtext = cmdtext & " NAME" cmdtext = cmdtext & " WHERE" cmdtext = cmdtext & " PASSWRD.UADMINNO = NAME.CNAMEIN(+)" cmdtext = cmdtext & " AND" cmdtext = cmdtext & " (PASSWRD.UACTIVE = 'N')" Set rsName = New ADODB.Recordset rsName.CursorLocation = adUseClient rsName.Open cmdtext, setconnection, adOpenKeyset, adLockReadOnly Me.cmbACSName.RowSource = rsName End Sub From cfoust at infostatsystems.com Wed Aug 13 12:08:31 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 13 Aug 2003 10:08:31 -0700 Subject: [AccessD] Setting A2K combo box rowsource using ADO Message-ID: The rowsource property for a combobox doesn't accept a recordset, it accepts the name of a table or query or a SQL statement. In other words, a string. Charlotte Foust -----Original Message----- From: jeffrey.demulling at usbank.com [mailto:jeffrey.demulling at usbank.com] Sent: Wednesday, August 13, 2003 7:40 AM To: accessd at databaseadvisors.com Subject: [AccessD] Setting A2K combo box rowsource using ADO Below is the code I have for a form. I am using A2K and connecting to a SQLBase db using ADO. What I want to do is set my combo box's rowsouce using the code below. First I check to make sure that I can get to the database and if so I want to set the rowsouce accordingly. The problem I run into is that I get a compile error for a Type MisMatch. Any help is greatly appreciated. TIA -Jeff Code: Option Compare Database Option Explicit Private rsName As ADODB.Recordset Private Sub Form_Open(Cancel As Integer) Dim con As New ADODB.Connection Dim RS As New ADODB.Recordset Dim cmdtext As String Dim mymessage As String 'Set the default status of the buttons here Me.btnExit.Enabled = True Me.btnSearch.Enabled = True Me.lblProgress.Visible = False Me.cmbACSName.Visible = False DoEvents Me.lblProgress.Caption = "Retrieving active ACS users...." Me.lblProgress.Visible = True DoEvents 'Check to see if we can connect to ACS con = ACSconnection con.Open If Not CBool(con.State And adStateOpen) Then con.Close 'Could NOT connect to ACS mymessage = "ACS User Center could not establish a connection to ACS." & Chr(13) & Chr(10) MsgBox mymessage, vbCritical, "Error: Unable to Connect to ACS" Me.lblProgress.Caption = "Error: Could not connect to ACS..." DoEvents Exit Sub Else con.Close End If cmdtext = "SELECT ALL" cmdtext = cmdtext & " UADMINKEY," cmdtext = cmdtext & " UADMINNO," cmdtext = cmdtext & " (CLAST || ', ' || CFIRST) AS FULLNAME," cmdtext = cmdtext & " USERNAME" cmdtext = cmdtext & " FROM PASSWRD," cmdtext = cmdtext & " NAME" cmdtext = cmdtext & " WHERE" cmdtext = cmdtext & " PASSWRD.UADMINNO = NAME.CNAMEIN(+)" cmdtext = cmdtext & " AND" cmdtext = cmdtext & " (PASSWRD.UACTIVE = 'N')" Set rsName = New ADODB.Recordset rsName.CursorLocation = adUseClient rsName.Open cmdtext, setconnection, adOpenKeyset, adLockReadOnly Me.cmbACSName.RowSource = rsName End Sub _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From artful at rogers.com Wed Aug 13 12:42:13 2003 From: artful at rogers.com (Arthur Fuller) Date: Wed, 13 Aug 2003 13:42:13 -0400 Subject: [AccessD] WizGen Message-ID: I have misplaced my copy of a wizard generator for Access. Does anyone have it or an URL to it? TIA, Arthur From Lambert.Heenan at AIG.com Wed Aug 13 12:44:04 2003 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Wed, 13 Aug 2003 13:44:04 -0400 Subject: [AccessD] SQL question (wich item isn't in the table?) Message-ID: <8B98F8EA48F8BA47A2F24E0D0AF40CF407AD75C6@xlivmbx12.aig.com> Take a look at this page on SQL-Guru http://www.sql-guru.com/Deutsch/tips/tip17.html > -----Original Message----- > From: Charlotte Foust [SMTP:cfoust at infostatsystems.com] > Sent: Wednesday, August 13, 2003 12:18 PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] SQL question (wich item isn't in the table?) > > If the ID isn't in the table, how do you know what it is? Is there a > table that contains all IDS that should exist, or are you looking for > gaps in consecutive numbers? > > Charlotte Foust > > -----Original Message----- > From: Sad Der [mailto:accessd666 at yahoo.com] > Sent: Wednesday, August 13, 2003 4:53 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] SQL question (wich item isn't in the table?) > > > that's just it. I need to prove that a lot of ID's > aren't in the table! > > I really would like to find these ID's using a sql. > that way I do not have to create an extra function, > object or whatever. > > SD > --- Mike and Doris Manning > wrote: > > What are you trying to achieve? If the ID isn't in > > the table, then nothing > > at all will show. > > > > 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 Sad Der > > Sent: Wednesday, August 13, 2003 7:40 AM > > To: Acces User Group > > Subject: [AccessD] SQL question (wich item isn't in > > the table?) > > > > > > Hi, > > > > can anybody help me with this. > > I've got this query: > > SELECT DISTINCT cid.ID > > FROM ClientID cid > > WHERE cid.ID IN ('156','157') > > > > Model of table ClientID: > > (ID number(3)) > > Data of table ClientID: > > ID > > 157 > > 158 > > 159 > > > > It shows all id's from the where clause that are in > > the table, wich is 157. > > > > How do I modify it so that it now shows all id's > > that > > are not in the table (156) > > > > thnx > > > > SD > > > > __________________________________ > > Do you Yahoo!? > > Yahoo! SiteBuilder - Free, easy-to-use web site > > design software > > http://sitebuilder.yahoo.com > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > __________________________________ > Do you Yahoo!? > Yahoo! SiteBuilder - Free, easy-to-use web site design software > http://sitebuilder.yahoo.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > 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 Aug 13 21:23:19 2003 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Wed, 13 Aug 2003 19:23:19 -0700 Subject: [AccessD] References References: Message-ID: <000701c3620b$0884d070$0f0b6351@martin1> I would appear to have lost DAO 3.6. It comes up as missing in the list of references but is now no longer available in the list of available references. Any ideas? From cfoust at infostatsystems.com Wed Aug 13 13:27:51 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 13 Aug 2003 11:27:51 -0700 Subject: [AccessD] References Message-ID: Did you try a detect and repair? Charlotte Foust -----Original Message----- From: Martin Reid [mailto:mwp.reid at qub.ac.uk] Sent: Wednesday, August 13, 2003 6:23 PM To: Access Developers discussion and problem solving Subject: [AccessD] References I would appear to have lost DAO 3.6. It comes up as missing in the list of references but is now no longer available in the list of available references. Any ideas? _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mwhittinghill at symphonyinfo.com Wed Aug 13 13:33:03 2003 From: mwhittinghill at symphonyinfo.com (Mark Whittinghill) Date: Wed, 13 Aug 2003 13:33:03 -0500 Subject: [AccessD] Indexes on text fields Message-ID: <000701c361c9$55208060$0400000a@PASCAL> Let's say I have a Person table with FirstName and LastName fields. Both are non-unique indexed to help searches. Now say I build a query with a concatenated field FullName: LastName & ", " & FirstName. Will the indexes on these fields help speed searches on the FullName field? Mark Whittinghill Symphony Information Services 612-333-1311 mwhittinghill at symphonyinfo.com From mwp.reid at qub.ac.uk Wed Aug 13 21:41:02 2003 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Wed, 13 Aug 2003 19:41:02 -0700 Subject: [AccessD] References References: Message-ID: <001701c3620d$81662dc0$0f0b6351@martin1> Doing now (<: Martin ----- Original Message ----- From: "Charlotte Foust" To: "Access Developers discussion and problem solving" Sent: Wednesday, August 13, 2003 11:27 AM Subject: RE: [AccessD] References > Did you try a detect and repair? > > Charlotte Foust > > -----Original Message----- > From: Martin Reid [mailto:mwp.reid at qub.ac.uk] > Sent: Wednesday, August 13, 2003 6:23 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] References > > > I would appear to have lost DAO 3.6. It comes up as missing in the list > of references but is now no longer available in the list of available > references. > > Any ideas? > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From martyconnelly at shaw.ca Wed Aug 13 13:55:23 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Wed, 13 Aug 2003 11:55:23 -0700 Subject: [AccessD] References References: <000701c3620b$0884d070$0f0b6351@martin1> Message-ID: <3F3A899B.6050704@shaw.ca> In WinXP Access tools references browse to file and reset C:\Program Files\Common Files\Microsoft Shared\DAO\DAO360.DLL Jet SP 7 has version 03.60.6508.2 for this dll. I don't know if this will be a permanent fix Martin Reid wrote: >I would appear to have lost DAO 3.6. It comes up as missing in the list of >references but is now no longer available in the list of available >references. > >Any ideas? > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > From delliker at hotmail.com Wed Aug 13 14:41:37 2003 From: delliker at hotmail.com (Don Elliker) Date: Wed, 13 Aug 2003 15:41:37 -0400 Subject: [AccessD] Autonumber in replication Message-ID: How do you all handle autonumber fields in replicated database schemas, so that the autonumber remains unique? I have this as a pending issue where a database tool is potentailly being rolled out to more users than a single BE /multi FE setup would be good for. I have the primary key on the main driver table set up as autonumber and I am trying to get my head around this concept as applied to replicated db. _d "Things are only free to the extent that you don't pay for them".-Don Elliker _________________________________________________________________ The new MSN 8: smart spam protection and 2 months FREE* http://join.msn.com/?page=features/junkmail From cfoust at infostatsystems.com Wed Aug 13 14:48:18 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 13 Aug 2003 12:48:18 -0700 Subject: [AccessD] Autonumber in replication Message-ID: The only sure way is to make the autonumber a GUID, which you do by selecting Replication ID from the FieldSize property. It's a bit more complicated to work with GUIDs though because you can't just compare them to each other. Charlotte Foust -----Original Message----- From: Don Elliker [mailto:delliker at hotmail.com] Sent: Wednesday, August 13, 2003 11:42 AM To: accessd at databaseadvisors.com Subject: [AccessD] Autonumber in replication How do you all handle autonumber fields in replicated database schemas, so that the autonumber remains unique? I have this as a pending issue where a database tool is potentailly being rolled out to more users than a single BE /multi FE setup would be good for. I have the primary key on the main driver table set up as autonumber and I am trying to get my head around this concept as applied to replicated db. _d "Things are only free to the extent that you don't pay for them".-Don Elliker _________________________________________________________________ The new MSN 8: smart spam protection and 2 months FREE* http://join.msn.com/?page=features/junkmail _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mwp.reid at qub.ac.uk Wed Aug 13 22:58:23 2003 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Wed, 13 Aug 2003 20:58:23 -0700 Subject: [AccessD] References References: <000701c3620b$0884d070$0f0b6351@martin1> <3F3A899B.6050704@shaw.ca> Message-ID: <005901c36218$500aad40$0f0b6351@martin1> Marty have u the downlaod URL? Martin ----- Original Message ----- From: "MartyConnelly" To: "Access Developers discussion and problem solving" Sent: Wednesday, August 13, 2003 11:55 AM Subject: Re: [AccessD] References > In WinXP Access tools references browse to file and reset > C:\Program Files\Common Files\Microsoft Shared\DAO\DAO360.DLL > Jet SP 7 has version 03.60.6508.2 for this dll. > I don't know if this will be a permanent fix > > Martin Reid wrote: > > >I would appear to have lost DAO 3.6. It comes up as missing in the list of > >references but is now no longer available in the list of available > >references. > > > >Any ideas? > > > >_______________________________________________ > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > > > > > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From delliker at hotmail.com Wed Aug 13 15:02:57 2003 From: delliker at hotmail.com (Don Elliker) Date: Wed, 13 Aug 2003 16:02:57 -0400 Subject: [AccessD] Autonumber in replication Message-ID: Yes. I just found some info on this in the 2K/ADH - Vol2 page 472. Looks like a custom assignment of this value is in the wings as JET changes the assignment from sequential to random. Not good for my purposes....I can just see my users face when their new test case is number 1,956,000,045. Come to think of it, I WOULD like to see their face...And don't yell at me about using autonumber in a visible way,etc. etc....I didn't do that part, it was already like that when I got here..(yeah, sure it was buddy)...anywho, thanks _d "Things are only free to the extent that you don't pay for them".-Don Elliker >From: "Charlotte Foust" >Reply-To: Access Developers discussion and problem >solving >To: "Access Developers discussion and problem >solving" >Subject: RE: [AccessD] Autonumber in replication >Date: Wed, 13 Aug 2003 12:48:18 -0700 > >The only sure way is to make the autonumber a GUID, which you do by >selecting Replication ID from the FieldSize property. It's a bit more >complicated to work with GUIDs though because you can't just compare >them to each other. > >Charlotte Foust > >-----Original Message----- >From: Don Elliker [mailto:delliker at hotmail.com] >Sent: Wednesday, August 13, 2003 11:42 AM >To: accessd at databaseadvisors.com >Subject: [AccessD] Autonumber in replication > > >How do you all handle autonumber fields in replicated database schemas, >so >that the autonumber remains unique? I have this as a pending issue where >a >database tool is potentailly being rolled out to more users than a >single BE >/multi FE setup would be good for. I have the primary key on the main >driver >table set up as autonumber and I am trying to get my head around this >concept as applied to replicated db. >_d > > >"Things are only free to the extent that you don't pay for them".-Don >Elliker > >_________________________________________________________________ >The new MSN 8: smart spam protection and 2 months FREE* >http://join.msn.com/?page=features/junkmail > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ The new MSN 8: smart spam protection and 2 months FREE* http://join.msn.com/?page=features/junkmail From CWortz at tea.state.tx.us Wed Aug 13 15:15:17 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Wed, 13 Aug 2003 15:15:17 -0500 Subject: [AccessD] Autonumber in replication Message-ID: Don, Each of the FEs will need a local table holding the next available sequence number for that FE that you then append to a unique id for that FE and send that along to the BE as the test case number and show to the user. So Bubba's test cases would be BUBB0001, BUBB0002, etc. while John's would be JOHN001, JOHN0002, etc. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Don Elliker [mailto:delliker at hotmail.com] Sent: Wednesday 2003 Aug 13 15:03 To: accessd at databaseadvisors.com Subject: RE: [AccessD] Autonumber in replication Yes. I just found some info on this in the 2K/ADH - Vol2 page 472. Looks like a custom assignment of this value is in the wings as JET changes the assignment from sequential to random. Not good for my purposes....I can just see my users face when their new test case is number 1,956,000,045. Come to think of it, I WOULD like to see their face...And don't yell at me about using autonumber in a visible way,etc. etc....I didn't do that part, it was already like that when I got here..(yeah, sure it was buddy)...anywho, thanks _d From delliker at hotmail.com Wed Aug 13 15:27:31 2003 From: delliker at hotmail.com (Don Elliker) Date: Wed, 13 Aug 2003 16:27:31 -0400 Subject: [AccessD] Autonumber in replication Message-ID: What max number of users do you all think is advisable in a single BE/ multi-FE set up? I may have to roll something out on a temporary basis until the new and improved, replicated version is ready. Or who knows, they may want to use SQLServer BE. I will know better tomorrow, which is kind of funny when you think about it....I never seem to know better..ever. _D "Things are only free to the extent that you don't pay for them".-Don Elliker >From: "Wortz, Charles" >Reply-To: Access Developers discussion and problem >solving >To: "Access Developers discussion and problem >solving" >Subject: RE: [AccessD] Autonumber in replication >Date: Wed, 13 Aug 2003 15:15:17 -0500 > >Don, > >Each of the FEs will need a local table holding the next available >sequence number for that FE that you then append to a unique id for that >FE and send that along to the BE as the test case number and show to the >user. So Bubba's test cases would be BUBB0001, BUBB0002, etc. while >John's would be JOHN001, JOHN0002, etc. > >Charles Wortz >Software Development Division >Texas Education Agency >1701 N. Congress Ave >Austin, TX 78701-1494 >512-463-9493 >CWortz at tea.state.tx.us > > > >-----Original Message----- >From: Don Elliker [mailto:delliker at hotmail.com] >Sent: Wednesday 2003 Aug 13 15:03 >To: accessd at databaseadvisors.com >Subject: RE: [AccessD] Autonumber in replication > >Yes. I just found some info on this in the 2K/ADH - Vol2 page 472. Looks > >like a custom assignment of this value is in the wings as JET changes >the >assignment from sequential to random. Not good for my purposes....I can >just >see my users face when their new test case is number 1,956,000,045. Come >to >think of it, I WOULD like to see their face...And don't yell at me about > >using autonumber in a visible way,etc. etc....I didn't do that part, it >was >already like that when I got here..(yeah, sure it was buddy)...anywho, >thanks >_d > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 From jimdettman at earthlink.net Wed Aug 13 15:30:02 2003 From: jimdettman at earthlink.net (Jim Dettman) Date: Wed, 13 Aug 2003 16:30:02 -0400 Subject: [AccessD] Indexes on text fields In-Reply-To: <000701c361c9$55208060$0400000a@PASCAL> Message-ID: Mark, That's a good question and I don't believe anyone outside of Microsoft knows the answer. Intersections between indexes is a Rushmore optimization, which has never been documented. I do know that for a compound index, the search fields must be in the same order as the index or it is not used. SHOWPLAN on the query might give you some idea what it's doing, but it would be still conjecture as to what's really happening on the search. I suppose a little testing on a rather large recordset would yield an answer. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mark Whittinghill Sent: Wednesday, August 13, 2003 2:33 PM To: accessd at databaseadvisors.com Subject: [AccessD] Indexes on text fields Let's say I have a Person table with FirstName and LastName fields. Both are non-unique indexed to help searches. Now say I build a query with a concatenated field FullName: LastName & ", " & FirstName. Will the indexes on these fields help speed searches on the FullName field? Mark Whittinghill Symphony Information Services 612-333-1311 mwhittinghill at symphonyinfo.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From kathryn at bassett.net Wed Aug 13 15:37:50 2003 From: kathryn at bassett.net (Kathryn Bassett) Date: Wed, 13 Aug 2003 13:37:50 -0700 Subject: [AccessD] martin's problem - SOLUTON In-Reply-To: <005501c361ae$6ef37a80$5100a8c0@BITSNB02> Message-ID: If anyone is still having problems getting past the worm that reboots, here is something I just saw in email from Steve Bass (PC World). "Someone on slash dot suggested that, if you get caught up in that one minute reboot cycle, jump in and change the date in your machine to a year ago, and that will stop the cycle long enough to install the patch." That sounds like a smart idea. -- Kathryn Rhinehart Bassett (Pasadena CA) "Genealogy is my bag" "GH is my soap" kathryn at bassett.net http://bassett.net From artful at rogers.com Wed Aug 13 15:54:15 2003 From: artful at rogers.com (Arthur Fuller) Date: Wed, 13 Aug 2003 16:54:15 -0400 Subject: [AccessD] Autonumber in replication In-Reply-To: Message-ID: Another approach is to use a multiplicand to denote offices or whatever. I'm not a big fan of this approach but in some circumstances it has merit. I.e., office 1 has PKs 1... 1,000,000, office 2 has PKs 2... 2,000,000 &c. The upside is that you can scale the scheme to suit most future considerations. A. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Don Elliker Sent: Wednesday, August 13, 2003 4:03 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Autonumber in replication Yes. I just found some info on this in the 2K/ADH - Vol2 page 472. Looks like a custom assignment of this value is in the wings as JET changes the assignment from sequential to random. Not good for my purposes....I can just see my users face when their new test case is number 1,956,000,045. Come to think of it, I WOULD like to see their face...And don't yell at me about using autonumber in a visible way,etc. etc....I didn't do that part, it was already like that when I got here..(yeah, sure it was buddy)...anywho, thanks _d From cfoust at infostatsystems.com Wed Aug 13 16:42:04 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 13 Aug 2003 14:42:04 -0700 Subject: [AccessD] Autonumber in replication Message-ID: The autonumber is changed to random because the GUIDs will be assigned in no given order because the GUID is based on the machine it is created on. You wouldn't want to use that as your visible case number, but if you work with replication, you'll work with GUIDs, whether you see them or not. If you use an alternative scheme, you'll have to allow for all possible circumstances yourself. Charlotte Foust -----Original Message----- From: Don Elliker [mailto:delliker at hotmail.com] Sent: Wednesday, August 13, 2003 12:03 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Autonumber in replication Yes. I just found some info on this in the 2K/ADH - Vol2 page 472. Looks like a custom assignment of this value is in the wings as JET changes the assignment from sequential to random. Not good for my purposes....I can just see my users face when their new test case is number 1,956,000,045. Come to think of it, I WOULD like to see their face...And don't yell at me about using autonumber in a visible way,etc. etc....I didn't do that part, it was already like that when I got here..(yeah, sure it was buddy)...anywho, thanks _d "Things are only free to the extent that you don't pay for them".-Don Elliker >From: "Charlotte Foust" >Reply-To: Access Developers discussion and problem >solving >To: "Access Developers discussion and problem >solving" >Subject: RE: [AccessD] Autonumber in replication >Date: Wed, 13 Aug 2003 12:48:18 -0700 > >The only sure way is to make the autonumber a GUID, which you do by >selecting Replication ID from the FieldSize property. It's a bit more >complicated to work with GUIDs though because you can't just compare >them to each other. > >Charlotte Foust > >-----Original Message----- >From: Don Elliker [mailto:delliker at hotmail.com] >Sent: Wednesday, August 13, 2003 11:42 AM >To: accessd at databaseadvisors.com >Subject: [AccessD] Autonumber in replication > > >How do you all handle autonumber fields in replicated database schemas, >so that the autonumber remains unique? I have this as a pending issue >where a >database tool is potentailly being rolled out to more users than a >single BE >/multi FE setup would be good for. I have the primary key on the main >driver >table set up as autonumber and I am trying to get my head around this >concept as applied to replicated db. >_d > > >"Things are only free to the extent that you don't pay for them".-Don >Elliker > >_________________________________________________________________ >The new MSN 8: smart spam protection and 2 months FREE* >http://join.msn.com/?page=features/junkmail > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ The new MSN 8: smart spam protection and 2 months FREE* http://join.msn.com/?page=features/junkmail _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From andrew.haslett at ilc.gov.au Wed Aug 13 16:39:43 2003 From: andrew.haslett at ilc.gov.au (Haslett, Andrew) Date: Thu, 14 Aug 2003 07:09:43 +0930 Subject: [AccessD] Autonumber in replication Message-ID: This is exactly the reason why autonumbers should *not* be seen by the public. They should be used to uniquelty identify records for relationships - nothing more. If a public (case) number is required then it should be created manually. Cheers, Andrew -----Original Message----- From: Don Elliker [mailto:delliker at hotmail.com] Sent: Thursday, 14 August 2003 5:33 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Autonumber in replication Yes. I just found some info on this in the 2K/ADH - Vol2 page 472. Looks like a custom assignment of this value is in the wings as JET changes the assignment from sequential to random. Not good for my purposes....I can just see my users face when their new test case is number 1,956,000,045. Come to think of it, I WOULD like to see their face...And don't yell at me about using autonumber in a visible way,etc. etc....I didn't do that part, it was already like that when I got here..(yeah, sure it was buddy)...anywho, thanks _d "Things are only free to the extent that you don't pay for them".-Don Elliker >From: "Charlotte Foust" >Reply-To: Access Developers discussion and problem >solving >To: "Access Developers discussion and problem >solving" >Subject: RE: [AccessD] Autonumber in replication >Date: Wed, 13 Aug 2003 12:48:18 -0700 > >The only sure way is to make the autonumber a GUID, which you do by >selecting Replication ID from the FieldSize property. It's a bit more >complicated to work with GUIDs though because you can't just compare >them to each other. > >Charlotte Foust > >-----Original Message----- >From: Don Elliker [mailto:delliker at hotmail.com] >Sent: Wednesday, August 13, 2003 11:42 AM >To: accessd at databaseadvisors.com >Subject: [AccessD] Autonumber in replication > > >How do you all handle autonumber fields in replicated database schemas, >so >that the autonumber remains unique? I have this as a pending issue where >a >database tool is potentailly being rolled out to more users than a >single BE >/multi FE setup would be good for. I have the primary key on the main >driver >table set up as autonumber and I am trying to get my head around this >concept as applied to replicated db. >_d > > >"Things are only free to the extent that you don't pay for them".-Don >Elliker > >_________________________________________________________________ >The new MSN 8: smart spam protection and 2 months FREE* >http://join.msn.com/?page=features/junkmail > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ The new MSN 8: smart spam protection and 2 months FREE* http://join.msn.com/?page=features/junkmail _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com IMPORTANT - PLEASE READ ******************** This email and any files transmitted with it are confidential and may contain information protected by law from disclosure. If you have received this message in error, please notify the sender immediately and delete this email from your system. No warranty is given that this email or files, if attached to this email, are free from computer viruses or other defects. They are provided on the basis the user assumes all responsibility for loss, damage or consequence resulting directly or indirectly from their use, whether caused by the negligence of the sender or not. From andrew.haslett at ilc.gov.au Wed Aug 13 16:45:40 2003 From: andrew.haslett at ilc.gov.au (Haslett, Andrew) Date: Thu, 14 Aug 2003 07:15:40 +0930 Subject: [AccessD] Autonumber in replication Message-ID: >From memory, when you create a replica it changes the primary keys to 'Random' or 'Replication ID' or something similar. Cheers, Andrew -----Original Message----- From: Don Elliker [mailto:delliker at hotmail.com] Sent: Thursday, 14 August 2003 5:12 AM To: accessd at databaseadvisors.com Subject: [AccessD] Autonumber in replication How do you all handle autonumber fields in replicated database schemas, so that the autonumber remains unique? I have this as a pending issue where a database tool is potentailly being rolled out to more users than a single BE /multi FE setup would be good for. I have the primary key on the main driver table set up as autonumber and I am trying to get my head around this concept as applied to replicated db. _d "Things are only free to the extent that you don't pay for them".-Don Elliker _________________________________________________________________ The new MSN 8: smart spam protection and 2 months FREE* http://join.msn.com/?page=features/junkmail _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com IMPORTANT - PLEASE READ ******************** This email and any files transmitted with it are confidential and may contain information protected by law from disclosure. If you have received this message in error, please notify the sender immediately and delete this email from your system. No warranty is given that this email or files, if attached to this email, are free from computer viruses or other defects. They are provided on the basis the user assumes all responsibility for loss, damage or consequence resulting directly or indirectly from their use, whether caused by the negligence of the sender or not. From jcolby at colbyconsulting.com Wed Aug 13 16:59:11 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Wed, 13 Aug 2003 17:59:11 -0400 Subject: [AccessD] Indexes on text fields In-Reply-To: <000701c361c9$55208060$0400000a@PASCAL> Message-ID: Nope. Concatenated fields are just a text string to the query engine. However if you dragged the last and first name out into the query (even if hidden), then sorted on those fields, it would sort in that order (of course) and indexes on those fields would speed the sort. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mark Whittinghill Sent: Wednesday, August 13, 2003 2:33 PM To: accessd at databaseadvisors.com Subject: [AccessD] Indexes on text fields Let's say I have a Person table with FirstName and LastName fields. Both are non-unique indexed to help searches. Now say I build a query with a concatenated field FullName: LastName & ", " & FirstName. Will the indexes on these fields help speed searches on the FullName field? Mark Whittinghill Symphony Information Services 612-333-1311 mwhittinghill at symphonyinfo.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Wed Aug 13 17:08:23 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Wed, 13 Aug 2003 15:08:23 -0700 Subject: [AccessD] References References: <000701c3620b$0884d070$0f0b6351@martin1> <3F3A899B.6050704@shaw.ca> <005901c36218$500aad40$0f0b6351@martin1> Message-ID: <3F3AB6D7.4060607@shaw.ca> http://support.microsoft.com/?kbid=282010 Martin Reid wrote: >Marty > >have u the downlaod URL? > >Martin > >----- Original Message ----- >From: "MartyConnelly" >To: "Access Developers discussion and problem solving" > >Sent: Wednesday, August 13, 2003 11:55 AM >Subject: Re: [AccessD] References > > > > >>In WinXP Access tools references browse to file and reset >>C:\Program Files\Common Files\Microsoft Shared\DAO\DAO360.DLL >>Jet SP 7 has version 03.60.6508.2 for this dll. >>I don't know if this will be a permanent fix >> >>Martin Reid wrote: >> >> >> >>>I would appear to have lost DAO 3.6. It comes up as missing in the list >>> >>> >of > > >>>references but is now no longer available in the list of available >>>references. >>> >>>Any ideas? >>> >>>_______________________________________________ >>>AccessD mailing list >>>AccessD at databaseadvisors.com >>>http://databaseadvisors.com/mailman/listinfo/accessd >>>Website: http://www.databaseadvisors.com >>> >>> >>> >>> >>> >>_______________________________________________ >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>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 Wed Aug 13 17:15:15 2003 From: artful at rogers.com (Arthur Fuller) Date: Wed, 13 Aug 2003 18:15:15 -0400 Subject: [AccessD] Autonumber in replication In-Reply-To: Message-ID: IOW leave it to MS. I agree completely! -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Wednesday, August 13, 2003 5:42 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Autonumber in replication The autonumber is changed to random because the GUIDs will be assigned in no given order because the GUID is based on the machine it is created on. You wouldn't want to use that as your visible case number, but if you work with replication, you'll work with GUIDs, whether you see them or not. If you use an alternative scheme, you'll have to allow for all possible circumstances yourself. Charlotte Foust From mwhittinghill at symphonyinfo.com Wed Aug 13 17:23:21 2003 From: mwhittinghill at symphonyinfo.com (Mark Whittinghill) Date: Wed, 13 Aug 2003 17:23:21 -0500 Subject: [AccessD] Indexes on text fields References: Message-ID: <000a01c361e9$813c9010$0400000a@PASCAL> OK, thanks. Mark Whittinghill Symphony Information Services 612-333-1311 mwhittinghill at symphonyinfo.com ----- Original Message ----- From: "John Colby" To: "Access Developers discussion and problem solving" Sent: Wednesday, August 13, 2003 4:59 PM Subject: RE: [AccessD] Indexes on text fields > Nope. Concatenated fields are just a text string to the query engine. > However if you dragged the last and first name out into the query (even if > hidden), then sorted on those fields, it would sort in that order (of > course) and indexes on those fields would speed the sort. > > John W. Colby > www.colbyconsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mark > Whittinghill > Sent: Wednesday, August 13, 2003 2:33 PM > To: accessd at databaseadvisors.com > Subject: [AccessD] Indexes on text fields > > > Let's say I have a Person table with FirstName and LastName fields. Both > are non-unique indexed to help searches. Now say I build a query with a > concatenated field FullName: LastName & ", " & FirstName. Will the indexes > on these fields help speed searches on the FullName field? > > Mark Whittinghill > Symphony Information Services > 612-333-1311 > mwhittinghill at symphonyinfo.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From SDSSoftware at Optusnet.com.au Wed Aug 13 18:56:51 2003 From: SDSSoftware at Optusnet.com.au (Software Design & Solutions Pty Ltd.) Date: Thu, 14 Aug 2003 09:56:51 +1000 Subject: [AccessD] ASP - getting started References: Message-ID: <013301c361f6$911a12c0$54dd31d2@OfficePC> Thanks Andrew. Kath ----- Original Message ----- From: Haslett, Andrew To: 'Access Developers discussion and problem solving' Sent: Tuesday, August 12, 2003 5:27 PM Subject: RE: [AccessD] ASP - getting started See if any of these help: http://support.microsoft.com/default.aspx?scid=kb;en-us;290766 http://support.microsoft.com/default.aspx?scid=kb;en-us;255650 http://support.microsoft.com/default.aspx?scid=kb;en-us;220173 -----Original Message----- From: Software Design & Solutions Pty Ltd. [mailto:SDSSoftware at optusnet.com.au] Sent: Tuesday, 12 August 2003 3:33 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] ASP - getting started Hi Sander - OK - I've gone thru' all that and it all works so long as I use http://127.0.0.1/, so to use your example I can enter http://127.0.0.1/prjWacky and see the page but not if I use my computer name. In my case the PC is called OfficePC. I have created a subfolder called Test and it has a file in it called index.html. (WHich I can modify to be an ASP later). When I go into Administration Tools in the CP and look at 'Default Web Site' I can see the subfolder 'Test'. When I go into the Properties of Test and click on the 'Documents' tab the name Index is the first file name. The only problem I seem to have (given that all this works with 127.0.0.1) is that the browser can't find the computer name of OfficePC or find it using localHost despite my having reinstalled etc.) Is there anything I need to set under the Properties of OfficePC (computer name) itself? Cheers Kath ----- Original Message ----- From: Sad Der To: Access Developers discussion and problem solving Sent: Tuesday, August 12, 2003 3:39 PM Subject: Re: [AccessD] ASP - getting started Hi there, is you're problem still that you cannot open you're page with IIS locally installed? I just started building ASP stuff 2 weeks ago but I ran into the same problems. Took me a while before I got it going but now it runs like a train! Didn't read everything about this but you could try the following. Lets say you're computername is: wacky you've got a project called: prjWacky (THIS MEANS THAT IN YOU'RE INET\WWWROOT you got a dir called prjWacky with some files in it!) You've got a file in it called wackyhome.asp Now in you're IIS you've got this project (map) in/under the "DEFAULT WEB SITE" directory: in IIS you see: wacky |-Default Web Site |-Scripts |-... |-prjWacky When you right click prjWacky and go to the tab documents you're wackyhome.asp should be the first item. If it isn't add it! Then you should type the following in you're browser: wacky/prjWacky and tadaa you're first web site! HTH Sander BTW try VB-FORUMS.COM and check ASP thingy!! --- "Software Design & Solutions Pty Ltd." wrote: > BerichtNo luck with Ctrl+F5. And I have reinstalled > - no change. I have also restarted the machine since > editing the hosts file and still no change. > > I'm going to make do with 127.0.0.1 for now until I > nut out the prob with localhost. > THanks > Kath > ----- Original Message ----- > From: Haslett, Andrew > To: 'Access Developers discussion and problem > solving' > Sent: Tuesday, August 12, 2003 12:00 PM > Subject: RE: [AccessD] ASP - getting started > > > > > I reckon its time to remove and reinstall IIS > though. > > You can do it through Add/Remove programs. > > Cheers, > Andrew > -----Original Message----- > From: Susan Harkins [mailto:harkins at iglou.com] > Sent: Tuesday, 12 August 2003 11:08 AM > To: Access Developers discussion and problem > solving > Subject: Re: [AccessD] ASP - getting started > > > Kath; > > You might try a Shift Refresh, but there's > another keystroke combination that's worked for me > before, but I can't recall it now -- once I named my > computer I stopped having the problem. Maybe someone > else will know the combination? > > Susan H. > > > Thanks Erwin - I am learning from all of you > but still no luck with getting locahost to work. > > Now that I know to use 127.0.0.1 at least I > can get into the help and will read through > there...using http://127.0.0.1/iishelp > > > > IMPORTANT - PLEASE READ ******************** > > This email and any files transmitted with it are > confidential and may > > contain information protected by law from > disclosure. > > If you have received this message in error, please > notify the sender > > immediately and delete this email from your > system. > > No warranty is given that this email or files, if > attached to this > > email, are free from computer viruses or other > defects. They > > are provided on the basis the user assumes all > responsibility for > > loss, damage or consequence resulting directly or > indirectly from > > their use, whether caused by the negligence of the > sender or not. > > > > ------------------------------------------------------------------------------ > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com IMPORTANT - PLEASE READ ******************** This email and any files transmitted with it are confidential and may contain information protected by law from disclosure. If you have received this message in error, please notify the sender immediately and delete this email from your system. No warranty is given that this email or files, if attached to this email, are free from computer viruses or other defects. They are provided on the basis the user assumes all responsibility for loss, damage or consequence resulting directly or indirectly from their use, whether caused by the negligence of the sender or not. ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From SDSSoftware at Optusnet.com.au Wed Aug 13 19:02:30 2003 From: SDSSoftware at Optusnet.com.au (Software Design & Solutions Pty Ltd.) Date: Thu, 14 Aug 2003 10:02:30 +1000 Subject: [AccessD] ASP - getting started References: Message-ID: <015c01c361f7$5b16c0a0$54dd31d2@OfficePC> BerichtSorry and Yes - I did check the hosts file and the line 127.0.0.1 localhost was there. Kath ----- Original Message ----- From: Erwin Craps To: Access Developers discussion and problem solving Sent: Wednesday, August 13, 2003 5:56 PM Subject: RE: [AccessD] ASP - getting started did you check the hosts file? To check if you have a good entry try to ping localhost from a command prompt. If that does not work, you have not or incorrectly added the localhost entry in your hosts file. If pinging does work, and http://localhost not, you probably using a proxy server. Turn it off and try again. -----Original Message----- From: Software Design & Solutions Pty Ltd. [mailto:SDSSoftware at optusnet.com.au] Sent: Tuesday, August 12, 2003 5:32 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] ASP - getting started No luck with Ctrl+F5. And I have reinstalled - no change. I have also restarted the machine since editing the hosts file and still no change. I'm going to make do with 127.0.0.1 for now until I nut out the prob with localhost. THanks Kath ----- Original Message ----- From: Haslett, Andrew To: 'Access Developers discussion and problem solving' Sent: Tuesday, August 12, 2003 12:00 PM Subject: RE: [AccessD] ASP - getting started I reckon its time to remove and reinstall IIS though. You can do it through Add/Remove programs. Cheers, Andrew -----Original Message----- From: Susan Harkins [mailto:harkins at iglou.com] Sent: Tuesday, 12 August 2003 11:08 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] ASP - getting started Kath; You might try a Shift Refresh, but there's another keystroke combination that's worked for me before, but I can't recall it now -- once I named my computer I stopped having the problem. Maybe someone else will know the combination? Susan H. Thanks Erwin - I am learning from all of you but still no luck with getting locahost to work. Now that I know to use 127.0.0.1 at least I can get into the help and will read through there...using http://127.0.0.1/iishelp IMPORTANT - PLEASE READ ******************** This email and any files transmitted with it are confidential and may contain information protected by law from disclosure. If you have received this message in error, please notify the sender immediately and delete this email from your system. No warranty is given that this email or files, if attached to this email, are free from computer viruses or other defects. They are provided on the basis the user assumes all responsibility for loss, damage or consequence resulting directly or indirectly from their use, whether caused by the negligence of the sender or not. -------------------------------------------------------------------------- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From rjhjr at cox.net Wed Aug 13 19:04:57 2003 From: rjhjr at cox.net (Bob Hall) Date: Wed, 13 Aug 2003 20:04:57 -0400 Subject: [AccessD] martin's problem - SOLUTON In-Reply-To: References: <005501c361ae$6ef37a80$5100a8c0@BITSNB02> Message-ID: <20030814000457.GB50475@kongemord.krig.net> On Wed, Aug 13, 2003 at 01:37:50PM -0700, Kathryn Bassett wrote: > If anyone is still having problems getting past the worm that reboots, here is something I just saw in email from Steve Bass (PC World). The Washington Post has an article with step-by-step instructions for removing the worm. http://www.washingtonpost.com/wp-dyn/articles/A52050-2003Aug12.html Bob Hall From rjhjr at cox.net Wed Aug 13 19:12:53 2003 From: rjhjr at cox.net (Bob Hall) Date: Wed, 13 Aug 2003 20:12:53 -0400 Subject: [AccessD] DAO and ADO problem =>urgent! In-Reply-To: <20030813103606.10411.qmail@web10009.mail.yahoo.com> References: <3F3A6638.11211.1C7BEF7@localhost> <20030813103606.10411.qmail@web10009.mail.yahoo.com> Message-ID: <20030814001253.GC50475@kongemord.krig.net> On Wed, Aug 13, 2003 at 03:36:06AM -0700, Sad Der wrote: > AAHRG, did some testing and DAO 3.0 instead of 3.6 was > referenced! Now it works again. You should still follow Stuart's suggestion; e.g. Dim rs As ADO.Recordset Otherwise, VBA won't know whether you want an ADO or DAO recordset, and may choose the wrong one. Bob Hall From cfoust at infostatsystems.com Wed Aug 13 19:17:04 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 13 Aug 2003 17:17:04 -0700 Subject: [AccessD] DAO and ADO problem =>urgent! Message-ID: Actually, it's ADODB.Recordset for ADO. Charlotte Foust -----Original Message----- From: Bob Hall [mailto:rjhjr at cox.net] Sent: Wednesday, August 13, 2003 4:13 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] DAO and ADO problem =>urgent! On Wed, Aug 13, 2003 at 03:36:06AM -0700, Sad Der wrote: > AAHRG, did some testing and DAO 3.0 instead of 3.6 was referenced! Now > it works again. You should still follow Stuart's suggestion; e.g. Dim rs As ADO.Recordset Otherwise, VBA won't know whether you want an ADO or DAO recordset, and may choose the wrong one. Bob Hall _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rjhjr at cox.net Wed Aug 13 19:28:56 2003 From: rjhjr at cox.net (Bob Hall) Date: Wed, 13 Aug 2003 20:28:56 -0400 Subject: [AccessD] DAO and ADO problem =>urgent! In-Reply-To: References: Message-ID: <20030814002856.GB51033@kongemord.krig.net> On Wed, Aug 13, 2003 at 05:17:04PM -0700, Charlotte Foust wrote: > Actually, it's ADODB.Recordset for ADO. Right. Someone's been moving the letters around in my hash buckets. And if I ever find him, he's in ruble! Bob Hall From SDSSoftware at Optusnet.com.au Wed Aug 13 19:32:33 2003 From: SDSSoftware at Optusnet.com.au (Software Design & Solutions Pty Ltd.) Date: Thu, 14 Aug 2003 10:32:33 +1000 Subject: [AccessD] ASP - getting started References: Message-ID: <031901c361fb$94231ac0$54dd31d2@OfficePC> BerichtThanks Erwin. OK - the ping localhost worked. I turned off proxy server (by going into IE, Tools, INternet Options, Connections, Lan Settings.) THere are 2 options there: 1) Use a proxy server, and 2) Bypasss proxy server fopr local addresses. I tried turning off 'Use a proxy server', clicked OK and then in IE when I am trying to enter the address of localhost the IE sessions just closes automatically. (Tried this a couple of times). And when I reopen IE the setting 'Use a proxy server' has been turned back on. (And I never go to see if localhost worked with the setting off). Then I tried turning on the option 'Bypass proxy server for local addresses', clicked OK and entered http:\\localhost and for the first time IT WORKED!! But then the IE sessions closed on me and when I reopen IE the setting has been turned off again. ----- Original Message ----- From: Erwin Craps To: Access Developers discussion and problem solving Sent: Wednesday, August 13, 2003 5:56 PM Subject: RE: [AccessD] ASP - getting started did you check the hosts file? To check if you have a good entry try to ping localhost from a command prompt. If that does not work, you have not or incorrectly added the localhost entry in your hosts file. If pinging does work, and http://localhost not, you probably using a proxy server. Turn it off and try again. -----Original Message----- From: Software Design & Solutions Pty Ltd. [mailto:SDSSoftware at optusnet.com.au] Sent: Tuesday, August 12, 2003 5:32 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] ASP - getting started No luck with Ctrl+F5. And I have reinstalled - no change. I have also restarted the machine since editing the hosts file and still no change. I'm going to make do with 127.0.0.1 for now until I nut out the prob with localhost. THanks Kath ----- Original Message ----- From: Haslett, Andrew To: 'Access Developers discussion and problem solving' Sent: Tuesday, August 12, 2003 12:00 PM Subject: RE: [AccessD] ASP - getting started I reckon its time to remove and reinstall IIS though. You can do it through Add/Remove programs. Cheers, Andrew -----Original Message----- From: Susan Harkins [mailto:harkins at iglou.com] Sent: Tuesday, 12 August 2003 11:08 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] ASP - getting started Kath; You might try a Shift Refresh, but there's another keystroke combination that's worked for me before, but I can't recall it now -- once I named my computer I stopped having the problem. Maybe someone else will know the combination? Susan H. Thanks Erwin - I am learning from all of you but still no luck with getting locahost to work. Now that I know to use 127.0.0.1 at least I can get into the help and will read through there...using http://127.0.0.1/iishelp IMPORTANT - PLEASE READ ******************** This email and any files transmitted with it are confidential and may contain information protected by law from disclosure. If you have received this message in error, please notify the sender immediately and delete this email from your system. No warranty is given that this email or files, if attached to this email, are free from computer viruses or other defects. They are provided on the basis the user assumes all responsibility for loss, damage or consequence resulting directly or indirectly from their use, whether caused by the negligence of the sender or not. -------------------------------------------------------------------------- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From harkins at iglou.com Wed Aug 13 20:36:31 2003 From: harkins at iglou.com (Susan Harkins) Date: Wed, 13 Aug 2003 21:36:31 -0400 Subject: [AccessD] Fw: [dba-OT] CurrentView property Message-ID: <003801c36204$7fd28480$cde6ffcc@SusanOne> > Set obj = Application.CurrentProject.AllReports(str) > intView = obj.CurrentView > > The CurrentView property applies only to the Form and DataAccessPages > objects and the AccessObject object. So, I used the above to get the > CurrentView property of the current report and it works fine. I tried it > with a table and query, and both return an "object doesn't support this > property" error. > > I know I can use SysCmd to tell me a table or query's open, dirty or new -- > but how about the current view? I was surprised the above code didn't work > for AllTables and AllQueries. > > Susan H. > > _______________________________________________ > dba-OT mailing list > dba-OT at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-ot > Website: http://www.databaseadvisors.com > > From accessd at shaw.ca Wed Aug 13 21:26:05 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Wed, 13 Aug 2003 19:26:05 -0700 Subject: [AccessD] Getting Desperate - Apologies for the OT message In-Reply-To: <8DA8776D2F418E46A2A464AC6CE630509234@outbaksrv1.outbaktech.com> Message-ID: Hi All: This among many other similar questions would seem to point to a members page(s) on the DBA site. I am only a single member on the executive (web janitor) and there was a lot of focus on the DBA conference preparation and subsequent wind down. I think setting something up like that would be a great idea and it could not come sooner...and it seems like a great fall project. The more comments the better. HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jeff Barrows Sent: Tuesday, August 12, 2003 9:35 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Getting Desperate - Apologies for the OT message Wasn't there talk about a Member's Page? With your resume and a short self-written bio? Btw, I have been looking for work (new clients, new work from current clients, or a salaried position) for about 17 months now. Jeff Barrows Outbak Technologies, LLC Racine, WI Phone: (262) 634-0653 Mailto: jeff_developer at hotmail.com www.outbaktech.com -----Original Message----- From: William Hindman [mailto:wdhindman at bellsouth.net] Sent: Tuesday, August 12, 2003 10:51 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Getting Desperate - Apologies for the OT message Christopher ...its neither crass nor off-topic ...read the netiquette if you wish but sharing and friendship are the constants that make this list far better than others we all are aware of ...and using the list to look for work is both highly relevant and welcome ...as for work itself, its been slow here for months now ...if not for a couple of steady clients, it might well be me writing your post instead. ...you might consider posting your resume as well or a link to it ...would make referrals easier :) William Hindman So, then, to every man his chance -- to every man, regardless of his birth, his shining golden opportunity -- to every man his right to live, to work, to be himself, to become whatever his manhood and his vision can combine to make him -- this, seeker, is the promise of America. -- Thomas Wolfe ----- Original Message ----- From: "Christopher Hawkins" To: Sent: Tuesday, August 12, 2003 5:31 PM Subject: [AccessD] Getting Desperate - Apologies for the OT message > First off, I apologize for such a blatantly OT message, but I just > don't know where else to turn. > > 6 months ago, I bought a house. Three weeks later, I was laid off. > Ouch. Dribs and drabs of contract work have come in, but I'm so far > out of any major tech market that there are not enough contract jobs > or W2 jobs available within commutable distance. > > I'm making an appeal to any among you who may find yourself in the > enviable positon of having more work offered than you can handle, or > who may have knowledge of projects that are staffing up. I'm looking > for a chance to subcontract, a referral, and outright assignment - > anything that gets the revenue train going again. > > I know this is crass, but if I have to take the initiative and beg > for work to keep my family fed and housed, I'll beg! > > Anyone with work or leads, feel free to contact me offline - > clh at christopherhawkins.com. > > Thank you. > > -Christopher Hawkins- > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Wed Aug 13 21:45:02 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Wed, 13 Aug 2003 21:45:02 -0500 Subject: [AccessD] Getting Desperate - Apologies for the OT message Message-ID: <2F8793082E00D4119A1700B0D0216BF80222707D@main2.marlow.com> Not crass at all. Asking for work to come your way is definitely a developer's topic!!!! Don't start throwing a party, but lately I have been inundated with contract work. I also keep an eye on the locals, and an ear to the ground. I don't have anything right now, but I have had to turn stuff down in the last few weeks. Nothing MAJOR, but some of it steady work for a few months. Most of the stuff I have to turn down is local though, but even if it isn't, I don't know who to contact since most jobs want someone local if they haven't worked with them before. So where are you at, and can you send me your resume. (It doesn't need to be full blown one. Just let me know what you know.....). Drew -----Original Message----- From: Christopher Hawkins [mailto:clh at christopherhawkins.com] Sent: Tuesday, August 12, 2003 4:32 PM To: accessd at databaseadvisors.com Subject: [AccessD] Getting Desperate - Apologies for the OT message First off, I apologize for such a blatantly OT message, but I just don't know where else to turn. 6 months ago, I bought a house. Three weeks later, I was laid off. Ouch. Dribs and drabs of contract work have come in, but I'm so far out of any major tech market that there are not enough contract jobs or W2 jobs available within commutable distance. I'm making an appeal to any among you who may find yourself in the enviable positon of having more work offered than you can handle, or who may have knowledge of projects that are staffing up. I'm looking for a chance to subcontract, a referral, and outright assignment - anything that gets the revenue train going again. I know this is crass, but if I have to take the initiative and beg for work to keep my family fed and housed, I'll beg! Anyone with work or leads, feel free to contact me offline - clh at christopherhawkins.com. Thank you. -Christopher Hawkins- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Wed Aug 13 21:56:27 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Wed, 13 Aug 2003 19:56:27 -0700 Subject: [AccessD] Getting Desperate - Apologies for the OT message In-Reply-To: <274540-220038212213152851@christopherhawkins.com> Message-ID: Hi Christopher: I know what you are going through. After working for one business as their senior developer, for nine years and then being laid off with a "Don't sit down and we would like to talk to you in my office" notice. I had been starting to plan retirement not a two week notice and new job. My recommendation to you is to go back to school. There are always some government sponsored training or advanced education program. It can do nothing but help; keeps you focused, provides a bit of cash, gives you a opportunity to make an objective review of your goals and adds a steadying force while you renew your relationship with family, friends and future potential employers. At the very least, it is another certificate or a few more credits towards that degree in theoretical math you always wanted. Another recommendation is to join a club or two or a church. While doing some good community service, it will also get you some of those contacts you will need on the road to a new career. The toughest thing to do is to keep optimistic. Keep going after jobs, be pleasant but keep coming back, again and again. I had one potential, who would buy coffee for me every second Thursday and that was after saying NO at least four times and I would have got a job there if a government office had not picked me up first. Keep the faith and if anything comes up I will let you know. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Christopher Hawkins Sent: Tuesday, August 12, 2003 2:32 PM To: accessd at databaseadvisors.com Subject: [AccessD] Getting Desperate - Apologies for the OT message First off, I apologize for such a blatantly OT message, but I just don't know where else to turn. 6 months ago, I bought a house. Three weeks later, I was laid off. Ouch. Dribs and drabs of contract work have come in, but I'm so far out of any major tech market that there are not enough contract jobs or W2 jobs available within commutable distance. I'm making an appeal to any among you who may find yourself in the enviable positon of having more work offered than you can handle, or who may have knowledge of projects that are staffing up. I'm looking for a chance to subcontract, a referral, and outright assignment - anything that gets the revenue train going again. I know this is crass, but if I have to take the initiative and beg for work to keep my family fed and housed, I'll beg! Anyone with work or leads, feel free to contact me offline - clh at christopherhawkins.com. Thank you. -Christopher Hawkins- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From clh at christopherhawkins.com Wed Aug 13 23:14:39 2003 From: clh at christopherhawkins.com (Christopher Hawkins) Date: Wed, 13 Aug 2003 22:14:39 -0600 Subject: [AccessD] Getting Desperate - Apologies for the OT message Message-ID: <184670-2200384144143959@christopherhawkins.com> Hi, Drew. I'm located in Visalia, CA. It's somewhat in the middle of the state, about an hour north of Bakersfield. My resume is here: www.christopherhawkins.com/clhResume.htm To summarize, I've been developing in Access and SQL since 1996, VB since version 3.0, and in recent years have done work in classic ASP and Oracle 7.3 and up for Fortune 500 firms. The past 5 years have been a 50/50 split betwen coding and leading teams. The past 6 months have seen me doing a series of short contracts, mostly Access work but also some project management. -C- ---- Original Message ---- From: DWUTKA at marlow.com To: accessd at databaseadvisors.com, Subject: RE: [AccessD] Getting Desperate - Apologies for the OT message Date: Wed, 13 Aug 2003 21:45:02 -0500 >Not crass at all. Asking for work to come your way is definitely a >developer's topic!!!! > >Don't start throwing a party, but lately I have been inundated with >contract >work. I also keep an eye on the locals, and an ear to the ground. >I don't >have anything right now, but I have had to turn stuff down in the >last few >weeks. Nothing MAJOR, but some of it steady work for a few months. >Most of >the stuff I have to turn down is local though, but even if it isn't, >I don't >know who to contact since most jobs want someone local if they >haven't >worked with them before. > >So where are you at, and can you send me your resume. (It doesn't >need to >be full blown one. Just let me know what you know.....). > >Drew > >-----Original Message----- >From: Christopher Hawkins [mailto:clh at christopherhawkins.com] >Sent: Tuesday, August 12, 2003 4:32 PM >To: accessd at databaseadvisors.com >Subject: [AccessD] Getting Desperate - Apologies for the OT message > > >First off, I apologize for such a blatantly OT message, but I just >don't know where else to turn. > >6 months ago, I bought a house. Three weeks later, I was laid off. >Ouch. Dribs and drabs of contract work have come in, but I'm so far >out of any major tech market that there are not enough contract jobs >or W2 jobs available within commutable distance. > >I'm making an appeal to any among you who may find yourself in the >enviable positon of having more work offered than you can handle, or >who may have knowledge of projects that are staffing up. I'm looking >for a chance to subcontract, a referral, and outright assignment - >anything that gets the revenue train going again. > >I know this is crass, but if I have to take the initiative and beg >for work to keep my family fed and housed, I'll beg! > >Anyone with work or leads, feel free to contact me offline - >clh at christopherhawkins.com. > >Thank you. > >-Christopher Hawkins- > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > From DWUTKA at marlow.com Wed Aug 13 23:50:40 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Wed, 13 Aug 2003 23:50:40 -0500 Subject: [AccessD] Getting Desperate - Apologies for the OT message Message-ID: <2F8793082E00D4119A1700B0D0216BF80222707F@main2.marlow.com> I'll pass your resume along, hopefully my 'contact' has contacts in CA. Quick question about ASP skills. Do you use VB .dll's with ASP, or just plain ASP? Drew -----Original Message----- From: Christopher Hawkins [mailto:clh at christopherhawkins.com] Sent: Wednesday, August 13, 2003 11:15 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Getting Desperate - Apologies for the OT message Hi, Drew. I'm located in Visalia, CA. It's somewhat in the middle of the state, about an hour north of Bakersfield. My resume is here: www.christopherhawkins.com/clhResume.htm To summarize, I've been developing in Access and SQL since 1996, VB since version 3.0, and in recent years have done work in classic ASP and Oracle 7.3 and up for Fortune 500 firms. The past 5 years have been a 50/50 split betwen coding and leading teams. The past 6 months have seen me doing a series of short contracts, mostly Access work but also some project management. -C- ---- Original Message ---- From: DWUTKA at marlow.com To: accessd at databaseadvisors.com, Subject: RE: [AccessD] Getting Desperate - Apologies for the OT message Date: Wed, 13 Aug 2003 21:45:02 -0500 >Not crass at all. Asking for work to come your way is definitely a >developer's topic!!!! > >Don't start throwing a party, but lately I have been inundated with >contract >work. I also keep an eye on the locals, and an ear to the ground. >I don't >have anything right now, but I have had to turn stuff down in the >last few >weeks. Nothing MAJOR, but some of it steady work for a few months. >Most of >the stuff I have to turn down is local though, but even if it isn't, >I don't >know who to contact since most jobs want someone local if they >haven't >worked with them before. > >So where are you at, and can you send me your resume. (It doesn't >need to >be full blown one. Just let me know what you know.....). > >Drew > >-----Original Message----- >From: Christopher Hawkins [mailto:clh at christopherhawkins.com] >Sent: Tuesday, August 12, 2003 4:32 PM >To: accessd at databaseadvisors.com >Subject: [AccessD] Getting Desperate - Apologies for the OT message > > >First off, I apologize for such a blatantly OT message, but I just >don't know where else to turn. > >6 months ago, I bought a house. Three weeks later, I was laid off. >Ouch. Dribs and drabs of contract work have come in, but I'm so far >out of any major tech market that there are not enough contract jobs >or W2 jobs available within commutable distance. > >I'm making an appeal to any among you who may find yourself in the >enviable positon of having more work offered than you can handle, or >who may have knowledge of projects that are staffing up. I'm looking >for a chance to subcontract, a referral, and outright assignment - >anything that gets the revenue train going again. > >I know this is crass, but if I have to take the initiative and beg >for work to keep my family fed and housed, I'll beg! > >Anyone with work or leads, feel free to contact me offline - >clh at christopherhawkins.com. > >Thank you. > >-Christopher Hawkins- > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >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 Thu Aug 14 00:14:44 2003 From: d.dick at uws.edu.au (Darren DICK) Date: Thu, 14 Aug 2003 15:14:44 +1000 Subject: [AccessD] A2K: Not Adding up Message-ID: <010801c36222$f95b0d90$3c619a89@DDICK> Hello all I have a table (tblAwards) that has 2 fields 1st called ElectiveHours data type = number/Long Integer (Say it has a value of 5) 2nd called CompulsoryHours data type = number/Long Integer (Say it has a value of 100) I have a form with a combo bound to tblAwards So MyCombo.Column(0) is bound to ElectiveHours and MyCombo.Column(1) is bound to CompulsoryHours. I have a control on the form that has the following as its ControSource MyCombo.Column(0) + MyCombo.Column(1). So 5 + 100 should = 105 But I keep getting the concatenated answer version 5100 What am I doing wrong? Many thanks in advance Darren From accessd666 at yahoo.com Thu Aug 14 00:16:33 2003 From: accessd666 at yahoo.com (Sad Der) Date: Wed, 13 Aug 2003 22:16:33 -0700 (PDT) Subject: [AccessD] DAO and ADO problem =>urgent! In-Reply-To: Message-ID: <20030814051633.78095.qmail@web10005.mail.yahoo.com> thnx for the follow up. Bob, charlotte, you're (of course) both correct. However, I've only enherited this beast. If only you could see it....(to big, law issues :-). Rework alone could keep me of the streets for about a fortnight. I mean, why would anybody add error handling? There isn't any, go figure! ah well, almost weekend :-) SD --- Charlotte Foust wrote: > Actually, it's ADODB.Recordset for ADO. > > Charlotte Foust > > -----Original Message----- > From: Bob Hall [mailto:rjhjr at cox.net] > Sent: Wednesday, August 13, 2003 4:13 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] DAO and ADO problem =>urgent! > > > > On Wed, Aug 13, 2003 at 03:36:06AM -0700, Sad Der > wrote: > > AAHRG, did some testing and DAO 3.0 instead of 3.6 > was referenced! Now > > > it works again. > > You should still follow Stuart's suggestion; e.g. > Dim rs As ADO.Recordset > Otherwise, VBA won't know whether you want an ADO or > DAO recordset, > and may choose the wrong one. > > Bob Hall > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com From andrew.haslett at ilc.gov.au Thu Aug 14 00:51:11 2003 From: andrew.haslett at ilc.gov.au (Haslett, Andrew) Date: Thu, 14 Aug 2003 15:21:11 +0930 Subject: [AccessD] A2K: Not Adding up Message-ID: Darren, try CInt(MyCombo.Column(0)) + CInt(MyCombo.Column(1)) Cheers, Andrew -----Original Message----- From: Darren DICK [mailto:d.dick at uws.edu.au] Sent: Thursday, 14 August 2003 2:45 PM To: AccessD List Subject: [AccessD] A2K: Not Adding up Hello all I have a table (tblAwards) that has 2 fields 1st called ElectiveHours data type = number/Long Integer (Say it has a value of 5) 2nd called CompulsoryHours data type = number/Long Integer (Say it has a value of 100) I have a form with a combo bound to tblAwards So MyCombo.Column(0) is bound to ElectiveHours and MyCombo.Column(1) is bound to CompulsoryHours. I have a control on the form that has the following as its ControSource MyCombo.Column(0) + MyCombo.Column(1). So 5 + 100 should = 105 But I keep getting the concatenated answer version 5100 What am I doing wrong? Many thanks in advance Darren _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com IMPORTANT - PLEASE READ ******************** This email and any files transmitted with it are confidential and may contain information protected by law from disclosure. If you have received this message in error, please notify the sender immediately and delete this email from your system. No warranty is given that this email or files, if attached to this email, are free from computer viruses or other defects. They are provided on the basis the user assumes all responsibility for loss, damage or consequence resulting directly or indirectly from their use, whether caused by the negligence of the sender or not. From d.dick at uws.edu.au Thu Aug 14 01:13:18 2003 From: d.dick at uws.edu.au (Darren DICK) Date: Thu, 14 Aug 2003 16:13:18 +1000 Subject: [AccessD] A2K: Not Adding up References: Message-ID: <015301c3622b$27d8c7e0$3c619a89@DDICK> Andrew you da man many thanks Darren ----- Original Message ----- From: "Haslett, Andrew" To: "'Access Developers discussion and problem solving'" Sent: Thursday, August 14, 2003 3:51 PM Subject: RE: [AccessD] A2K: Not Adding up > Darren, try > > CInt(MyCombo.Column(0)) + CInt(MyCombo.Column(1)) > > Cheers, > Andrew > > -----Original Message----- > From: Darren DICK [mailto:d.dick at uws.edu.au] > Sent: Thursday, 14 August 2003 2:45 PM > To: AccessD List > Subject: [AccessD] A2K: Not Adding up > > > Hello all > I have a table (tblAwards) that has 2 fields > 1st called ElectiveHours data type = number/Long Integer (Say it has a value > of 5) > 2nd called CompulsoryHours data type = number/Long Integer (Say it has a > value of 100) > > I have a form with a combo bound to tblAwards > So MyCombo.Column(0) is bound to ElectiveHours and MyCombo.Column(1) is > bound to CompulsoryHours. > > I have a control on the form that has the following as its ControSource > MyCombo.Column(0) + MyCombo.Column(1). So 5 + 100 should = 105 > > But I keep getting the concatenated answer version 5100 > > What am I doing wrong? > > Many thanks in advance > > Darren > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > IMPORTANT - PLEASE READ ******************** > This email and any files transmitted with it are confidential and may > contain information protected by law from disclosure. > If you have received this message in error, please notify the sender > immediately and delete this email from your system. > No warranty is given that this email or files, if attached to this > email, are free from computer viruses or other defects. They > are provided on the basis the user assumes all responsibility for > loss, damage or consequence resulting directly or indirectly from > their use, whether caused by the negligence of the sender or not. > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From Erwin.Craps at ithelps.be Thu Aug 14 01:43:15 2003 From: Erwin.Craps at ithelps.be (Erwin Craps) Date: Thu, 14 Aug 2003 08:43:15 +0200 Subject: [AccessD] ASP - getting started Message-ID: and what about the ping? -----Oorspronkelijk bericht----- Van: Software Design & Solutions Pty Ltd. [mailto:SDSSoftware at optusnet.com.au] Verzonden: donderdag 14 augustus 2003 2:03 Aan: Access Developers discussion and problem solving Onderwerp: Re: [AccessD] ASP - getting started Sorry and Yes - I did check the hosts file and the line 127.0.0.1 localhost was there. Kath ----- Original Message ----- From: Erwin Craps To: Access Developers discussion and problem solving Sent: Wednesday, August 13, 2003 5:56 PM Subject: RE: [AccessD] ASP - getting started did you check the hosts file? To check if you have a good entry try to ping localhost from a command prompt. If that does not work, you have not or incorrectly added the localhost entry in your hosts file. If pinging does work, and http://localhost not, you probably using a proxy server. Turn it off and try again. -----Original Message----- From: Software Design & Solutions Pty Ltd. [mailto:SDSSoftware at optusnet.com.au] Sent: Tuesday, August 12, 2003 5:32 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] ASP - getting started No luck with Ctrl+F5. And I have reinstalled - no change. I have also restarted the machine since editing the hosts file and still no change. I'm going to make do with 127.0.0.1 for now until I nut out the prob with localhost. THanks Kath ----- Original Message ----- From: Haslett, Andrew To: 'Access Developers discussion and problem solving' Sent: Tuesday, August 12, 2003 12:00 PM Subject: RE: [AccessD] ASP - getting started I reckon its time to remove and reinstall IIS though. You can do it through Add/Remove programs. Cheers, Andrew -----Original Message----- From: Susan Harkins [mailto:harkins at iglou.com] Sent: Tuesday, 12 August 2003 11:08 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] ASP - getting started Kath; You might try a Shift Refresh, but there's another keystroke combination that's worked for me before, but I can't recall it now -- once I named my computer I stopped having the problem. Maybe someone else will know the combination? Susan H. Thanks Erwin - I am learning from all of you but still no luck with getting locahost to work. Now that I know to use 127.0.0.1 at least I can get into the help and will read through there...using http://127.0.0.1/iishelp IMPORTANT - PLEASE READ ******************** This email and any files transmitted with it are confidential and may contain information protected by law from disclosure. If you have received this message in error, please notify the sender immediately and delete this email from your system. No warranty is given that this email or files, if attached to this email, are free from computer viruses or other defects. They are provided on the basis the user assumes all responsibility for loss, damage or consequence resulting directly or indirectly from their use, whether caused by the negligence of the sender or not. _____ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _____ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From Lembit.Soobik at t-online.de Thu Aug 14 02:26:30 2003 From: Lembit.Soobik at t-online.de (Lembit Soobik) Date: Thu, 14 Aug 2003 09:26:30 +0200 Subject: [AccessD] Getting Desperate - Apologies for the OT message References: Message-ID: <18ea01c36235$65d36f50$0200a8c0@S856> It will sure take time to set something up on our website. In the meantime, what do you all think about a list for discussing job opportunities? this can be set up fast. Lembit Soobik ----- Original Message ----- From: "Jim Lawrence (AccessD)" To: "Access Developers discussion and problem solving" Sent: Thursday, August 14, 2003 4:26 AM Subject: RE: [AccessD] Getting Desperate - Apologies for the OT message > Hi All: > > This among many other similar questions would seem to point to a members > page(s) on the DBA site. I am only a single member on the executive (web > janitor) and there was a lot of focus on the DBA conference preparation and > subsequent wind down. I think setting something up like that would be a > great idea and it could not come sooner...and it seems like a great fall > project. > > The more comments the better. > > HTH > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jeff Barrows > Sent: Tuesday, August 12, 2003 9:35 PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Getting Desperate - Apologies for the OT message > > > Wasn't there talk about a Member's Page? With your resume and a short > self-written bio? > > Btw, I have been looking for work (new clients, new work from current > clients, or a salaried position) for about 17 months now. > > Jeff Barrows > Outbak Technologies, LLC > Racine, WI > Phone: (262) 634-0653 > Mailto: jeff_developer at hotmail.com > www.outbaktech.com > -----Original Message----- > From: William Hindman [mailto:wdhindman at bellsouth.net] > Sent: Tuesday, August 12, 2003 10:51 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Getting Desperate - Apologies for the OT message > > Christopher > > ...its neither crass nor off-topic ...read the netiquette if you wish > but > sharing and friendship are the constants that make this list far better > than > others we all are aware of ...and using the list to look for work is > both > highly relevant and welcome ...as for work itself, its been slow here > for > months now ...if not for a couple of steady clients, it might well be me > writing your post instead. > > ...you might consider posting your resume as well or a link to it > ...would > make referrals easier :) > > William Hindman > So, then, to every man his chance -- to every man, regardless of his > birth, > his shining golden opportunity -- to every man his right to live, to > work, > to be himself, to become whatever his manhood and his vision can combine > to > make him -- this, seeker, is the promise of America. > -- Thomas Wolfe > > > > ----- Original Message ----- > From: "Christopher Hawkins" > To: > Sent: Tuesday, August 12, 2003 5:31 PM > Subject: [AccessD] Getting Desperate - Apologies for the OT message > > > > First off, I apologize for such a blatantly OT message, but I just > > don't know where else to turn. > > > > 6 months ago, I bought a house. Three weeks later, I was laid off. > > Ouch. Dribs and drabs of contract work have come in, but I'm so far > > out of any major tech market that there are not enough contract jobs > > or W2 jobs available within commutable distance. > > > > I'm making an appeal to any among you who may find yourself in the > > enviable positon of having more work offered than you can handle, or > > who may have knowledge of projects that are staffing up. I'm looking > > for a chance to subcontract, a referral, and outright assignment - > > anything that gets the revenue train going again. > > > > I know this is crass, but if I have to take the initiative and beg > > for work to keep my family fed and housed, I'll beg! > > > > Anyone with work or leads, feel free to contact me offline - > > clh at christopherhawkins.com. > > > > Thank you. > > > > -Christopher Hawkins- > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From actebs at actebs.com.au Thu Aug 14 02:53:09 2003 From: actebs at actebs.com.au (ACTEBS) Date: Thu, 14 Aug 2003 17:53:09 +1000 Subject: [AccessD] Getting Desperate - Apologies for the OT message In-Reply-To: <18ea01c36235$65d36f50$0200a8c0@S856> Message-ID: <003a01c36239$1ddd0db0$0c05a8c0@carlton.local> Lembit, If you like, we have a forum Template that I have just set up for a football forum discussion group that can be quickly changed into a Job Opportunity discussion forum if you like...I can set it up as almost any web address you like or supply a sub domain one like www.accessdjobs.serverbox.org that is free Forum example can be viewed here (different skins can be applied to give it distinct access feel): http://www.cfc.serverbox.org/ Regards Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lembit Soobik Sent: Thursday, 14 August 2003 5:27 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Getting Desperate - Apologies for the OT message It will sure take time to set something up on our website. In the meantime, what do you all think about a list for discussing job opportunities? this can be set up fast. Lembit Soobik ----- Original Message ----- From: "Jim Lawrence (AccessD)" To: "Access Developers discussion and problem solving" Sent: Thursday, August 14, 2003 4:26 AM Subject: RE: [AccessD] Getting Desperate - Apologies for the OT message > Hi All: > > This among many other similar questions would seem to point to a > members > page(s) on the DBA site. I am only a single member on the executive (web > janitor) and there was a lot of focus on the DBA conference preparation and > subsequent wind down. I think setting something up like that would be a > great idea and it could not come sooner...and it seems like a great fall > project. > > The more comments the better. > > HTH > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jeff Barrows > Sent: Tuesday, August 12, 2003 9:35 PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Getting Desperate - Apologies for the OT > message > > > Wasn't there talk about a Member's Page? With your resume and a short > self-written bio? > > Btw, I have been looking for work (new clients, new work from current > clients, or a salaried position) for about 17 months now. > > Jeff Barrows > Outbak Technologies, LLC > Racine, WI > Phone: (262) 634-0653 > Mailto: jeff_developer at hotmail.com > www.outbaktech.com > -----Original Message----- > From: William Hindman [mailto:wdhindman at bellsouth.net] > Sent: Tuesday, August 12, 2003 10:51 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Getting Desperate - Apologies for the OT > message > > Christopher > > ...its neither crass nor off-topic ...read the netiquette if you wish > but sharing and friendship are the constants that make this list far > better than > others we all are aware of ...and using the list to look for work is > both > highly relevant and welcome ...as for work itself, its been slow here > for > months now ...if not for a couple of steady clients, it might well be me > writing your post instead. > > ...you might consider posting your resume as well or a link to it > ...would make referrals easier :) > > William Hindman > So, then, to every man his chance -- to every man, regardless of his > birth, his shining golden opportunity -- to every man his right to > live, to work, > to be himself, to become whatever his manhood and his vision can combine > to > make him -- this, seeker, is the promise of America. > -- Thomas Wolfe > > > > ----- Original Message ----- > From: "Christopher Hawkins" > To: > Sent: Tuesday, August 12, 2003 5:31 PM > Subject: [AccessD] Getting Desperate - Apologies for the OT message > > > > First off, I apologize for such a blatantly OT message, but I just > > don't know where else to turn. > > > > 6 months ago, I bought a house. Three weeks later, I was laid off. > > Ouch. Dribs and drabs of contract work have come in, but I'm so far > > out of any major tech market that there are not enough contract jobs > > or W2 jobs available within commutable distance. > > > > I'm making an appeal to any among you who may find yourself in the > > enviable positon of having more work offered than you can handle, or > > who may have knowledge of projects that are staffing up. I'm > > looking for a chance to subcontract, a referral, and outright > > assignment - anything that gets the revenue train going again. > > > > I know this is crass, but if I have to take the initiative and beg > > for work to keep my family fed and housed, I'll beg! > > > > Anyone with work or leads, feel free to contact me offline - > > clh at christopherhawkins.com. > > > > Thank you. > > > > -Christopher Hawkins- > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd666 at yahoo.com Thu Aug 14 04:20:39 2003 From: accessd666 at yahoo.com (Sad Der) Date: Thu, 14 Aug 2003 02:20:39 -0700 (PDT) Subject: [AccessD] Build Report using dynamic string? Message-ID: <20030814092039.38018.qmail@web10006.mail.yahoo.com> Hi group, I need to build a report. The problem is that I have to do it with a dynamicly build sql statement. So I do not know wich fields should be displayed in the report. Does anybody have an example on how to create a report from code? sorry for this, but i'm running out of time fast! thnx in advance sd __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com From accessd666 at yahoo.com Thu Aug 14 06:12:39 2003 From: accessd666 at yahoo.com (Sad Der) Date: Thu, 14 Aug 2003 04:12:39 -0700 (PDT) Subject: [AccessD] Build Report using dynamic string? In-Reply-To: <20030814092039.38018.qmail@web10006.mail.yahoo.com> Message-ID: <20030814111239.79835.qmail@web10009.mail.yahoo.com> Hi, i did it! A dynamic report. What I cannot figure out is how to switch from design mode to preview mode WITHOUT saving the report? Any idea's? Regards, SD --- Sad Der wrote: > Hi group, > > I need to build a report. The problem is that I have > to do it with a dynamicly build sql statement. So I > do > not know wich fields should be displayed in the > report. > > Does anybody have an example on how to create a > report > from code? > > sorry for this, but i'm running out of time fast! > > thnx in advance > sd > > __________________________________ > Do you Yahoo!? > Yahoo! SiteBuilder - Free, easy-to-use web site > design software > http://sitebuilder.yahoo.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com From viner at EUnet.yu Wed Aug 13 13:35:21 2003 From: viner at EUnet.yu (Brindza Ervin) Date: Wed, 13 Aug 2003 20:35:21 +0200 Subject: [AccessD] Deploying 3 different versions Message-ID: <007701c361c9$c93dd7e0$5705f0d5@default> Hi, I have a simple problem. My customer needs to deploy my application in 3 versions(Access97 Access2000 and AccessXP) to his "subcustomers" on CD disc. Can anyone share some idea how to do this? I think that 3 folders(A97, A2k and AXP) can contain their own .MDE files, but it was the most suitable if I can handle: - detect the OS; - detect if the appropriate folder(the folder name is always the same, say C:\NovumKft) exist; - depending on above to copy(if there is no such folder make the folder and than copy the application) or to ask(such folder exist on hard disc) if the customer need to copy the appropriate version of the application from the CD to specified folder. Many thanks in advance, Ervin -------------- next part -------------- An HTML attachment was scrubbed... URL: From jcolby at colbyconsulting.com Thu Aug 14 07:03:57 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Thu, 14 Aug 2003 08:03:57 -0400 Subject: [AccessD] Deploying 3 different versions In-Reply-To: <007701c361c9$c93dd7e0$5705f0d5@default> Message-ID: If I were you, I'd pick a version (A2K highly recommended), and do a runtime install using one of the professional install generators. Do NOT use Microsoft's install generator. Even MS doesn't use that piece of filt... uh... fine piece of summer intern engineering. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Brindza Ervin Sent: Wednesday, August 13, 2003 2:35 PM To: Access Developers discussion and problem solving Subject: [AccessD] Deploying 3 different versions Hi, I have a simple problem. My customer needs to deploy my application in 3 versions(Access97 Access2000 and AccessXP) to his "subcustomers" on CD disc. Can anyone share some idea how to do this? I think that 3 folders(A97, A2k and AXP) can contain their own .MDE files, but it was the most suitable if I can handle: - detect the OS; - detect if the appropriate folder(the folder name is always the same, say C:\NovumKft) exist; - depending on above to copy(if there is no such folder make the folder and than copy the application) or to ask(such folder exist on hard disc) if the customer need to copy the appropriate version of the application from the CD to specified folder. Many thanks in advance, Ervin -------------- next part -------------- An HTML attachment was scrubbed... URL: From jcolby at colbyconsulting.com Thu Aug 14 07:16:43 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Thu, 14 Aug 2003 08:16:43 -0400 Subject: [AccessD] DAO and ADO problem =>urgent! In-Reply-To: <20030814051633.78095.qmail@web10005.mail.yahoo.com> Message-ID: SD, Add your own error handling. Go to www.DatabaseAdvisors.com . Click Downloads. Click VBErrorHandler Expand in a directory of your choice and follow the instructions in the readme. Once installed, this allows you to create error handlers in a single function, or all functions in all of the modules in the reports, forms or module tab. Very handy. Of course, ALWAYS back up the FE before starting. Do one set (Modules), compile to ensure no errors. Do the next (forms), compile to ensure no errors. Do the last (reports), compile to ensure no errors. You now have an error handler in every function in your entire FE. A fine piece of Engineering work brought to you by myself and Seth Galitzer John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Sad Der Sent: Thursday, August 14, 2003 1:17 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] DAO and ADO problem =>urgent! thnx for the follow up. Bob, charlotte, you're (of course) both correct. However, I've only enherited this beast. If only you could see it....(to big, law issues :-). Rework alone could keep me of the streets for about a fortnight. I mean, why would anybody add error handling? There isn't any, go figure! ah well, almost weekend :-) SD --- Charlotte Foust wrote: > Actually, it's ADODB.Recordset for ADO. > > Charlotte Foust > > -----Original Message----- > From: Bob Hall [mailto:rjhjr at cox.net] > Sent: Wednesday, August 13, 2003 4:13 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] DAO and ADO problem =>urgent! > > > > On Wed, Aug 13, 2003 at 03:36:06AM -0700, Sad Der > wrote: > > AAHRG, did some testing and DAO 3.0 instead of 3.6 > was referenced! Now > > > it works again. > > You should still follow Stuart's suggestion; e.g. > Dim rs As ADO.Recordset > Otherwise, VBA won't know whether you want an ADO or > DAO recordset, > and may choose the wrong one. > > Bob Hall > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From nancy.lytle at auatac.com Thu Aug 14 07:30:22 2003 From: nancy.lytle at auatac.com (Nancy Lytle) Date: Thu, 14 Aug 2003 08:30:22 -0400 Subject: [AccessD] Summer Intern Software:( References: Message-ID: <00b301c3625f$d6943c40$7d388141@servone> f>>>>ine piece of summer intern engineering.<<<< Boy, does that have me laughing and crying right now. I have just been given a database that was developed by a summer intern who had absolutely no experience with Access before he started this project. There is no documentation, except for some sheet laying out of schedule of when milestones were to be met. And I was told it should be ready to give to the users within a week. Well it has been a week now and I am discovering some major issues, fields are named inconsistently across the database (trans_num in one table, doc_num in another - they are supposed to be the same thing), there 9 different queries, 9 reports with the only difference being the year and category.., plus other duplicates of reports, queries and tables, no relationships were set up, and although the database is for financial analysis of money into and out of projects and tasks within projects, I can find no code that actually updates the data in the tables, just some code in the reports. I am going crazy. Have any of you (or most) run into this type of situation. If so how to you make the client realize that if they want a database that works there will need to be some major revamping needed that will take some time. The client thinks it works okay, but that is because she is testing it with static data and not testing it dynamically by doing data entry. TIA, Nancy --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.509 / Virus Database: 306 - Release Date: 8/12/2003 -------------- next part -------------- An HTML attachment was scrubbed... URL: From jimdettman at earthlink.net Thu Aug 14 07:32:35 2003 From: jimdettman at earthlink.net (Jim Dettman) Date: Thu, 14 Aug 2003 08:32:35 -0400 Subject: [AccessD] Indexes on text fields In-Reply-To: Message-ID: John, <> Are you sure about that? JET would certainly know about the base indexes on those fields from the costing plan. Then again, JET may build it's own index for the query output. Hard to say if you don't know the internals. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Colby Sent: Wednesday, August 13, 2003 5:59 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Indexes on text fields Nope. Concatenated fields are just a text string to the query engine. However if you dragged the last and first name out into the query (even if hidden), then sorted on those fields, it would sort in that order (of course) and indexes on those fields would speed the sort. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mark Whittinghill Sent: Wednesday, August 13, 2003 2:33 PM To: accessd at databaseadvisors.com Subject: [AccessD] Indexes on text fields Let's say I have a Person table with FirstName and LastName fields. Both are non-unique indexed to help searches. Now say I build a query with a concatenated field FullName: LastName & ", " & FirstName. Will the indexes on these fields help speed searches on the FullName field? Mark Whittinghill Symphony Information Services 612-333-1311 mwhittinghill at symphonyinfo.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at earthlink.net Thu Aug 14 07:39:09 2003 From: jimdettman at earthlink.net (Jim Dettman) Date: Thu, 14 Aug 2003 08:39:09 -0400 Subject: [AccessD] Getting Desperate - Apologies for the OT message In-Reply-To: <274540-220038212213152851@christopherhawkins.com> Message-ID: Chris, I'm sorry to say I don't have anything to pass along at the moment. However you may want to check out www.dice.com It currently has over 2600 Access jobs posted. I've never used the site myself, but have listened to people that had, and they seem pretty pleased with the experience. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Christopher Hawkins Sent: Tuesday, August 12, 2003 5:32 PM To: accessd at databaseadvisors.com Subject: [AccessD] Getting Desperate - Apologies for the OT message First off, I apologize for such a blatantly OT message, but I just don't know where else to turn. 6 months ago, I bought a house. Three weeks later, I was laid off. Ouch. Dribs and drabs of contract work have come in, but I'm so far out of any major tech market that there are not enough contract jobs or W2 jobs available within commutable distance. I'm making an appeal to any among you who may find yourself in the enviable positon of having more work offered than you can handle, or who may have knowledge of projects that are staffing up. I'm looking for a chance to subcontract, a referral, and outright assignment - anything that gets the revenue train going again. I know this is crass, but if I have to take the initiative and beg for work to keep my family fed and housed, I'll beg! Anyone with work or leads, feel free to contact me offline - clh at christopherhawkins.com. Thank you. -Christopher Hawkins- _______________________________________________ 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 Aug 14 07:43:02 2003 From: Erwin.Craps at ithelps.be (Erwin Craps) Date: Thu, 14 Aug 2003 14:43:02 +0200 Subject: [AccessD] Summer Intern Software:( Message-ID: Haha, I'm glad I'm not the only one... Had once a freelance developer working for me. His work look fine and working. Until I started adding some code. I saw same thingq, no relations, inconsistant fieldnames, mixture of techniques trough eachother, double and triple and quadruple code for same thing... type converison errors, mixing variables with eachother... Had to redo multiple stuff. Lost at least two weeks of work and I'm still terrified when I need to look into to a new issue... Erwin -----Original Message----- From: Nancy Lytle [mailto:nancy.lytle at auatac.com] Sent: Thursday, August 14, 2003 2:30 PM To: Access Developers discussion and problem solving Subject: [AccessD] Summer Intern Software:( f>>>>ine piece of summer intern engineering.<<<< Boy, does that have me laughing and crying right now. I have just been given a database that was developed by a summer intern who had absolutely no experience with Access before he started this project. There is no documentation, except for some sheet laying out of schedule of when milestones were to be met. And I was told it should be ready to give to the users within a week. Well it has been a week now and I am discovering some major issues, fields are named inconsistently across the database (trans_num in one table, doc_num in another - they are supposed to be the same thing), there 9 different queries, 9 reports with the only difference being the year and category.., plus other duplicates of reports, queries and tables, no relationships were set up, and although the database is for financial analysis of money into and out of projects and tasks within projects, I can find no code that actually updates the data in the tables, just some code in the reports. I am going crazy. Have any of you (or most) run into this type of situation. If so how to you make the client realize that if they want a database that works there will need to be some major revamping needed that will take some time. The client thinks it works okay, but that is because she is testing it with static data and not testing it dynamically by doing data entry. TIA, Nancy --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.509 / Virus Database: 306 - Release Date: 8/12/2003 -------------- next part -------------- An HTML attachment was scrubbed... URL: From CWortz at tea.state.tx.us Thu Aug 14 07:50:13 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Thu, 14 Aug 2003 07:50:13 -0500 Subject: [AccessD] Summer Intern Software:( Message-ID: Nancy, As I said on another list the other day: "Access is a good development tool and one of the best for rapid prototyping of relational databases. It main weakness is that M$ pushes it as a tool for untrained users." Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Nancy Lytle [mailto:nancy.lytle at auatac.com] Sent: Thursday 2003 Aug 14 07:30 To: Access Developers discussion and problem solving Subject: [AccessD] Summer Intern Software:( f>>>>ine piece of summer intern engineering.<<<< Boy, does that have me laughing and crying right now. I have just been given a database that was developed by a summer intern who had absolutely no experience with Access before he started this project. There is no documentation, except for some sheet laying out of schedule of when milestones were to be met. And I was told it should be ready to give to the users within a week. Well it has been a week now and I am discovering some major issues, fields are named inconsistently across the database (trans_num in one table, doc_num in another - they are supposed to be the same thing), there 9 different queries, 9 reports with the only difference being the year and category.., plus other duplicates of reports, queries and tables, no relationships were set up, and although the database is for financial analysis of money into and out of projects and tasks within projects, I can find no code that actually updates the data in the tables, just some code in the reports. I am going crazy. Have any of you (or most) run into this type of situation. If so how to you make the client realize that if they want a database that works there will need to be some major revamping needed that will take some time. The client thinks it works okay, but that is because she is testing it with static data and not testing it dynamically by doing data entry. TIA, Nancy From accessd666 at yahoo.com Thu Aug 14 07:51:14 2003 From: accessd666 at yahoo.com (Sad Der) Date: Thu, 14 Aug 2003 05:51:14 -0700 (PDT) Subject: [AccessD] DAO and ADO problem =>urgent! In-Reply-To: Message-ID: <20030814125114.95513.qmail@web10009.mail.yahoo.com> wow, and then there was silence.... Very nice, thnx a lot. SD --- John Colby wrote: > SD, Add your own error handling. > > Go to www.DatabaseAdvisors.com . > Click Downloads. > Click VBErrorHandler > Expand in a directory of your choice and follow the > instructions in the > readme. > Once installed, this allows you to create error > handlers in a single > function, or all functions in all of the modules in > the reports, forms or > module tab. > > Very handy. > > Of course, ALWAYS back up the FE before starting. > Do one set (Modules), compile to ensure no errors. > Do the next (forms), compile to ensure no errors. > Do the last (reports), compile to ensure no errors. > > You now have an error handler in every function in > your entire FE. > > A fine piece of Engineering work brought to you by > myself and Seth Galitzer > > John W. Colby > www.colbyconsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On > Behalf Of Sad Der > Sent: Thursday, August 14, 2003 1:17 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] DAO and ADO problem =>urgent! > > > > thnx for the follow up. > > Bob, charlotte, you're (of course) both correct. > However, I've only enherited this beast. If only you > could see it....(to big, law issues :-). Rework > alone > could keep me of the streets for about a fortnight. > > I mean, why would anybody add error handling? There > isn't any, go figure! > > ah well, almost weekend :-) > > SD > --- Charlotte Foust > wrote: > > Actually, it's ADODB.Recordset for ADO. > > > > Charlotte Foust > > > > -----Original Message----- > > From: Bob Hall [mailto:rjhjr at cox.net] > > Sent: Wednesday, August 13, 2003 4:13 PM > > To: Access Developers discussion and problem > solving > > Subject: Re: [AccessD] DAO and ADO problem > =>urgent! > > > > > > > > On Wed, Aug 13, 2003 at 03:36:06AM -0700, Sad Der > > wrote: > > > AAHRG, did some testing and DAO 3.0 instead of > 3.6 > > was referenced! Now > > > > > it works again. > > > > You should still follow Stuart's suggestion; e.g. > > Dim rs As ADO.Recordset > > Otherwise, VBA won't know whether you want an ADO > or > > DAO recordset, > > and may choose the wrong one. > > > > Bob Hall > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > __________________________________ > Do you Yahoo!? > Yahoo! SiteBuilder - Free, easy-to-use web site > design software > http://sitebuilder.yahoo.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com From viner at EUnet.yu Thu Aug 14 08:32:36 2003 From: viner at EUnet.yu (Brindza Ervin) Date: Thu, 14 Aug 2003 15:32:36 +0200 Subject: [AccessD] Deploying 3 different versions - addendum References: <007701c361c9$c93dd7e0$5705f0d5@default> Message-ID: <005701c36268$a21c7280$4d05f0d5@default> ----- Original Message ----- From: Brindza Ervin To: Access Developers discussion and problem solving Sent: Wednesday, August 13, 2003 8:35 PM Subject: [AccessD] Deploying 3 different versions Hi, I have a simple problem. My customer needs to deploy my application in 3 versions(Access97 Access2000 and AccessXP) to his "subcustomers" on CD disc. Can anyone share some idea how to do this? I think that 3 folders(A97, A2k and AXP) can contain their own .MDE files, but it was the most suitable if I can handle: - detect the OS; Sorry, instead of detecting the Os, I need to detect the version of the Office ... Ervin -------------- next part -------------- An HTML attachment was scrubbed... URL: From Lambert.Heenan at AIG.com Thu Aug 14 08:23:58 2003 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Thu, 14 Aug 2003 09:23:58 -0400 Subject: [AccessD] AutoNumber in replication Message-ID: <8B98F8EA48F8BA47A2F24E0D0AF40CF407AD75CE@xlivmbx12.aig.com> I'm a bit late in coming into this debate, but the answer to your question is, *you* don't handle it, Access does, Briefly this is how it works. When you set a table to be replicable Access automatically (and irrevocably) changes any AutoNumber fields to randomly increment. So all the replication copies are using the same pool of 4.2 billion integer values. In addition Access adds a GUID field to the table which is guaranteed to be unique. Then, when you synchronize replicas, if any contain duplicate AutoNumber values (and access can tell this using the GUID), Access will resolve the conflict automatically, assigning a different AutoNumber value to one of the conflicting record and all of it's child records. SO Access automatically maintains the referential integrity. This is of course just one more nail on the coffin for the idea of *displaying* an AutoNumber field as a substitute for an "order number". The human usable identifiers need to be generated manually. The simplest scheme is perhaps a string, with a replica location prefix or suffix and an incrementing number, generated via the use of Dmax() in a form's BeforeUpdate event. Lambert > -----Original Message----- > From: Don Elliker [SMTP:delliker at hotmail.com] > Sent: Wednesday, August 13, 2003 3:42 PM > To: accessd at databaseadvisors.com > Subject: [AccessD] Autonumber in replication > > How do you all handle autonumber fields in replicated database schemas, so > > that the autonumber remains unique? I have this as a pending issue where a > > database tool is potentailly being rolled out to more users than a single > BE > /multi FE setup would be good for. I have the primary key on the main > driver > table set up as autonumber and I am trying to get my head around this > concept as applied to replicated db. > _d > > > "Things are only free to the extent that you don't pay for them".-Don > Elliker > > _________________________________________________________________ > The new MSN 8: smart spam protection and 2 months FREE* > http://join.msn.com/?page=features/junkmail > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From harkins at iglou.com Thu Aug 14 08:15:29 2003 From: harkins at iglou.com (Susan Harkins) Date: Thu, 14 Aug 2003 09:15:29 -0400 Subject: [AccessD] Summer Intern Software:( References: <00b301c3625f$d6943c40$7d388141@servone> Message-ID: <008001c36268$4c361740$e8ecffcc@SusanOne> Are you in a position to say no? Or, are you in a position to charge a ton of money for it? Putting yourself into the fire because someone on their end made a bad hiring decision isn't a great idea -- if you've got a choice about it. Susan H. Boy, does that have me laughing and crying right now. I have just been given a database that was developed by a summer intern who had absolutely no experience with Access before he started this project. There is no documentation, except for some sheet laying out of schedule of when milestones were to be met. -------------- next part -------------- An HTML attachment was scrubbed... URL: From jcolby at colbyconsulting.com Thu Aug 14 08:39:12 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Thu, 14 Aug 2003 09:39:12 -0400 Subject: [AccessD] Summer Intern Software:( In-Reply-To: <00b301c3625f$d6943c40$7d388141@servone> Message-ID: All you can do is tell the truth, be tactful and try not to step on toes, but be firm about the requirements. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Nancy Lytle Sent: Thursday, August 14, 2003 8:30 AM To: Access Developers discussion and problem solving Subject: [AccessD] Summer Intern Software:( f>>>>ine piece of summer intern engineering.<<<< Boy, does that have me laughing and crying right now. I have just been given a database that was developed by a summer intern who had absolutely no experience with Access before he started this project. There is no documentation, except for some sheet laying out of schedule of when milestones were to be met. And I was told it should be ready to give to the users within a week. Well it has been a week now and I am discovering some major issues, fields are named inconsistently across the database (trans_num in one table, doc_num in another - they are supposed to be the same thing), there 9 different queries, 9 reports with the only difference being the year and category.., plus other duplicates of reports, queries and tables, no relationships were set up, and although the database is for financial analysis of money into and out of projects and tasks within projects, I can find no code that actually updates the data in the tables, just some code in the reports. I am going crazy. Have any of you (or most) run into this type of situation. If so how to you make the client realize that if they want a database that works there will need to be some major revamping needed that will take some time. The client thinks it works okay, but that is because she is testing it with static data and not testing it dynamically by doing data entry. TIA, Nancy --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.509 / Virus Database: 306 - Release Date: 8/12/2003 -------------- next part -------------- An HTML attachment was scrubbed... URL: From jcolby at colbyconsulting.com Thu Aug 14 08:39:46 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Thu, 14 Aug 2003 09:39:46 -0400 Subject: [AccessD] Indexes on text fields In-Reply-To: Message-ID: Yep, I'm sure. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Dettman Sent: Thursday, August 14, 2003 8:33 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Indexes on text fields John, <> Are you sure about that? JET would certainly know about the base indexes on those fields from the costing plan. Then again, JET may build it's own index for the query output. Hard to say if you don't know the internals. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Colby Sent: Wednesday, August 13, 2003 5:59 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Indexes on text fields Nope. Concatenated fields are just a text string to the query engine. However if you dragged the last and first name out into the query (even if hidden), then sorted on those fields, it would sort in that order (of course) and indexes on those fields would speed the sort. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mark Whittinghill Sent: Wednesday, August 13, 2003 2:33 PM To: accessd at databaseadvisors.com Subject: [AccessD] Indexes on text fields Let's say I have a Person table with FirstName and LastName fields. Both are non-unique indexed to help searches. Now say I build a query with a concatenated field FullName: LastName & ", " & FirstName. Will the indexes on these fields help speed searches on the FullName field? Mark Whittinghill Symphony Information Services 612-333-1311 mwhittinghill at symphonyinfo.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at earthlink.net Thu Aug 14 08:49:22 2003 From: jimdettman at earthlink.net (Jim Dettman) Date: Thu, 14 Aug 2003 09:49:22 -0400 Subject: [AccessD] Indexes on text fields In-Reply-To: Message-ID: John, Can you site the source please? Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Colby Sent: Thursday, August 14, 2003 9:40 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Indexes on text fields Yep, I'm sure. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Dettman Sent: Thursday, August 14, 2003 8:33 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Indexes on text fields John, <> Are you sure about that? JET would certainly know about the base indexes on those fields from the costing plan. Then again, JET may build it's own index for the query output. Hard to say if you don't know the internals. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Colby Sent: Wednesday, August 13, 2003 5:59 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Indexes on text fields Nope. Concatenated fields are just a text string to the query engine. However if you dragged the last and first name out into the query (even if hidden), then sorted on those fields, it would sort in that order (of course) and indexes on those fields would speed the sort. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mark Whittinghill Sent: Wednesday, August 13, 2003 2:33 PM To: accessd at databaseadvisors.com Subject: [AccessD] Indexes on text fields Let's say I have a Person table with FirstName and LastName fields. Both are non-unique indexed to help searches. Now say I build a query with a concatenated field FullName: LastName & ", " & FirstName. Will the indexes on these fields help speed searches on the FullName field? Mark Whittinghill Symphony Information Services 612-333-1311 mwhittinghill at symphonyinfo.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jcolby at colbyconsulting.com Thu Aug 14 08:54:20 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Thu, 14 Aug 2003 09:54:20 -0400 Subject: [AccessD] DAO and ADO problem =>urgent! In-Reply-To: <20030814125114.95513.qmail@web10009.mail.yahoo.com> Message-ID: SD, In fact while this is indeed my work, I started with an existing piece of work given to me by Glenn Grubb who used to be a list member. I essentially completely rewrote it to do what I needed (all back in A97). So if you like how it works, it's mine. If you don't like how it works, it's the previous author's (unknown). I neglected to mention that this only works in A2K and above, since it runs in the code editor which didn't exist in A97 and before. And we owe a TON of thanks to Seth for his port to VB to make this a DLL. BTW, since this is now a DLL it also works in Excel and Word (2K or better of course). It really does work quite well though. Anyone trying to do a runtime had BETTER insert error handlers in each and every function in the FE since any unhandled error will dump your user to the DOS prompt (so to speak). This widget will allow you to do just that in less than 1/2 hour. And if you are so lucky as to inherit an existing fine piece of summer intern engineering, it's amazing the errors that will start popping up. But at least you will now be able to find and fix them. Enjoy. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Sad Der Sent: Thursday, August 14, 2003 8:51 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] DAO and ADO problem =>urgent! wow, and then there was silence.... Very nice, thnx a lot. SD --- John Colby wrote: > SD, Add your own error handling. > > Go to www.DatabaseAdvisors.com . > Click Downloads. > Click VBErrorHandler > Expand in a directory of your choice and follow the > instructions in the > readme. > Once installed, this allows you to create error > handlers in a single > function, or all functions in all of the modules in > the reports, forms or > module tab. > > Very handy. > > Of course, ALWAYS back up the FE before starting. > Do one set (Modules), compile to ensure no errors. > Do the next (forms), compile to ensure no errors. > Do the last (reports), compile to ensure no errors. > > You now have an error handler in every function in > your entire FE. > > A fine piece of Engineering work brought to you by > myself and Seth Galitzer > > John W. Colby > www.colbyconsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On > Behalf Of Sad Der > Sent: Thursday, August 14, 2003 1:17 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] DAO and ADO problem =>urgent! > > > > thnx for the follow up. > > Bob, charlotte, you're (of course) both correct. > However, I've only enherited this beast. If only you > could see it....(to big, law issues :-). Rework > alone > could keep me of the streets for about a fortnight. > > I mean, why would anybody add error handling? There > isn't any, go figure! > > ah well, almost weekend :-) > > SD > --- Charlotte Foust > wrote: > > Actually, it's ADODB.Recordset for ADO. > > > > Charlotte Foust > > > > -----Original Message----- > > From: Bob Hall [mailto:rjhjr at cox.net] > > Sent: Wednesday, August 13, 2003 4:13 PM > > To: Access Developers discussion and problem > solving > > Subject: Re: [AccessD] DAO and ADO problem > =>urgent! > > > > > > > > On Wed, Aug 13, 2003 at 03:36:06AM -0700, Sad Der > > wrote: > > > AAHRG, did some testing and DAO 3.0 instead of > 3.6 > > was referenced! Now > > > > > it works again. > > > > You should still follow Stuart's suggestion; e.g. > > Dim rs As ADO.Recordset > > Otherwise, VBA won't know whether you want an ADO > or > > DAO recordset, > > and may choose the wrong one. > > > > Bob Hall > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > __________________________________ > Do you Yahoo!? > Yahoo! SiteBuilder - Free, easy-to-use web site > design software > http://sitebuilder.yahoo.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jcolby at colbyconsulting.com Thu Aug 14 09:08:37 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Thu, 14 Aug 2003 10:08:37 -0400 Subject: [AccessD] Indexes on text fields In-Reply-To: Message-ID: Nope, I cannot give you and sources and will not spend my time looking. Go look in any book on Access queries, sorting and indexing and I'm sure you'll find your own. There is no index on any field that is an append of other fields. Access doesn't make any attempt to use indexes on the fields used since I can append anything I want in the stuff in the append that is not field related, which throws such indexing out the window. Think about it for a minute. [Fielda] & Random() & [Fieldb] & ascii(right$("John Colby",1)) How in the world is any index on FieldA and FieldB going to help you sort that expression into logical order? How in the world is Access going to determine whether to even try? The resulting string expression can be ANYTHING!!! Access does NOT use the indexes on the fields used to build up an appended string. If you apply a sort order to such a string, Access will do the sort on the resulting string, on-the-fly, and it will be PAINFULLY slow!!! The best you can do if you know that the results will be useful is to use the actual fields in the query, apply the sort order on those fields and you end up with the required results. LName - Sort Ascending FName - Sort Ascending MyAliasedField: [FName] & ", " & [FName] will give you the same results as MyAliasedField: [FName] & ", " & [FName] - Sort Ascending But WILL use any existing indexes on LName and FName to get the result sorted as you desire. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Dettman Sent: Thursday, August 14, 2003 9:49 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Indexes on text fields John, Can you site the source please? Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Colby Sent: Thursday, August 14, 2003 9:40 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Indexes on text fields Yep, I'm sure. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Dettman Sent: Thursday, August 14, 2003 8:33 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Indexes on text fields John, <> Are you sure about that? JET would certainly know about the base indexes on those fields from the costing plan. Then again, JET may build it's own index for the query output. Hard to say if you don't know the internals. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Colby Sent: Wednesday, August 13, 2003 5:59 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Indexes on text fields Nope. Concatenated fields are just a text string to the query engine. However if you dragged the last and first name out into the query (even if hidden), then sorted on those fields, it would sort in that order (of course) and indexes on those fields would speed the sort. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mark Whittinghill Sent: Wednesday, August 13, 2003 2:33 PM To: accessd at databaseadvisors.com Subject: [AccessD] Indexes on text fields Let's say I have a Person table with FirstName and LastName fields. Both are non-unique indexed to help searches. Now say I build a query with a concatenated field FullName: LastName & ", " & FirstName. Will the indexes on these fields help speed searches on the FullName field? Mark Whittinghill Symphony Information Services 612-333-1311 mwhittinghill at symphonyinfo.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From nancy.lytle at auatac.com Thu Aug 14 09:24:23 2003 From: nancy.lytle at auatac.com (Nancy Lytle) Date: Thu, 14 Aug 2003 10:24:23 -0400 Subject: [AccessD] Summer Intern Software:( References: <00b301c3625f$d6943c40$7d388141@servone> <008001c36268$4c361740$e8ecffcc@SusanOne> Message-ID: <011201c3626f$c30ff280$7d388141@servone> Unfortunately, no choice about it. I think I will just have to break it down into some kind of report, letting her know (she didn't hire the intern - that was done by her "client" - I am a subcontractor to a contractor to a Federal agency) exactly where the database stands and what needs to be done. Nancy ----- Original Message ----- From: Susan Harkins To: Access Developers discussion and problem solving Sent: Thursday, August 14, 2003 9:15 AM Subject: Re: [AccessD] Summer Intern Software:( Are you in a position to say no? Or, are you in a position to charge a ton of money for it? Putting yourself into the fire because someone on their end made a bad hiring decision isn't a great idea -- if you've got a choice about it. Susan H. Boy, does that have me laughing and crying right now. I have just been given a database that was developed by a summer intern who had absolutely no experience with Access before he started this project. There is no documentation, except for some sheet laying out of schedule of when milestones were to be met. ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.509 / Virus Database: 306 - Release Date: 8/12/2003 -------------- next part -------------- An HTML attachment was scrubbed... URL: From harkins at iglou.com Thu Aug 14 09:33:10 2003 From: harkins at iglou.com (Susan Harkins) Date: Thu, 14 Aug 2003 10:33:10 -0400 Subject: [AccessD] Summer Intern Software:( References: <00b301c3625f$d6943c40$7d388141@servone><008001c36268$4c361740$e8ecffcc@SusanOne> <011201c3626f$c30ff280$7d388141@servone> Message-ID: <014101c36271$2e801bc0$e8ecffcc@SusanOne> If you're not comfortable working within the existing design, you should tell them so and why -- they might not understand or care, but later when there are problems are delays you can more easily justify them -- "Remember when I told you about...." Susan H. Unfortunately, no choice about it. I think I will just have to break it down into some kind of report, letting her know (she didn't hire the intern - that was done by her "client" - I am a subcontractor to a contractor to a Federal agency) exactly where the database stands and what needs to be done. -------------- next part -------------- An HTML attachment was scrubbed... URL: From scapistrant at symphonyinfo.com Thu Aug 14 09:39:08 2003 From: scapistrant at symphonyinfo.com (Steve Capistrant) Date: Thu, 14 Aug 2003 09:39:08 -0500 Subject: [AccessD] Summer Intern Software:( In-Reply-To: <011201c3626f$c30ff280$7d388141@servone> Message-ID: If your stuck with a summer intern solution, you have TWO important things to do: 1. Make sure your name is in no way stored anywhere in that application. 2. Explain that the buyer is getting a temporary fix to buy time until it can be done right. That is sometimes the right decision to make for cash flow reasons, but everyone's got to be clear about it. Steve Capistrant Symphony Information Services scapistrant at symphonyinfo.com Phone: 612-333-1311 www.symphonyinfo.com 212 3rd Ave N, Ste 404 Minneapolis, MN 55401 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Nancy Lytle Sent: Thursday, August 14, 2003 9:24 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Summer Intern Software:( Unfortunately, no choice about it. I think I will just have to break it down into some kind of report, letting her know (she didn't hire the intern - that was done by her "client" - I am a subcontractor to a contractor to a Federal agency) exactly where the database stands and what needs to be done. Nancy ----- Original Message ----- From: Susan Harkins To: Access Developers discussion and problem solving Sent: Thursday, August 14, 2003 9:15 AM Subject: Re: [AccessD] Summer Intern Software:( Are you in a position to say no? Or, are you in a position to charge a ton of money for it? Putting yourself into the fire because someone on their end made a bad hiring decision isn't a great idea -- if you've got a choice about it. Susan H. Boy, does that have me laughing and crying right now. I have just been given a database that was developed by a summer intern who had absolutely no experience with Access before he started this project. There is no documentation, except for some sheet laying out of schedule of when milestones were to be met. ---------------------------------------------------------------------------- -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.509 / Virus Database: 306 - Release Date: 8/12/2003 -------------- next part -------------- An HTML attachment was scrubbed... URL: From harkins at iglou.com Thu Aug 14 09:42:23 2003 From: harkins at iglou.com (Susan Harkins) Date: Thu, 14 Aug 2003 10:42:23 -0400 Subject: [AccessD] Summer Intern Software:( References: <00b301c3625f$d6943c40$7d388141@servone><008001c36268$4c361740$e8ecffcc@SusanOne><011201c3626f$c30ff280$7d388141@servone> <014101c36271$2e801bc0$e8ecffcc@SusanOne> Message-ID: <018201c36272$47f70270$e8ecffcc@SusanOne> Oh yeah, and be sure to emphasis the number of hours it's going to take to acclimate yourself to the thing and document it before you can even start fixing it... Susan H. If you're not comfortable working within the existing design, you should tell them so and why -- they might not understand or care, but later when there are problems are delays you can more easily justify them -- "Remember when I told you about...." Susan H. Unfortunately, no choice about it. I think I will just have to break it down into some kind of report, letting her know (she didn't hire the intern - that was done by her "client" - I am a subcontractor to a contractor to a Federal agency) exactly where the database stands and what needs to be done. ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From jim.hale at fleetpride.com Thu Aug 14 10:13:48 2003 From: jim.hale at fleetpride.com (Hale, Jim) Date: Thu, 14 Aug 2003 10:13:48 -0500 Subject: [AccessD] Summer Intern Software:( Message-ID: <869379ABF177D4118D3100508B5EF87306F5D9A4@corp-es00> And once you agree to touch it it becomes "yours" so it is always better to deal with issues straight up on the frond end. Easy advice to give but often hard to do when the customer doesn't want to hear it. Good Luck Jim Hale -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Thursday, August 14, 2003 8:39 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Summer Intern Software:( All you can do is tell the truth, be tactful and try not to step on toes, but be firm about the requirements. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Nancy Lytle Sent: Thursday, August 14, 2003 8:30 AM To: Access Developers discussion and problem solving Subject: [AccessD] Summer Intern Software:( f>>>>ine piece of summer intern engineering.<<<< Boy, does that have me laughing and crying right now. I have just been given a database that was developed by a summer intern who had absolutely no experience with Access before he started this project. There is no documentation, except for some sheet laying out of schedule of when milestones were to be met. And I was told it should be ready to give to the users within a week. Well it has been a week now and I am discovering some major issues, fields are named inconsistently across the database (trans_num in one table, doc_num in another - they are supposed to be the same thing), there 9 different queries, 9 reports with the only difference being the year and category.., plus other duplicates of reports, queries and tables, no relationships were set up, and although the database is for financial analysis of money into and out of projects and tasks within projects, I can find no code that actually updates the data in the tables, just some code in the reports. I am going crazy. Have any of you (or most) run into this type of situation. If so how to you make the client realize that if they want a database that works there will need to be some major revamping needed that will take some time. The client thinks it works okay, but that is because she is testing it with static data and not testing it dynamically by doing data entry. TIA, Nancy --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system ( http://www.grisoft.com ). Version: 6.0.509 / Virus Database: 306 - Release Date: 8/12/2003 -------------- next part -------------- An HTML attachment was scrubbed... URL: From sgeller at cce.umn.edu Thu Aug 14 10:35:27 2003 From: sgeller at cce.umn.edu (Susan Geller) Date: Thu, 14 Aug 2003 10:35:27 -0500 Subject: [AccessD] How to evaluate if report was cancelled due to no data Message-ID: XP. I have a form that opens a report. In the report, I have: Private Sub Report_NoData(Cancel As Integer) MsgBox "There are no data to display for the criteria you selected.", vbOKOnly, "DataMart" Cancel = True End Sub All's well. PROBLEM: The report cancels, and it goes back to the line right after the open report line of code. At that point, I want to evaluate to see if the report was cancelled so that I can do one thing if it was cancelled due to no data and do something else if it wasn't. How can I do this? --Susan Susan B. Geller Office of Information Systems College of Continuing Education University of Minnesota 306 Wesbrook Hall 77 Pleasant Street SE Minneapolis, MN 55455 Phone: 612-626-4785 Fax: 612-625-2568 From ebarro at afsweb.com Thu Aug 14 10:40:58 2003 From: ebarro at afsweb.com (Eric Barro) Date: Thu, 14 Aug 2003 08:40:58 -0700 Subject: [AccessD] Deploying 3 different versions In-Reply-To: <007701c361c9$c93dd7e0$5705f0d5@default> Message-ID: Use a VB front end! LOL... --- Eric Barro Senior Systems Analyst Advanced Field Services (208) 772-7060 http://www.afsweb.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Brindza Ervin Sent: Wednesday, August 13, 2003 11:35 AM To: Access Developers discussion and problem solving Subject: [AccessD] Deploying 3 different versions Hi, I have a simple problem. My customer needs to deploy my application in 3 versions(Access97 Access2000 and AccessXP) to his "subcustomers" on CD disc. Can anyone share some idea how to do this? I think that 3 folders(A97, A2k and AXP) can contain their own .MDE files, but it was the most suitable if I can handle: - detect the OS; - detect if the appropriate folder(the folder name is always the same, say C:\NovumKft) exist; - depending on above to copy(if there is no such folder make the folder and than copy the application) or to ask(such folder exist on hard disc) if the customer need to copy the appropriate version of the application from the CD to specified folder. Many thanks in advance, Ervin --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.509 / Virus Database: 306 - Release Date: 8/12/2003 -------------- next part -------------- An HTML attachment was scrubbed... URL: From CWortz at tea.state.tx.us Thu Aug 14 10:42:47 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Thu, 14 Aug 2003 10:42:47 -0500 Subject: [AccessD] How to evaluate if report was cancelled due to no data Message-ID: Susan, You can set a flag in the NoData event that you then test in the calling module. Remember, the flag will have to be defined as Public in a standard module so it will be within the scope of both objects. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Susan Geller [mailto:sgeller at cce.umn.edu] Sent: Thursday 2003 Aug 14 10:35 To: accessd at databaseadvisors.com Subject: [AccessD] How to evaluate if report was cancelled due to no data XP. I have a form that opens a report. In the report, I have: Private Sub Report_NoData(Cancel As Integer) MsgBox "There are no data to display for the criteria you selected.", vbOKOnly, "DataMart" Cancel = True End Sub All's well. PROBLEM: The report cancels, and it goes back to the line right after the open report line of code. At that point, I want to evaluate to see if the report was cancelled so that I can do one thing if it was cancelled due to no data and do something else if it wasn't. How can I do this? --Susan Susan B. Geller Office of Information Systems College of Continuing Education University of Minnesota 306 Wesbrook Hall 77 Pleasant Street SE Minneapolis, MN 55455 Phone: 612-626-4785 Fax: 612-625-2568 From jeffrey.demulling at usbank.com Thu Aug 14 10:51:24 2003 From: jeffrey.demulling at usbank.com (jeffrey.demulling at usbank.com) Date: Thu, 14 Aug 2003 10:51:24 -0500 Subject: [AccessD] Setting A2K combo box rowsource using ADO - SOLVED Message-ID: Just wanted to let you know that I solved my problem. The first step was to use the right connection string (was using the MS SQL provider instead of the SQLBASE). The next step was to change the following: Me.cmbACSName.RowSource = rsName to Set Forms![frmDisableUser].cmbACSName.Recordset = rsName Now everything is working just fine. From cfoust at infostatsystems.com Thu Aug 14 10:53:44 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 14 Aug 2003 08:53:44 -0700 Subject: [AccessD] How to evaluate if report was cancelled due to no data Message-ID: You can trap an error 2501, which is what will be returned to the calling routine but that will only tell you it has been cancelled, not why. You could raise a custom event from the report and sink it in the calling form. That would let the report tell you why it was cancelled. Charlotte Foust -----Original Message----- From: Susan Geller [mailto:sgeller at cce.umn.edu] Sent: Thursday, August 14, 2003 7:35 AM To: accessd at databaseadvisors.com Subject: [AccessD] How to evaluate if report was cancelled due to no data XP. I have a form that opens a report. In the report, I have: Private Sub Report_NoData(Cancel As Integer) MsgBox "There are no data to display for the criteria you selected.", vbOKOnly, "DataMart" Cancel = True End Sub All's well. PROBLEM: The report cancels, and it goes back to the line right after the open report line of code. At that point, I want to evaluate to see if the report was cancelled so that I can do one thing if it was cancelled due to no data and do something else if it wasn't. How can I do this? --Susan Susan B. Geller Office of Information Systems College of Continuing Education University of Minnesota 306 Wesbrook Hall 77 Pleasant Street SE Minneapolis, MN 55455 Phone: 612-626-4785 Fax: 612-625-2568 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From scapistrant at symphonyinfo.com Thu Aug 14 11:04:16 2003 From: scapistrant at symphonyinfo.com (Steve Capistrant) Date: Thu, 14 Aug 2003 11:04:16 -0500 Subject: [AccessD] MDB file-level properties In-Reply-To: <00e601c361ab$9da739f0$0400000a@PASCAL> Message-ID: Is it possible to have an mdb's "Database Properties" information (Title, Subject, Author, Category, etc) pass through to appear at the File Properties level? For example, I can enter "MyApp" as the Title in an open database under Files | Database Properties. But when I close it, then select the file in Windows Explorer, and view the Properties, I see that the Title is blank. The field names are almost entirely consistent between the MDB level and the file level, but they don't appear to stored in the same place. The reason I would like this is that a network administrator requested the version number of our custom application exposed at the file level. Of course, I could just type it both places, but I'd rather avoid one extra step (read: one more potential point of failure) in the distribution process. Steve Capistrant Symphony Information Services scapistrant at symphonyinfo.com Phone: 612-333-1311 www.symphonyinfo.com 212 3rd Ave N, Ste 404 Minneapolis, MN 55401 From sgeller at cce.umn.edu Thu Aug 14 11:16:40 2003 From: sgeller at cce.umn.edu (Susan Geller) Date: Thu, 14 Aug 2003 11:16:40 -0500 Subject: [AccessD] How to evaluate if report was cancelled due to no data Message-ID: Charlotte, Here's the code that I have (abbreviated) in the event that opens the report. When I step through, the Err.Number is in fact 2501, but the code goes to the Else part of my If logic. Ideas? Private Sub cmdNext3_Click() On Error GoTo eh strReport = Me.lstGroupOptions.Column(6) DoCmd.OpenReport strReport, acViewPreview ex: Exit Sub eh: If Err.Number = 2501 Then Call Step3Settings GoTo ex Else MsgBox Err.Description GoTo ex End If End Sub -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Thursday, August 14, 2003 10:54 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] How to evaluate if report was cancelled due to no data You can trap an error 2501, which is what will be returned to the calling routine but that will only tell you it has been cancelled, not why. You could raise a custom event from the report and sink it in the calling form. That would let the report tell you why it was cancelled. Charlotte Foust -----Original Message----- From: Susan Geller [mailto:sgeller at cce.umn.edu] Sent: Thursday, August 14, 2003 7:35 AM To: accessd at databaseadvisors.com Subject: [AccessD] How to evaluate if report was cancelled due to no data XP. I have a form that opens a report. In the report, I have: Private Sub Report_NoData(Cancel As Integer) MsgBox "There are no data to display for the criteria you selected.", vbOKOnly, "DataMart" Cancel = True End Sub All's well. PROBLEM: The report cancels, and it goes back to the line right after the open report line of code. At that point, I want to evaluate to see if the report was cancelled so that I can do one thing if it was cancelled due to no data and do something else if it wasn't. How can I do this? --Susan Susan B. Geller Office of Information Systems College of Continuing Education University of Minnesota 306 Wesbrook Hall 77 Pleasant Street SE Minneapolis, MN 55455 Phone: 612-626-4785 Fax: 612-625-2568 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jcolby at colbyconsulting.com Thu Aug 14 11:17:54 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Thu, 14 Aug 2003 12:17:54 -0400 Subject: [AccessD] Setting A2K combo box rowsource using ADO - SOLVED In-Reply-To: Message-ID: Is this A2K? I don't find a recordset property for a combo in A2K. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of jeffrey.demulling at usbank.com Sent: Thursday, August 14, 2003 11:51 AM To: Access Developers discussion and problem solving Subject: [AccessD] Setting A2K combo box rowsource using ADO - SOLVED Just wanted to let you know that I solved my problem. The first step was to use the right connection string (was using the MS SQL provider instead of the SQLBASE). The next step was to change the following: Me.cmbACSName.RowSource = rsName to Set Forms![frmDisableUser].cmbACSName.Recordset = rsName Now everything is working just fine. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From viner at EUnet.yu Thu Aug 14 11:16:02 2003 From: viner at EUnet.yu (Brindza Ervin) Date: Thu, 14 Aug 2003 18:16:02 +0200 Subject: [AccessD] Deploying 3 different versions References: Message-ID: <005d01c3627f$c680bc00$7005f0d5@default> ----- Original Message ----- From: Eric Barro To: Access Developers discussion and problem solving Sent: Thursday, August 14, 2003 5:40 PM Subject: RE: [AccessD] Deploying 3 different versions Use a VB front end! LOL... Why not VBA? E. -------------- next part -------------- An HTML attachment was scrubbed... URL: From cfoust at infostatsystems.com Thu Aug 14 11:25:32 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 14 Aug 2003 09:25:32 -0700 Subject: [AccessD] How to evaluate if report was cancelled due to no data Message-ID: Are you saying that even though an error 2501 is returned, the error handler doesn't drop into that part of the routine? That doesn't make any sense. Did you put a breakpoint into the error handler to make sure the Step3Settings wasn't returning an error? Charlotte Foust -----Original Message----- From: Susan Geller [mailto:sgeller at cce.umn.edu] Sent: Thursday, August 14, 2003 8:17 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] How to evaluate if report was cancelled due to no data Charlotte, Here's the code that I have (abbreviated) in the event that opens the report. When I step through, the Err.Number is in fact 2501, but the code goes to the Else part of my If logic. Ideas? Private Sub cmdNext3_Click() On Error GoTo eh strReport = Me.lstGroupOptions.Column(6) DoCmd.OpenReport strReport, acViewPreview ex: Exit Sub eh: If Err.Number = 2501 Then Call Step3Settings GoTo ex Else MsgBox Err.Description GoTo ex End If End Sub -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Thursday, August 14, 2003 10:54 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] How to evaluate if report was cancelled due to no data You can trap an error 2501, which is what will be returned to the calling routine but that will only tell you it has been cancelled, not why. You could raise a custom event from the report and sink it in the calling form. That would let the report tell you why it was cancelled. Charlotte Foust -----Original Message----- From: Susan Geller [mailto:sgeller at cce.umn.edu] Sent: Thursday, August 14, 2003 7:35 AM To: accessd at databaseadvisors.com Subject: [AccessD] How to evaluate if report was cancelled due to no data XP. I have a form that opens a report. In the report, I have: Private Sub Report_NoData(Cancel As Integer) MsgBox "There are no data to display for the criteria you selected.", vbOKOnly, "DataMart" Cancel = True End Sub All's well. PROBLEM: The report cancels, and it goes back to the line right after the open report line of code. At that point, I want to evaluate to see if the report was cancelled so that I can do one thing if it was cancelled due to no data and do something else if it wasn't. How can I do this? --Susan Susan B. Geller Office of Information Systems College of Continuing Education University of Minnesota 306 Wesbrook Hall 77 Pleasant Street SE Minneapolis, MN 55455 Phone: 612-626-4785 Fax: 612-625-2568 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bheid at appdevgrp.com Thu Aug 14 11:28:50 2003 From: bheid at appdevgrp.com (Bobby Heid) Date: Thu, 14 Aug 2003 12:28:50 -0400 Subject: [AccessD] Queries not pulling from Source Safe - SOLVED In-Reply-To: <916187228923D311A6FE00A0CC3FAA305A4F5D@ADGSERVER> Message-ID: <916187228923D311A6FE00A0CC3FAA301F593A@ADGSERVER> Hi all, A while back, I asked the list about an issue where we had 8 or so queries (out of a couple of hundred) that were not being populated (it was brought down, but was empty) when building an app from SS. There were no solutions offered that corrected the problem. Well, I found out today (by accident) that if I let Access 97 save the queries in SQL format, that they will load properly from SS! WOOO HOOOO!!!!! Posting to put my workaround in the archives. Bobby From jeffrey.demulling at usbank.com Thu Aug 14 11:32:14 2003 From: jeffrey.demulling at usbank.com (jeffrey.demulling at usbank.com) Date: Thu, 14 Aug 2003 11:32:14 -0500 Subject: [AccessD] Setting A2K combo box rowsource using ADO - SOLVED Message-ID: I am doing it using XP but the db format is A2K. Can only do this through code. I am doing this in the on open event and I leave the combo box's rowsource blank but the rowsource type is set to "Table/Query". There are no tables with the program. I am doing everything through ADO. The thought being that when this moves from an Access db to a SQL server I will only have to change the setconnection module to point to a SQL server and not an Access db for getting the app working quickly. Then I would be going back and creating the SPs and changing the code where needed. This will not work in A97. Here is a code sample: Private Sub Form_Open(Cancel As Integer) Dim con As New ADODB.Connection Dim RS As New ADODB.Recordset Dim cmdtext As String Me.txtContactName = "" Me.txtCompanyName = "" Me.txtPhone = "" Me.txtFax = "" Me.txtE_Mail = "" Me.cmbDeliveryMethod = "" Me.txtContactName.SetFocus cmdtext = "SELECT DISTINCTROW" cmdtext = cmdtext & " tblDeliveryMethods.DeliveryNumber," cmdtext = cmdtext & " tblDeliveryMethods.DeliveryName" cmdtext = cmdtext & " FROM tblDeliveryMethods;" Set rsName = New ADODB.Recordset rsName.CursorLocation = adUseClient rsName.Open cmdtext, setconnection, adOpenKeyset, adLockReadOnly Set Forms![frmContacts-Add].cmbDeliveryMethod.Recordset = rsName End Sub "John Colby" Sent by: cc: accessd-bounces at databasead Subject: RE: [AccessD] Setting A2K combo box rowsource using ADO - visors.com SOLVED 08/14/2003 11:17 AM Please respond to "Access Developers discussion and problem solving" Is this A2K? I don't find a recordset property for a combo in A2K. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of jeffrey.demulling at usbank.com Sent: Thursday, August 14, 2003 11:51 AM To: Access Developers discussion and problem solving Subject: [AccessD] Setting A2K combo box rowsource using ADO - SOLVED Just wanted to let you know that I solved my problem. The first step was to use the right connection string (was using the MS SQL provider instead of the SQLBASE). The next step was to change the following: Me.cmbACSName.RowSource = rsName to Set Forms![frmDisableUser].cmbACSName.Recordset = rsName Now everything is working just fine. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jcolby at colbyconsulting.com Thu Aug 14 11:35:35 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Thu, 14 Aug 2003 12:35:35 -0400 Subject: [AccessD] Queries not pulling from Source Safe - SOLVED In-Reply-To: <916187228923D311A6FE00A0CC3FAA301F593A@ADGSERVER> Message-ID: Good find! John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Bobby Heid Sent: Thursday, August 14, 2003 12:29 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Queries not pulling from Source Safe - SOLVED Hi all, A while back, I asked the list about an issue where we had 8 or so queries (out of a couple of hundred) that were not being populated (it was brought down, but was empty) when building an app from SS. There were no solutions offered that corrected the problem. Well, I found out today (by accident) that if I let Access 97 save the queries in SQL format, that they will load properly from SS! WOOO HOOOO!!!!! Posting to put my workaround in the archives. Bobby _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jcolby at colbyconsulting.com Thu Aug 14 11:38:54 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Thu, 14 Aug 2003 12:38:54 -0400 Subject: [AccessD] Setting A2K combo box rowsource using ADO - SOLVED In-Reply-To: Message-ID: The likelihood approaches unity that this will only work in AXP. I have looked at all of the properties of the combo box in the object browser in A2K and there is no such property for the combo in A2K. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of jeffrey.demulling at usbank.com Sent: Thursday, August 14, 2003 12:32 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Setting A2K combo box rowsource using ADO - SOLVED I am doing it using XP but the db format is A2K. Can only do this through code. I am doing this in the on open event and I leave the combo box's rowsource blank but the rowsource type is set to "Table/Query". There are no tables with the program. I am doing everything through ADO. The thought being that when this moves from an Access db to a SQL server I will only have to change the setconnection module to point to a SQL server and not an Access db for getting the app working quickly. Then I would be going back and creating the SPs and changing the code where needed. This will not work in A97. Here is a code sample: Private Sub Form_Open(Cancel As Integer) Dim con As New ADODB.Connection Dim RS As New ADODB.Recordset Dim cmdtext As String Me.txtContactName = "" Me.txtCompanyName = "" Me.txtPhone = "" Me.txtFax = "" Me.txtE_Mail = "" Me.cmbDeliveryMethod = "" Me.txtContactName.SetFocus cmdtext = "SELECT DISTINCTROW" cmdtext = cmdtext & " tblDeliveryMethods.DeliveryNumber," cmdtext = cmdtext & " tblDeliveryMethods.DeliveryName" cmdtext = cmdtext & " FROM tblDeliveryMethods;" Set rsName = New ADODB.Recordset rsName.CursorLocation = adUseClient rsName.Open cmdtext, setconnection, adOpenKeyset, adLockReadOnly Set Forms![frmContacts-Add].cmbDeliveryMethod.Recordset = rsName End Sub "John Colby" Sent by: cc: accessd-bounces at databasead Subject: RE: [AccessD] Setting A2K combo box rowsource using ADO - visors.com SOLVED 08/14/2003 11:17 AM Please respond to "Access Developers discussion and problem solving" Is this A2K? I don't find a recordset property for a combo in A2K. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of jeffrey.demulling at usbank.com Sent: Thursday, August 14, 2003 11:51 AM To: Access Developers discussion and problem solving Subject: [AccessD] Setting A2K combo box rowsource using ADO - SOLVED Just wanted to let you know that I solved my problem. The first step was to use the right connection string (was using the MS SQL provider instead of the SQLBASE). The next step was to change the following: Me.cmbACSName.RowSource = rsName to Set Forms![frmDisableUser].cmbACSName.Recordset = rsName Now everything is working just fine. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From RGeldart at detma.org Thu Aug 14 12:03:17 2003 From: RGeldart at detma.org (Geldart, Robert) Date: Thu, 14 Aug 2003 13:03:17 -0400 Subject: [AccessD] How to evaluate if report was cancelled due to no d ata Message-ID: Susan, Try putting error number in quotes, as a string: if Err.Number = "2501" then -----Original Message----- From: Susan Geller [mailto:sgeller at cce.umn.edu] Sent: Thursday, August 14, 2003 12:17 PM To: Access Developers discussion and problem solving Subject: [AccessD] How to evaluate if report was cancelled due to no data Charlotte, Here's the code that I have (abbreviated) in the event that opens the report. When I step through, the Err.Number is in fact 2501, but the code goes to the Else part of my If logic. Ideas? Private Sub cmdNext3_Click() On Error GoTo eh strReport = Me.lstGroupOptions.Column(6) DoCmd.OpenReport strReport, acViewPreview ex: Exit Sub eh: If Err.Number = 2501 Then Call Step3Settings GoTo ex Else MsgBox Err.Description GoTo ex End If End Sub -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Thursday, August 14, 2003 10:54 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] How to evaluate if report was cancelled due to no data You can trap an error 2501, which is what will be returned to the calling routine but that will only tell you it has been cancelled, not why. You could raise a custom event from the report and sink it in the calling form. That would let the report tell you why it was cancelled. Charlotte Foust -----Original Message----- From: Susan Geller [mailto:sgeller at cce.umn.edu] Sent: Thursday, August 14, 2003 7:35 AM To: accessd at databaseadvisors.com Subject: [AccessD] How to evaluate if report was cancelled due to no data XP. I have a form that opens a report. In the report, I have: Private Sub Report_NoData(Cancel As Integer) MsgBox "There are no data to display for the criteria you selected.", vbOKOnly, "DataMart" Cancel = True End Sub All's well. PROBLEM: The report cancels, and it goes back to the line right after the open report line of code. At that point, I want to evaluate to see if the report was cancelled so that I can do one thing if it was cancelled due to no data and do something else if it wasn't. How can I do this? --Susan Susan B. Geller Office of Information Systems College of Continuing Education University of Minnesota 306 Wesbrook Hall 77 Pleasant Street SE Minneapolis, MN 55455 Phone: 612-626-4785 Fax: 612-625-2568 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Lambert.Heenan at AIG.com Thu Aug 14 12:03:30 2003 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Thu, 14 Aug 2003 13:03:30 -0400 Subject: [AccessD] How to evaluate if report was cancelled due to no d ata Message-ID: <8B98F8EA48F8BA47A2F24E0D0AF40CF407AD75DB@xlivmbx12.aig.com> Have you tried decompiling the database? > -----Original Message----- > From: Susan Geller [SMTP:sgeller at cce.umn.edu] > Sent: Thursday, August 14, 2003 12:17 PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] How to evaluate if report was cancelled due to > no data > > Charlotte, > > Here's the code that I have (abbreviated) in the event that opens the > report. When I step through, the Err.Number is in fact 2501, but the > code goes to the Else part of my If logic. Ideas? > > Private Sub cmdNext3_Click() > On Error GoTo eh > > strReport = Me.lstGroupOptions.Column(6) > DoCmd.OpenReport strReport, acViewPreview > > ex: > Exit Sub > eh: > If Err.Number = 2501 Then > Call Step3Settings > GoTo ex > Else > MsgBox Err.Description > GoTo ex > End If > End Sub > > > > -----Original Message----- > From: Charlotte Foust [mailto:cfoust at infostatsystems.com] > Sent: Thursday, August 14, 2003 10:54 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] How to evaluate if report was cancelled due to no > data > > > You can trap an error 2501, which is what will be returned to the > calling routine but that will only tell you it has been cancelled, not > why. You could raise a custom event from the report and sink it in the > calling form. That would let the report tell you why it was cancelled. > > Charlotte Foust > > -----Original Message----- > From: Susan Geller [mailto:sgeller at cce.umn.edu] > Sent: Thursday, August 14, 2003 7:35 AM > To: accessd at databaseadvisors.com > Subject: [AccessD] How to evaluate if report was cancelled due to no > data > > > XP. I have a form that opens a report. In the report, I have: > > Private Sub Report_NoData(Cancel As Integer) > MsgBox "There are no data to display for the criteria you selected.", > vbOKOnly, "DataMart" Cancel = True End Sub > > All's well. > > PROBLEM: The report cancels, and it goes back to the line right after > the open report line of code. At that point, I want to evaluate to see > if the report was cancelled so that I can do one thing if it was > cancelled due to no data and do something else if it wasn't. How can I > do this? > > --Susan > > > Susan B. Geller > Office of Information Systems > College of Continuing Education > University of Minnesota > 306 Wesbrook Hall > 77 Pleasant Street SE > Minneapolis, MN 55455 > Phone: 612-626-4785 > Fax: 612-625-2568 > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Thu Aug 14 12:06:33 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 14 Aug 2003 10:06:33 -0700 Subject: [AccessD] How to evaluate if report was cancelled due to no data Message-ID: Errors are returned as longs, not strings. Charlotte Foust -----Original Message----- From: Geldart, Robert [mailto:RGeldart at detma.org] Sent: Thursday, August 14, 2003 9:03 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] How to evaluate if report was cancelled due to no data Susan, Try putting error number in quotes, as a string: if Err.Number = "2501" then -----Original Message----- From: Susan Geller [mailto:sgeller at cce.umn.edu] Sent: Thursday, August 14, 2003 12:17 PM To: Access Developers discussion and problem solving Subject: [AccessD] How to evaluate if report was cancelled due to no data Charlotte, Here's the code that I have (abbreviated) in the event that opens the report. When I step through, the Err.Number is in fact 2501, but the code goes to the Else part of my If logic. Ideas? Private Sub cmdNext3_Click() On Error GoTo eh strReport = Me.lstGroupOptions.Column(6) DoCmd.OpenReport strReport, acViewPreview ex: Exit Sub eh: If Err.Number = 2501 Then Call Step3Settings GoTo ex Else MsgBox Err.Description GoTo ex End If End Sub -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Thursday, August 14, 2003 10:54 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] How to evaluate if report was cancelled due to no data You can trap an error 2501, which is what will be returned to the calling routine but that will only tell you it has been cancelled, not why. You could raise a custom event from the report and sink it in the calling form. That would let the report tell you why it was cancelled. Charlotte Foust -----Original Message----- From: Susan Geller [mailto:sgeller at cce.umn.edu] Sent: Thursday, August 14, 2003 7:35 AM To: accessd at databaseadvisors.com Subject: [AccessD] How to evaluate if report was cancelled due to no data XP. I have a form that opens a report. In the report, I have: Private Sub Report_NoData(Cancel As Integer) MsgBox "There are no data to display for the criteria you selected.", vbOKOnly, "DataMart" Cancel = True End Sub All's well. PROBLEM: The report cancels, and it goes back to the line right after the open report line of code. At that point, I want to evaluate to see if the report was cancelled so that I can do one thing if it was cancelled due to no data and do something else if it wasn't. How can I do this? --Susan Susan B. Geller Office of Information Systems College of Continuing Education University of Minnesota 306 Wesbrook Hall 77 Pleasant Street SE Minneapolis, MN 55455 Phone: 612-626-4785 Fax: 612-625-2568 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Aug 14 12:12:22 2003 From: jimdettman at earthlink.net (Jim Dettman) Date: Thu, 14 Aug 2003 13:12:22 -0400 Subject: [AccessD] Indexes on text fields In-Reply-To: Message-ID: John, <> That's why I'm asking. I have pretty much read everything there is to read about JET over the past 10 years, and I've never seen anything on this. <<[Fielda] & Random() & [Fieldb] & ascii(right$("John Colby",1)) How in the world is any index on FieldA and FieldB going to help you sort that expression into logical order?>> Rushmore works by making merges/intersections between indexes. JET queries as we all know are very aware of the underlying tables. This has been a key feature of Access/JET since day 1. JET may be smart enough to figure out that the logical order is based on two fields it already has indexes for. Then again it may not be. <> It knows the field names and what tables they come from. <> Yes, but that wasn't the example Mark gave. <> That seems to be the case, but do you really know for sure? I don't believe you do. I'm not saying your wrong, but I don't think you can state it as a fact, unless you have seen docs on JET's internal workings. That's why I asked you to cite a source. It's just like the myth that got started about domain functions always being the slowest of methods. This is not the case as in some situations, a domain function can actually beat every other method. That floated around for several years until someone sat down and tested it and found it not to be true. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Colby Sent: Thursday, August 14, 2003 10:09 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Indexes on text fields <> From wdhindman at bellsouth.net Thu Aug 14 12:24:33 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Thu, 14 Aug 2003 13:24:33 -0400 Subject: [AccessD] Summer Intern Software:( References: <00b301c3625f$d6943c40$7d388141@servone><008001c36268$4c361740$e8ecffcc@SusanOne> <011201c3626f$c30ff280$7d388141@servone> Message-ID: <004201c36288$edb93c80$6001a8c0@dejpolsys> Nancy ...I run into this all the time as an independent ...I get called in to fix other people's mistakes ...and they're always convinced it only a "small" problem to fix it ...I usually start by using the FMS Analyzer to get a pretty good breakdown of all the things that need immediate attention ...FMS does a pretty thorough job of walking the code and identifying all the types of problems you mentioned ...saves a tremendous amount of time and the report it produces is pretty damning evidence to back up your position with ...HTH :) William Hindman So, then, to every man his chance -- to every man, regardless of his birth, his shining golden opportunity -- to every man his right to live, to work, to be himself, to become whatever his manhood and his vision can combine to make him -- this, seeker, is the promise of America. -- Thomas Wolfe ----- Original Message ----- From: Nancy Lytle To: Access Developers discussion and problem solving Sent: Thursday, August 14, 2003 10:24 AM Subject: Re: [AccessD] Summer Intern Software:( Unfortunately, no choice about it. I think I will just have to break it down into some kind of report, letting her know (she didn't hire the intern - that was done by her "client" - I am a subcontractor to a contractor to a Federal agency) exactly where the database stands and what needs to be done. Nancy ----- Original Message ----- From: Susan Harkins To: Access Developers discussion and problem solving Sent: Thursday, August 14, 2003 9:15 AM Subject: Re: [AccessD] Summer Intern Software:( Are you in a position to say no? Or, are you in a position to charge a ton of money for it? Putting yourself into the fire because someone on their end made a bad hiring decision isn't a great idea -- if you've got a choice about it. Susan H. Boy, does that have me laughing and crying right now. I have just been given a database that was developed by a summer intern who had absolutely no experience with Access before he started this project. There is no documentation, except for some sheet laying out of schedule of when milestones were to be met. ---------------------------------------------------------------------------- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.509 / Virus Database: 306 - Release Date: 8/12/2003 ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From sgeller at cce.umn.edu Thu Aug 14 12:43:56 2003 From: sgeller at cce.umn.edu (Susan Geller) Date: Thu, 14 Aug 2003 12:43:56 -0500 Subject: [AccessD] How to evaluate if report was cancelled due to no data Message-ID: Yes, I have a breakpoint on the line If Err.Number = 2051 and the code does stop there. When I hit F8, the next line the code goes to is Else. I put a breakpoint at the routine for CallStep3Settings but it doesn't even go there. --Susan -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Thursday, August 14, 2003 11:26 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] How to evaluate if report was cancelled due to no data Are you saying that even though an error 2501 is returned, the error handler doesn't drop into that part of the routine? That doesn't make any sense. Did you put a breakpoint into the error handler to make sure the Step3Settings wasn't returning an error? Charlotte Foust -----Original Message----- From: Susan Geller [mailto:sgeller at cce.umn.edu] Sent: Thursday, August 14, 2003 8:17 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] How to evaluate if report was cancelled due to no data Charlotte, Here's the code that I have (abbreviated) in the event that opens the report. When I step through, the Err.Number is in fact 2501, but the code goes to the Else part of my If logic. Ideas? Private Sub cmdNext3_Click() On Error GoTo eh strReport = Me.lstGroupOptions.Column(6) DoCmd.OpenReport strReport, acViewPreview ex: Exit Sub eh: If Err.Number = 2501 Then Call Step3Settings GoTo ex Else MsgBox Err.Description GoTo ex End If End Sub -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Thursday, August 14, 2003 10:54 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] How to evaluate if report was cancelled due to no data You can trap an error 2501, which is what will be returned to the calling routine but that will only tell you it has been cancelled, not why. You could raise a custom event from the report and sink it in the calling form. That would let the report tell you why it was cancelled. Charlotte Foust -----Original Message----- From: Susan Geller [mailto:sgeller at cce.umn.edu] Sent: Thursday, August 14, 2003 7:35 AM To: accessd at databaseadvisors.com Subject: [AccessD] How to evaluate if report was cancelled due to no data XP. I have a form that opens a report. In the report, I have: Private Sub Report_NoData(Cancel As Integer) MsgBox "There are no data to display for the criteria you selected.", vbOKOnly, "DataMart" Cancel = True End Sub All's well. PROBLEM: The report cancels, and it goes back to the line right after the open report line of code. At that point, I want to evaluate to see if the report was cancelled so that I can do one thing if it was cancelled due to no data and do something else if it wasn't. How can I do this? --Susan Susan B. Geller Office of Information Systems College of Continuing Education University of Minnesota 306 Wesbrook Hall 77 Pleasant Street SE Minneapolis, MN 55455 Phone: 612-626-4785 Fax: 612-625-2568 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Thu Aug 14 12:50:38 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 14 Aug 2003 10:50:38 -0700 Subject: [AccessD] How to evaluate if report was cancelled due to no data Message-ID: Well, it will stop there even if the error isn't 2501. Have you tried printing out the value of Err.Number in the immediate window to be sure that *is* the error you're handling? Charlotte Foust -----Original Message----- From: Susan Geller [mailto:sgeller at cce.umn.edu] Sent: Thursday, August 14, 2003 9:44 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] How to evaluate if report was cancelled due to no data Yes, I have a breakpoint on the line If Err.Number = 2051 and the code does stop there. When I hit F8, the next line the code goes to is Else. I put a breakpoint at the routine for CallStep3Settings but it doesn't even go there. --Susan -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Thursday, August 14, 2003 11:26 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] How to evaluate if report was cancelled due to no data Are you saying that even though an error 2501 is returned, the error handler doesn't drop into that part of the routine? That doesn't make any sense. Did you put a breakpoint into the error handler to make sure the Step3Settings wasn't returning an error? Charlotte Foust -----Original Message----- From: Susan Geller [mailto:sgeller at cce.umn.edu] Sent: Thursday, August 14, 2003 8:17 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] How to evaluate if report was cancelled due to no data Charlotte, Here's the code that I have (abbreviated) in the event that opens the report. When I step through, the Err.Number is in fact 2501, but the code goes to the Else part of my If logic. Ideas? Private Sub cmdNext3_Click() On Error GoTo eh strReport = Me.lstGroupOptions.Column(6) DoCmd.OpenReport strReport, acViewPreview ex: Exit Sub eh: If Err.Number = 2501 Then Call Step3Settings GoTo ex Else MsgBox Err.Description GoTo ex End If End Sub -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Thursday, August 14, 2003 10:54 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] How to evaluate if report was cancelled due to no data You can trap an error 2501, which is what will be returned to the calling routine but that will only tell you it has been cancelled, not why. You could raise a custom event from the report and sink it in the calling form. That would let the report tell you why it was cancelled. Charlotte Foust -----Original Message----- From: Susan Geller [mailto:sgeller at cce.umn.edu] Sent: Thursday, August 14, 2003 7:35 AM To: accessd at databaseadvisors.com Subject: [AccessD] How to evaluate if report was cancelled due to no data XP. I have a form that opens a report. In the report, I have: Private Sub Report_NoData(Cancel As Integer) MsgBox "There are no data to display for the criteria you selected.", vbOKOnly, "DataMart" Cancel = True End Sub All's well. PROBLEM: The report cancels, and it goes back to the line right after the open report line of code. At that point, I want to evaluate to see if the report was cancelled so that I can do one thing if it was cancelled due to no data and do something else if it wasn't. How can I do this? --Susan Susan B. Geller Office of Information Systems College of Continuing Education University of Minnesota 306 Wesbrook Hall 77 Pleasant Street SE Minneapolis, MN 55455 Phone: 612-626-4785 Fax: 612-625-2568 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From CSPELL at jhuccp.org Thu Aug 14 13:12:12 2003 From: CSPELL at jhuccp.org (CYNTHIA SPELL) Date: Thu, 14 Aug 2003 14:12:12 -0400 Subject: [AccessD] Excel pivot table to Access table Message-ID: I've looked in the archives and in the help files, but cannot find an answer... I need to take an Excel pivot table and update a database table with the information. The spreadsheet has PEOPLEID in the first column, various budget numbers in the first row, and percentages as values. The fields in the Access table that I need to update include PEOPLE ID, BudgetNumber, and Percent. Can anyone get me started or suggest a place to read about how I can do this? I converted the pivot table to an Access crosstab, but then I don't know how to get the data into the table. Thanks. Cindy From JHewson at karta.com Thu Aug 14 13:13:12 2003 From: JHewson at karta.com (Jim Hewson) Date: Thu, 14 Aug 2003 13:13:12 -0500 Subject: [AccessD] WizGen Message-ID: <353A32F9B331D411BB8F00A0C9FC503701294D2B@NT04> Arthur, Your question intrigued me. I was waiting for someone to answer your question. Did you find your copy of WizGen or did someone send you one? What is it? Jim -----Original Message----- From: Arthur Fuller [mailto:artful at rogers.com] Sent: Wednesday, August 13, 2003 12:42 PM To: AccessD Subject: [AccessD] WizGen I have misplaced my copy of a wizard generator for Access. Does anyone have it or an URL to it? TIA, Arthur _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DMcAfee at haascnc.com Thu Aug 14 13:37:55 2003 From: DMcAfee at haascnc.com (David McAfee) Date: Thu, 14 Aug 2003 11:37:55 -0700 Subject: [AccessD] Setting A2K combo box rowsource using ADO - SOLVED Message-ID: <657FB70438B7D311AF320090279C1801026D7B2A@EXCHMAIL> You will have to use a call-back in A2K or A97 if you are only using ADO and not binding the control to a query or table. IF you jump up to SQL, you can simply set the rowsource to a view (as you would currently a query) or Stored procedure. A common line of code I use in my A2K ADP (when passing an input parameter) is Private Sub Form_Load() Me.lstYourListBox.rowsource = "EXEC YourStoredProcedure YourParameter,rs" End Sub HTH David McAfee -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of jeffrey.demulling at usbank.com Sent: Thursday, August 14, 2003 9:32 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Setting A2K combo box rowsource using ADO - SOLVED I am doing it using XP but the db format is A2K. Can only do this through code. I am doing this in the on open event and I leave the combo box's rowsource blank but the rowsource type is set to "Table/Query". There are no tables with the program. I am doing everything through ADO. The thought being that when this moves from an Access db to a SQL server I will only have to change the setconnection module to point to a SQL server and not an Access db for getting the app working quickly. Then I would be going back and creating the SPs and changing the code where needed. This will not work in A97. Here is a code sample: Private Sub Form_Open(Cancel As Integer) Dim con As New ADODB.Connection Dim RS As New ADODB.Recordset Dim cmdtext As String Me.txtContactName = "" Me.txtCompanyName = "" Me.txtPhone = "" Me.txtFax = "" Me.txtE_Mail = "" Me.cmbDeliveryMethod = "" Me.txtContactName.SetFocus cmdtext = "SELECT DISTINCTROW" cmdtext = cmdtext & " tblDeliveryMethods.DeliveryNumber," cmdtext = cmdtext & " tblDeliveryMethods.DeliveryName" cmdtext = cmdtext & " FROM tblDeliveryMethods;" Set rsName = New ADODB.Recordset rsName.CursorLocation = adUseClient rsName.Open cmdtext, setconnection, adOpenKeyset, adLockReadOnly Set Forms![frmContacts-Add].cmbDeliveryMethod.Recordset = rsName End Sub From jcolby at colbyconsulting.com Thu Aug 14 13:43:06 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Thu, 14 Aug 2003 14:43:06 -0400 Subject: [AccessD] Indexes on text fields In-Reply-To: Message-ID: Jim, Since no one (I know) knows the internals of JET, I am not going to argue with you on that account. In fact, I am not going to argue with you at all. If you wish to believe (or hope, or pray) that Jet can magically parse a bunch of stuff used to create an appended string back into it's components, and then use that information to decide whether or not to attempt to apply Rushmore to whatever pieces it can determine comes from table fields.... uh... Can I state it as a fact. Of course not. What I can say is that I have a very good class for timing stuff down to milli-second increments. Anyone who wishes to may use that class to empirically time such queries. I will be willing to bet good money, up to a month's wages (I'm "unemployed" of course) against an equal number of doughnuts that you will find, 100 times out of 100 times, that attempting to apply a sort to such a field will, each and every time, be an order of magnitude slower than using the component fields yourself to perform the sort. And of course, having done that, one still can't state as FACT that Jet isn't attempting to use Rushmore to perform the sort on the appended string field. And yes, I have read it in various places over the years. I have long ago lost the ability to recall where I read every piece of information I have read. So let's not start any myths here. I do not know for a fact that Jet doesn't use Rushmore (or anything else) to attempt to optimize such queries. I simply have the sense to look at what would be required, the silliness of the concept, and the results I have seen in my personal experience, and state that I know, without a shadow of a doubt, that Access makes no attempt to apply such methods to a sort of an appended string. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Dettman Sent: Thursday, August 14, 2003 1:12 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Indexes on text fields John, <> That's why I'm asking. I have pretty much read everything there is to read about JET over the past 10 years, and I've never seen anything on this. <<[Fielda] & Random() & [Fieldb] & ascii(right$("John Colby",1)) How in the world is any index on FieldA and FieldB going to help you sort that expression into logical order?>> Rushmore works by making merges/intersections between indexes. JET queries as we all know are very aware of the underlying tables. This has been a key feature of Access/JET since day 1. JET may be smart enough to figure out that the logical order is based on two fields it already has indexes for. Then again it may not be. <> It knows the field names and what tables they come from. <> Yes, but that wasn't the example Mark gave. <> That seems to be the case, but do you really know for sure? I don't believe you do. I'm not saying your wrong, but I don't think you can state it as a fact, unless you have seen docs on JET's internal workings. That's why I asked you to cite a source. It's just like the myth that got started about domain functions always being the slowest of methods. This is not the case as in some situations, a domain function can actually beat every other method. That floated around for several years until someone sat down and tested it and found it not to be true. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Colby Sent: Thursday, August 14, 2003 10:09 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Indexes on text fields <> _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mwp.reid at qub.ac.uk Thu Aug 14 21:42:52 2003 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Thu, 14 Aug 2003 19:42:52 -0700 Subject: [AccessD] Summer Intern Software:( References: <00b301c3625f$d6943c40$7d388141@servone><008001c36268$4c361740$e8ecffcc@SusanOne> <011201c3626f$c30ff280$7d388141@servone> <004201c36288$edb93c80$6001a8c0@dejpolsys> Message-ID: <00a501c362d6$ed0f9290$0f0b6351@martin1> Couple of years ago I did an overhaul of a major system. Absolute PITA, nightmare. Worst work I ever said yes to. Never again! Martin ----- Original Message ----- From: William Hindman To: Access Developers discussion and problem solving Sent: Thursday, August 14, 2003 10:24 AM Subject: Re: [AccessD] Summer Intern Software:( Nancy ...I run into this all the time as an independent ...I get called in to fix other people's mistakes ...and they're always convinced it only a "small" problem to fix it ...I usually start by using the FMS Analyzer to get a pretty good breakdown of all the things that need immediate attention ...FMS does a pretty thorough job of walking the code and identifying all the types of problems you mentioned ...saves a tremendous amount of time and the report it produces is pretty damning evidence to back up your position with ...HTH :) William Hindman So, then, to every man his chance -- to every man, regardless of his birth, his shining golden opportunity -- to every man his right to live, to work, to be himself, to become whatever his manhood and his vision can combine to make him -- this, seeker, is the promise of America. -- Thomas Wolfe ----- Original Message ----- From: Nancy Lytle To: Access Developers discussion and problem solving Sent: Thursday, August 14, 2003 10:24 AM Subject: Re: [AccessD] Summer Intern Software:( Unfortunately, no choice about it. I think I will just have to break it down into some kind of report, letting her know (she didn't hire the intern - that was done by her "client" - I am a subcontractor to a contractor to a Federal agency) exactly where the database stands and what needs to be done. Nancy ----- Original Message ----- From: Susan Harkins To: Access Developers discussion and problem solving Sent: Thursday, August 14, 2003 9:15 AM Subject: Re: [AccessD] Summer Intern Software:( Are you in a position to say no? Or, are you in a position to charge a ton of money for it? Putting yourself into the fire because someone on their end made a bad hiring decision isn't a great idea -- if you've got a choice about it. Susan H. Boy, does that have me laughing and crying right now. I have just been given a database that was developed by a summer intern who had absolutely no experience with Access before he started this project. There is no documentation, except for some sheet laying out of schedule of when milestones were to be met. -------------------------------------------------------------------------- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.509 / Virus Database: 306 - Release Date: 8/12/2003 ---------------------------------------------------------------------------- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From mwp.reid at qub.ac.uk Thu Aug 14 21:46:45 2003 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Thu, 14 Aug 2003 19:46:45 -0700 Subject: [AccessD] Setting A2K combo box rowsource using ADO - SOLVED References: Message-ID: <00ab01c362d7$7835ac60$0f0b6351@martin1> Try Rowsource instead of Recordset This is an example I got somewhere if g_oConnection = OpenConenction then Dim oRes As ADODB.Recordset Dim sListText As String Set oRes = New ADODB.Recordset Me.cboMyList.ColumnCount = 2 Me.cboMyList.BoundColumn = 1 Me.cboMyList.ColumnHeads = False Me.cboMyList.ColumnWidths = "0;1" Me.cboMyList.RowSourceType = "Value List" Me.cboMyList.DefaultValue = 0 oRes.Open "select * from tbMyTable order by label", g_oConnection, adOpenDynamic, adLockOptimistic sListText = "0;'';" While oRes.EOF = False sListText = sListText & oRes("ID").Value & ";" & oRes("Label").Value & ";" oRes.MoveNext Wend oRes.Close Me.cboMyList.RowSource = sListText Set oRes = Nothing CloseConnection end if ---------------------------------------------------------------------------- -------------------------------- ----- Original Message ----- From: To: "Access Developers discussion and problem solving" Sent: Thursday, August 14, 2003 9:32 AM Subject: RE: [AccessD] Setting A2K combo box rowsource using ADO - SOLVED > > I am doing it using XP but the db format is A2K. Can only do this through > code. I am doing this in the on open event and I leave the combo box's > rowsource blank but the rowsource type is set to "Table/Query". There are > no tables with the program. I am doing everything through ADO. The > thought being that when this moves from an Access db to a SQL server I will > only have to change the setconnection module to point to a SQL server and > not an Access db for getting the app working quickly. Then I would be > going back and creating the SPs and changing the code where needed. This > will not work in A97. > > Here is a code sample: > > Private Sub Form_Open(Cancel As Integer) > Dim con As New ADODB.Connection > Dim RS As New ADODB.Recordset > Dim cmdtext As String > > Me.txtContactName = "" > Me.txtCompanyName = "" > Me.txtPhone = "" > Me.txtFax = "" > Me.txtE_Mail = "" > Me.cmbDeliveryMethod = "" > > Me.txtContactName.SetFocus > > cmdtext = "SELECT DISTINCTROW" > cmdtext = cmdtext & " tblDeliveryMethods.DeliveryNumber," > cmdtext = cmdtext & " tblDeliveryMethods.DeliveryName" > cmdtext = cmdtext & " FROM tblDeliveryMethods;" > > Set rsName = New ADODB.Recordset > rsName.CursorLocation = adUseClient > rsName.Open cmdtext, setconnection, adOpenKeyset, adLockReadOnly > Set Forms![frmContacts-Add].cmbDeliveryMethod.Recordset = rsName > End Sub > > > > "John Colby" > m> > Sent by: cc: > accessd-bounces at databasead Subject: RE: [AccessD] Setting A2K combo box rowsource using ADO - > visors.com SOLVED > > > 08/14/2003 11:17 AM > Please respond to "Access > Developers discussion and > problem solving" > > > > > > > Is this A2K? I don't find a recordset property for a combo in A2K. > > John W. Colby > www.colbyconsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of > jeffrey.demulling at usbank.com > Sent: Thursday, August 14, 2003 11:51 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] Setting A2K combo box rowsource using ADO - SOLVED > > > > > Just wanted to let you know that I solved my problem. > > The first step was to use the right connection string (was using the MS SQL > provider instead of the SQLBASE). > > The next step was to change the following: > > Me.cmbACSName.RowSource = rsName > > to > > Set Forms![frmDisableUser].cmbACSName.Recordset = rsName > > Now everything is working just fine. > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Aug 14 13:59:45 2003 From: Erwin.Craps at ithelps.be (Erwin Craps) Date: Thu, 14 Aug 2003 20:59:45 +0200 Subject: [AccessD] ASP - getting started Message-ID: Something is turning your proxy server back on. I dont know about any apps dooing that... this is weird. Can this be the "use automaticly the configuration script" (thats translated from dutch and me be called diffenrently but its the second mark in IE network settings). It is however posible that this options is obligated by your provider. Then you will be needing to turn it on and of each time... Erwin -----Original Message----- From: Software Design & Solutions Pty Ltd. [mailto:SDSSoftware at optusnet.com.au] Sent: Thursday, August 14, 2003 2:33 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] ASP - getting started Thanks Erwin. OK - the ping localhost worked. I turned off proxy server (by going into IE, Tools, INternet Options, Connections, Lan Settings.) THere are 2 options there: 1) Use a proxy server, and 2) Bypasss proxy server fopr local addresses. I tried turning off 'Use a proxy server', clicked OK and then in IE when I am trying to enter the address of localhost the IE sessions just closes automatically. (Tried this a couple of times). And when I reopen IE the setting 'Use a proxy server' has been turned back on. (And I never go to see if localhost worked with the setting off). Then I tried turning on the option 'Bypass proxy server for local addresses', clicked OK and entered http:\\localhost and for the first time IT WORKED!! But then the IE sessions closed on me and when I reopen IE the setting has been turned off again. ----- Original Message ----- From: Erwin Craps To: Access Developers discussion and problem solving Sent: Wednesday, August 13, 2003 5:56 PM Subject: RE: [AccessD] ASP - getting started did you check the hosts file? To check if you have a good entry try to ping localhost from a command prompt. If that does not work, you have not or incorrectly added the localhost entry in your hosts file. If pinging does work, and http://localhost not, you probably using a proxy server. Turn it off and try again. -----Original Message----- From: Software Design & Solutions Pty Ltd. [mailto:SDSSoftware at optusnet.com.au] Sent: Tuesday, August 12, 2003 5:32 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] ASP - getting started No luck with Ctrl+F5. And I have reinstalled - no change. I have also restarted the machine since editing the hosts file and still no change. I'm going to make do with 127.0.0.1 for now until I nut out the prob with localhost. THanks Kath ----- Original Message ----- From: Haslett, Andrew To: 'Access Developers discussion and problem solving' Sent: Tuesday, August 12, 2003 12:00 PM Subject: RE: [AccessD] ASP - getting started I reckon its time to remove and reinstall IIS though. You can do it through Add/Remove programs. Cheers, Andrew -----Original Message----- From: Susan Harkins [mailto:harkins at iglou.com] Sent: Tuesday, 12 August 2003 11:08 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] ASP - getting started Kath; You might try a Shift Refresh, but there's another keystroke combination that's worked for me before, but I can't recall it now -- once I named my computer I stopped having the problem. Maybe someone else will know the combination? Susan H. Thanks Erwin - I am learning from all of you but still no luck with getting locahost to work. Now that I know to use 127.0.0.1 at least I can get into the help and will read through there...using http://127.0.0.1/iishelp IMPORTANT - PLEASE READ ******************** This email and any files transmitted with it are confidential and may contain information protected by law from disclosure. If you have received this message in error, please notify the sender immediately and delete this email from your system. No warranty is given that this email or files, if attached to this email, are free from computer viruses or other defects. They are provided on the basis the user assumes all responsibility for loss, damage or consequence resulting directly or indirectly from their use, whether caused by the negligence of the sender or not. _____ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _____ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From cfoust at infostatsystems.com Thu Aug 14 14:02:27 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 14 Aug 2003 12:02:27 -0700 Subject: [AccessD] Summer Intern Software:( Message-ID: The most annoying thing is when they keep saying "but why can't you make it work the same way?", when it doesn't really work at all!! Charlotte Foust -----Original Message----- From: Martin Reid [mailto:mwp.reid at qub.ac.uk] Sent: Thursday, August 14, 2003 6:43 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Summer Intern Software:( Couple of years ago I did an overhaul of a major system. Absolute PITA, nightmare. Worst work I ever said yes to. Never again! Martin ----- Original Message ----- From: William Hindman To: Access Developers discussion and problem solving Sent: Thursday, August 14, 2003 10:24 AM Subject: Re: [AccessD] Summer Intern Software:( Nancy ...I run into this all the time as an independent ...I get called in to fix other people's mistakes ...and they're always convinced it only a "small" problem to fix it ...I usually start by using the FMS Analyzer to get a pretty good breakdown of all the things that need immediate attention ...FMS does a pretty thorough job of walking the code and identifying all the types of problems you mentioned ...saves a tremendous amount of time and the report it produces is pretty damning evidence to back up your position with ...HTH :) William Hindman So, then, to every man his chance -- to every man, regardless of his birth, his shining golden opportunity -- to every man his right to live, to work, to be himself, to become whatever his manhood and his vision can combine to make him -- this, seeker, is the promise of America. -- Thomas Wolfe ----- Original Message ----- From: Nancy Lytle To: Access Developers discussion and problem solving Sent: Thursday, August 14, 2003 10:24 AM Subject: Re: [AccessD] Summer Intern Software:( Unfortunately, no choice about it. I think I will just have to break it down into some kind of report, letting her know (she didn't hire the intern - that was done by her "client" - I am a subcontractor to a contractor to a Federal agency) exactly where the database stands and what needs to be done. Nancy ----- Original Message ----- From: Susan Harkins To: Access Developers discussion and problem solving Sent: Thursday, August 14, 2003 9:15 AM Subject: Re: [AccessD] Summer Intern Software:( Are you in a position to say no? Or, are you in a position to charge a ton of money for it? Putting yourself into the fire because someone on their end made a bad hiring decision isn't a great idea -- if you've got a choice about it. Susan H. Boy, does that have me laughing and crying right now. I have just been given a database that was developed by a summer intern who had absolutely no experience with Access before he started this project. There is no documentation, except for some sheet laying out of schedule of when milestones were to be met. _____ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.509 / Virus Database: 306 - Release Date: 8/12/2003 _____ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _____ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From harkins at iglou.com Thu Aug 14 14:08:52 2003 From: harkins at iglou.com (Susan Harkins) Date: Thu, 14 Aug 2003 15:08:52 -0400 Subject: [AccessD] Summer Intern Software:( References: Message-ID: <004c01c36297$82406d70$9de6ffcc@SusanOne> MessageThat's when you say, "Oh, you want me to BREAK it??????????? I thought I was supposed to fix it!" and reach for a big hammer... Susan H. The most annoying thing is when they keep saying "but why can't you make it work the same way?", when it doesn't really work at all!! -------------- next part -------------- An HTML attachment was scrubbed... URL: From cfoust at infostatsystems.com Thu Aug 14 14:13:57 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 14 Aug 2003 12:13:57 -0700 Subject: [AccessD] Summer Intern Software:( Message-ID: The impluse is to reach for a really big GUN!! Charlotte Foust -----Original Message----- From: Susan Harkins [mailto:harkins at iglou.com] Sent: Thursday, August 14, 2003 11:09 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Summer Intern Software:( That's when you say, "Oh, you want me to BREAK it??????????? I thought I was supposed to fix it!" and reach for a big hammer... Susan H. The most annoying thing is when they keep saying "but why can't you make it work the same way?", when it doesn't really work at all!! -------------- next part -------------- An HTML attachment was scrubbed... URL: From mwp.reid at qub.ac.uk Thu Aug 14 23:05:26 2003 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Thu, 14 Aug 2003 21:05:26 -0700 Subject: [AccessD] Summer Intern Software:( References: Message-ID: <005301c362e2$75d8cfa0$0f0b6351@martin1> MessagePMSL That was the most common question I was asked. Why isnt it working the way it was>> You cnat win LOL Martin ----- Original Message ----- From: Charlotte Foust To: Access Developers discussion and problem solving Sent: Thursday, August 14, 2003 12:02 PM Subject: RE: [AccessD] Summer Intern Software:( The most annoying thing is when they keep saying "but why can't you make it work the same way?", when it doesn't really work at all!! Charlotte Foust -----Original Message----- From: Martin Reid [mailto:mwp.reid at qub.ac.uk] Sent: Thursday, August 14, 2003 6:43 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Summer Intern Software:( Couple of years ago I did an overhaul of a major system. Absolute PITA, nightmare. Worst work I ever said yes to. Never again! Martin ----- Original Message ----- From: William Hindman To: Access Developers discussion and problem solving Sent: Thursday, August 14, 2003 10:24 AM Subject: Re: [AccessD] Summer Intern Software:( Nancy ...I run into this all the time as an independent ...I get called in to fix other people's mistakes ...and they're always convinced it only a "small" problem to fix it ...I usually start by using the FMS Analyzer to get a pretty good breakdown of all the things that need immediate attention ...FMS does a pretty thorough job of walking the code and identifying all the types of problems you mentioned ...saves a tremendous amount of time and the report it produces is pretty damning evidence to back up your position with ...HTH :) William Hindman So, then, to every man his chance -- to every man, regardless of his birth, his shining golden opportunity -- to every man his right to live, to work, to be himself, to become whatever his manhood and his vision can combine to make him -- this, seeker, is the promise of America. -- Thomas Wolfe ----- Original Message ----- From: Nancy Lytle To: Access Developers discussion and problem solving Sent: Thursday, August 14, 2003 10:24 AM Subject: Re: [AccessD] Summer Intern Software:( Unfortunately, no choice about it. I think I will just have to break it down into some kind of report, letting her know (she didn't hire the intern - that was done by her "client" - I am a subcontractor to a contractor to a Federal agency) exactly where the database stands and what needs to be done. Nancy ----- Original Message ----- From: Susan Harkins To: Access Developers discussion and problem solving Sent: Thursday, August 14, 2003 9:15 AM Subject: Re: [AccessD] Summer Intern Software:( Are you in a position to say no? Or, are you in a position to charge a ton of money for it? Putting yourself into the fire because someone on their end made a bad hiring decision isn't a great idea -- if you've got a choice about it. Susan H. Boy, does that have me laughing and crying right now. I have just been given a database that was developed by a summer intern who had absolutely no experience with Access before he started this project. There is no documentation, except for some sheet laying out of schedule of when milestones were to be met. ---------------------------------------------------------------------- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.509 / Virus Database: 306 - Release Date: 8/12/2003 ------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------------------------------------------------------------------- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From mwp.reid at qub.ac.uk Thu Aug 14 23:07:22 2003 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Thu, 14 Aug 2003 21:07:22 -0700 Subject: [AccessD] Indexes on text fields References: Message-ID: <007d01c362e2$bb446ae0$0f0b6351@martin1> Someone send the origonal question and I will pass it on to someone whoh knows. Martin ----- Original Message ----- From: "John Colby" To: "Access Developers discussion and problem solving" Sent: Thursday, August 14, 2003 11:43 AM Subject: RE: [AccessD] Indexes on text fields > Jim, > > Since no one (I know) knows the internals of JET, I am not going to argue > with you on that account. In fact, I am not going to argue with you at all. > If you wish to believe (or hope, or pray) that Jet can magically parse a > bunch of stuff used to create an appended string back into it's components, > and then use that information to decide whether or not to attempt to apply > Rushmore to whatever pieces it can determine comes from table fields.... > > uh... > > Can I state it as a fact. Of course not. > > What I can say is that I have a very good class for timing stuff down to > milli-second increments. Anyone who wishes to may use that class to > empirically time such queries. I will be willing to bet good money, up to a > month's wages (I'm "unemployed" of course) against an equal number of > doughnuts that you will find, 100 times out of 100 times, that attempting to > apply a sort to such a field will, each and every time, be an order of > magnitude slower than using the component fields yourself to perform the > sort. > > And of course, having done that, one still can't state as FACT that Jet > isn't attempting to use Rushmore to perform the sort on the appended string > field. > > And yes, I have read it in various places over the years. I have long ago > lost the ability to recall where I read every piece of information I have > read. > > So let's not start any myths here. I do not know for a fact that Jet > doesn't use Rushmore (or anything else) to attempt to optimize such queries. > > I simply have the sense to look at what would be required, the silliness of > the concept, and the results I have seen in my personal experience, and > state that I know, without a shadow of a doubt, that Access makes no attempt > to apply such methods to a sort of an appended string. > > John W. Colby > www.colbyconsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Dettman > Sent: Thursday, August 14, 2003 1:12 PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Indexes on text fields > > > John, > > < Go > look in any book on Access queries, sorting and indexing and I'm sure you'll > find your own.>> > > That's why I'm asking. I have pretty much read everything there is to > read about JET over the past 10 years, and I've never seen anything on this. > > <<[Fielda] & Random() & [Fieldb] & ascii(right$("John Colby",1)) > > How in the world is any index on FieldA and FieldB going to help you sort > that expression into logical order?>> > > Rushmore works by making merges/intersections between indexes. JET > queries as we all know are very aware of the underlying tables. This has > been a key feature of Access/JET since day 1. JET may be smart enough to > figure out that the logical order is based on two fields it already has > indexes for. Then again it may not be. > > <> > > It knows the field names and what tables they come from. > > <> > > Yes, but that wasn't the example Mark gave. > > < string. If you apply a sort order to such a string, Access will do the sort > on the resulting string, on-the-fly, and it will be PAINFULLY slow!!!>> > > That seems to be the case, but do you really know for sure? I don't > believe you do. I'm not saying your wrong, but I don't think you can state > it as a fact, unless you have seen docs on JET's internal workings. That's > why I asked you to cite a source. > > It's just like the myth that got started about domain functions always > being the slowest of methods. This is not the case as in some situations, a > domain function can actually beat every other method. That floated around > for several years until someone sat down and tested it and found it not to > be true. > > Jim Dettman > President, > Online Computer Services of WNY, Inc. > (315) 699-3443 > jimdettman at earthlink.net > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Colby > Sent: Thursday, August 14, 2003 10:09 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Indexes on text fields > > > <> > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From sgeller at cce.umn.edu Thu Aug 14 15:13:06 2003 From: sgeller at cce.umn.edu (Susan Geller) Date: Thu, 14 Aug 2003 15:13:06 -0500 Subject: [AccessD] How to evaluate if report was cancelled due to no data Message-ID: Yes, I did and yes it is 2501. -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Thursday, August 14, 2003 12:51 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] How to evaluate if report was cancelled due to no data Well, it will stop there even if the error isn't 2501. Have you tried printing out the value of Err.Number in the immediate window to be sure that *is* the error you're handling? Charlotte Foust -----Original Message----- From: Susan Geller [mailto:sgeller at cce.umn.edu] Sent: Thursday, August 14, 2003 9:44 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] How to evaluate if report was cancelled due to no data Yes, I have a breakpoint on the line If Err.Number = 2051 and the code does stop there. When I hit F8, the next line the code goes to is Else. I put a breakpoint at the routine for CallStep3Settings but it doesn't even go there. --Susan -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Thursday, August 14, 2003 11:26 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] How to evaluate if report was cancelled due to no data Are you saying that even though an error 2501 is returned, the error handler doesn't drop into that part of the routine? That doesn't make any sense. Did you put a breakpoint into the error handler to make sure the Step3Settings wasn't returning an error? Charlotte Foust -----Original Message----- From: Susan Geller [mailto:sgeller at cce.umn.edu] Sent: Thursday, August 14, 2003 8:17 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] How to evaluate if report was cancelled due to no data Charlotte, Here's the code that I have (abbreviated) in the event that opens the report. When I step through, the Err.Number is in fact 2501, but the code goes to the Else part of my If logic. Ideas? Private Sub cmdNext3_Click() On Error GoTo eh strReport = Me.lstGroupOptions.Column(6) DoCmd.OpenReport strReport, acViewPreview ex: Exit Sub eh: If Err.Number = 2501 Then Call Step3Settings GoTo ex Else MsgBox Err.Description GoTo ex End If End Sub -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Thursday, August 14, 2003 10:54 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] How to evaluate if report was cancelled due to no data You can trap an error 2501, which is what will be returned to the calling routine but that will only tell you it has been cancelled, not why. You could raise a custom event from the report and sink it in the calling form. That would let the report tell you why it was cancelled. Charlotte Foust -----Original Message----- From: Susan Geller [mailto:sgeller at cce.umn.edu] Sent: Thursday, August 14, 2003 7:35 AM To: accessd at databaseadvisors.com Subject: [AccessD] How to evaluate if report was cancelled due to no data XP. I have a form that opens a report. In the report, I have: Private Sub Report_NoData(Cancel As Integer) MsgBox "There are no data to display for the criteria you selected.", vbOKOnly, "DataMart" Cancel = True End Sub All's well. PROBLEM: The report cancels, and it goes back to the line right after the open report line of code. At that point, I want to evaluate to see if the report was cancelled so that I can do one thing if it was cancelled due to no data and do something else if it wasn't. How can I do this? --Susan Susan B. Geller Office of Information Systems College of Continuing Education University of Minnesota 306 Wesbrook Hall 77 Pleasant Street SE Minneapolis, MN 55455 Phone: 612-626-4785 Fax: 612-625-2568 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mwhittinghill at symphonyinfo.com Thu Aug 14 15:23:22 2003 From: mwhittinghill at symphonyinfo.com (Mark Whittinghill) Date: Thu, 14 Aug 2003 15:23:22 -0500 Subject: [AccessD] Indexes on text fields References: <007d01c362e2$bb446ae0$0f0b6351@martin1> Message-ID: <002d01c362a1$e8f0fcb0$0400000a@PASCAL> Martin, Let's say I have a Person table with Indexes on FirstName and LastName. In my query, I have a field FullName: LastName & ", " & FirstName. Will the indexes on these two fields have any effect on sorts and searches on FullName? I could see throwing in FirstName and LastName as sorts in the query definition, but what about cases where I want to do a LIKE search on FullName? Thanks, Mark Whittinghill Symphony Information Services 612-333-1311 mwhittinghill at symphonyinfo.com ----- Original Message ----- From: "Martin Reid" To: "Access Developers discussion and problem solving" Sent: Thursday, August 14, 2003 11:07 PM Subject: Re: [AccessD] Indexes on text fields > Someone send the origonal question and I will pass it on to someone whoh > knows. > > Martin > > From jim.hale at fleetpride.com Thu Aug 14 15:24:09 2003 From: jim.hale at fleetpride.com (Hale, Jim) Date: Thu, 14 Aug 2003 15:24:09 -0500 Subject: [AccessD] Summer Intern Software:( Message-ID: <869379ABF177D4118D3100508B5EF8730639506C@corp-es00> ROFL!! Jim Hale -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Thursday, August 14, 2003 2:02 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Summer Intern Software:( The most annoying thing is when they keep saying "but why can't you make it work the same way?", when it doesn't really work at all!! Charlotte Foust -----Original Message----- From: Martin Reid [mailto:mwp.reid at qub.ac.uk] Sent: Thursday, August 14, 2003 6:43 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Summer Intern Software:( Couple of years ago I did an overhaul of a major system. Absolute PITA, nightmare. Worst work I ever said yes to. Never again! Martin ----- Original Message ----- From: William Hindman To: Access Developers discussion and problem solving Sent: Thursday, August 14, 2003 10:24 AM Subject: Re: [AccessD] Summer Intern Software:( Nancy ...I run into this all the time as an independent ...I get called in to fix other people's mistakes ...and they're always convinced it only a "small" problem to fix it ...I usually start by using the FMS Analyzer to get a pretty good breakdown of all the things that need immediate attention ...FMS does a pretty thorough job of walking the code and identifying all the types of problems you mentioned ...saves a tremendous amount of time and the report it produces is pretty damning evidence to back up your position with ...HTH :) William Hindman So, then, to every man his chance -- to every man, regardless of his birth, his shining golden opportunity -- to every man his right to live, to work, to be himself, to become whatever his manhood and his vision can combine to make him -- this, seeker, is the promise of America. -- Thomas Wolfe ----- Original Message ----- From: Nancy Lytle To: Access Developers discussion and problem solving Sent: Thursday, August 14, 2003 10:24 AM Subject: Re: [AccessD] Summer Intern Software:( Unfortunately, no choice about it. I think I will just have to break it down into some kind of report, letting her know (she didn't hire the intern - that was done by her "client" - I am a subcontractor to a contractor to a Federal agency) exactly where the database stands and what needs to be done. Nancy ----- Original Message ----- From: Susan Harkins To: Access Developers discussion and problem solving Sent: Thursday, August 14, 2003 9:15 AM Subject: Re: [AccessD] Summer Intern Software:( Are you in a position to say no? Or, are you in a position to charge a ton of money for it? Putting yourself into the fire because someone on their end made a bad hiring decision isn't a great idea -- if you've got a choice about it. Susan H. Boy, does that have me laughing and crying right now. I have just been given a database that was developed by a summer intern who had absolutely no experience with Access before he started this project. There is no documentation, except for some sheet laying out of schedule of when milestones were to be met. _____ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system ( http://www.grisoft.com ). Version: 6.0.509 / Virus Database: 306 - Release Date: 8/12/2003 _____ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _____ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From DMcAfee at haascnc.com Thu Aug 14 15:55:34 2003 From: DMcAfee at haascnc.com (David McAfee) Date: Thu, 14 Aug 2003 13:55:34 -0700 Subject: [AccessD] Setting A2K combo box rowsource using ADO - SOLVED Message-ID: <657FB70438B7D311AF320090279C1801026D7B2B@EXCHMAIL> The value list will work but has a few caveats. 1. Any semi-colons or commas in your data will mess up your columns (make sure you strip them out prior to filling list box) 2. There is a smaller size limit, so if you are expecting to have a lot of data in your combo box (hidden columns) then you will be limited. David -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Martin Reid Sent: Thursday, August 14, 2003 7:47 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Setting A2K combo box rowsource using ADO - SOLVED Try Rowsource instead of Recordset This is an example I got somewhere if g_oConnection = OpenConenction then Dim oRes As ADODB.Recordset Dim sListText As String Set oRes = New ADODB.Recordset Me.cboMyList.ColumnCount = 2 Me.cboMyList.BoundColumn = 1 Me.cboMyList.ColumnHeads = False Me.cboMyList.ColumnWidths = "0;1" Me.cboMyList.RowSourceType = "Value List" Me.cboMyList.DefaultValue = 0 oRes.Open "select * from tbMyTable order by label", g_oConnection, adOpenDynamic, adLockOptimistic sListText = "0;'';" While oRes.EOF = False sListText = sListText & oRes("ID").Value & ";" & oRes("Label").Value & ";" oRes.MoveNext Wend oRes.Close Me.cboMyList.RowSource = sListText Set oRes = Nothing CloseConnection end if From nancy.lytle at auatac.com Thu Aug 14 16:05:16 2003 From: nancy.lytle at auatac.com (Nancy Lytle) Date: Thu, 14 Aug 2003 17:05:16 -0400 Subject: [AccessD] Summer Intern Software:( References: Message-ID: <008301c362a7$c3e5bea0$8f888141@servone> MessageOh I got that one on another database I they gave me. They insisted that I add the new functionality, but would not take the time to do any testing. They kept saying "But the old one worked" or "Why doesn't this work, I need to get my work done". The view seemed to be that an Access database was like an Excel spreadsheet or Word document, you should just be able to make a revision, you know like spell checking or adding columns, and then it will be able to do all the amazing things Access can do! I don't feel like pulling out a big hammer, but pulling out my hair! Nancy --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.509 / Virus Database: 306 - Release Date: 8/12/2003 -------------- next part -------------- An HTML attachment was scrubbed... URL: From mwp.reid at qub.ac.uk Fri Aug 15 00:01:39 2003 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Thu, 14 Aug 2003 22:01:39 -0700 Subject: [AccessD] Indexes on text fields References: <007d01c362e2$bb446ae0$0f0b6351@martin1> <002d01c362a1$e8f0fcb0$0400000a@PASCAL> Message-ID: <004e01c362ea$fd6aa580$0f0b6351@martin1> I have passed it to a contact at MS. When he replies I will forward the response. Martin ----- Original Message ----- From: "Mark Whittinghill" To: "Access Developers discussion and problem solving" Sent: Thursday, August 14, 2003 1:23 PM Subject: Re: [AccessD] Indexes on text fields > Martin, > > Let's say I have a Person table with Indexes on FirstName and LastName. > In my query, I have a field FullName: LastName & ", " & FirstName. Will the > indexes on these two fields have any effect on sorts and searches on > FullName? I could see throwing in FirstName and LastName as sorts in the > query definition, but what about cases where I want to do a LIKE search on > FullName? > > Thanks, > > Mark Whittinghill > Symphony Information Services > 612-333-1311 > mwhittinghill at symphonyinfo.com > ----- Original Message ----- > From: "Martin Reid" > To: "Access Developers discussion and problem solving" > > Sent: Thursday, August 14, 2003 11:07 PM > Subject: Re: [AccessD] Indexes on text fields > > > > Someone send the origonal question and I will pass it on to someone whoh > > knows. > > > > Martin > > > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From mwp.reid at qub.ac.uk Fri Aug 15 00:05:38 2003 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Thu, 14 Aug 2003 22:05:38 -0700 Subject: [AccessD] Setting A2K combo box rowsource using ADO - SOLVED References: <657FB70438B7D311AF320090279C1801026D7B2B@EXCHMAIL> Message-ID: <004f01c362ea$fdad53d0$0f0b6351@martin1> There is a work around the string length problem. WIll have a look for the example Martin ----- Original Message ----- From: "David McAfee" To: "'Access Developers discussion and problem solving'" Sent: Thursday, August 14, 2003 1:55 PM Subject: RE: [AccessD] Setting A2K combo box rowsource using ADO - SOLVED > The value list will work but has a few caveats. > > 1. Any semi-colons or commas in your data will mess up your columns (make > sure you strip them out prior to filling list box) > 2. There is a smaller size limit, so if you are expecting to have a lot of > data in your combo box (hidden columns) then you will be limited. > > > David > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Martin Reid > Sent: Thursday, August 14, 2003 7:47 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Setting A2K combo box rowsource using ADO - > SOLVED > > > Try Rowsource instead of Recordset > > This is an example I got somewhere > > if g_oConnection = OpenConenction then > Dim oRes As ADODB.Recordset > Dim sListText As String > > Set oRes = New ADODB.Recordset > > Me.cboMyList.ColumnCount = 2 > Me.cboMyList.BoundColumn = 1 > Me.cboMyList.ColumnHeads = False > Me.cboMyList.ColumnWidths = "0;1" > Me.cboMyList.RowSourceType = "Value List" > Me.cboMyList.DefaultValue = 0 > > oRes.Open "select * from tbMyTable order by label", g_oConnection, > adOpenDynamic, adLockOptimistic > > sListText = "0;'';" > While oRes.EOF = False > sListText = sListText & oRes("ID").Value & ";" & > oRes("Label").Value & ";" > oRes.MoveNext > Wend > oRes.Close > Me.cboMyList.RowSource = sListText > > Set oRes = Nothing > CloseConnection > end if > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From cfoust at infostatsystems.com Thu Aug 14 16:14:02 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 14 Aug 2003 14:14:02 -0700 Subject: [AccessD] How to evaluate if report was cancelled due to no data Message-ID: Then the wierdness is coming from somewhere else. Decompile and recompile your code, check your references, and do all the other stuff for gremlins. Your form may actually have some corruption in it. Charlotte Foust -----Original Message----- From: Susan Geller [mailto:sgeller at cce.umn.edu] Sent: Thursday, August 14, 2003 12:13 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] How to evaluate if report was cancelled due to no data Yes, I did and yes it is 2501. -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Thursday, August 14, 2003 12:51 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] How to evaluate if report was cancelled due to no data Well, it will stop there even if the error isn't 2501. Have you tried printing out the value of Err.Number in the immediate window to be sure that *is* the error you're handling? Charlotte Foust -----Original Message----- From: Susan Geller [mailto:sgeller at cce.umn.edu] Sent: Thursday, August 14, 2003 9:44 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] How to evaluate if report was cancelled due to no data Yes, I have a breakpoint on the line If Err.Number = 2051 and the code does stop there. When I hit F8, the next line the code goes to is Else. I put a breakpoint at the routine for CallStep3Settings but it doesn't even go there. --Susan -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Thursday, August 14, 2003 11:26 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] How to evaluate if report was cancelled due to no data Are you saying that even though an error 2501 is returned, the error handler doesn't drop into that part of the routine? That doesn't make any sense. Did you put a breakpoint into the error handler to make sure the Step3Settings wasn't returning an error? Charlotte Foust -----Original Message----- From: Susan Geller [mailto:sgeller at cce.umn.edu] Sent: Thursday, August 14, 2003 8:17 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] How to evaluate if report was cancelled due to no data Charlotte, Here's the code that I have (abbreviated) in the event that opens the report. When I step through, the Err.Number is in fact 2501, but the code goes to the Else part of my If logic. Ideas? Private Sub cmdNext3_Click() On Error GoTo eh strReport = Me.lstGroupOptions.Column(6) DoCmd.OpenReport strReport, acViewPreview ex: Exit Sub eh: If Err.Number = 2501 Then Call Step3Settings GoTo ex Else MsgBox Err.Description GoTo ex End If End Sub -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Thursday, August 14, 2003 10:54 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] How to evaluate if report was cancelled due to no data You can trap an error 2501, which is what will be returned to the calling routine but that will only tell you it has been cancelled, not why. You could raise a custom event from the report and sink it in the calling form. That would let the report tell you why it was cancelled. Charlotte Foust -----Original Message----- From: Susan Geller [mailto:sgeller at cce.umn.edu] Sent: Thursday, August 14, 2003 7:35 AM To: accessd at databaseadvisors.com Subject: [AccessD] How to evaluate if report was cancelled due to no data XP. I have a form that opens a report. In the report, I have: Private Sub Report_NoData(Cancel As Integer) MsgBox "There are no data to display for the criteria you selected.", vbOKOnly, "DataMart" Cancel = True End Sub All's well. PROBLEM: The report cancels, and it goes back to the line right after the open report line of code. At that point, I want to evaluate to see if the report was cancelled so that I can do one thing if it was cancelled due to no data and do something else if it wasn't. How can I do this? --Susan Susan B. Geller Office of Information Systems College of Continuing Education University of Minnesota 306 Wesbrook Hall 77 Pleasant Street SE Minneapolis, MN 55455 Phone: 612-626-4785 Fax: 612-625-2568 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mwhittinghill at symphonyinfo.com Thu Aug 14 16:22:21 2003 From: mwhittinghill at symphonyinfo.com (Mark Whittinghill) Date: Thu, 14 Aug 2003 16:22:21 -0500 Subject: [AccessD] Indexes on text fields References: <007d01c362e2$bb446ae0$0f0b6351@martin1><002d01c362a1$e8f0fcb0$0400000a@PASCAL> <004e01c362ea$fd6aa580$0f0b6351@martin1> Message-ID: <002801c362aa$263c6340$0400000a@PASCAL> Cool, thanks. Mark Whittinghill Symphony Information Services 612-333-1311 mwhittinghill at symphonyinfo.com ----- Original Message ----- From: "Martin Reid" To: "Access Developers discussion and problem solving" Sent: Friday, August 15, 2003 12:01 AM Subject: Re: [AccessD] Indexes on text fields > I have passed it to a contact at MS. When he replies I will forward the > response. > > Martin > > > ----- Original Message ----- > From: "Mark Whittinghill" > To: "Access Developers discussion and problem solving" > > Sent: Thursday, August 14, 2003 1:23 PM > Subject: Re: [AccessD] Indexes on text fields > > > > Martin, > > > > Let's say I have a Person table with Indexes on FirstName and LastName. > > In my query, I have a field FullName: LastName & ", " & FirstName. Will > the > > indexes on these two fields have any effect on sorts and searches on > > FullName? I could see throwing in FirstName and LastName as sorts in the > > query definition, but what about cases where I want to do a LIKE search on > > FullName? > > > > Thanks, > > > > Mark Whittinghill > > Symphony Information Services > > 612-333-1311 > > mwhittinghill at symphonyinfo.com > > ----- Original Message ----- > > From: "Martin Reid" > > To: "Access Developers discussion and problem solving" > > > > Sent: Thursday, August 14, 2003 11:07 PM > > Subject: Re: [AccessD] Indexes on text fields > > > > > > > Someone send the origonal question and I will pass it on to someone whoh > > > knows. > > > > > > Martin > > > > > > > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From harkins at iglou.com Thu Aug 14 16:14:53 2003 From: harkins at iglou.com (Susan Harkins) Date: Thu, 14 Aug 2003 17:14:53 -0400 Subject: [AccessD] Summer Intern Software:( References: <005301c362e2$75d8cfa0$0f0b6351@martin1> Message-ID: <00c601c362aa$4b679db0$9de6ffcc@SusanOne> MessageIt's exactly why I lost a small project -- he told me "I trust you -- do it right" and then was mad when it didn't "look" the way it use to. :( Ah well, he paid a huge deposit, so I guess in the long run, he lost too. :( Susan H. PMSL That was the most common question I was asked. Why isnt it working the way it was>> You cnat win LOL Martin ----- Original Message ----- From: Charlotte Foust To: Access Developers discussion and problem solving Sent: Thursday, August 14, 2003 12:02 PM Subject: RE: [AccessD] Summer Intern Software:( The most annoying thing is when they keep saying "but why can't you make it work the same way?", when it doesn't really work at all!! Charlotte Foust -----Original Message----- From: Martin Reid [mailto:mwp.reid at qub.ac.uk] Sent: Thursday, August 14, 2003 6:43 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Summer Intern Software:( Couple of years ago I did an overhaul of a major system. Absolute PITA, nightmare. Worst work I ever said yes to. Never again! Martin ----- Original Message ----- From: William Hindman To: Access Developers discussion and problem solving Sent: Thursday, August 14, 2003 10:24 AM Subject: Re: [AccessD] Summer Intern Software:( Nancy ...I run into this all the time as an independent ...I get called in to fix other people's mistakes ...and they're always convinced it only a "small" problem to fix it ...I usually start by using the FMS Analyzer to get a pretty good breakdown of all the things that need immediate attention ...FMS does a pretty thorough job of walking the code and identifying all the types of problems you mentioned ...saves a tremendous amount of time and the report it produces is pretty damning evidence to back up your position with ...HTH :) William Hindman So, then, to every man his chance -- to every man, regardless of his birth, his shining golden opportunity -- to every man his right to live, to work, to be himself, to become whatever his manhood and his vision can combine to make him -- this, seeker, is the promise of America. -- Thomas Wolfe ----- Original Message ----- From: Nancy Lytle To: Access Developers discussion and problem solving Sent: Thursday, August 14, 2003 10:24 AM Subject: Re: [AccessD] Summer Intern Software:( Unfortunately, no choice about it. I think I will just have to break it down into some kind of report, letting her know (she didn't hire the intern - that was done by her "client" - I am a subcontractor to a contractor to a Federal agency) exactly where the database stands and what needs to be done. Nancy ----- Original Message ----- From: Susan Harkins To: Access Developers discussion and problem solving Sent: Thursday, August 14, 2003 9:15 AM Subject: Re: [AccessD] Summer Intern Software:( Are you in a position to say no? Or, are you in a position to charge a ton of money for it? Putting yourself into the fire because someone on their end made a bad hiring decision isn't a great idea -- if you've got a choice about it. Susan H. Boy, does that have me laughing and crying right now. I have just been given a database that was developed by a summer intern who had absolutely no experience with Access before he started this project. There is no documentation, except for some sheet laying out of schedule of when milestones were to be met. -------------------------------------------------------------------- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.509 / Virus Database: 306 - Release Date: 8/12/2003 ---------------------------------------------------------------------- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------------------------------- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From sgeller at cce.umn.edu Thu Aug 14 16:25:46 2003 From: sgeller at cce.umn.edu (Susan Geller) Date: Thu, 14 Aug 2003 16:25:46 -0500 Subject: [AccessD] How to evaluate if report was cancelled due to no data Message-ID: Bummer. Okay. I'll do all gremlin riding I can and hope for the best. I have had other corruption problems with this form in the past. --Susan -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Thursday, August 14, 2003 4:14 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] How to evaluate if report was cancelled due to no data Then the wierdness is coming from somewhere else. Decompile and recompile your code, check your references, and do all the other stuff for gremlins. Your form may actually have some corruption in it. Charlotte Foust -----Original Message----- From: Susan Geller [mailto:sgeller at cce.umn.edu] Sent: Thursday, August 14, 2003 12:13 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] How to evaluate if report was cancelled due to no data Yes, I did and yes it is 2501. -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Thursday, August 14, 2003 12:51 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] How to evaluate if report was cancelled due to no data Well, it will stop there even if the error isn't 2501. Have you tried printing out the value of Err.Number in the immediate window to be sure that *is* the error you're handling? Charlotte Foust -----Original Message----- From: Susan Geller [mailto:sgeller at cce.umn.edu] Sent: Thursday, August 14, 2003 9:44 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] How to evaluate if report was cancelled due to no data Yes, I have a breakpoint on the line If Err.Number = 2051 and the code does stop there. When I hit F8, the next line the code goes to is Else. I put a breakpoint at the routine for CallStep3Settings but it doesn't even go there. --Susan -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Thursday, August 14, 2003 11:26 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] How to evaluate if report was cancelled due to no data Are you saying that even though an error 2501 is returned, the error handler doesn't drop into that part of the routine? That doesn't make any sense. Did you put a breakpoint into the error handler to make sure the Step3Settings wasn't returning an error? Charlotte Foust -----Original Message----- From: Susan Geller [mailto:sgeller at cce.umn.edu] Sent: Thursday, August 14, 2003 8:17 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] How to evaluate if report was cancelled due to no data Charlotte, Here's the code that I have (abbreviated) in the event that opens the report. When I step through, the Err.Number is in fact 2501, but the code goes to the Else part of my If logic. Ideas? Private Sub cmdNext3_Click() On Error GoTo eh strReport = Me.lstGroupOptions.Column(6) DoCmd.OpenReport strReport, acViewPreview ex: Exit Sub eh: If Err.Number = 2501 Then Call Step3Settings GoTo ex Else MsgBox Err.Description GoTo ex End If End Sub -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Thursday, August 14, 2003 10:54 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] How to evaluate if report was cancelled due to no data You can trap an error 2501, which is what will be returned to the calling routine but that will only tell you it has been cancelled, not why. You could raise a custom event from the report and sink it in the calling form. That would let the report tell you why it was cancelled. Charlotte Foust -----Original Message----- From: Susan Geller [mailto:sgeller at cce.umn.edu] Sent: Thursday, August 14, 2003 7:35 AM To: accessd at databaseadvisors.com Subject: [AccessD] How to evaluate if report was cancelled due to no data XP. I have a form that opens a report. In the report, I have: Private Sub Report_NoData(Cancel As Integer) MsgBox "There are no data to display for the criteria you selected.", vbOKOnly, "DataMart" Cancel = True End Sub All's well. PROBLEM: The report cancels, and it goes back to the line right after the open report line of code. At that point, I want to evaluate to see if the report was cancelled so that I can do one thing if it was cancelled due to no data and do something else if it wasn't. How can I do this? --Susan Susan B. Geller Office of Information Systems College of Continuing Education University of Minnesota 306 Wesbrook Hall 77 Pleasant Street SE Minneapolis, MN 55455 Phone: 612-626-4785 Fax: 612-625-2568 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dan at rivercity.org Thu Aug 14 17:25:52 2003 From: dan at rivercity.org (Dan Jeffery) Date: Thu, 14 Aug 2003 18:25:52 -0400 Subject: [AccessD] How to evaluate if report was cancelled due to no data Message-ID: <825F1757FD951F4187941C8534FA504805ED2E@rcccserver.rcccadmin.org> 2051 or 2501? Dan -----Original Message----- From: Susan Geller [mailto:sgeller at cce.umn.edu] Sent: Thursday, August 14, 2003 1:44 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] How to evaluate if report was cancelled due to no data Yes, I have a breakpoint on the line If Err.Number = 2051 and the code does stop there. When I hit F8, the next line the code goes to is Else. I put a breakpoint at the routine for CallStep3Settings but it doesn't even go there. --Susan -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Thursday, August 14, 2003 11:26 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] How to evaluate if report was cancelled due to no data Are you saying that even though an error 2501 is returned, the error handler doesn't drop into that part of the routine? That doesn't make any sense. Did you put a breakpoint into the error handler to make sure the Step3Settings wasn't returning an error? Charlotte Foust -----Original Message----- From: Susan Geller [mailto:sgeller at cce.umn.edu] Sent: Thursday, August 14, 2003 8:17 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] How to evaluate if report was cancelled due to no data Charlotte, Here's the code that I have (abbreviated) in the event that opens the report. When I step through, the Err.Number is in fact 2501, but the code goes to the Else part of my If logic. Ideas? Private Sub cmdNext3_Click() On Error GoTo eh strReport = Me.lstGroupOptions.Column(6) DoCmd.OpenReport strReport, acViewPreview ex: Exit Sub eh: If Err.Number = 2501 Then Call Step3Settings GoTo ex Else MsgBox Err.Description GoTo ex End If End Sub -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Thursday, August 14, 2003 10:54 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] How to evaluate if report was cancelled due to no data You can trap an error 2501, which is what will be returned to the calling routine but that will only tell you it has been cancelled, not why. You could raise a custom event from the report and sink it in the calling form. That would let the report tell you why it was cancelled. Charlotte Foust -----Original Message----- From: Susan Geller [mailto:sgeller at cce.umn.edu] Sent: Thursday, August 14, 2003 7:35 AM To: accessd at databaseadvisors.com Subject: [AccessD] How to evaluate if report was cancelled due to no data XP. I have a form that opens a report. In the report, I have: Private Sub Report_NoData(Cancel As Integer) MsgBox "There are no data to display for the criteria you selected.", vbOKOnly, "DataMart" Cancel = True End Sub All's well. PROBLEM: The report cancels, and it goes back to the line right after the open report line of code. At that point, I want to evaluate to see if the report was cancelled so that I can do one thing if it was cancelled due to no data and do something else if it wasn't. How can I do this? --Susan Susan B. Geller Office of Information Systems College of Continuing Education University of Minnesota 306 Wesbrook Hall 77 Pleasant Street SE Minneapolis, MN 55455 Phone: 612-626-4785 Fax: 612-625-2568 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Thu Aug 14 17:30:29 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 15 Aug 2003 08:30:29 +1000 Subject: [AccessD] Deploying 3 different versions - addendum In-Reply-To: <005701c36268$a21c7280$4d05f0d5@default> Message-ID: <3F3C9A25.21849.1742D0@localhost> On 14 Aug 2003 at 15:32, Brindza Ervin wrote: > > > Hi, > I have a simple problem. My customer needs to deploy my application in 3 versions(Access97 Access2000 and AccessXP) to his "subcustomers" on CD disc. > Can anyone share some idea how to do this? I think that 3 folders(A97, A2k and AXP) can contain their own .MDE files, but it was the most suitable if I can handle: > - detect the OS; > Sorry, instead of detecting the Os, I need to detect the version of the Office ... > Ervin > To detect the current version of Access (not Office - you may run into a system with multiple versions of Office/Access and you need the current default Access version) , look for the registry key "HKEY_CLASSES_ROOT\.mdb" It will be "Access.Application.x" where x is the version number. -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From martyconnelly at shaw.ca Thu Aug 14 17:52:30 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Thu, 14 Aug 2003 15:52:30 -0700 Subject: [AccessD] How to evaluate if report was cancelled due to no data References: Message-ID: <3F3C12AE.8040704@shaw.ca> You could try rebuilding your form after making a copy via SaveAsText Sub test() Application.SaveAsText acForm, "form1", "c:\temp\form1save.txt" Application.LoadFromText acForm, "form1", "c:\temp\form1save.txt" End Sub Susan Geller wrote: >Bummer. Okay. I'll do all gremlin riding I can and hope for the best. >I have had other corruption problems with this form in the past. > >--Susan > > >-----Original Message----- >From: Charlotte Foust [mailto:cfoust at infostatsystems.com] >Sent: Thursday, August 14, 2003 4:14 PM >To: Access Developers discussion and problem solving >Subject: RE: [AccessD] How to evaluate if report was cancelled due to no >data > > >Then the wierdness is coming from somewhere else. Decompile and >recompile your code, check your references, and do all the other stuff >for gremlins. Your form may actually have some corruption in it. > >Charlotte Foust > >-----Original Message----- >From: Susan Geller [mailto:sgeller at cce.umn.edu] >Sent: Thursday, August 14, 2003 12:13 PM >To: Access Developers discussion and problem solving >Subject: RE: [AccessD] How to evaluate if report was cancelled due to no >data > > >Yes, I did and yes it is 2501. > >-----Original Message----- >From: Charlotte Foust [mailto:cfoust at infostatsystems.com] >Sent: Thursday, August 14, 2003 12:51 PM >To: Access Developers discussion and problem solving >Subject: RE: [AccessD] How to evaluate if report was cancelled due to no >data > > >Well, it will stop there even if the error isn't 2501. Have you tried >printing out the value of Err.Number in the immediate window to be sure >that *is* the error you're handling? > >Charlotte Foust > >-----Original Message----- >From: Susan Geller [mailto:sgeller at cce.umn.edu] >Sent: Thursday, August 14, 2003 9:44 AM >To: Access Developers discussion and problem solving >Subject: RE: [AccessD] How to evaluate if report was cancelled due to no >data > > >Yes, I have a breakpoint on the line If Err.Number = 2051 and the code >does stop there. When I hit F8, the next line the code goes to is Else. >I put a breakpoint at the routine for CallStep3Settings but it doesn't >even go there. > >--Susan > > >-----Original Message----- >From: Charlotte Foust [mailto:cfoust at infostatsystems.com] >Sent: Thursday, August 14, 2003 11:26 AM >To: Access Developers discussion and problem solving >Subject: RE: [AccessD] How to evaluate if report was cancelled due to no >data > > >Are you saying that even though an error 2501 is returned, the error >handler doesn't drop into that part of the routine? That doesn't make >any sense. Did you put a breakpoint into the error handler to make sure >the Step3Settings wasn't returning an error? > >Charlotte Foust > >-----Original Message----- >From: Susan Geller [mailto:sgeller at cce.umn.edu] >Sent: Thursday, August 14, 2003 8:17 AM >To: Access Developers discussion and problem solving >Subject: RE: [AccessD] How to evaluate if report was cancelled due to no >data > > >Charlotte, > >Here's the code that I have (abbreviated) in the event that opens the >report. When I step through, the Err.Number is in fact 2501, but the >code goes to the Else part of my If logic. Ideas? > >Private Sub cmdNext3_Click() >On Error GoTo eh > > strReport = Me.lstGroupOptions.Column(6) > DoCmd.OpenReport strReport, acViewPreview > >ex: > Exit Sub >eh: > If Err.Number = 2501 Then > Call Step3Settings > GoTo ex > Else > MsgBox Err.Description > GoTo ex > End If >End Sub > > > >-----Original Message----- >From: Charlotte Foust [mailto:cfoust at infostatsystems.com] >Sent: Thursday, August 14, 2003 10:54 AM >To: Access Developers discussion and problem solving >Subject: RE: [AccessD] How to evaluate if report was cancelled due to no >data > > >You can trap an error 2501, which is what will be returned to the >calling routine but that will only tell you it has been cancelled, not >why. You could raise a custom event from the report and sink it in the >calling form. That would let the report tell you why it was cancelled. > >Charlotte Foust > >-----Original Message----- >From: Susan Geller [mailto:sgeller at cce.umn.edu] >Sent: Thursday, August 14, 2003 7:35 AM >To: accessd at databaseadvisors.com >Subject: [AccessD] How to evaluate if report was cancelled due to no >data > > >XP. I have a form that opens a report. In the report, I have: > >Private Sub Report_NoData(Cancel As Integer) >MsgBox "There are no data to display for the criteria you selected.", >vbOKOnly, "DataMart" Cancel = True End Sub > >All's well. > >PROBLEM: The report cancels, and it goes back to the line right after >the open report line of code. At that point, I want to evaluate to see >if the report was cancelled so that I can do one thing if it was >cancelled due to no data and do something else if it wasn't. How can I >do this? > >--Susan > > >Susan B. Geller >Office of Information Systems >College of Continuing Education >University of Minnesota >306 Wesbrook Hall >77 Pleasant Street SE >Minneapolis, MN 55455 >Phone: 612-626-4785 >Fax: 612-625-2568 > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > From BarbaraRyan at cox.net Thu Aug 14 18:14:36 2003 From: BarbaraRyan at cox.net (Barbara Ryan) Date: Thu, 14 Aug 2003 19:14:36 -0400 Subject: [AccessD] Snapshot Viewer Message-ID: <007301c362b9$d457c6e0$0d260044@hr.cox.net> What happened to Snapshot Viewer? It is still listed in the download center for A97 and A2000, but when you get to the page to initiate the download, it says it's no longer available. Does anyone know why? My Access 97 app emails .snp reports to customers. The emails include a note that they can download Snapshot Viewer for free on Microsoft's site. I'm not sure what to do so they can download it. Thanks, Barb Ryan -------------- next part -------------- An HTML attachment was scrubbed... URL: From davesharpe2 at cox.net Thu Aug 14 18:42:29 2003 From: davesharpe2 at cox.net (dave sharpe) Date: Thu, 14 Aug 2003 19:42:29 -0400 Subject: [AccessD] Snapshot Viewer References: <007301c362b9$d457c6e0$0d260044@hr.cox.net> Message-ID: <00a201c362bd$b9d5e690$dd2f0a44@bcsext6137> Barb it seems that You can still get it here. Dave ================= Microsoft Snapshot Viewer v9.0 The Microsoft Snapshot Viewer enables you to view a report snapshot without having Microsoft Access 97 or Access 2000 or the run-time version of Microsoft Access on your computer. A handy program that saves a picture of an Access report enabling you to make the report available others who do not have Microsoft Access. All they need is a copy of MS Snapshot Viewer http://www.5star-shareware.com/Business/MS-OfficeAdd-Ins/ms-snapshot.html ----- Original Message ----- From: Barbara Ryan To: Access List Sent: Thursday, August 14, 2003 7:14 PM Subject: [AccessD] Snapshot Viewer What happened to Snapshot Viewer? It is still listed in the download center for A97 and A2000, but when you get to the page to initiate the download, it says it's no longer available. Does anyone know why? My Access 97 app emails .snp reports to customers. The emails include a note that they can download Snapshot Viewer for free on Microsoft's site. I'm not sure what to do so they can download it. Thanks, Barb Ryan _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jcolby at colbyconsulting.com Thu Aug 14 19:00:23 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Thu, 14 Aug 2003 20:00:23 -0400 Subject: [AccessD] Summer Intern Software:( In-Reply-To: Message-ID: MessageLOL, so true!!! I have a flat file system that kinda sorta work and I want you to make it a professional, relational model, but keep the data entry flat file, and keep the speed flat file, and... John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Thursday, August 14, 2003 3:02 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Summer Intern Software:( The most annoying thing is when they keep saying "but why can't you make it work the same way?", when it doesn't really work at all!! Charlotte Foust -----Original Message----- From: Martin Reid [mailto:mwp.reid at qub.ac.uk] Sent: Thursday, August 14, 2003 6:43 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Summer Intern Software:( Couple of years ago I did an overhaul of a major system. Absolute PITA, nightmare. Worst work I ever said yes to. Never again! Martin ----- Original Message ----- From: William Hindman To: Access Developers discussion and problem solving Sent: Thursday, August 14, 2003 10:24 AM Subject: Re: [AccessD] Summer Intern Software:( Nancy ...I run into this all the time as an independent ...I get called in to fix other people's mistakes ...and they're always convinced it only a "small" problem to fix it ...I usually start by using the FMS Analyzer to get a pretty good breakdown of all the things that need immediate attention ...FMS does a pretty thorough job of walking the code and identifying all the types of problems you mentioned ...saves a tremendous amount of time and the report it produces is pretty damning evidence to back up your position with ...HTH :) William Hindman So, then, to every man his chance -- to every man, regardless of his birth, his shining golden opportunity -- to every man his right to live, to work, to be himself, to become whatever his manhood and his vision can combine to make him -- this, seeker, is the promise of America. -- Thomas Wolfe ----- Original Message ----- From: Nancy Lytle To: Access Developers discussion and problem solving Sent: Thursday, August 14, 2003 10:24 AM Subject: Re: [AccessD] Summer Intern Software:( Unfortunately, no choice about it. I think I will just have to break it down into some kind of report, letting her know (she didn't hire the intern - that was done by her "client" - I am a subcontractor to a contractor to a Federal agency) exactly where the database stands and what needs to be done. Nancy ----- Original Message ----- From: Susan Harkins To: Access Developers discussion and problem solving Sent: Thursday, August 14, 2003 9:15 AM Subject: Re: [AccessD] Summer Intern Software:( Are you in a position to say no? Or, are you in a position to charge a ton of money for it? Putting yourself into the fire because someone on their end made a bad hiring decision isn't a great idea -- if you've got a choice about it. Susan H. Boy, does that have me laughing and crying right now. I have just been given a database that was developed by a summer intern who had absolutely no experience with Access before he started this project. There is no documentation, except for some sheet laying out of schedule of when milestones were to be met. ---------------------------------------------------------------------- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.509 / Virus Database: 306 - Release Date: 8/12/2003 ------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------------------------------------------------------------------- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From BarbaraRyan at cox.net Thu Aug 14 19:16:27 2003 From: BarbaraRyan at cox.net (Barbara Ryan) Date: Thu, 14 Aug 2003 20:16:27 -0400 Subject: [AccessD] Snapshot Viewer References: <007301c362b9$d457c6e0$0d260044@hr.cox.net> <00a201c362bd$b9d5e690$dd2f0a44@bcsext6137> Message-ID: <008f01c362c2$787de580$0d260044@hr.cox.net> Thanks, Dave. ... I was wondering, though...... why did Microsoft pull the Snapshot Viewer from it's download site? Barb ----- Original Message ----- From: dave sharpe To: Access Developers discussion and problem solving Sent: Thursday, August 14, 2003 7:42 PM Subject: Re: [AccessD] Snapshot Viewer > Barb it seems that You can still get it here. > > Dave > > ================= > > Microsoft Snapshot Viewer v9.0 > The Microsoft Snapshot Viewer enables you to view a report snapshot without > having Microsoft Access 97 or Access 2000 or the run-time version of > Microsoft Access on your computer. > > A handy program that saves a picture of an Access report enabling you to > make the report available others who do not have Microsoft Access. All they > need is a copy of MS Snapshot Viewer > > > http://www.5star-shareware.com/Business/MS-OfficeAdd-Ins/ms-snapshot.html > > > ----- Original Message ----- > From: Barbara Ryan > To: Access List > Sent: Thursday, August 14, 2003 7:14 PM > Subject: [AccessD] Snapshot Viewer > > > What happened to Snapshot Viewer? It is still listed in the download center > for A97 and A2000, but when you get to the page to initiate the download, it > says it's no longer available. > > Does anyone know why? My Access 97 app emails .snp reports to customers. > The emails include a note that they can download Snapshot Viewer for free on > Microsoft's site. I'm not sure what to do so they can download it. > > Thanks, > Barb Ryan > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From davesharpe2 at cox.net Thu Aug 14 19:17:24 2003 From: davesharpe2 at cox.net (dave sharpe) Date: Thu, 14 Aug 2003 20:17:24 -0400 Subject: [AccessD] Snapshot Viewer References: <007301c362b9$d457c6e0$0d260044@hr.cox.net><00a201c362bd$b9d5e690$dd2f0a44@bcsext6137> <008f01c362c2$787de580$0d260044@hr.cox.net> Message-ID: <00cf01c362c2$9a70d850$dd2f0a44@bcsext6137> Barb Who knows? On the page below http://office.microsoft.com/downloads/2000/Snpvw90.aspx all they say is "This previously available download, Report Snapshots and Snapshot Viewer for Access 2000, has been removed. " Buy not all pages that address it have been updated to reflect the removal. Dave ----- Original Message ----- From: "Barbara Ryan" To: "Access Developers discussion and problem solving" Sent: Thursday, August 14, 2003 8:16 PM Subject: Re: [AccessD] Snapshot Viewer > Thanks, Dave. > > ... I was wondering, though...... why did Microsoft pull the Snapshot Viewer > from it's download site? > > Barb > > > ----- Original Message ----- > From: dave sharpe > To: Access Developers discussion and problem solving > > Sent: Thursday, August 14, 2003 7:42 PM > Subject: Re: [AccessD] Snapshot Viewer > > > > Barb it seems that You can still get it here. > > > > Dave > > > > ================= > > > > Microsoft Snapshot Viewer v9.0 > > The Microsoft Snapshot Viewer enables you to view a report snapshot > without > > having Microsoft Access 97 or Access 2000 or the run-time version of > > Microsoft Access on your computer. > > > > A handy program that saves a picture of an Access report enabling you to > > make the report available others who do not have Microsoft Access. All > they > > need is a copy of MS Snapshot Viewer > > > > > > http://www.5star-shareware.com/Business/MS-OfficeAdd-Ins/ms-snapshot.html > > > > > > ----- Original Message ----- > > From: Barbara Ryan > > To: Access List > > Sent: Thursday, August 14, 2003 7:14 PM > > Subject: [AccessD] Snapshot Viewer > > > > > > What happened to Snapshot Viewer? It is still listed in the download > center > > for A97 and A2000, but when you get to the page to initiate the download, > it > > says it's no longer available. > > > > Does anyone know why? My Access 97 app emails .snp reports to customers. > > The emails include a note that they can download Snapshot Viewer for free > on > > Microsoft's site. I'm not sure what to do so they can download it. > > > > Thanks, > > Barb Ryan > > > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From martyconnelly at shaw.ca Thu Aug 14 19:24:25 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Thu, 14 Aug 2003 17:24:25 -0700 Subject: [AccessD] Snapshot Viewer References: <007301c362b9$d457c6e0$0d260044@hr.cox.net> Message-ID: <3F3C2839.1040201@shaw.ca> you can download it from here: sometimes this site is slow especially going through a browser ftp://ftp.microsoft.com/Softlib/MSLFILES/ the file you are looking for is called SnpVw90.exe Keep this site in mind for old stuff that cannot be found elsewhere, lot's buried in here, you have to know the exact download name though. or I trust this site http://www.lebans.com/MISC.htm Rumours. It was security comprinised, It can lead to a virus transfer. Microsoft was invaded by aliens. Anyway, it has been removed for the last three weeks. Barbara Ryan wrote: > What happened to Snapshot Viewer? It is still listed in the download > center for A97 and A2000, but when you get to the page to initiate the > download, it says it's no longer available. > > Does anyone know why? My Access 97 app emails .snp reports to > customers. The emails include a note that they can download Snapshot > Viewer for free on Microsoft's site. I'm not sure what to do so they > can download it. > > Thanks, > Barb Ryan > >------------------------------------------------------------------------ > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > From jcolby at colbyconsulting.com Thu Aug 14 19:36:09 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Thu, 14 Aug 2003 20:36:09 -0400 Subject: [AccessD] Professional Reference In-Reply-To: <000d01c360d4$ff242d00$9111758f@aine> Message-ID: Martin, Can I use you as a professional reference? If so I would need a phone number as they will want to call I think. John W. Colby www.colbyconsulting.com From jcolby at colbyconsulting.com Thu Aug 14 20:10:16 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Thu, 14 Aug 2003 21:10:16 -0400 Subject: [AccessD] Little Rock Message-ID: Any developers out there in the little rock area, please let me know. Thanks, John W. Colby www.colbyconsulting.com From DWUTKA at marlow.com Thu Aug 14 21:54:04 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Thu, 14 Aug 2003 21:54:04 -0500 Subject: [AccessD] Job offer: Message-ID: <2F8793082E00D4119A1700B0D0216BF80222708E@main2.marlow.com> As you can see below, it's based in Dallas, but I'm throwing it to the wolves just in case! Drew I promise that this is the last time that I send a job request to the whole list. But, this one is urgent. If you know anyone that is looking and knows Access please forward this to them: ---------- Original Message ---------------------------------- From: "Jeevan R. Santha" Date: Wed, 13 Aug 2003 11:59:37 -0500 Duration: 3 to 6 months Location: Dallas, TX Must be a guru in Access both front end and back end. Must speak calmly with excellent communication skills regards Jeevan -- PRUDENT Consulting 281-923-4112 713-977-1705 Fax From wdhindman at bellsouth.net Thu Aug 14 22:36:01 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Thu, 14 Aug 2003 23:36:01 -0400 Subject: [AccessD] Job offer: References: <2F8793082E00D4119A1700B0D0216BF80222708E@main2.marlow.com> Message-ID: <007d01c362de$598fe490$6001a8c0@dejpolsys> ...why this strange reluctance to post legitimate job openings for Access developers? ...does anyone here object to such postings from active list members ...its not like this is a recruiter abusing the list. :((( William Hindman So, then, to every man his chance -- to every man, regardless of his birth, his shining golden opportunity -- to every man his right to live, to work, to be himself, to become whatever his manhood and his vision can combine to make him -- this, seeker, is the promise of America. -- Thomas Wolfe ----- Original Message ----- From: "Drew Wutka" To: Sent: Thursday, August 14, 2003 10:54 PM Subject: [AccessD] Job offer: > As you can see below, it's based in Dallas, but I'm throwing it to the > wolves just in case! > > Drew > > I promise that this is the last time that I send a job request to the whole > list. But, this one is urgent. If you know anyone that is looking and knows > Access please forward this to them: > ---------- Original Message ---------------------------------- > From: "Jeevan R. Santha" > Date: Wed, 13 Aug 2003 11:59:37 -0500 > Duration: 3 to 6 months > Location: Dallas, TX > Must be a guru in Access both front end and back end. > Must speak calmly with excellent communication skills > regards > Jeevan > -- > PRUDENT Consulting > 281-923-4112 > 713-977-1705 Fax > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From todd_5036 at msn.com Fri Aug 15 00:49:44 2003 From: todd_5036 at msn.com (Todd Buttrey) Date: Fri, 15 Aug 2003 00:49:44 -0500 Subject: [AccessD] Job offer: References: <2F8793082E00D4119A1700B0D0216BF80222708E@main2.marlow.com> Message-ID: Must speak calmly? ----- Original Message ----- From: "Drew Wutka" To: Sent: Thursday, August 14, 2003 9:54 PM Subject: [AccessD] Job offer: > As you can see below, it's based in Dallas, but I'm throwing it to the > wolves just in case! > > Drew > > I promise that this is the last time that I send a job request to the whole > list. But, this one is urgent. If you know anyone that is looking and knows > Access please forward this to them: > ---------- Original Message ---------------------------------- > From: "Jeevan R. Santha" > Date: Wed, 13 Aug 2003 11:59:37 -0500 > Duration: 3 to 6 months > Location: Dallas, TX > Must be a guru in Access both front end and back end. > Must speak calmly with excellent communication skills > regards > Jeevan > -- > PRUDENT Consulting > 281-923-4112 > 713-977-1705 Fax > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jcolby at colbyconsulting.com Fri Aug 15 01:14:29 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Fri, 15 Aug 2003 02:14:29 -0400 Subject: [AccessD] Job offer: In-Reply-To: Message-ID: As in "no babbling incoherent phrases of gratitude for the work offer"? ;-) John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Todd Buttrey Sent: Friday, August 15, 2003 1:50 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Job offer: Must speak calmly? ----- Original Message ----- From: "Drew Wutka" To: Sent: Thursday, August 14, 2003 9:54 PM Subject: [AccessD] Job offer: > As you can see below, it's based in Dallas, but I'm throwing it to the > wolves just in case! > > Drew > > I promise that this is the last time that I send a job request to the whole > list. But, this one is urgent. If you know anyone that is looking and knows > Access please forward this to them: > ---------- Original Message ---------------------------------- > From: "Jeevan R. Santha" > Date: Wed, 13 Aug 2003 11:59:37 -0500 > Duration: 3 to 6 months > Location: Dallas, TX > Must be a guru in Access both front end and back end. > Must speak calmly with excellent communication skills > regards > Jeevan > -- > PRUDENT Consulting > 281-923-4112 > 713-977-1705 Fax > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From andy at minstersystems.co.uk Fri Aug 15 01:42:10 2003 From: andy at minstersystems.co.uk (Andy Lacey) Date: Fri, 15 Aug 2003 07:42:10 +0100 Subject: [AccessD] Job offer: In-Reply-To: <007d01c362de$598fe490$6001a8c0@dejpolsys> Message-ID: <00e101c362f8$5b7aece0$b274d0d5@minster33c3r25> Absolutely right William. Anyone who knows of job opportunities should feel free to post them. You'll make a lot of friends. And as for looking for work, the netiquette says: "Those developers wishing to make either their availability or their hiring needs known are welcome to post such messages but please restrict such use to no more than once per week." So don't be shy. Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > William Hindman > Sent: 15 August 2003 04:36 > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Job offer: > > > ...why this strange reluctance to post legitimate job > openings for Access developers? ...does anyone here object to > such postings from active list members ...its not like this > is a recruiter abusing the list. :((( > > William Hindman > So, then, to every man his chance -- to every man, regardless > of his birth, his shining golden opportunity -- to every man > his right to live, to work, to be himself, to become whatever > his manhood and his vision can combine to make him -- this, > seeker, is the promise of America. > -- Thomas Wolfe > > > > ----- Original Message ----- > From: "Drew Wutka" > To: > Sent: Thursday, August 14, 2003 10:54 PM > Subject: [AccessD] Job offer: > > > > As you can see below, it's based in Dallas, but I'm > throwing it to the > > wolves just in case! > > > > Drew > > > > I promise that this is the last time that I send a job > request to the > whole > > list. But, this one is urgent. If you know anyone that is > looking and > knows > > Access please forward this to them: > > ---------- Original Message ---------------------------------- > > From: "Jeevan R. Santha" > > Date: Wed, 13 Aug 2003 11:59:37 -0500 > > Duration: 3 to 6 months > > Location: Dallas, TX > > Must be a guru in Access both front end and back end. > > Must speak calmly with excellent communication skills > > regards > > Jeevan > > -- > > PRUDENT Consulting > > 281-923-4112 > > 713-977-1705 Fax > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/a> ccessd > Website: > http://www.databaseadvisors.com > > From Lembit.Soobik at t-online.de Fri Aug 15 02:25:11 2003 From: Lembit.Soobik at t-online.de (Lembit Soobik) Date: Fri, 15 Aug 2003 09:25:11 +0200 Subject: [AccessD] Getting Desperate - Apologies for the OT message References: <003a01c36239$1ddd0db0$0c05a8c0@carlton.local> Message-ID: <1cae01c362fe$5ce54390$0200a8c0@S856> Thank you, Vlad, this is sure a great help till we get something set up on our website. Lembit Lembit Soobik ----- Original Message ----- From: "ACTEBS" To: "'Access Developers discussion and problem solving'" Sent: Thursday, August 14, 2003 9:53 AM Subject: RE: [AccessD] Getting Desperate - Apologies for the OT message > Lembit, > > If you like, we have a forum Template that I have just set up for a football > forum discussion group that can be quickly changed into a Job Opportunity > discussion forum if you like...I can set it up as almost any web address you > like or supply a sub domain one like www.accessdjobs.serverbox.org that is > free > > Forum example can be viewed here (different skins can be applied to give it > distinct access feel): > > http://www.cfc.serverbox.org/ > > Regards > Vlad > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lembit Soobik > Sent: Thursday, 14 August 2003 5:27 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Getting Desperate - Apologies for the OT message > > > It will sure take time to set something up on our website. > In the meantime, what do you all think about a list for discussing job > opportunities? this can be set up fast. > > Lembit Soobik > > ----- Original Message ----- > From: "Jim Lawrence (AccessD)" > To: "Access Developers discussion and problem solving" > > Sent: Thursday, August 14, 2003 4:26 AM > Subject: RE: [AccessD] Getting Desperate - Apologies for the OT message > > > > Hi All: > > > > This among many other similar questions would seem to point to a > > members > > page(s) on the DBA site. I am only a single member on the executive (web > > janitor) and there was a lot of focus on the DBA conference preparation > and > > subsequent wind down. I think setting something up like that would be a > > great idea and it could not come sooner...and it seems like a great fall > > project. > > > > The more comments the better. > > > > HTH > > Jim > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jeff Barrows > > Sent: Tuesday, August 12, 2003 9:35 PM > > To: Access Developers discussion and problem solving > > Subject: RE: [AccessD] Getting Desperate - Apologies for the OT > > message > > > > > > Wasn't there talk about a Member's Page? With your resume and a short > > self-written bio? > > > > Btw, I have been looking for work (new clients, new work from current > > clients, or a salaried position) for about 17 months now. > > > > Jeff Barrows > > Outbak Technologies, LLC > > Racine, WI > > Phone: (262) 634-0653 > > Mailto: jeff_developer at hotmail.com > > www.outbaktech.com > > -----Original Message----- > > From: William Hindman [mailto:wdhindman at bellsouth.net] > > Sent: Tuesday, August 12, 2003 10:51 PM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Getting Desperate - Apologies for the OT > > message > > > > Christopher > > > > ...its neither crass nor off-topic ...read the netiquette if you wish > > but sharing and friendship are the constants that make this list far > > better than > > others we all are aware of ...and using the list to look for work is > > both > > highly relevant and welcome ...as for work itself, its been slow here > > for > > months now ...if not for a couple of steady clients, it might well be me > > writing your post instead. > > > > ...you might consider posting your resume as well or a link to it > > ...would make referrals easier :) > > > > William Hindman > > So, then, to every man his chance -- to every man, regardless of his > > birth, his shining golden opportunity -- to every man his right to > > live, to work, > > to be himself, to become whatever his manhood and his vision can combine > > to > > make him -- this, seeker, is the promise of America. > > -- Thomas Wolfe > > > > > > > > ----- Original Message ----- > > From: "Christopher Hawkins" > > To: > > Sent: Tuesday, August 12, 2003 5:31 PM > > Subject: [AccessD] Getting Desperate - Apologies for the OT message > > > > > > > First off, I apologize for such a blatantly OT message, but I just > > > don't know where else to turn. > > > > > > 6 months ago, I bought a house. Three weeks later, I was laid off. > > > Ouch. Dribs and drabs of contract work have come in, but I'm so far > > > out of any major tech market that there are not enough contract jobs > > > or W2 jobs available within commutable distance. > > > > > > I'm making an appeal to any among you who may find yourself in the > > > enviable positon of having more work offered than you can handle, or > > > who may have knowledge of projects that are staffing up. I'm > > > looking for a chance to subcontract, a referral, and outright > > > assignment - anything that gets the revenue train going again. > > > > > > I know this is crass, but if I have to take the initiative and beg > > > for work to keep my family fed and housed, I'll beg! > > > > > > Anyone with work or leads, feel free to contact me offline - > > > clh at christopherhawkins.com. > > > > > > Thank you. > > > > > > -Christopher Hawkins- > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Aug 15 02:27:26 2003 From: accessd666 at yahoo.com (Sad Der) Date: Fri, 15 Aug 2003 00:27:26 -0700 (PDT) Subject: [AccessD] Cannot create multiple Dynamic Reports (NEEDED BEFORE 16:00 CET) Message-ID: <20030815072726.71417.qmail@web10007.mail.yahoo.com> Hi group, I'm getting desperate. I need to finish a project at 16:00 cet because my plane flies at 18:00 AAAHHRG. I've created a function that creates a report. Of course now the users needs more reports. It can vary from 2-17(!) I keep getting the error: 2147 You must be in design view to create or delete controls. The error is correct because the line: Set rpt = CreateReport Creates a new report called "Report1" As you can see I tried giving the new report a name (using an extra param) but I could not get it to work. I also added the line: ' DoCmd.OpenReport strReportName, acViewDesign But this didn't work because it then adds the controls to the first report. I also tried adding report templates. I'm too f#$#ing stressed to see the solution, can anybody help me with this one? Below is the function. Thnx in advance SD Function CreateDynamicReport(strSql As String, strCaption As String, strTitle As String) Dim rpt As Report Dim txtNew As Access.TextBox Dim lblNew As Access.Label Dim rstSource As ADODB.Recordset Dim fldData As ADODB.Field Dim lngTop As Long Dim lngLeft As Long ' Return variable of data type Report pointing to ' new Report object. Set rpt = CreateReport '(CurrentDb, strReportName) 'Set properties for new report. With rpt .RecordSource = strSql .Caption = strCaption End With 'Restore new report. DoCmd.Restore lngLeft = 0 lngTop = 0 Set rstSource = New ADODB.Recordset rstSource.Open strSql, CurrentProject.Connection, adOpenForwardOnly ' Create corresponding label and text box controls for each field. ' DoCmd.OpenReport strReportName, acViewDesign For Each fldData In rstSource.Fields ' Create new text box control and size to fit data. Set txtNew = CreateReportControl("Report1", acTextBox, _ acDetail, , fldData.Name, lngLeft, lngTop) txtNew.SizeToFit 'Create title Set lblNew = CreateReportControl("Report1", acLabel, acPageHeader, _ , strTitle, 0, 0, 1400, 10) ' Create new label control and size to fit data. lblNew.FontSize = 12 lblNew.SizeToFit Set lblNew = CreateReportControl("Report1", acLabel, acPageHeader, _ , fldData.Name, lngLeft, lngTop + 1000, 1400, txtNew.Height) lblNew.FontBold = True lblNew.FontSize = 8 lblNew.SizeToFit ' Increment top value for next control. lngTop = lngTop '+ txtNew.Height lngLeft = lngLeft + txtNew.Width Next With rpt .Section(0).Height = 5 .Section(3).Height = 5 .Section(4).Visible = False End With DoCmd.OpenReport "Report1", acViewPreview rstSource.Close Set rpt = Nothing End Function __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com From Lembit.Soobik at t-online.de Fri Aug 15 02:29:20 2003 From: Lembit.Soobik at t-online.de (Lembit Soobik) Date: Fri, 15 Aug 2003 09:29:20 +0200 Subject: [AccessD] Job offer: References: <00e101c362f8$5b7aece0$b274d0d5@minster33c3r25> Message-ID: <1cb401c362fe$f6276ce0$0200a8c0@S856> ... and for the time being, let us not restrict it to one per week. Lembit Lembit Soobik ----- Original Message ----- From: "Andy Lacey" To: "'Access Developers discussion and problem solving'" Sent: Friday, August 15, 2003 8:42 AM Subject: RE: [AccessD] Job offer: > Absolutely right William. Anyone who knows of job opportunities should > feel free to post them. You'll make a lot of friends. And as for looking > for work, the netiquette says: > > "Those developers wishing to make either their availability or their > hiring needs known are welcome to post such messages but please restrict > such use to no more than once per week." > > So don't be shy. > > Andy Lacey > http://www.minstersystems.co.uk > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > > William Hindman > > Sent: 15 August 2003 04:36 > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Job offer: > > > > > > ...why this strange reluctance to post legitimate job > > openings for Access developers? ...does anyone here object to > > such postings from active list members ...its not like this > > is a recruiter abusing the list. :((( > > > > William Hindman > > So, then, to every man his chance -- to every man, regardless > > of his birth, his shining golden opportunity -- to every man > > his right to live, to work, to be himself, to become whatever > > his manhood and his vision can combine to make him -- this, > > seeker, is the promise of America. > > -- Thomas Wolfe > > > > > > > > ----- Original Message ----- > > From: "Drew Wutka" > > To: > > Sent: Thursday, August 14, 2003 10:54 PM > > Subject: [AccessD] Job offer: > > > > > > > As you can see below, it's based in Dallas, but I'm > > throwing it to the > > > wolves just in case! > > > > > > Drew > > > > > > I promise that this is the last time that I send a job > > request to the > > whole > > > list. But, this one is urgent. If you know anyone that is > > looking and > > knows > > > Access please forward this to them: > > > ---------- Original Message ---------------------------------- > > > From: "Jeevan R. Santha" > > > Date: Wed, 13 Aug 2003 11:59:37 -0500 > > > Duration: 3 to 6 months > > > Location: Dallas, TX > > > Must be a guru in Access both front end and back end. > > > Must speak calmly with excellent communication skills > > > regards > > > Jeevan > > > -- > > > PRUDENT Consulting > > > 281-923-4112 > > > 713-977-1705 Fax > > > > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/a> ccessd > > Website: > > http://www.databaseadvisors.com > > > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From caa at highway.com.br Fri Aug 15 03:38:08 2003 From: caa at highway.com.br (Carlos Alberto Alves) Date: Fri, 15 Aug 2003 05:38:08 -0300 Subject: [AccessD] A2k - Age ranges In-Reply-To: <3F37C7A6.9020609@shaw.ca> References: <22F1CCD5171D17419CB37FEEE09D5F990173F38B@TTNEXCHSRV1.hshhp.com> <3F37C7A6.9020609@shaw.ca> Message-ID: Dear Mates: I am trying to solve an apparently simple situation but cannot find a good solution. My app has a table Patients with a birthdate, among other data. Users asked me to set a query and a graph with number of patients per range, for example <20y, 21 to 30y, 31 to 40y,...,>80y. For some "strange" reason I have got a solution for only one range per query. Anybody has a better solution, like a crosstab query that supports all ranges???????????? I have my own Age function!!! ;-) TIA, -- ************************************** * Carlos Alberto Alves * * Child Neurologist * * Systems Analyst/Programmer * * Rio de Janeiro, Brazil * * mailto:caa at highway.com.br * ************************************** From artful at rogers.com Fri Aug 15 05:33:26 2003 From: artful at rogers.com (Arthur Fuller) Date: Fri, 15 Aug 2003 06:33:26 -0400 Subject: [AccessD] WizGen In-Reply-To: <353A32F9B331D411BB8F00A0C9FC503701294D2B@NT04> Message-ID: I haven't yet scanned all my backup CDs but I know it's on one of them. It's an MS-written wizard that steps you through a series of questions and creates a wizard for you (i.e. with buttons across the bottom that say "previous", "next", "cancel" and "finish", with each page having rules about which buttons should appear on which pages. Once you're done you can then go into design mode and drop controls and subforms on the pages. It isn't rocket science, but it is convenient. If I can't find it, I'll just roll my own. You can do pretty much what it does by creating a tabbed form and hiding the tabs, using a set of buttons instead. Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Hewson Sent: Thursday, August 14, 2003 2:13 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] WizGen Arthur, Your question intrigued me. I was waiting for someone to answer your question. Did you find your copy of WizGen or did someone send you one? What is it? Jim -----Original Message----- From: Arthur Fuller [mailto:artful at rogers.com] Sent: Wednesday, August 13, 2003 12:42 PM To: AccessD Subject: [AccessD] WizGen I have misplaced my copy of a wizard generator for Access. Does anyone have it or an URL to it? 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 michael.mattys at adelphia.net Fri Aug 15 06:41:31 2003 From: michael.mattys at adelphia.net (Michael R Mattys) Date: Fri, 15 Aug 2003 07:41:31 -0400 Subject: [AccessD] A2k - Age ranges References: <22F1CCD5171D17419CB37FEEE09D5F990173F38B@TTNEXCHSRV1.hshhp.com><3F37C7A6.9020609@shaw.ca> Message-ID: <057801c36322$2d19cf90$6401a8c0@default> Carlos, You may be looking for the Partition function I have a sample db, if you need it I'll send it. Michael R. Mattys www.mattysconsulting.com ----- Original Message ----- From: "Carlos Alberto Alves" To: "Access Developers discussion and problem solving" Sent: Friday, August 15, 2003 4:38 AM Subject: [AccessD] A2k - Age ranges > Dear Mates: > I am trying to solve an apparently simple situation but cannot find a good > solution. My app has a table Patients with a birthdate, among other data. > Users asked me to set a query and a graph with number of patients per > range, for example <20y, 21 to 30y, 31 to 40y,...,>80y. For some "strange" > reason I have got a solution for only one range per query. > Anybody has a better solution, like a crosstab query that supports all > ranges???????????? > I have my own Age function!!! ;-) > TIA, > -- > ************************************** > * Carlos Alberto Alves * > * Child Neurologist * > * Systems Analyst/Programmer * > * Rio de Janeiro, Brazil * > * mailto:caa at highway.com.br * > ************************************** > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From michael.mattys at adelphia.net Fri Aug 15 06:51:11 2003 From: michael.mattys at adelphia.net (Michael R Mattys) Date: Fri, 15 Aug 2003 07:51:11 -0400 Subject: [AccessD] MapPoint.NET Message-ID: <058a01c36323$870988a0$6401a8c0@default> Anybody here who is proficient in MapPoint.NET? Michael R. Mattys www.mattysconsulting.com From paulawright at boddienoell.com Fri Aug 15 06:54:58 2003 From: paulawright at boddienoell.com (Paula Wright) Date: Fri, 15 Aug 2003 07:54:58 -0400 Subject: [AccessD] Amortization Message-ID: I know that Excel provides an amortization template. However, I am writing a program in Access that will be converted to run-time and I'm wondering what is the best way to allow the client to run an amortization. Can an Excel spreadsheet be included in an Access run-time program? Paula Wright Programmer/Analyst paulawright at boddienoell.com (252)937-2800 ext.1355 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Blank Bkgrd.gif Type: image/gif Size: 145 bytes Desc: Blank Bkgrd.gif URL: From michael.mattys at adelphia.net Fri Aug 15 07:25:50 2003 From: michael.mattys at adelphia.net (Michael R Mattys) Date: Fri, 15 Aug 2003 08:25:50 -0400 Subject: [AccessD] Amortization References: Message-ID: <05d901c36328$5f9a3850$6401a8c0@default> Hi Paula, Short of this "template", is it possible for you to use Excel from Access like this: Function XLAMRT( [Args] ) Dim obj As Excel.Application Set obj = CreateObject("Excel.Application") With obj . WorksheetFunction.IPmt [Args] End With Set obj = Nothing End Function Michael R. Mattys www.mattysconsulting.com ----- Original Message ----- From: "Paula Wright" To: Sent: Friday, August 15, 2003 7:54 AM Subject: [AccessD] Amortization I know that Excel provides an amortization template. However, I am writing a program in Access that will be converted to run-time and I'm wondering what is the best way to allow the client to run an amortization. Can an Excel spreadsheet be included in an Access run-time program? Paula Wright Programmer/Analyst paulawright at boddienoell.com (252)937-2800 ext.1355 ---------------------------------------------------------------------------- ---- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From Jeff at OUTBAKTech.com Fri Aug 15 07:22:49 2003 From: Jeff at OUTBAKTech.com (Jeff Barrows) Date: Fri, 15 Aug 2003 07:22:49 -0500 Subject: [AccessD] Protecting an Application Message-ID: <8DA8776D2F418E46A2A464AC6CE630509238@outbaksrv1.outbaktech.com> I am wondering how you all protect your applications from being 'loaned out' to other people. I have been using Sentinel SuperPro hardware keys, but I do not think that I want to continue using them. I would be very interested in any software 'key' solutions that anyone could suggest. Jeff Barrows Outbak Technologies, LLC Racine, WI Phone: (262) 634-0653 Mailto: jeff_developer at hotmail.com www.outbaktech.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From JHewson at karta.com Fri Aug 15 07:48:03 2003 From: JHewson at karta.com (Jim Hewson) Date: Fri, 15 Aug 2003 07:48:03 -0500 Subject: [AccessD] WizGen Message-ID: <353A32F9B331D411BB8F00A0C9FC503701294D31@NT04> Thanks, Jim -----Original Message----- From: Arthur Fuller [mailto:artful at rogers.com] Sent: Friday, August 15, 2003 5:33 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] WizGen I haven't yet scanned all my backup CDs but I know it's on one of them. It's an MS-written wizard that steps you through a series of questions and creates a wizard for you (i.e. with buttons across the bottom that say "previous", "next", "cancel" and "finish", with each page having rules about which buttons should appear on which pages. Once you're done you can then go into design mode and drop controls and subforms on the pages. It isn't rocket science, but it is convenient. If I can't find it, I'll just roll my own. You can do pretty much what it does by creating a tabbed form and hiding the tabs, using a set of buttons instead. Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Hewson Sent: Thursday, August 14, 2003 2:13 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] WizGen Arthur, Your question intrigued me. I was waiting for someone to answer your question. Did you find your copy of WizGen or did someone send you one? What is it? Jim -----Original Message----- From: Arthur Fuller [mailto:artful at rogers.com] Sent: Wednesday, August 13, 2003 12:42 PM To: AccessD Subject: [AccessD] WizGen I have misplaced my copy of a wizard generator for Access. Does anyone have it or an URL to it? TIA, Arthur _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From harkins at iglou.com Fri Aug 15 07:42:39 2003 From: harkins at iglou.com (Susan Harkins) Date: Fri, 15 Aug 2003 08:42:39 -0400 Subject: [AccessD] Job offer: References: <2F8793082E00D4119A1700B0D0216BF80222708E@main2.marlow.com> <007d01c362de$598fe490$6001a8c0@dejpolsys> Message-ID: <005b01c3632b$f7a587f0$ebecffcc@SusanOne> No, I don't, but I've been fussed at for doing so. Susan H. > ...why this strange reluctance to post legitimate job openings for Access > developers? ...does anyone here object to such postings from active list > members ...its not like this is a recruiter abusing the list. :((( From jimdettman at earthlink.net Fri Aug 15 08:01:14 2003 From: jimdettman at earthlink.net (Jim Dettman) Date: Fri, 15 Aug 2003 09:01:14 -0400 Subject: [AccessD] Indexes on text fields In-Reply-To: Message-ID: John, I never said that I believed it or hoped it to be true. I simply said I don't know the answer. And I didn't say you were wrong either. I just asked how you knew for sure that it was the case other then observation. I'm glad Martin has the ability to pass this along (hopefully to Kevin) and get an answer that is definite. Then we will know for sure. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Colby Sent: Thursday, August 14, 2003 2:43 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Indexes on text fields Jim, Since no one (I know) knows the internals of JET, I am not going to argue with you on that account. In fact, I am not going to argue with you at all. If you wish to believe (or hope, or pray) that Jet can magically parse a bunch of stuff used to create an appended string back into it's components, and then use that information to decide whether or not to attempt to apply Rushmore to whatever pieces it can determine comes from table fields.... uh... Can I state it as a fact. Of course not. What I can say is that I have a very good class for timing stuff down to milli-second increments. Anyone who wishes to may use that class to empirically time such queries. I will be willing to bet good money, up to a month's wages (I'm "unemployed" of course) against an equal number of doughnuts that you will find, 100 times out of 100 times, that attempting to apply a sort to such a field will, each and every time, be an order of magnitude slower than using the component fields yourself to perform the sort. And of course, having done that, one still can't state as FACT that Jet isn't attempting to use Rushmore to perform the sort on the appended string field. And yes, I have read it in various places over the years. I have long ago lost the ability to recall where I read every piece of information I have read. So let's not start any myths here. I do not know for a fact that Jet doesn't use Rushmore (or anything else) to attempt to optimize such queries. I simply have the sense to look at what would be required, the silliness of the concept, and the results I have seen in my personal experience, and state that I know, without a shadow of a doubt, that Access makes no attempt to apply such methods to a sort of an appended string. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Dettman Sent: Thursday, August 14, 2003 1:12 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Indexes on text fields John, <> That's why I'm asking. I have pretty much read everything there is to read about JET over the past 10 years, and I've never seen anything on this. <<[Fielda] & Random() & [Fieldb] & ascii(right$("John Colby",1)) How in the world is any index on FieldA and FieldB going to help you sort that expression into logical order?>> Rushmore works by making merges/intersections between indexes. JET queries as we all know are very aware of the underlying tables. This has been a key feature of Access/JET since day 1. JET may be smart enough to figure out that the logical order is based on two fields it already has indexes for. Then again it may not be. <> It knows the field names and what tables they come from. <> Yes, but that wasn't the example Mark gave. <> That seems to be the case, but do you really know for sure? I don't believe you do. I'm not saying your wrong, but I don't think you can state it as a fact, unless you have seen docs on JET's internal workings. That's why I asked you to cite a source. It's just like the myth that got started about domain functions always being the slowest of methods. This is not the case as in some situations, a domain function can actually beat every other method. That floated around for several years until someone sat down and tested it and found it not to be true. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Colby Sent: Thursday, August 14, 2003 10:09 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Indexes on text fields <> _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ad_tp at hotmail.com Fri Aug 15 07:59:13 2003 From: ad_tp at hotmail.com (A.D.Tejpal) Date: Fri, 15 Aug 2003 18:29:13 +0530 Subject: [AccessD] A2k - Age ranges References: <22F1CCD5171D17419CB37FEEE09D5F990173F38B@TTNEXCHSRV1.hshhp.com><3F37C7A6.9020609@shaw.ca> <057801c36322$2d19cf90$6401a8c0@default> Message-ID: Michael, Could you kindly send a copy of sample db to me as well? Regards, A.D.Tejpal -------------- ----- Original Message ----- From: Michael R Mattys To: Access Developers discussion and problem solving Sent: Friday, August 15, 2003 17:11 Subject: Re: [AccessD] A2k - Age ranges Carlos, You may be looking for the Partition function I have a sample db, if you need it I'll send it. Michael R. Mattys www.mattysconsulting.com ----- Original Message ----- From: "Carlos Alberto Alves" To: "Access Developers discussion and problem solving" Sent: Friday, August 15, 2003 4:38 AM Subject: [AccessD] A2k - Age ranges > Dear Mates: > I am trying to solve an apparently simple situation but cannot find a good > solution. My app has a table Patients with a birthdate, among other data. > Users asked me to set a query and a graph with number of patients per > range, for example <20y, 21 to 30y, 31 to 40y,...,>80y. For some "strange" > reason I have got a solution for only one range per query. > Anybody has a better solution, like a crosstab query that supports all > ranges???????????? > I have my own Age function!!! ;-) > TIA, > -- > ************************************** > * Carlos Alberto Alves * > * Child Neurologist * > * Systems Analyst/Programmer * > * Rio de Janeiro, Brazil * > * mailto:caa at highway.com.br * > ************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: From jcolby at colbyconsulting.com Fri Aug 15 08:30:11 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Fri, 15 Aug 2003 09:30:11 -0400 Subject: [AccessD] Indexes on text fields In-Reply-To: Message-ID: Martin's answer was to run showplan. I have done so. aaaaqtestRushmorex is a query that does exactly the kind of append the list member asked about - Name: Lastname & ", " & FirstName - sorted on that field SELECT tblClaimant.CLMT_LastName, tblClaimant.CLMT_FirstName, [CLMT_LastName] & ", " & [CLMT_FirstName] AS Name FROM tblClaimant ORDER BY tblClaimant.CLMT_LastName DESC , [CLMT_LastName] & ", " & [CLMT_FirstName] DESC; aaaaqtestRushmore does the same thing but sorted on just the last name field SELECT tblClaimant.CLMT_LastName, tblClaimant.CLMT_FirstName, [CLMT_LastName] & ", " & [CLMT_FirstName] AS Name FROM tblClaimant ORDER BY tblClaimant.CLMT_LastName, tblClaimant.CLMT_FirstName DESC; --- aaaaqtestRushmorex --- - Inputs to Query - Table 'tblClaimant' Database 'X:\DISNEW\DISCO_BE.mdb' - End inputs to Query - 01) Sort table 'tblClaimant' --- aaaaqtestRushmore --- - Inputs to Query - Table 'tblClaimant' Database 'X:\DISNEW\DISCO_BE.mdb' Using index 'CLMT_LastName' Having Indexes: CLMT_LastName 13288 entries, 46 pages, 8145 values which has 1 column, fixed CLMT_FirstName 13288 entries, 44 pages, 2831 values which has 1 column, fixed - End inputs to Query - 01) Scan table 'tblClaimant' Database 'X:\DISNEW\DISCO_BE.mdb' Using index 'CLMT_LastName' As you can see, the query sorted on an actual field says "Using index 'CLMT_LastName'" The query sorted on the appended string field says only "01) Sort table 'tblClaimant'" Interestingly (to me), these are identical queries, i.e. I pulled out the first name and last name fields, then created the appended "Name" alias field. Sorted on the Name field and saved as aaaaqtestRushmorex. Removed that index and applied a sort to CLMT_LastName, saved that query as aaaaqtestRushmore. Note that even though the query is identical except for where the sort is applied, the one with the sort on the Name field (appended field) never even mentions the "having indexes" information. Even worse, notice that the original "x" query had an "order by" first on the last name, then on the appended string. Jet still ignored the index on the last name field. The presence of the order by on a field that could not be optimized (the append) caused jet to "give up" on using any indexes. Just to cover all bases, I went back in and removed that order by on the last name so that the X query had ONLY an order by on the appended field. The showplan text was identical, i.e. no usage of indexes. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Dettman Sent: Friday, August 15, 2003 9:01 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Indexes on text fields John, I never said that I believed it or hoped it to be true. I simply said I don't know the answer. And I didn't say you were wrong either. I just asked how you knew for sure that it was the case other then observation. I'm glad Martin has the ability to pass this along (hopefully to Kevin) and get an answer that is definite. Then we will know for sure. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Colby Sent: Thursday, August 14, 2003 2:43 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Indexes on text fields Jim, Since no one (I know) knows the internals of JET, I am not going to argue with you on that account. In fact, I am not going to argue with you at all. If you wish to believe (or hope, or pray) that Jet can magically parse a bunch of stuff used to create an appended string back into it's components, and then use that information to decide whether or not to attempt to apply Rushmore to whatever pieces it can determine comes from table fields.... uh... Can I state it as a fact. Of course not. What I can say is that I have a very good class for timing stuff down to milli-second increments. Anyone who wishes to may use that class to empirically time such queries. I will be willing to bet good money, up to a month's wages (I'm "unemployed" of course) against an equal number of doughnuts that you will find, 100 times out of 100 times, that attempting to apply a sort to such a field will, each and every time, be an order of magnitude slower than using the component fields yourself to perform the sort. And of course, having done that, one still can't state as FACT that Jet isn't attempting to use Rushmore to perform the sort on the appended string field. And yes, I have read it in various places over the years. I have long ago lost the ability to recall where I read every piece of information I have read. So let's not start any myths here. I do not know for a fact that Jet doesn't use Rushmore (or anything else) to attempt to optimize such queries. I simply have the sense to look at what would be required, the silliness of the concept, and the results I have seen in my personal experience, and state that I know, without a shadow of a doubt, that Access makes no attempt to apply such methods to a sort of an appended string. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Dettman Sent: Thursday, August 14, 2003 1:12 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Indexes on text fields John, <> That's why I'm asking. I have pretty much read everything there is to read about JET over the past 10 years, and I've never seen anything on this. <<[Fielda] & Random() & [Fieldb] & ascii(right$("John Colby",1)) How in the world is any index on FieldA and FieldB going to help you sort that expression into logical order?>> Rushmore works by making merges/intersections between indexes. JET queries as we all know are very aware of the underlying tables. This has been a key feature of Access/JET since day 1. JET may be smart enough to figure out that the logical order is based on two fields it already has indexes for. Then again it may not be. <> It knows the field names and what tables they come from. <> Yes, but that wasn't the example Mark gave. <> That seems to be the case, but do you really know for sure? I don't believe you do. I'm not saying your wrong, but I don't think you can state it as a fact, unless you have seen docs on JET's internal workings. That's why I asked you to cite a source. It's just like the myth that got started about domain functions always being the slowest of methods. This is not the case as in some situations, a domain function can actually beat every other method. That floated around for several years until someone sat down and tested it and found it not to be true. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Colby Sent: Thursday, August 14, 2003 10:09 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Indexes on text fields <> _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Fri Aug 15 08:57:38 2003 From: jimdettman at earthlink.net (Jim Dettman) Date: Fri, 15 Aug 2003 09:57:38 -0400 Subject: [AccessD] Indexes on text fields In-Reply-To: Message-ID: John, <> That's what I suggested as well in my first post. It has put the whole issue to rest quite nicely. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Colby Sent: Friday, August 15, 2003 9:30 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Indexes on text fields Martin's answer was to run showplan. I have done so. aaaaqtestRushmorex is a query that does exactly the kind of append the list member asked about - Name: Lastname & ", " & FirstName - sorted on that field SELECT tblClaimant.CLMT_LastName, tblClaimant.CLMT_FirstName, [CLMT_LastName] & ", " & [CLMT_FirstName] AS Name FROM tblClaimant ORDER BY tblClaimant.CLMT_LastName DESC , [CLMT_LastName] & ", " & [CLMT_FirstName] DESC; aaaaqtestRushmore does the same thing but sorted on just the last name field SELECT tblClaimant.CLMT_LastName, tblClaimant.CLMT_FirstName, [CLMT_LastName] & ", " & [CLMT_FirstName] AS Name FROM tblClaimant ORDER BY tblClaimant.CLMT_LastName, tblClaimant.CLMT_FirstName DESC; --- aaaaqtestRushmorex --- - Inputs to Query - Table 'tblClaimant' Database 'X:\DISNEW\DISCO_BE.mdb' - End inputs to Query - 01) Sort table 'tblClaimant' --- aaaaqtestRushmore --- - Inputs to Query - Table 'tblClaimant' Database 'X:\DISNEW\DISCO_BE.mdb' Using index 'CLMT_LastName' Having Indexes: CLMT_LastName 13288 entries, 46 pages, 8145 values which has 1 column, fixed CLMT_FirstName 13288 entries, 44 pages, 2831 values which has 1 column, fixed - End inputs to Query - 01) Scan table 'tblClaimant' Database 'X:\DISNEW\DISCO_BE.mdb' Using index 'CLMT_LastName' As you can see, the query sorted on an actual field says "Using index 'CLMT_LastName'" The query sorted on the appended string field says only "01) Sort table 'tblClaimant'" Interestingly (to me), these are identical queries, i.e. I pulled out the first name and last name fields, then created the appended "Name" alias field. Sorted on the Name field and saved as aaaaqtestRushmorex. Removed that index and applied a sort to CLMT_LastName, saved that query as aaaaqtestRushmore. Note that even though the query is identical except for where the sort is applied, the one with the sort on the Name field (appended field) never even mentions the "having indexes" information. Even worse, notice that the original "x" query had an "order by" first on the last name, then on the appended string. Jet still ignored the index on the last name field. The presence of the order by on a field that could not be optimized (the append) caused jet to "give up" on using any indexes. Just to cover all bases, I went back in and removed that order by on the last name so that the X query had ONLY an order by on the appended field. The showplan text was identical, i.e. no usage of indexes. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Dettman Sent: Friday, August 15, 2003 9:01 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Indexes on text fields John, I never said that I believed it or hoped it to be true. I simply said I don't know the answer. And I didn't say you were wrong either. I just asked how you knew for sure that it was the case other then observation. I'm glad Martin has the ability to pass this along (hopefully to Kevin) and get an answer that is definite. Then we will know for sure. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Colby Sent: Thursday, August 14, 2003 2:43 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Indexes on text fields Jim, Since no one (I know) knows the internals of JET, I am not going to argue with you on that account. In fact, I am not going to argue with you at all. If you wish to believe (or hope, or pray) that Jet can magically parse a bunch of stuff used to create an appended string back into it's components, and then use that information to decide whether or not to attempt to apply Rushmore to whatever pieces it can determine comes from table fields.... uh... Can I state it as a fact. Of course not. What I can say is that I have a very good class for timing stuff down to milli-second increments. Anyone who wishes to may use that class to empirically time such queries. I will be willing to bet good money, up to a month's wages (I'm "unemployed" of course) against an equal number of doughnuts that you will find, 100 times out of 100 times, that attempting to apply a sort to such a field will, each and every time, be an order of magnitude slower than using the component fields yourself to perform the sort. And of course, having done that, one still can't state as FACT that Jet isn't attempting to use Rushmore to perform the sort on the appended string field. And yes, I have read it in various places over the years. I have long ago lost the ability to recall where I read every piece of information I have read. So let's not start any myths here. I do not know for a fact that Jet doesn't use Rushmore (or anything else) to attempt to optimize such queries. I simply have the sense to look at what would be required, the silliness of the concept, and the results I have seen in my personal experience, and state that I know, without a shadow of a doubt, that Access makes no attempt to apply such methods to a sort of an appended string. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Dettman Sent: Thursday, August 14, 2003 1:12 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Indexes on text fields John, <> That's why I'm asking. I have pretty much read everything there is to read about JET over the past 10 years, and I've never seen anything on this. <<[Fielda] & Random() & [Fieldb] & ascii(right$("John Colby",1)) How in the world is any index on FieldA and FieldB going to help you sort that expression into logical order?>> Rushmore works by making merges/intersections between indexes. JET queries as we all know are very aware of the underlying tables. This has been a key feature of Access/JET since day 1. JET may be smart enough to figure out that the logical order is based on two fields it already has indexes for. Then again it may not be. <> It knows the field names and what tables they come from. <> Yes, but that wasn't the example Mark gave. <> That seems to be the case, but do you really know for sure? I don't believe you do. I'm not saying your wrong, but I don't think you can state it as a fact, unless you have seen docs on JET's internal workings. That's why I asked you to cite a source. It's just like the myth that got started about domain functions always being the slowest of methods. This is not the case as in some situations, a domain function can actually beat every other method. That floated around for several years until someone sat down and tested it and found it not to be true. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Colby Sent: Thursday, August 14, 2003 10:09 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Indexes on text fields <> _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From paulawright at boddienoell.com Fri Aug 15 09:29:53 2003 From: paulawright at boddienoell.com (Paula Wright) Date: Fri, 15 Aug 2003 10:29:53 -0400 Subject: [AccessD] Amortization Message-ID: You can do this without Excel being installed on the PC? Paula -----Original Message----- From: Michael R Mattys [mailto:michael.mattys at adelphia.net] Sent: Friday, August 15, 2003 8:26 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Amortization Hi Paula, Short of this "template", is it possible for you to use Excel from Access like this: Function XLAMRT( [Args] ) Dim obj As Excel.Application Set obj = CreateObject("Excel.Application") With obj . WorksheetFunction.IPmt [Args] End With Set obj = Nothing End Function Michael R. Mattys www.mattysconsulting.com ----- Original Message ----- From: "Paula Wright" To: Sent: Friday, August 15, 2003 7:54 AM Subject: [AccessD] Amortization I know that Excel provides an amortization template. However, I am writing a program in Access that will be converted to run-time and I'm wondering what is the best way to allow the client to run an amortization. Can an Excel spreadsheet be included in an Access run-time program? Paula Wright Programmer/Analyst paulawright at boddienoell.com (252)937-2800 ext.1355 ---------------------------------------------------------------------------- ---- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From CWortz at tea.state.tx.us Fri Aug 15 09:42:57 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Fri, 15 Aug 2003 09:42:57 -0500 Subject: [AccessD] Amortization Message-ID: Paula, If they don't have Excel installed, then you can copy the Excel macros into Access and convert them to a module that you will run instead. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Paula Wright [mailto:paulawright at boddienoell.com] Sent: Friday 2003 Aug 15 09:30 To: Access Developers discussion and problem solving Subject: RE: [AccessD] Amortization You can do this without Excel being installed on the PC? Paula -----Original Message----- From: Michael R Mattys [mailto:michael.mattys at adelphia.net] Sent: Friday, August 15, 2003 8:26 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Amortization Hi Paula, Short of this "template", is it possible for you to use Excel from Access like this: Function XLAMRT( [Args] ) Dim obj As Excel.Application Set obj = CreateObject("Excel.Application") With obj . WorksheetFunction.IPmt [Args] End With Set obj = Nothing End Function Michael R. Mattys www.mattysconsulting.com ----- Original Message ----- From: "Paula Wright" To: Sent: Friday, August 15, 2003 7:54 AM Subject: [AccessD] Amortization I know that Excel provides an amortization template. However, I am writing a program in Access that will be converted to run-time and I'm wondering what is the best way to allow the client to run an amortization. Can an Excel spreadsheet be included in an Access run-time program? Paula Wright Programmer/Analyst paulawright at boddienoell.com (252)937-2800 ext.1355 From mikedorism at ntelos.net Fri Aug 15 09:47:04 2003 From: mikedorism at ntelos.net (Mike and Doris Manning) Date: Fri, 15 Aug 2003 10:47:04 -0400 Subject: [AccessD] Amortization In-Reply-To: Message-ID: <000801c3633c$1b8933f0$14390cd8@hargrove.internal> No, Excel must be installed on the PC in order for this to work because you do not have distribution rights for the Excel object model. 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 Paula Wright Sent: Friday, August 15, 2003 10:30 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Amortization You can do this without Excel being installed on the PC? Paula -----Original Message----- From: Michael R Mattys [mailto:michael.mattys at adelphia.net] Sent: Friday, August 15, 2003 8:26 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Amortization Hi Paula, Short of this "template", is it possible for you to use Excel from Access like this: Function XLAMRT( [Args] ) Dim obj As Excel.Application Set obj = CreateObject("Excel.Application") With obj . WorksheetFunction.IPmt [Args] End With Set obj = Nothing End Function Michael R. Mattys www.mattysconsulting.com ----- Original Message ----- From: "Paula Wright" To: Sent: Friday, August 15, 2003 7:54 AM Subject: [AccessD] Amortization I know that Excel provides an amortization template. However, I am writing a program in Access that will be converted to run-time and I'm wondering what is the best way to allow the client to run an amortization. Can an Excel spreadsheet be included in an Access run-time program? Paula Wright Programmer/Analyst paulawright at boddienoell.com (252)937-2800 ext.1355 ---------------------------------------------------------------------------- ---- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From paulawright at boddienoell.com Fri Aug 15 09:50:53 2003 From: paulawright at boddienoell.com (Paula Wright) Date: Fri, 15 Aug 2003 10:50:53 -0400 Subject: [AccessD] Amortization Message-ID: I will try this. You don't happen to know of any examples anywhere, do you? Thanks, Paula -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Friday, August 15, 2003 10:43 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Amortization Paula, If they don't have Excel installed, then you can copy the Excel macros into Access and convert them to a module that you will run instead. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Paula Wright [mailto:paulawright at boddienoell.com] Sent: Friday 2003 Aug 15 09:30 To: Access Developers discussion and problem solving Subject: RE: [AccessD] Amortization You can do this without Excel being installed on the PC? Paula -----Original Message----- From: Michael R Mattys [mailto:michael.mattys at adelphia.net] Sent: Friday, August 15, 2003 8:26 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Amortization Hi Paula, Short of this "template", is it possible for you to use Excel from Access like this: Function XLAMRT( [Args] ) Dim obj As Excel.Application Set obj = CreateObject("Excel.Application") With obj . WorksheetFunction.IPmt [Args] End With Set obj = Nothing End Function Michael R. Mattys www.mattysconsulting.com ----- Original Message ----- From: "Paula Wright" To: Sent: Friday, August 15, 2003 7:54 AM Subject: [AccessD] Amortization I know that Excel provides an amortization template. However, I am writing a program in Access that will be converted to run-time and I'm wondering what is the best way to allow the client to run an amortization. Can an Excel spreadsheet be included in an Access run-time program? Paula Wright Programmer/Analyst paulawright at boddienoell.com (252)937-2800 ext.1355 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mikedorism at ntelos.net Fri Aug 15 10:03:23 2003 From: mikedorism at ntelos.net (Mike and Doris Manning) Date: Fri, 15 Aug 2003 11:03:23 -0400 Subject: [AccessD] Amortization In-Reply-To: Message-ID: <000801c3633e$62c70c40$14390cd8@hargrove.internal> Please note that this WILL NOT work if the end-user doesn't have Excel. You CANNOT LEGALLY DISTRIBUTE the Excel Object Model even if you include it in your Access run-time. 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 Paula Wright Sent: Friday, August 15, 2003 10:51 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Amortization I will try this. You don't happen to know of any examples anywhere, do you? Thanks, Paula -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Friday, August 15, 2003 10:43 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Amortization Paula, If they don't have Excel installed, then you can copy the Excel macros into Access and convert them to a module that you will run instead. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Paula Wright [mailto:paulawright at boddienoell.com] Sent: Friday 2003 Aug 15 09:30 To: Access Developers discussion and problem solving Subject: RE: [AccessD] Amortization You can do this without Excel being installed on the PC? Paula -----Original Message----- From: Michael R Mattys [mailto:michael.mattys at adelphia.net] Sent: Friday, August 15, 2003 8:26 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Amortization Hi Paula, Short of this "template", is it possible for you to use Excel from Access like this: Function XLAMRT( [Args] ) Dim obj As Excel.Application Set obj = CreateObject("Excel.Application") With obj . WorksheetFunction.IPmt [Args] End With Set obj = Nothing End Function Michael R. Mattys www.mattysconsulting.com ----- Original Message ----- From: "Paula Wright" To: Sent: Friday, August 15, 2003 7:54 AM Subject: [AccessD] Amortization I know that Excel provides an amortization template. However, I am writing a program in Access that will be converted to run-time and I'm wondering what is the best way to allow the client to run an amortization. Can an Excel spreadsheet be included in an Access run-time program? Paula Wright Programmer/Analyst paulawright at boddienoell.com (252)937-2800 ext.1355 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From paulawright at boddienoell.com Fri Aug 15 10:03:46 2003 From: paulawright at boddienoell.com (Paula Wright) Date: Fri, 15 Aug 2003 11:03:46 -0400 Subject: [AccessD] Amortization Message-ID: Even if you have Office Developer - which of course you would if you were going to create a run-time? -----Original Message----- From: Mike and Doris Manning [mailto:mikedorism at ntelos.net] Sent: Friday, August 15, 2003 11:03 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Amortization Please note that this WILL NOT work if the end-user doesn't have Excel. You CANNOT LEGALLY DISTRIBUTE the Excel Object Model even if you include it in your Access run-time. 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 Paula Wright Sent: Friday, August 15, 2003 10:51 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Amortization I will try this. You don't happen to know of any examples anywhere, do you? Thanks, Paula -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Friday, August 15, 2003 10:43 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Amortization Paula, If they don't have Excel installed, then you can copy the Excel macros into Access and convert them to a module that you will run instead. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Paula Wright [mailto:paulawright at boddienoell.com] Sent: Friday 2003 Aug 15 09:30 To: Access Developers discussion and problem solving Subject: RE: [AccessD] Amortization You can do this without Excel being installed on the PC? Paula -----Original Message----- From: Michael R Mattys [mailto:michael.mattys at adelphia.net] Sent: Friday, August 15, 2003 8:26 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Amortization Hi Paula, Short of this "template", is it possible for you to use Excel from Access like this: Function XLAMRT( [Args] ) Dim obj As Excel.Application Set obj = CreateObject("Excel.Application") With obj . WorksheetFunction.IPmt [Args] End With Set obj = Nothing End Function Michael R. Mattys www.mattysconsulting.com ----- Original Message ----- From: "Paula Wright" To: Sent: Friday, August 15, 2003 7:54 AM Subject: [AccessD] Amortization I know that Excel provides an amortization template. However, I am writing a program in Access that will be converted to run-time and I'm wondering what is the best way to allow the client to run an amortization. Can an Excel spreadsheet be included in an Access run-time program? Paula Wright Programmer/Analyst paulawright at boddienoell.com (252)937-2800 ext.1355 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bchacc at san.rr.com Fri Aug 15 10:25:50 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Fri, 15 Aug 2003 08:25:50 -0700 Subject: [AccessD] Option Compare Binary Problem Message-ID: <007e01c36341$82666ac0$6601a8c0@HAL9002> Dear List: I'm using Option Compare Binary in a module to get the code to recognize that the tilde character "~" is greater than any alphanumeric character. (Using Option Compare Database it sorts the tilde up front.) However when I assemble and run a SQL statement that has fld >= "0" and fld <= "~" it return zero records. If I switch it around so that it says fld >= "~" and fld <= "0" the right number of records is returned. I found this out when I took the SQL and pasted it into a query and tested the criterion both ways. So apparently the Option Compare Binary doesn't extend to string comparisons when executing a SQL statement (reasonable). Is there a way to get the same Compare effect in a SQL statement? Thanks in advance to all and regards, Rocky Smolin Beach Access Software -------------- next part -------------- An HTML attachment was scrubbed... URL: From mikedorism at ntelos.net Fri Aug 15 10:43:29 2003 From: mikedorism at ntelos.net (Mike and Doris Manning) Date: Fri, 15 Aug 2003 11:43:29 -0400 Subject: [AccessD] Amortization In-Reply-To: Message-ID: <000d01c36343$fd23db10$69340cd8@hargrove.internal> Office Developer only gives you the right to distribute the Access run-time engine which is necessary for a user to run your Access program if they don't have Access on their system. This was done because users had a choice to buy just Office or Office Pro (which included Access). It does not give you the right to redistribute an Access database that uses the Word or Excel object models to a user who does not have Word or Excel installed on their system. You do not have a legal right to install or distribute the object libraries involved to a user who doesn't have them. 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 Paula Wright Sent: Friday, August 15, 2003 11:04 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Amortization Even if you have Office Developer - which of course you would if you were going to create a run-time? -----Original Message----- From: Mike and Doris Manning [mailto:mikedorism at ntelos.net] Sent: Friday, August 15, 2003 11:03 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Amortization Please note that this WILL NOT work if the end-user doesn't have Excel. You CANNOT LEGALLY DISTRIBUTE the Excel Object Model even if you include it in your Access run-time. 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 Paula Wright Sent: Friday, August 15, 2003 10:51 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Amortization I will try this. You don't happen to know of any examples anywhere, do you? Thanks, Paula -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Friday, August 15, 2003 10:43 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Amortization Paula, If they don't have Excel installed, then you can copy the Excel macros into Access and convert them to a module that you will run instead. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Paula Wright [mailto:paulawright at boddienoell.com] Sent: Friday 2003 Aug 15 09:30 To: Access Developers discussion and problem solving Subject: RE: [AccessD] Amortization You can do this without Excel being installed on the PC? Paula -----Original Message----- From: Michael R Mattys [mailto:michael.mattys at adelphia.net] Sent: Friday, August 15, 2003 8:26 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Amortization Hi Paula, Short of this "template", is it possible for you to use Excel from Access like this: Function XLAMRT( [Args] ) Dim obj As Excel.Application Set obj = CreateObject("Excel.Application") With obj . WorksheetFunction.IPmt [Args] End With Set obj = Nothing End Function Michael R. Mattys www.mattysconsulting.com ----- Original Message ----- From: "Paula Wright" To: Sent: Friday, August 15, 2003 7:54 AM Subject: [AccessD] Amortization I know that Excel provides an amortization template. However, I am writing a program in Access that will be converted to run-time and I'm wondering what is the best way to allow the client to run an amortization. Can an Excel spreadsheet be included in an Access run-time program? Paula Wright Programmer/Analyst paulawright at boddienoell.com (252)937-2800 ext.1355 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From CWortz at tea.state.tx.us Fri Aug 15 11:05:16 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Fri, 15 Aug 2003 11:05:16 -0500 Subject: [AccessD] Amortization Message-ID: Paula, This is the reason I suggested converting the Excel macros to Access VBA modules so you do not need the Excel object library. You will be using the Access object libraries which you do have the right to distribute if you have ODE. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Mike and Doris Manning [mailto:mikedorism at ntelos.net] Sent: Friday 2003 Aug 15 10:43 To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Amortization Office Developer only gives you the right to distribute the Access run-time engine which is necessary for a user to run your Access program if they don't have Access on their system. This was done because users had a choice to buy just Office or Office Pro (which included Access). It does not give you the right to redistribute an Access database that uses the Word or Excel object models to a user who does not have Word or Excel installed on their system. You do not have a legal right to install or distribute the object libraries involved to a user who doesn't have them. 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 Paula Wright Sent: Friday, August 15, 2003 11:04 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Amortization Even if you have Office Developer - which of course you would if you were going to create a run-time? -----Original Message----- From: Mike and Doris Manning [mailto:mikedorism at ntelos.net] Sent: Friday, August 15, 2003 11:03 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Amortization Please note that this WILL NOT work if the end-user doesn't have Excel. You CANNOT LEGALLY DISTRIBUTE the Excel Object Model even if you include it in your Access run-time. 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 Paula Wright Sent: Friday, August 15, 2003 10:51 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Amortization I will try this. You don't happen to know of any examples anywhere, do you? Thanks, Paula -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Friday, August 15, 2003 10:43 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Amortization Paula, If they don't have Excel installed, then you can copy the Excel macros into Access and convert them to a module that you will run instead. Charles Wortz -----Original Message----- From: Paula Wright [mailto:paulawright at boddienoell.com] Sent: Friday 2003 Aug 15 09:30 To: Access Developers discussion and problem solving Subject: RE: [AccessD] Amortization You can do this without Excel being installed on the PC? Paula -----Original Message----- From: Michael R Mattys [mailto:michael.mattys at adelphia.net] Sent: Friday, August 15, 2003 8:26 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Amortization Hi Paula, Short of this "template", is it possible for you to use Excel from Access like this: Function XLAMRT( [Args] ) Dim obj As Excel.Application Set obj = CreateObject("Excel.Application") With obj . WorksheetFunction.IPmt [Args] End With Set obj = Nothing End Function Michael R. Mattys www.mattysconsulting.com ----- Original Message ----- From: "Paula Wright" To: Sent: Friday, August 15, 2003 7:54 AM Subject: [AccessD] Amortization I know that Excel provides an amortization template. However, I am writing a program in Access that will be converted to run-time and I'm wondering what is the best way to allow the client to run an amortization. Can an Excel spreadsheet be included in an Access run-time program? Paula Wright Programmer/Analyst paulawright at boddienoell.com (252)937-2800 ext.1355 From rjhjr at cox.net Fri Aug 15 11:09:56 2003 From: rjhjr at cox.net (Bob Hall) Date: Fri, 15 Aug 2003 12:09:56 -0400 Subject: [AccessD] Cannot create multiple Dynamic Reports (NEEDED BEFORE 16:00 CET) In-Reply-To: <20030815072726.71417.qmail@web10007.mail.yahoo.com> References: <20030815072726.71417.qmail@web10007.mail.yahoo.com> Message-ID: <20030815160956.GA60088@kongemord.krig.net> On Fri, Aug 15, 2003 at 12:27:26AM -0700, Sad Der wrote: > Hi group, > > I'm getting desperate. I need to finish a project at > 16:00 cet because my plane flies at 18:00 AAAHHRG. > I've created a function that creates a report. Of > course now the users needs more reports. It can vary > from 2-17(!) > I keep getting the error: > 2147 > You must be in design view to create or delete > controls. > > The error is correct because the line: > Set rpt = CreateReport > Creates a new report called "Report1" As you can see I > tried giving the new report a name (using an extra > param) but I could not get it to work. > > I also added the line: > ' DoCmd.OpenReport strReportName, acViewDesign I don't know if I'm posting this soon enough to do you any good, but I've done this by making a copy of the report, and apply the new name to the copy. In order to make a copy with a new name, you need the name of the original. Here's one way of getting the name. Someone else may have a simpler technique, but this has worked reliably in an app I created about 18 months ago. Name the original report by closing it, and opening the report listed in the MSysObjects table that was created in the last 4 seconds. Here's a code sample. Sorry about the language, but the important parts are in English. Use Save:=acSaveYes instead of Save:=acSavePrompt if you don't want the user to name the report. If BarnTilForelderRptOppretta Then 'Om koden lyktes med ? opprette rapporten, s? lukk den. Koden ber om et nytt navn, 'og bruker navnet som brukeren skaffer. Deretter vet Hamsteren ikke navnet. DoCmd.Close ObjectType:=acReport, ObjectName:=RptNavn, Save:=acSavePrompt 'Finn navnet til den nye rapporten. Den skal v?re rapporten som skaptes innen de 'siste fire sekundene. Set db = CurrentDb strSQL = "SELECT [Name] FROM MSysObjects" _ & " WHERE DateDiff('s', [DateCreate], Now()) < 4" _ & " AND Left$([Name], 4) <> '~sq_'" _ & " ORDER BY [DateCreate] Desc;" Set rs = db.OpenRecordset(name:=strSQL, Type:=dbOpenForwardOnly) With rs If Not (.BOF And .EOF) Then 'N? vet Hamsteren navnet. RptNavn = ![name] DoCmd.OpenReport ReportName:=RptNavn, View:=acViewDesign Bob Hall From mikedorism at ntelos.net Fri Aug 15 11:24:22 2003 From: mikedorism at ntelos.net (Mike and Doris Manning) Date: Fri, 15 Aug 2003 12:24:22 -0400 Subject: [AccessD] Amortization In-Reply-To: Message-ID: <000901c36349$b3408ba0$69340cd8@hargrove.internal> How will that help her Charles? She can't use CreateObject or GetObject as part of her automation code because it won't work on a computer that doesn't have Excel installed. Short of creating an Access report that does what the Excel spreadsheet does, what she is trying to do cannot be legally done if the user doesn't have Excel installed. 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 Wortz, Charles Sent: Friday, August 15, 2003 12:05 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Amortization Paula, This is the reason I suggested converting the Excel macros to Access VBA modules so you do not need the Excel object library. You will be using the Access object libraries which you do have the right to distribute if you have ODE. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Mike and Doris Manning [mailto:mikedorism at ntelos.net] Sent: Friday 2003 Aug 15 10:43 To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Amortization Office Developer only gives you the right to distribute the Access run-time engine which is necessary for a user to run your Access program if they don't have Access on their system. This was done because users had a choice to buy just Office or Office Pro (which included Access). It does not give you the right to redistribute an Access database that uses the Word or Excel object models to a user who does not have Word or Excel installed on their system. You do not have a legal right to install or distribute the object libraries involved to a user who doesn't have them. 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 Paula Wright Sent: Friday, August 15, 2003 11:04 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Amortization Even if you have Office Developer - which of course you would if you were going to create a run-time? -----Original Message----- From: Mike and Doris Manning [mailto:mikedorism at ntelos.net] Sent: Friday, August 15, 2003 11:03 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Amortization Please note that this WILL NOT work if the end-user doesn't have Excel. You CANNOT LEGALLY DISTRIBUTE the Excel Object Model even if you include it in your Access run-time. 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 Paula Wright Sent: Friday, August 15, 2003 10:51 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Amortization I will try this. You don't happen to know of any examples anywhere, do you? Thanks, Paula -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Friday, August 15, 2003 10:43 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Amortization Paula, If they don't have Excel installed, then you can copy the Excel macros into Access and convert them to a module that you will run instead. Charles Wortz -----Original Message----- From: Paula Wright [mailto:paulawright at boddienoell.com] Sent: Friday 2003 Aug 15 09:30 To: Access Developers discussion and problem solving Subject: RE: [AccessD] Amortization You can do this without Excel being installed on the PC? Paula -----Original Message----- From: Michael R Mattys [mailto:michael.mattys at adelphia.net] Sent: Friday, August 15, 2003 8:26 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Amortization Hi Paula, Short of this "template", is it possible for you to use Excel from Access like this: Function XLAMRT( [Args] ) Dim obj As Excel.Application Set obj = CreateObject("Excel.Application") With obj . WorksheetFunction.IPmt [Args] End With Set obj = Nothing End Function Michael R. Mattys www.mattysconsulting.com ----- Original Message ----- From: "Paula Wright" To: Sent: Friday, August 15, 2003 7:54 AM Subject: [AccessD] Amortization I know that Excel provides an amortization template. However, I am writing a program in Access that will be converted to run-time and I'm wondering what is the best way to allow the client to run an amortization. Can an Excel spreadsheet be included in an Access run-time program? Paula Wright Programmer/Analyst paulawright at boddienoell.com (252)937-2800 ext.1355 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From clh at christopherhawkins.com Fri Aug 15 11:26:55 2003 From: clh at christopherhawkins.com (Christopher Hawkins) Date: Fri, 15 Aug 2003 10:26:55 -0600 Subject: [AccessD] Getting Desperate - Apologies for the OT message Message-ID: <184670-220038515162655462@christopherhawkins.com> Drew, "Quick question about ASP skills. Do you use VB .dll's with ASP, or just plain ASP?" I have used VB .dlls in some ASP apps. Most of the projects I get aren't sufficiently complex to justify them, though, so I usually don't. -C- ---- Original Message ---- From: DWUTKA at marlow.com To: accessd at databaseadvisors.com, Subject: RE: [AccessD] Getting Desperate - Apologies for the OT message Date: Wed, 13 Aug 2003 23:50:40 -0500 >I'll pass your resume along, hopefully my 'contact' has contacts in >CA. > >Quick question about ASP skills. Do you use VB .dll's with ASP, or >just >plain ASP? > >Drew > >-----Original Message----- >From: Christopher Hawkins [mailto:clh at christopherhawkins.com] >Sent: Wednesday, August 13, 2003 11:15 PM >To: accessd at databaseadvisors.com >Subject: RE: [AccessD] Getting Desperate - Apologies for the OT >message > > >Hi, Drew. I'm located in Visalia, CA. It's somewhat in the middle >of the state, about an hour north of Bakersfield. > >My resume is here: www.christopherhawkins.com/clhResume.htm > >To summarize, I've been developing in Access and SQL since 1996, VB >since version 3.0, and in recent years have done work in classic ASP >and Oracle 7.3 and up for Fortune 500 firms. The past 5 years have >been a 50/50 split betwen coding and leading teams. The past 6 >months have seen me doing a series of short contracts, mostly Access >work but also some project management. > >-C- > > >---- Original Message ---- >From: DWUTKA at marlow.com >To: accessd at databaseadvisors.com, >Subject: RE: [AccessD] Getting Desperate - Apologies for the OT >message >Date: Wed, 13 Aug 2003 21:45:02 -0500 > >>Not crass at all. Asking for work to come your way is definitely a >>developer's topic!!!! >> >>Don't start throwing a party, but lately I have been inundated with >>contract >>work. I also keep an eye on the locals, and an ear to the ground. >>I don't >>have anything right now, but I have had to turn stuff down in the >>last few >>weeks. Nothing MAJOR, but some of it steady work for a few months. > >>Most of >>the stuff I have to turn down is local though, but even if it >isn't, >>I don't >>know who to contact since most jobs want someone local if they >>haven't >>worked with them before. >> >>So where are you at, and can you send me your resume. (It doesn't >>need to >>be full blown one. Just let me know what you know.....). >> >>Drew >> >>-----Original Message----- >>From: Christopher Hawkins [mailto:clh at christopherhawkins.com] >>Sent: Tuesday, August 12, 2003 4:32 PM >>To: accessd at databaseadvisors.com >>Subject: [AccessD] Getting Desperate - Apologies for the OT message >> >> >>First off, I apologize for such a blatantly OT message, but I just >>don't know where else to turn. >> >>6 months ago, I bought a house. Three weeks later, I was laid off. >>Ouch. Dribs and drabs of contract work have come in, but I'm so far >>out of any major tech market that there are not enough contract jobs >>or W2 jobs available within commutable distance. >> >>I'm making an appeal to any among you who may find yourself in the >>enviable positon of having more work offered than you can handle, or >>who may have knowledge of projects that are staffing up. I'm >looking >>for a chance to subcontract, a referral, and outright assignment - >>anything that gets the revenue train going again. >> >>I know this is crass, but if I have to take the initiative and beg >>for work to keep my family fed and housed, I'll beg! >> >>Anyone with work or leads, feel free to contact me offline - >>clh at christopherhawkins.com. >> >>Thank you. >> >>-Christopher Hawkins- >> >>_______________________________________________ >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >>_______________________________________________ >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >> > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > From harkins at iglou.com Fri Aug 15 11:34:53 2003 From: harkins at iglou.com (Susan Harkins) Date: Fri, 15 Aug 2003 12:34:53 -0400 Subject: [AccessD] Option Compare Binary Problem References: <007e01c36341$82666ac0$6601a8c0@HAL9002> Message-ID: <024901c3634b$2931c350$ebecffcc@SusanOne> Can you assign ~ to a constant? Susan H. Dear List: I'm using Option Compare Binary in a module to get the code to recognize that the tilde character "~" is greater than any alphanumeric character. (Using Option Compare Database it sorts the tilde up front.) However when I assemble and run a SQL statement that has fld >= "0" and fld <= "~" it return zero records. If I switch it around so that it says fld >= "~" and fld <= "0" the right number of records is returned. I found this out when I took the SQL and pasted it into a query and tested the criterion both ways. So apparently the Option Compare Binary doesn't extend to string comparisons when executing a SQL statement (reasonable). Is there a way to get the same Compare effect in a SQL statement? Thanks in advance to all and regards, Rocky Smolin Beach Access Software ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From CWortz at tea.state.tx.us Fri Aug 15 11:45:58 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Fri, 15 Aug 2003 11:45:58 -0500 Subject: [AccessD] Amortization Message-ID: Doris, Maybe I didn't make myself clear. The conversion process is not part of the deployment package, it is a one-time only step in the development process. This is only done on Paula's computer that has ODE, Access, and Excel. Presumably Paula has an Excel spreadsheet that does amortization. She needs to import and convert the Excel macros in that spreadsheet into Access and make them an Access VBA module. All references to Excel objects will need to be converted to equivalent Access objects. When she has done all that, instead of an Excel spreadsheet where the user enters the data to use in the calculation, she will have an Access form where the user enters the data to be used. Some of the functions used in the Excel amortization spreadsheet may have exact equivalents in the Access financial functions. Some she may have to write code to perform the same function since there is not equivalent in the Access financial functions library. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Mike and Doris Manning [mailto:mikedorism at ntelos.net] Sent: Friday 2003 Aug 15 11:24 To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Amortization How will that help her Charles? She can't use CreateObject or GetObject as part of her automation code because it won't work on a computer that doesn't have Excel installed. Short of creating an Access report that does what the Excel spreadsheet does, what she is trying to do cannot be legally done if the user doesn't have Excel installed. 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 Wortz, Charles Sent: Friday, August 15, 2003 12:05 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Amortization Paula, This is the reason I suggested converting the Excel macros to Access VBA modules so you do not need the Excel object library. You will be using the Access object libraries which you do have the right to distribute if you have ODE. Charles Wortz -----Original Message----- From: Mike and Doris Manning [mailto:mikedorism at ntelos.net] Sent: Friday 2003 Aug 15 10:43 To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Amortization Office Developer only gives you the right to distribute the Access run-time engine which is necessary for a user to run your Access program if they don't have Access on their system. This was done because users had a choice to buy just Office or Office Pro (which included Access). It does not give you the right to redistribute an Access database that uses the Word or Excel object models to a user who does not have Word or Excel installed on their system. You do not have a legal right to install or distribute the object libraries involved to a user who doesn't have them. 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 Paula Wright Sent: Friday, August 15, 2003 11:04 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Amortization Even if you have Office Developer - which of course you would if you were going to create a run-time? -----Original Message----- From: Mike and Doris Manning [mailto:mikedorism at ntelos.net] Sent: Friday, August 15, 2003 11:03 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Amortization Please note that this WILL NOT work if the end-user doesn't have Excel. You CANNOT LEGALLY DISTRIBUTE the Excel Object Model even if you include it in your Access run-time. 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 Paula Wright Sent: Friday, August 15, 2003 10:51 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Amortization I will try this. You don't happen to know of any examples anywhere, do you? Thanks, Paula -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Friday, August 15, 2003 10:43 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Amortization Paula, If they don't have Excel installed, then you can copy the Excel macros into Access and convert them to a module that you will run instead. Charles Wortz -----Original Message----- From: Paula Wright [mailto:paulawright at boddienoell.com] Sent: Friday 2003 Aug 15 09:30 To: Access Developers discussion and problem solving Subject: RE: [AccessD] Amortization You can do this without Excel being installed on the PC? Paula From paulawright at boddienoell.com Fri Aug 15 11:46:36 2003 From: paulawright at boddienoell.com (Paula Wright) Date: Fri, 15 Aug 2003 12:46:36 -0400 Subject: [AccessD] Amortization Message-ID: Question: Would an Excel active-X work? I guess the other option would be to build the data into a table somehow. Thanks for the info everyone. Paula -----Original Message----- From: Mike and Doris Manning [mailto:mikedorism at ntelos.net] Sent: Friday, August 15, 2003 12:24 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Amortization How will that help her Charles? She can't use CreateObject or GetObject as part of her automation code because it won't work on a computer that doesn't have Excel installed. Short of creating an Access report that does what the Excel spreadsheet does, what she is trying to do cannot be legally done if the user doesn't have Excel installed. 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 Wortz, Charles Sent: Friday, August 15, 2003 12:05 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Amortization Paula, This is the reason I suggested converting the Excel macros to Access VBA modules so you do not need the Excel object library. You will be using the Access object libraries which you do have the right to distribute if you have ODE. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Mike and Doris Manning [mailto:mikedorism at ntelos.net] Sent: Friday 2003 Aug 15 10:43 To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Amortization Office Developer only gives you the right to distribute the Access run-time engine which is necessary for a user to run your Access program if they don't have Access on their system. This was done because users had a choice to buy just Office or Office Pro (which included Access). It does not give you the right to redistribute an Access database that uses the Word or Excel object models to a user who does not have Word or Excel installed on their system. You do not have a legal right to install or distribute the object libraries involved to a user who doesn't have them. 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 Paula Wright Sent: Friday, August 15, 2003 11:04 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Amortization Even if you have Office Developer - which of course you would if you were going to create a run-time? -----Original Message----- From: Mike and Doris Manning [mailto:mikedorism at ntelos.net] Sent: Friday, August 15, 2003 11:03 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Amortization Please note that this WILL NOT work if the end-user doesn't have Excel. You CANNOT LEGALLY DISTRIBUTE the Excel Object Model even if you include it in your Access run-time. 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 Paula Wright Sent: Friday, August 15, 2003 10:51 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Amortization I will try this. You don't happen to know of any examples anywhere, do you? Thanks, Paula -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Friday, August 15, 2003 10:43 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Amortization Paula, If they don't have Excel installed, then you can copy the Excel macros into Access and convert them to a module that you will run instead. Charles Wortz -----Original Message----- From: Paula Wright [mailto:paulawright at boddienoell.com] Sent: Friday 2003 Aug 15 09:30 To: Access Developers discussion and problem solving Subject: RE: [AccessD] Amortization You can do this without Excel being installed on the PC? Paula -----Original Message----- From: Michael R Mattys [mailto:michael.mattys at adelphia.net] Sent: Friday, August 15, 2003 8:26 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Amortization Hi Paula, Short of this "template", is it possible for you to use Excel from Access like this: Function XLAMRT( [Args] ) Dim obj As Excel.Application Set obj = CreateObject("Excel.Application") With obj . WorksheetFunction.IPmt [Args] End With Set obj = Nothing End Function Michael R. Mattys www.mattysconsulting.com ----- Original Message ----- From: "Paula Wright" To: Sent: Friday, August 15, 2003 7:54 AM Subject: [AccessD] Amortization I know that Excel provides an amortization template. However, I am writing a program in Access that will be converted to run-time and I'm wondering what is the best way to allow the client to run an amortization. Can an Excel spreadsheet be included in an Access run-time program? Paula Wright Programmer/Analyst paulawright at boddienoell.com (252)937-2800 ext.1355 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Jdemarco at hshhp.org Fri Aug 15 11:48:49 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Fri, 15 Aug 2003 12:48:49 -0400 Subject: [AccessD] OT: Finally Message-ID: <22F1CCD5171D17419CB37FEEE09D5F990173F3EE@TTNEXCHSRV1.hshhp.com> Finally a vacation! See you all in a week. Hope I can find someplace on the East Coast that has power!! Jim DeMarco *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From paulawright at boddienoell.com Fri Aug 15 11:48:24 2003 From: paulawright at boddienoell.com (Paula Wright) Date: Fri, 15 Aug 2003 12:48:24 -0400 Subject: [AccessD] Amortization Message-ID: This is good. Thanks. -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Friday, August 15, 2003 12:46 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Amortization Doris, Maybe I didn't make myself clear. The conversion process is not part of the deployment package, it is a one-time only step in the development process. This is only done on Paula's computer that has ODE, Access, and Excel. Presumably Paula has an Excel spreadsheet that does amortization. She needs to import and convert the Excel macros in that spreadsheet into Access and make them an Access VBA module. All references to Excel objects will need to be converted to equivalent Access objects. When she has done all that, instead of an Excel spreadsheet where the user enters the data to use in the calculation, she will have an Access form where the user enters the data to be used. Some of the functions used in the Excel amortization spreadsheet may have exact equivalents in the Access financial functions. Some she may have to write code to perform the same function since there is not equivalent in the Access financial functions library. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Mike and Doris Manning [mailto:mikedorism at ntelos.net] Sent: Friday 2003 Aug 15 11:24 To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Amortization How will that help her Charles? She can't use CreateObject or GetObject as part of her automation code because it won't work on a computer that doesn't have Excel installed. Short of creating an Access report that does what the Excel spreadsheet does, what she is trying to do cannot be legally done if the user doesn't have Excel installed. 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 Wortz, Charles Sent: Friday, August 15, 2003 12:05 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Amortization Paula, This is the reason I suggested converting the Excel macros to Access VBA modules so you do not need the Excel object library. You will be using the Access object libraries which you do have the right to distribute if you have ODE. Charles Wortz -----Original Message----- From: Mike and Doris Manning [mailto:mikedorism at ntelos.net] Sent: Friday 2003 Aug 15 10:43 To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Amortization Office Developer only gives you the right to distribute the Access run-time engine which is necessary for a user to run your Access program if they don't have Access on their system. This was done because users had a choice to buy just Office or Office Pro (which included Access). It does not give you the right to redistribute an Access database that uses the Word or Excel object models to a user who does not have Word or Excel installed on their system. You do not have a legal right to install or distribute the object libraries involved to a user who doesn't have them. 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 Paula Wright Sent: Friday, August 15, 2003 11:04 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Amortization Even if you have Office Developer - which of course you would if you were going to create a run-time? -----Original Message----- From: Mike and Doris Manning [mailto:mikedorism at ntelos.net] Sent: Friday, August 15, 2003 11:03 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Amortization Please note that this WILL NOT work if the end-user doesn't have Excel. You CANNOT LEGALLY DISTRIBUTE the Excel Object Model even if you include it in your Access run-time. 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 Paula Wright Sent: Friday, August 15, 2003 10:51 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Amortization I will try this. You don't happen to know of any examples anywhere, do you? Thanks, Paula -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Friday, August 15, 2003 10:43 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Amortization Paula, If they don't have Excel installed, then you can copy the Excel macros into Access and convert them to a module that you will run instead. Charles Wortz -----Original Message----- From: Paula Wright [mailto:paulawright at boddienoell.com] Sent: Friday 2003 Aug 15 09:30 To: Access Developers discussion and problem solving Subject: RE: [AccessD] Amortization You can do this without Excel being installed on the PC? Paula _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From shamil at smsconsulting.spb.ru Fri Aug 15 11:54:22 2003 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Fri, 15 Aug 2003 20:54:22 +0400 Subject: [AccessD] OT: W2K gurus your advice is needed... Message-ID: <001e01c3634d$e244b0d0$b501010a@DAISY.local> Hi All, Here is a tough one - at least the system engineers I know here can't answer this question/help me: - as the result of my hardware upgrade and different (stupid) manipulations I've got my system disk (W2K) getting I: as drive letter instead of C: during booting (all the other five disks are OK - D:, E:, F:, G:, H:)... Funny? Yes - as the result when I try to logon after booting it accepts password but then after some time instead of showing desktop icons etc. it shows "Saving your settings" dialog and returns to Logon dialog... I've found that system disk gets I: drive letter instead of C: by connecting to the problematic PC from another computer and by using Disk Management system utility. I've also used Event viewer to see that W2K can't start system programs and services because it expects C:\..... as system drive... (It's interesting that it works at all... - this W2K is a good software....) MS probably never tested such a use case as I managed to create here!... Well, the question is how/and where can I set system drive letter back to C:. I tried to find something in registry but failed. Is that written in a system file? Which one? Of course I've backup and I can try to restore from it but maybe it's quicker to replace just one(?) file where physical<->logical disk correspondence is stored? (I've spent quite some time on all that - first thought was that this is MSBLAST but I run MSBLAST fix and it didn't find anything... ) Does anybody know how is this drive mapping system file called and is it possible to solve my task by just overwriting this file? (of course I will boot from another drive and use problematic drive as slave and use backup copy to overwrite system file keeping drives mappings)... TIA for any info, tips and tricks, I hope there are real NT gurus here, Shamil -- e-mail: shamil at smsconsulting.spb.ru Web: http://www.smsconsulting.spb.ru/shamil_s From Lembit.Soobik at t-online.de Fri Aug 15 12:02:42 2003 From: Lembit.Soobik at t-online.de (Lembit Soobik) Date: Fri, 15 Aug 2003 19:02:42 +0200 Subject: [AccessD] OT: W2K gurus your advice is needed... References: <001e01c3634d$e244b0d0$b501010a@DAISY.local> Message-ID: <002901c3634f$0b13f790$0200a8c0@S856> Shamil, do you have Partition Magic? I'm not sure whter it helps in your case, but it has the option to change drive letters. Lembit Lembit Soobik ----- Original Message ----- From: "Shamil Salakhetdinov" To: "AccessD" Sent: Friday, August 15, 2003 6:54 PM Subject: [AccessD] OT: W2K gurus your advice is needed... > Hi All, > > Here is a tough one - at least the system engineers I know here can't answer > this question/help me: > > - as the result of my hardware upgrade and different (stupid) manipulations > I've got my system disk (W2K) getting I: as drive letter instead of C: > during booting (all the other five disks are OK - D:, E:, F:, G:, H:)... > > Funny? Yes - as the result when I try to logon after booting it accepts > password but then after some time instead of showing desktop icons etc. it > shows "Saving your settings" dialog and returns to Logon dialog... > > I've found that system disk gets I: drive letter instead of C: by connecting > to the problematic PC from another computer and by using Disk Management > system utility. I've also used Event viewer to see that W2K can't start > system programs and services because it expects C:\..... as system drive... > (It's interesting that it works at all... - this W2K is a good software....) > > MS probably never tested such a use case as I managed to create here!... > > Well, the question is how/and where can I set system drive letter back to > C:. I tried to find something in registry but failed. Is that written in a > system file? Which one? > > Of course I've backup and I can try to restore from it but maybe it's > quicker to replace just one(?) file where physical<->logical disk > correspondence is stored? (I've spent quite some time on all that - first > thought was that this is MSBLAST but I run MSBLAST fix and it didn't find > anything... ) > > Does anybody know how is this drive mapping system file called and is it > possible to solve my task by just overwriting this file? (of course I will > boot from another drive and use problematic drive as slave and use backup > copy to overwrite system file keeping drives mappings)... > > TIA for any info, tips and tricks, > I hope there are real NT gurus here, > Shamil > > -- > e-mail: shamil at smsconsulting.spb.ru > Web: http://www.smsconsulting.spb.ru/shamil_s > > > _______________________________________________ > 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 Aug 15 12:07:06 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Fri, 15 Aug 2003 10:07:06 -0700 Subject: [AccessD] Option Compare Binary Problem References: <007e01c36341$82666ac0$6601a8c0@HAL9002> <024901c3634b$2931c350$ebecffcc@SusanOne> Message-ID: <015801c3634f$a7e75df0$6601a8c0@HAL9002> I think it would require even more gyrations. Access very nicely sorts the ~ to the top of a list. Client wanted it at the bottom. So everywhere I have to deal with the ~ I have to work around Access's default methods. The client just told me to abandon the ~ approach and go with a lower case z prefix. It's for defining a location where the default location is 'No Building' and 'No Room', where the user hadn't selected a location. So prefixing with a _ or a ~ sorted the 'No' choices to the top of the list. Using z will sort to the bottom where he wants it. So now all I have to do it go in and undo all that tilde stuff. So problem not solved, but abandoned. Still would like to know how to solve it but it's not a big priority. Rocky ----- Original Message ----- From: Susan Harkins To: Access Developers discussion and problem solving Sent: Friday, August 15, 2003 9:34 AM Subject: Re: [AccessD] Option Compare Binary Problem Can you assign ~ to a constant? Susan H. Dear List: I'm using Option Compare Binary in a module to get the code to recognize that the tilde character "~" is greater than any alphanumeric character. (Using Option Compare Database it sorts the tilde up front.) However when I assemble and run a SQL statement that has fld >= "0" and fld <= "~" it return zero records. If I switch it around so that it says fld >= "~" and fld <= "0" the right number of records is returned. I found this out when I took the SQL and pasted it into a query and tested the criterion both ways. So apparently the Option Compare Binary doesn't extend to string comparisons when executing a SQL statement (reasonable). Is there a way to get the same Compare effect in a SQL statement? Thanks in advance to all and regards, Rocky Smolin Beach Access Software ---------------------------------------------------------------------------- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From jmoss111 at bellsouth.net Fri Aug 15 12:12:17 2003 From: jmoss111 at bellsouth.net (jmoss111) Date: Fri, 15 Aug 2003 12:12:17 -0500 Subject: [AccessD] OT: W2K gurus your advice is needed... References: <001e01c3634d$e244b0d0$b501010a@DAISY.local> Message-ID: <002601c36350$617a89e0$cfbb5041@hive> Shamil, You can change drive letter in Control anel|Administrative ools|Computer Management|Disk Management by right clicking the Change drive letter item on the menu. Jim ----- Original Message ----- From: "Shamil Salakhetdinov" To: "AccessD" Sent: Friday, August 15, 2003 11:54 AM Subject: [AccessD] OT: W2K gurus your advice is needed... > Hi All, > > Here is a tough one - at least the system engineers I know here can't answer > this question/help me: > > - as the result of my hardware upgrade and different (stupid) manipulations > I've got my system disk (W2K) getting I: as drive letter instead of C: > during booting (all the other five disks are OK - D:, E:, F:, G:, H:)... > > Funny? Yes - as the result when I try to logon after booting it accepts > password but then after some time instead of showing desktop icons etc. it > shows "Saving your settings" dialog and returns to Logon dialog... > > I've found that system disk gets I: drive letter instead of C: by connecting > to the problematic PC from another computer and by using Disk Management > system utility. I've also used Event viewer to see that W2K can't start > system programs and services because it expects C:\..... as system drive... > (It's interesting that it works at all... - this W2K is a good software....) > > MS probably never tested such a use case as I managed to create here!... > > Well, the question is how/and where can I set system drive letter back to > C:. I tried to find something in registry but failed. Is that written in a > system file? Which one? > > Of course I've backup and I can try to restore from it but maybe it's > quicker to replace just one(?) file where physical<->logical disk > correspondence is stored? (I've spent quite some time on all that - first > thought was that this is MSBLAST but I run MSBLAST fix and it didn't find > anything... ) > > Does anybody know how is this drive mapping system file called and is it > possible to solve my task by just overwriting this file? (of course I will > boot from another drive and use problematic drive as slave and use backup > copy to overwrite system file keeping drives mappings)... > > TIA for any info, tips and tricks, > I hope there are real NT gurus here, > Shamil > > -- > e-mail: shamil at smsconsulting.spb.ru > Web: http://www.smsconsulting.spb.ru/shamil_s > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From shamil at smsconsulting.spb.ru Fri Aug 15 12:12:41 2003 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Fri, 15 Aug 2003 21:12:41 +0400 Subject: [AccessD] OT: W2K gurus your advice is needed... References: <001e01c3634d$e244b0d0$b501010a@DAISY.local> <002901c3634f$0b13f790$0200a8c0@S856> Message-ID: <002401c36350$71ab6fa0$b501010a@DAISY.local> Lembit, The problem AFAIU is with NT booting processe(s) getting/setting wrong drive mapping stored(?) in a system file - the drive itself is OK - I investigated it by making it slave - using hardware jumpers and booting from another physical drive... Shamil ----- Original Message ----- From: "Lembit Soobik" To: "Access Developers discussion and problem solving" Sent: Friday, August 15, 2003 9:02 PM Subject: Re: [AccessD] OT: W2K gurus your advice is needed... > Shamil, > do you have Partition Magic? > I'm not sure whter it helps in your case, but it has the option to change drive > letters. > Lembit > > Lembit Soobik > > ----- Original Message ----- > From: "Shamil Salakhetdinov" > To: "AccessD" > Sent: Friday, August 15, 2003 6:54 PM > Subject: [AccessD] OT: W2K gurus your advice is needed... > > > > Hi All, > > > > Here is a tough one - at least the system engineers I know here can't answer > > this question/help me: > > > > - as the result of my hardware upgrade and different (stupid) manipulations > > I've got my system disk (W2K) getting I: as drive letter instead of C: > > during booting (all the other five disks are OK - D:, E:, F:, G:, H:)... > > > > Funny? Yes - as the result when I try to logon after booting it accepts > > password but then after some time instead of showing desktop icons etc. it > > shows "Saving your settings" dialog and returns to Logon dialog... > > > > I've found that system disk gets I: drive letter instead of C: by connecting > > to the problematic PC from another computer and by using Disk Management > > system utility. I've also used Event viewer to see that W2K can't start > > system programs and services because it expects C:\..... as system drive... > > (It's interesting that it works at all... - this W2K is a good software....) > > > > MS probably never tested such a use case as I managed to create here!... > > > > Well, the question is how/and where can I set system drive letter back to > > C:. I tried to find something in registry but failed. Is that written in a > > system file? Which one? > > > > Of course I've backup and I can try to restore from it but maybe it's > > quicker to replace just one(?) file where physical<->logical disk > > correspondence is stored? (I've spent quite some time on all that - first > > thought was that this is MSBLAST but I run MSBLAST fix and it didn't find > > anything... ) > > > > Does anybody know how is this drive mapping system file called and is it > > possible to solve my task by just overwriting this file? (of course I will > > boot from another drive and use problematic drive as slave and use backup > > copy to overwrite system file keeping drives mappings)... > > > > TIA for any info, tips and tricks, > > I hope there are real NT gurus here, > > Shamil > > > > -- > > e-mail: shamil at smsconsulting.spb.ru > > Web: http://www.smsconsulting.spb.ru/shamil_s > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From jmoss111 at bellsouth.net Fri Aug 15 12:15:54 2003 From: jmoss111 at bellsouth.net (jmoss111) Date: Fri, 15 Aug 2003 12:15:54 -0500 Subject: [AccessD] OT: W2K gurus your advice is needed... References: <001e01c3634d$e244b0d0$b501010a@DAISY.local> <002601c36350$617a89e0$cfbb5041@hive> Message-ID: <000701c36350$e2bf0990$cfbb5041@hive> Should be: You can change drive letter in Control Panel|Administrative Tools|Computer Management|Disk Management by right clicking the Change drive letter item on the menu. ----- Original Message ----- From: "jmoss111" To: "Access Developers discussion and problem solving" Sent: Friday, August 15, 2003 12:12 PM Subject: Re: [AccessD] OT: W2K gurus your advice is needed... > Shamil, > > You can change drive letter in Control anel|Administrative ools|Computer > Management|Disk Management by right clicking the Change drive letter item on > the menu. > > Jim > ----- Original Message ----- > From: "Shamil Salakhetdinov" > To: "AccessD" > Sent: Friday, August 15, 2003 11:54 AM > Subject: [AccessD] OT: W2K gurus your advice is needed... > > > > Hi All, > > > > Here is a tough one - at least the system engineers I know here can't > answer > > this question/help me: > > > > - as the result of my hardware upgrade and different (stupid) > manipulations > > I've got my system disk (W2K) getting I: as drive letter instead of C: > > during booting (all the other five disks are OK - D:, E:, F:, G:, H:)... > > > > Funny? Yes - as the result when I try to logon after booting it accepts > > password but then after some time instead of showing desktop icons etc. it > > shows "Saving your settings" dialog and returns to Logon dialog... > > > > I've found that system disk gets I: drive letter instead of C: by > connecting > > to the problematic PC from another computer and by using Disk Management > > system utility. I've also used Event viewer to see that W2K can't start > > system programs and services because it expects C:\..... as system > drive... > > (It's interesting that it works at all... - this W2K is a good > software....) > > > > MS probably never tested such a use case as I managed to create here!... > > > > Well, the question is how/and where can I set system drive letter back to > > C:. I tried to find something in registry but failed. Is that written in a > > system file? Which one? > > > > Of course I've backup and I can try to restore from it but maybe it's > > quicker to replace just one(?) file where physical<->logical disk > > correspondence is stored? (I've spent quite some time on all that - first > > thought was that this is MSBLAST but I run MSBLAST fix and it didn't find > > anything... ) > > > > Does anybody know how is this drive mapping system file called and is it > > possible to solve my task by just overwriting this file? (of course I will > > boot from another drive and use problematic drive as slave and use backup > > copy to overwrite system file keeping drives mappings)... > > > > TIA for any info, tips and tricks, > > I hope there are real NT gurus here, > > Shamil > > > > -- > > e-mail: shamil at smsconsulting.spb.ru > > Web: http://www.smsconsulting.spb.ru/shamil_s > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From mikedorism at ntelos.net Fri Aug 15 12:25:41 2003 From: mikedorism at ntelos.net (Mike and Doris Manning) Date: Fri, 15 Aug 2003 13:25:41 -0400 Subject: [AccessD] Amortization In-Reply-To: Message-ID: <000001c36352$44fc0120$e63c0cd8@hargrove.internal> As Emeril Legasse says "Now you are cooking with gas!" This is the level of information that Paula needed from the beginning. I knew you had it in you Charles! Just had to drag it out of you before she wasted time traveling down the wrong path... 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 Wortz, Charles Sent: Friday, August 15, 2003 12:46 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Amortization Doris, Maybe I didn't make myself clear. The conversion process is not part of the deployment package, it is a one-time only step in the development process. This is only done on Paula's computer that has ODE, Access, and Excel. Presumably Paula has an Excel spreadsheet that does amortization. She needs to import and convert the Excel macros in that spreadsheet into Access and make them an Access VBA module. All references to Excel objects will need to be converted to equivalent Access objects. When she has done all that, instead of an Excel spreadsheet where the user enters the data to use in the calculation, she will have an Access form where the user enters the data to be used. Some of the functions used in the Excel amortization spreadsheet may have exact equivalents in the Access financial functions. Some she may have to write code to perform the same function since there is not equivalent in the Access financial functions library. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Mike and Doris Manning [mailto:mikedorism at ntelos.net] Sent: Friday 2003 Aug 15 11:24 To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Amortization How will that help her Charles? She can't use CreateObject or GetObject as part of her automation code because it won't work on a computer that doesn't have Excel installed. Short of creating an Access report that does what the Excel spreadsheet does, what she is trying to do cannot be legally done if the user doesn't have Excel installed. 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 Wortz, Charles Sent: Friday, August 15, 2003 12:05 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Amortization Paula, This is the reason I suggested converting the Excel macros to Access VBA modules so you do not need the Excel object library. You will be using the Access object libraries which you do have the right to distribute if you have ODE. Charles Wortz -----Original Message----- From: Mike and Doris Manning [mailto:mikedorism at ntelos.net] Sent: Friday 2003 Aug 15 10:43 To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Amortization Office Developer only gives you the right to distribute the Access run-time engine which is necessary for a user to run your Access program if they don't have Access on their system. This was done because users had a choice to buy just Office or Office Pro (which included Access). It does not give you the right to redistribute an Access database that uses the Word or Excel object models to a user who does not have Word or Excel installed on their system. You do not have a legal right to install or distribute the object libraries involved to a user who doesn't have them. 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 Paula Wright Sent: Friday, August 15, 2003 11:04 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Amortization Even if you have Office Developer - which of course you would if you were going to create a run-time? -----Original Message----- From: Mike and Doris Manning [mailto:mikedorism at ntelos.net] Sent: Friday, August 15, 2003 11:03 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Amortization Please note that this WILL NOT work if the end-user doesn't have Excel. You CANNOT LEGALLY DISTRIBUTE the Excel Object Model even if you include it in your Access run-time. 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 Paula Wright Sent: Friday, August 15, 2003 10:51 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Amortization I will try this. You don't happen to know of any examples anywhere, do you? Thanks, Paula -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Friday, August 15, 2003 10:43 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Amortization Paula, If they don't have Excel installed, then you can copy the Excel macros into Access and convert them to a module that you will run instead. Charles Wortz -----Original Message----- From: Paula Wright [mailto:paulawright at boddienoell.com] Sent: Friday 2003 Aug 15 09:30 To: Access Developers discussion and problem solving Subject: RE: [AccessD] Amortization You can do this without Excel being installed on the PC? Paula _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From shamil at smsconsulting.spb.ru Fri Aug 15 12:27:11 2003 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Fri, 15 Aug 2003 21:27:11 +0400 Subject: [AccessD] OT: W2K gurus your advice is needed... References: <001e01c3634d$e244b0d0$b501010a@DAISY.local><002601c36350$617a89e0$cfbb5041@hive> <000701c36350$e2bf0990$cfbb5041@hive> Message-ID: <000f01c36352$7a96b0f0$b501010a@DAISY.local> Jim, It would have been easy task but unfortunately W2K doesn't let to change the system drive letter through Control Panel->Administrative Tools|ComputerManagement|Disk Management ... Did you try to do that? - try.... - and you'll get a message: "Cannot modify the drive letter of your system or boot volume." Shamil ----- Original Message ----- From: "jmoss111" To: "Access Developers discussion and problem solving" Sent: Friday, August 15, 2003 9:15 PM Subject: Re: [AccessD] OT: W2K gurus your advice is needed... > Should be: > > You can change drive letter in Control Panel|Administrative Tools|Computer > Management|Disk Management by right clicking the Change drive letter item on > the menu. > > ----- Original Message ----- > From: "jmoss111" > To: "Access Developers discussion and problem solving" > > Sent: Friday, August 15, 2003 12:12 PM > Subject: Re: [AccessD] OT: W2K gurus your advice is needed... > > > > Shamil, > > > > You can change drive letter in Control anel|Administrative ools|Computer > > Management|Disk Management by right clicking the Change drive letter item > on > > the menu. > > > > Jim > > ----- Original Message ----- > > From: "Shamil Salakhetdinov" > > To: "AccessD" > > Sent: Friday, August 15, 2003 11:54 AM > > Subject: [AccessD] OT: W2K gurus your advice is needed... > > > > > > > Hi All, > > > > > > Here is a tough one - at least the system engineers I know here can't > > answer > > > this question/help me: > > > > > > - as the result of my hardware upgrade and different (stupid) > > manipulations > > > I've got my system disk (W2K) getting I: as drive letter instead of C: > > > during booting (all the other five disks are OK - D:, E:, F:, G:, H:)... > > > > > > Funny? Yes - as the result when I try to logon after booting it accepts > > > password but then after some time instead of showing desktop icons etc. > it > > > shows "Saving your settings" dialog and returns to Logon dialog... > > > > > > I've found that system disk gets I: drive letter instead of C: by > > connecting > > > to the problematic PC from another computer and by using Disk Management > > > system utility. I've also used Event viewer to see that W2K can't start > > > system programs and services because it expects C:\..... as system > > drive... > > > (It's interesting that it works at all... - this W2K is a good > > software....) > > > > > > MS probably never tested such a use case as I managed to create here!... > > > > > > Well, the question is how/and where can I set system drive letter back > to > > > C:. I tried to find something in registry but failed. Is that written in > a > > > system file? Which one? > > > > > > Of course I've backup and I can try to restore from it but maybe it's > > > quicker to replace just one(?) file where physical<->logical disk > > > correspondence is stored? (I've spent quite some time on all that - > first > > > thought was that this is MSBLAST but I run MSBLAST fix and it didn't > find > > > anything... ) > > > > > > Does anybody know how is this drive mapping system file called and is it > > > possible to solve my task by just overwriting this file? (of course I > will > > > boot from another drive and use problematic drive as slave and use > backup > > > copy to overwrite system file keeping drives mappings)... > > > > > > TIA for any info, tips and tricks, > > > I hope there are real NT gurus here, > > > Shamil > > > > > > -- > > > e-mail: shamil at smsconsulting.spb.ru > > > Web: http://www.smsconsulting.spb.ru/shamil_s > > > > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Fri Aug 15 12:56:21 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Fri, 15 Aug 2003 12:56:21 -0500 Subject: [AccessD] Job offer: Message-ID: <2F8793082E00D4119A1700B0D0216BF802227091@main2.marlow.com> Actually, the list mentioned wasn't AccessD, it was the list of MAD members (Metroplex Access Developers). Drew -----Original Message----- From: William Hindman [mailto:wdhindman at bellsouth.net] Sent: Thursday, August 14, 2003 10:36 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Job offer: ...why this strange reluctance to post legitimate job openings for Access developers? ...does anyone here object to such postings from active list members ...its not like this is a recruiter abusing the list. :((( William Hindman So, then, to every man his chance -- to every man, regardless of his birth, his shining golden opportunity -- to every man his right to live, to work, to be himself, to become whatever his manhood and his vision can combine to make him -- this, seeker, is the promise of America. -- Thomas Wolfe ----- Original Message ----- From: "Drew Wutka" To: Sent: Thursday, August 14, 2003 10:54 PM Subject: [AccessD] Job offer: > As you can see below, it's based in Dallas, but I'm throwing it to the > wolves just in case! > > Drew > > I promise that this is the last time that I send a job request to the whole > list. But, this one is urgent. If you know anyone that is looking and knows > Access please forward this to them: > ---------- Original Message ---------------------------------- > From: "Jeevan R. Santha" > Date: Wed, 13 Aug 2003 11:59:37 -0500 > Duration: 3 to 6 months > Location: Dallas, TX > Must be a guru in Access both front end and back end. > Must speak calmly with excellent communication skills > regards > Jeevan > -- > PRUDENT Consulting > 281-923-4112 > 713-977-1705 Fax > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Fri Aug 15 12:58:17 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Fri, 15 Aug 2003 12:58:17 -0500 Subject: [AccessD] MapPoint.NET Message-ID: <2F8793082E00D4119A1700B0D0216BF802227093@main2.marlow.com> You?! Drew -----Original Message----- From: Michael R Mattys [mailto:michael.mattys at adelphia.net] Sent: Friday, August 15, 2003 6:51 AM To: AccessD Subject: [AccessD] MapPoint.NET Anybody here who is proficient in MapPoint.NET? Michael R. Mattys www.mattysconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Fri Aug 15 12:57:20 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Fri, 15 Aug 2003 12:57:20 -0500 Subject: [AccessD] Job offer: Message-ID: <2F8793082E00D4119A1700B0D0216BF802227092@main2.marlow.com> You've apparently never heard me at 1 in the morning with a dozen mountain dews in my system. Ask Mike Mattys! I didn't right the 'criteria though', just forwarded from one list to another. Drew -----Original Message----- From: Todd Buttrey [mailto:todd_5036 at msn.com] Sent: Friday, August 15, 2003 12:50 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Job offer: Must speak calmly? ----- Original Message ----- From: "Drew Wutka" To: Sent: Thursday, August 14, 2003 9:54 PM Subject: [AccessD] Job offer: > As you can see below, it's based in Dallas, but I'm throwing it to the > wolves just in case! > > Drew > > I promise that this is the last time that I send a job request to the whole > list. But, this one is urgent. If you know anyone that is looking and knows > Access please forward this to them: > ---------- Original Message ---------------------------------- > From: "Jeevan R. Santha" > Date: Wed, 13 Aug 2003 11:59:37 -0500 > Duration: 3 to 6 months > Location: Dallas, TX > Must be a guru in Access both front end and back end. > Must speak calmly with excellent communication skills > regards > Jeevan > -- > PRUDENT Consulting > 281-923-4112 > 713-977-1705 Fax > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From CWortz at tea.state.tx.us Fri Aug 15 13:02:34 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Fri, 15 Aug 2003 13:02:34 -0500 Subject: MAD - was RE: [AccessD] Job offer: Message-ID: Drew, A very appropriately named list! Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Friday 2003 Aug 15 12:56 To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Job offer: Importance: Low Actually, the list mentioned wasn't AccessD, it was the list of MAD members (Metroplex Access Developers). Drew From DWUTKA at marlow.com Fri Aug 15 13:03:01 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Fri, 15 Aug 2003 13:03:01 -0500 Subject: [AccessD] Getting Desperate - Apologies for the OT message Message-ID: <2F8793082E00D4119A1700B0D0216BF802227094@main2.marlow.com> That's good. I may toss ya some of my own work. I just finished a bunch of 'jobs', but I'm sure there is going to be more just around the corner. Personally, I use VB .dll's whenever I can, when using ASP. First, I like VB 6.0's environment, however, and more importantly, VB .dll's run a LOT faster then plain ASP. (Did a little testing for an article I co-wrote with Susan, and on a first pass run between a plain ASP, and an ASP/.dll combo, just doing a simple count to 10 million, the ASP/.dll combo ran 260 times faster then the raw ASP page. That combo ran it in 100 milliseconds, where as the raw ASP took 26000 milliseconds (and if you do the math there, that's 26 seconds the user would have to wait for the page to load.) On the second run, both ran faster (because they were cached), but the ASP/.dll was now something like 350 times faster.) Drew -----Original Message----- From: Christopher Hawkins [mailto:clh at christopherhawkins.com] Sent: Friday, August 15, 2003 11:27 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Getting Desperate - Apologies for the OT message Drew, "Quick question about ASP skills. Do you use VB .dll's with ASP, or just plain ASP?" I have used VB .dlls in some ASP apps. Most of the projects I get aren't sufficiently complex to justify them, though, so I usually don't. -C- ---- Original Message ---- From: DWUTKA at marlow.com To: accessd at databaseadvisors.com, Subject: RE: [AccessD] Getting Desperate - Apologies for the OT message Date: Wed, 13 Aug 2003 23:50:40 -0500 >I'll pass your resume along, hopefully my 'contact' has contacts in >CA. > >Quick question about ASP skills. Do you use VB .dll's with ASP, or >just >plain ASP? > >Drew > >-----Original Message----- >From: Christopher Hawkins [mailto:clh at christopherhawkins.com] >Sent: Wednesday, August 13, 2003 11:15 PM >To: accessd at databaseadvisors.com >Subject: RE: [AccessD] Getting Desperate - Apologies for the OT >message > > >Hi, Drew. I'm located in Visalia, CA. It's somewhat in the middle >of the state, about an hour north of Bakersfield. > >My resume is here: www.christopherhawkins.com/clhResume.htm > >To summarize, I've been developing in Access and SQL since 1996, VB >since version 3.0, and in recent years have done work in classic ASP >and Oracle 7.3 and up for Fortune 500 firms. The past 5 years have >been a 50/50 split betwen coding and leading teams. The past 6 >months have seen me doing a series of short contracts, mostly Access >work but also some project management. > >-C- > > >---- Original Message ---- >From: DWUTKA at marlow.com >To: accessd at databaseadvisors.com, >Subject: RE: [AccessD] Getting Desperate - Apologies for the OT >message >Date: Wed, 13 Aug 2003 21:45:02 -0500 > >>Not crass at all. Asking for work to come your way is definitely a >>developer's topic!!!! >> >>Don't start throwing a party, but lately I have been inundated with >>contract >>work. I also keep an eye on the locals, and an ear to the ground. >>I don't >>have anything right now, but I have had to turn stuff down in the >>last few >>weeks. Nothing MAJOR, but some of it steady work for a few months. > >>Most of >>the stuff I have to turn down is local though, but even if it >isn't, >>I don't >>know who to contact since most jobs want someone local if they >>haven't >>worked with them before. >> >>So where are you at, and can you send me your resume. (It doesn't >>need to >>be full blown one. Just let me know what you know.....). >> >>Drew >> >>-----Original Message----- >>From: Christopher Hawkins [mailto:clh at christopherhawkins.com] >>Sent: Tuesday, August 12, 2003 4:32 PM >>To: accessd at databaseadvisors.com >>Subject: [AccessD] Getting Desperate - Apologies for the OT message >> >> >>First off, I apologize for such a blatantly OT message, but I just >>don't know where else to turn. >> >>6 months ago, I bought a house. Three weeks later, I was laid off. >>Ouch. Dribs and drabs of contract work have come in, but I'm so far >>out of any major tech market that there are not enough contract jobs >>or W2 jobs available within commutable distance. >> >>I'm making an appeal to any among you who may find yourself in the >>enviable positon of having more work offered than you can handle, or >>who may have knowledge of projects that are staffing up. I'm >looking >>for a chance to subcontract, a referral, and outright assignment - >>anything that gets the revenue train going again. >> >>I know this is crass, but if I have to take the initiative and beg >>for work to keep my family fed and housed, I'll beg! >> >>Anyone with work or leads, feel free to contact me offline - >>clh at christopherhawkins.com. >> >>Thank you. >> >>-Christopher Hawkins- >> >>_______________________________________________ >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >>_______________________________________________ >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >> > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Fri Aug 15 13:07:22 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Fri, 15 Aug 2003 13:07:22 -0500 Subject: [AccessD] OT: W2K gurus your advice is needed... Message-ID: <2F8793082E00D4119A1700B0D0216BF802227095@main2.marlow.com> Here ya go Shamil: http://support.microsoft.com/default.aspx?scid=kb;en-us;249321 Tell your system engineers that it might help if they took a look at MS's KB once in a while! Drew -----Original Message----- From: Shamil Salakhetdinov [mailto:shamil at smsconsulting.spb.ru] Sent: Friday, August 15, 2003 11:54 AM To: AccessD Subject: [AccessD] OT: W2K gurus your advice is needed... Hi All, Here is a tough one - at least the system engineers I know here can't answer this question/help me: - as the result of my hardware upgrade and different (stupid) manipulations I've got my system disk (W2K) getting I: as drive letter instead of C: during booting (all the other five disks are OK - D:, E:, F:, G:, H:)... Funny? Yes - as the result when I try to logon after booting it accepts password but then after some time instead of showing desktop icons etc. it shows "Saving your settings" dialog and returns to Logon dialog... I've found that system disk gets I: drive letter instead of C: by connecting to the problematic PC from another computer and by using Disk Management system utility. I've also used Event viewer to see that W2K can't start system programs and services because it expects C:\..... as system drive... (It's interesting that it works at all... - this W2K is a good software....) MS probably never tested such a use case as I managed to create here!... Well, the question is how/and where can I set system drive letter back to C:. I tried to find something in registry but failed. Is that written in a system file? Which one? Of course I've backup and I can try to restore from it but maybe it's quicker to replace just one(?) file where physical<->logical disk correspondence is stored? (I've spent quite some time on all that - first thought was that this is MSBLAST but I run MSBLAST fix and it didn't find anything... ) Does anybody know how is this drive mapping system file called and is it possible to solve my task by just overwriting this file? (of course I will boot from another drive and use problematic drive as slave and use backup copy to overwrite system file keeping drives mappings)... TIA for any info, tips and tricks, I hope there are real NT gurus here, Shamil -- e-mail: shamil at smsconsulting.spb.ru Web: http://www.smsconsulting.spb.ru/shamil_s _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Fri Aug 15 13:08:25 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Fri, 15 Aug 2003 13:08:25 -0500 Subject: MAD - was RE: [AccessD] Job offer: Message-ID: <2F8793082E00D4119A1700B0D0216BF802227096@main2.marlow.com> Definitely. Haven't gone to a meeting in about 2 years, but I still get all the emails, and I correspond with a few people. Ever heard of Larry Linson? He's the one that got me involved with that group for a while. Drew -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Friday, August 15, 2003 1:03 PM To: Access Developers discussion and problem solving Subject: MAD - was RE: [AccessD] Job offer: Drew, A very appropriately named list! Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Friday 2003 Aug 15 12:56 To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Job offer: Importance: Low Actually, the list mentioned wasn't AccessD, it was the list of MAD members (Metroplex Access Developers). Drew _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mwp.reid at qub.ac.uk Fri Aug 15 21:13:59 2003 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Fri, 15 Aug 2003 19:13:59 -0700 Subject: [AccessD] OT: W2K gurus your advice is needed... References: <001e01c3634d$e244b0d0$b501010a@DAISY.local><002601c36350$617a89e0$cfbb5041@hive> <000701c36350$e2bf0990$cfbb5041@hive> <000f01c36352$7a96b0f0$b501010a@DAISY.local> Message-ID: <002101c3639c$0ec20470$0f0b6351@martin1> Sen this is a newsgroup Settings>>Control Panel>>Administrative Tools>>Computer Management>>Storage>>Disk Management. Then right click on the CD drive and choose Change Drive Letter... Note the old drive letter is not released until you reboot, so you'll have to move both of your devices to dummy letters and reboot, then both to their desired letters and reboot again. While you have Computer Management open, try Action>>Help then expand Disk Management, then expand Basic Disks, and have a read around there. Hope this helps. Martin ----- Original Message ----- From: "Shamil Salakhetdinov" To: "Access Developers discussion and problem solving" Sent: Friday, August 15, 2003 10:27 AM Subject: Re: [AccessD] OT: W2K gurus your advice is needed... > Jim, > > It would have been easy task but unfortunately W2K doesn't let to change the > system drive letter through Control Panel->Administrative > Tools|ComputerManagement|Disk Management ... > > Did you try to do that? - try.... - and you'll get a message: > > "Cannot modify the drive letter of your system or boot volume." > > Shamil > > ----- Original Message ----- > From: "jmoss111" > To: "Access Developers discussion and problem solving" > > Sent: Friday, August 15, 2003 9:15 PM > Subject: Re: [AccessD] OT: W2K gurus your advice is needed... > > > > Should be: > > > > You can change drive letter in Control Panel|Administrative Tools|Computer > > Management|Disk Management by right clicking the Change drive letter item > on > > the menu. > > > > ----- Original Message ----- > > From: "jmoss111" > > To: "Access Developers discussion and problem solving" > > > > Sent: Friday, August 15, 2003 12:12 PM > > Subject: Re: [AccessD] OT: W2K gurus your advice is needed... > > > > > > > Shamil, > > > > > > You can change drive letter in Control anel|Administrative ools|Computer > > > Management|Disk Management by right clicking the Change drive letter > item > > on > > > the menu. > > > > > > Jim > > > ----- Original Message ----- > > > From: "Shamil Salakhetdinov" > > > To: "AccessD" > > > Sent: Friday, August 15, 2003 11:54 AM > > > Subject: [AccessD] OT: W2K gurus your advice is needed... > > > > > > > > > > Hi All, > > > > > > > > Here is a tough one - at least the system engineers I know here can't > > > answer > > > > this question/help me: > > > > > > > > - as the result of my hardware upgrade and different (stupid) > > > manipulations > > > > I've got my system disk (W2K) getting I: as drive letter instead of C: > > > > during booting (all the other five disks are OK - D:, E:, F:, G:, > H:)... > > > > > > > > Funny? Yes - as the result when I try to logon after booting it > accepts > > > > password but then after some time instead of showing desktop icons > etc. > > it > > > > shows "Saving your settings" dialog and returns to Logon dialog... > > > > > > > > I've found that system disk gets I: drive letter instead of C: by > > > connecting > > > > to the problematic PC from another computer and by using Disk > Management > > > > system utility. I've also used Event viewer to see that W2K can't > start > > > > system programs and services because it expects C:\..... as system > > > drive... > > > > (It's interesting that it works at all... - this W2K is a good > > > software....) > > > > > > > > MS probably never tested such a use case as I managed to create > here!... > > > > > > > > Well, the question is how/and where can I set system drive letter back > > to > > > > C:. I tried to find something in registry but failed. Is that written > in > > a > > > > system file? Which one? > > > > > > > > Of course I've backup and I can try to restore from it but maybe it's > > > > quicker to replace just one(?) file where physical<->logical disk > > > > correspondence is stored? (I've spent quite some time on all that - > > first > > > > thought was that this is MSBLAST but I run MSBLAST fix and it didn't > > find > > > > anything... ) > > > > > > > > Does anybody know how is this drive mapping system file called and is > it > > > > possible to solve my task by just overwriting this file? (of course I > > will > > > > boot from another drive and use problematic drive as slave and use > > backup > > > > copy to overwrite system file keeping drives mappings)... > > > > > > > > TIA for any info, tips and tricks, > > > > I hope there are real NT gurus here, > > > > Shamil > > > > > > > > -- > > > > e-mail: shamil at smsconsulting.spb.ru > > > > Web: http://www.smsconsulting.spb.ru/shamil_s > > > > > > > > > > > > _______________________________________________ > > > > AccessD mailing list > > > > AccessD at databaseadvisors.com > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > Website: http://www.databaseadvisors.com > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From mwp.reid at qub.ac.uk Fri Aug 15 21:15:40 2003 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Fri, 15 Aug 2003 19:15:40 -0700 Subject: [AccessD] OT: W2K gurus your advice is needed... References: <001e01c3634d$e244b0d0$b501010a@DAISY.local><002601c36350$617a89e0$cfbb5041@hive> <000701c36350$e2bf0990$cfbb5041@hive> <000f01c36352$7a96b0f0$b501010a@DAISY.local> Message-ID: <002501c3639c$4ab77190$0f0b6351@martin1> Google on "Windows 2000 Drive letter" keep the inverted commas. You shoudl get a lot of hits. Maritn ----- Original Message ----- From: "Shamil Salakhetdinov" To: "Access Developers discussion and problem solving" Sent: Friday, August 15, 2003 10:27 AM Subject: Re: [AccessD] OT: W2K gurus your advice is needed... > Jim, > > It would have been easy task but unfortunately W2K doesn't let to change the > system drive letter through Control Panel->Administrative > Tools|ComputerManagement|Disk Management ... > > Did you try to do that? - try.... - and you'll get a message: > > "Cannot modify the drive letter of your system or boot volume." > > Shamil > > ----- Original Message ----- > From: "jmoss111" > To: "Access Developers discussion and problem solving" > > Sent: Friday, August 15, 2003 9:15 PM > Subject: Re: [AccessD] OT: W2K gurus your advice is needed... > > > > Should be: > > > > You can change drive letter in Control Panel|Administrative Tools|Computer > > Management|Disk Management by right clicking the Change drive letter item > on > > the menu. > > > > ----- Original Message ----- > > From: "jmoss111" > > To: "Access Developers discussion and problem solving" > > > > Sent: Friday, August 15, 2003 12:12 PM > > Subject: Re: [AccessD] OT: W2K gurus your advice is needed... > > > > > > > Shamil, > > > > > > You can change drive letter in Control anel|Administrative ools|Computer > > > Management|Disk Management by right clicking the Change drive letter > item > > on > > > the menu. > > > > > > Jim > > > ----- Original Message ----- > > > From: "Shamil Salakhetdinov" > > > To: "AccessD" > > > Sent: Friday, August 15, 2003 11:54 AM > > > Subject: [AccessD] OT: W2K gurus your advice is needed... > > > > > > > > > > Hi All, > > > > > > > > Here is a tough one - at least the system engineers I know here can't > > > answer > > > > this question/help me: > > > > > > > > - as the result of my hardware upgrade and different (stupid) > > > manipulations > > > > I've got my system disk (W2K) getting I: as drive letter instead of C: > > > > during booting (all the other five disks are OK - D:, E:, F:, G:, > H:)... > > > > > > > > Funny? Yes - as the result when I try to logon after booting it > accepts > > > > password but then after some time instead of showing desktop icons > etc. > > it > > > > shows "Saving your settings" dialog and returns to Logon dialog... > > > > > > > > I've found that system disk gets I: drive letter instead of C: by > > > connecting > > > > to the problematic PC from another computer and by using Disk > Management > > > > system utility. I've also used Event viewer to see that W2K can't > start > > > > system programs and services because it expects C:\..... as system > > > drive... > > > > (It's interesting that it works at all... - this W2K is a good > > > software....) > > > > > > > > MS probably never tested such a use case as I managed to create > here!... > > > > > > > > Well, the question is how/and where can I set system drive letter back > > to > > > > C:. I tried to find something in registry but failed. Is that written > in > > a > > > > system file? Which one? > > > > > > > > Of course I've backup and I can try to restore from it but maybe it's > > > > quicker to replace just one(?) file where physical<->logical disk > > > > correspondence is stored? (I've spent quite some time on all that - > > first > > > > thought was that this is MSBLAST but I run MSBLAST fix and it didn't > > find > > > > anything... ) > > > > > > > > Does anybody know how is this drive mapping system file called and is > it > > > > possible to solve my task by just overwriting this file? (of course I > > will > > > > boot from another drive and use problematic drive as slave and use > > backup > > > > copy to overwrite system file keeping drives mappings)... > > > > > > > > TIA for any info, tips and tricks, > > > > I hope there are real NT gurus here, > > > > Shamil > > > > > > > > -- > > > > e-mail: shamil at smsconsulting.spb.ru > > > > Web: http://www.smsconsulting.spb.ru/shamil_s > > > > > > > > > > > > _______________________________________________ > > > > AccessD mailing list > > > > AccessD at databaseadvisors.com > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > Website: http://www.databaseadvisors.com > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From DWUTKA at marlow.com Fri Aug 15 13:19:59 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Fri, 15 Aug 2003 13:19:59 -0500 Subject: [AccessD] I give up... Message-ID: <2F8793082E00D4119A1700B0D0216BF802227097@main2.marlow.com> I currently have 1288 unread messages in my AccessD folder, and I just don't have the time to read the all in the near future. So I am just going to mark them all as read, and start over with current messages. If anyone has something they posted that they wanted me to look at, just email me off list (dwutka at marlow.com) Drew From shamil at smsconsulting.spb.ru Fri Aug 15 13:30:25 2003 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Fri, 15 Aug 2003 22:30:25 +0400 Subject: [AccessD] OT: W2K gurus your advice is needed... References: <2F8793082E00D4119A1700B0D0216BF802227095@main2.marlow.com> Message-ID: <002601c3635b$50ef7530$b501010a@DAISY.local> Thanks a lot, Drew, this is what I was looking for! I will read and play with it and will try to apply it! I should have asked my question here yesterday! Many thanks, Shamil ----- Original Message ----- From: "Drew Wutka" To: "'Access Developers discussion and problem solving'" Sent: Friday, August 15, 2003 10:07 PM Subject: RE: [AccessD] OT: W2K gurus your advice is needed... > Here ya go Shamil: > http://support.microsoft.com/default.aspx?scid=kb;en-us;249321 > > Tell your system engineers that it might help if they took a look at MS's KB > once in a while! > > Drew > > -----Original Message----- > From: Shamil Salakhetdinov [mailto:shamil at smsconsulting.spb.ru] > Sent: Friday, August 15, 2003 11:54 AM > To: AccessD > Subject: [AccessD] OT: W2K gurus your advice is needed... > > > Hi All, > > Here is a tough one - at least the system engineers I know here can't answer > this question/help me: > > - as the result of my hardware upgrade and different (stupid) manipulations > I've got my system disk (W2K) getting I: as drive letter instead of C: > during booting (all the other five disks are OK - D:, E:, F:, G:, H:)... > > Funny? Yes - as the result when I try to logon after booting it accepts > password but then after some time instead of showing desktop icons etc. it > shows "Saving your settings" dialog and returns to Logon dialog... > > I've found that system disk gets I: drive letter instead of C: by connecting > to the problematic PC from another computer and by using Disk Management > system utility. I've also used Event viewer to see that W2K can't start > system programs and services because it expects C:\..... as system drive... > (It's interesting that it works at all... - this W2K is a good software....) > > MS probably never tested such a use case as I managed to create here!... > > Well, the question is how/and where can I set system drive letter back to > C:. I tried to find something in registry but failed. Is that written in a > system file? Which one? > > Of course I've backup and I can try to restore from it but maybe it's > quicker to replace just one(?) file where physical<->logical disk > correspondence is stored? (I've spent quite some time on all that - first > thought was that this is MSBLAST but I run MSBLAST fix and it didn't find > anything... ) > > Does anybody know how is this drive mapping system file called and is it > possible to solve my task by just overwriting this file? (of course I will > boot from another drive and use problematic drive as slave and use backup > copy to overwrite system file keeping drives mappings)... > > TIA for any info, tips and tricks, > I hope there are real NT gurus here, > Shamil > > -- > e-mail: shamil at smsconsulting.spb.ru > Web: http://www.smsconsulting.spb.ru/shamil_s > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From CWortz at tea.state.tx.us Fri Aug 15 13:44:03 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Fri, 15 Aug 2003 13:44:03 -0500 Subject: [AccessD] I give up... Message-ID: Drew, 1288, that's what you get for not reading your e-mails for a couple of days! Who gave you permission to work instead of reading your e-mails? Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Friday 2003 Aug 15 13:20 To: 'AccessD at databaseadvisors.com' Subject: [AccessD] I give up... I currently have 1288 unread messages in my AccessD folder, and I just don't have the time to read the all in the near future. So I am just going to mark them all as read, and start over with current messages. If anyone has something they posted that they wanted me to look at, just email me off list (dwutka at marlow.com) Drew From clh at christopherhawkins.com Fri Aug 15 13:50:54 2003 From: clh at christopherhawkins.com (Christopher Hawkins) Date: Fri, 15 Aug 2003 12:50:54 -0600 Subject: [AccessD] On-site emergency! A2K: Error when clicking cancel in report dialog Message-ID: <207610-220038515185054182@christopherhawkins.com> I'm on-site with one of my few remaining clients right now. I can't afford to foul this up. I have a form (frmReport) that presents a list of reports to the user. Some reports require date ranges, so in the Open event of the report, I have code (stolen straight) from Northwind that will open the date range dialog (frmDateRange) modally. Ordinarily, the user would enter a date range and click OK, rendering frmDateRange invisible and allowing the rest of the Report_Open code to fire. But if the user clicks Cancel in frmDateRange, the code in Report_Open is supposed to see that frmDateRange is no longer loaded, set Cancel = True, and close. And it does - but Access also throws a 2501 error that breaks on the DoCmd.Open Report line from frmReport! I've tried trapping for error 2501 in frmReport - the procedure doesn't even make it to the error handling section of the sub; it just sits there on the DoCmd.OpenReport line. I don't know what to do to either avoid throwing thid error (preferable), or managing what happens after the error is thrown. And before you ask, I cannot paste code because my client won't let me. Heeeeeeeelp... -Christopher- From DMcAfee at haascnc.com Fri Aug 15 13:56:30 2003 From: DMcAfee at haascnc.com (David McAfee) Date: Fri, 15 Aug 2003 11:56:30 -0700 Subject: [AccessD] I give up... Message-ID: <657FB70438B7D311AF320090279C1801026D7B2F@EXCHMAIL> Oh.... that's why it has been so quiet lately ;) David -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Friday 2003 Aug 15 13:20 To: 'AccessD at databaseadvisors.com' Subject: [AccessD] I give up... I currently have 1288 unread messages in my AccessD folder, and I just don't have the time to read the all in the near future. So I am just going to mark them all as read, and start over with current messages. If anyone has something they posted that they wanted me to look at, just email me off list (dwutka at marlow.com) Drew -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/ms-tnef Size: 2143 bytes Desc: not available URL: From DWUTKA at marlow.com Fri Aug 15 13:58:23 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Fri, 15 Aug 2003 13:58:23 -0500 Subject: [AccessD] OT: W2K gurus your advice is needed... Message-ID: <2F8793082E00D4119A1700B0D0216BF802227099@main2.marlow.com> No, because I wasn't paying much attention to the List yesterday, so I probably would have missed it! Drew -----Original Message----- From: Shamil Salakhetdinov [mailto:shamil at smsconsulting.spb.ru] Sent: Friday, August 15, 2003 1:30 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: W2K gurus your advice is needed... Thanks a lot, Drew, this is what I was looking for! I will read and play with it and will try to apply it! I should have asked my question here yesterday! Many thanks, Shamil ----- Original Message ----- From: "Drew Wutka" To: "'Access Developers discussion and problem solving'" Sent: Friday, August 15, 2003 10:07 PM Subject: RE: [AccessD] OT: W2K gurus your advice is needed... > Here ya go Shamil: > http://support.microsoft.com/default.aspx?scid=kb;en-us;249321 > > Tell your system engineers that it might help if they took a look at MS's KB > once in a while! > > Drew > > -----Original Message----- > From: Shamil Salakhetdinov [mailto:shamil at smsconsulting.spb.ru] > Sent: Friday, August 15, 2003 11:54 AM > To: AccessD > Subject: [AccessD] OT: W2K gurus your advice is needed... > > > Hi All, > > Here is a tough one - at least the system engineers I know here can't answer > this question/help me: > > - as the result of my hardware upgrade and different (stupid) manipulations > I've got my system disk (W2K) getting I: as drive letter instead of C: > during booting (all the other five disks are OK - D:, E:, F:, G:, H:)... > > Funny? Yes - as the result when I try to logon after booting it accepts > password but then after some time instead of showing desktop icons etc. it > shows "Saving your settings" dialog and returns to Logon dialog... > > I've found that system disk gets I: drive letter instead of C: by connecting > to the problematic PC from another computer and by using Disk Management > system utility. I've also used Event viewer to see that W2K can't start > system programs and services because it expects C:\..... as system drive... > (It's interesting that it works at all... - this W2K is a good software....) > > MS probably never tested such a use case as I managed to create here!... > > Well, the question is how/and where can I set system drive letter back to > C:. I tried to find something in registry but failed. Is that written in a > system file? Which one? > > Of course I've backup and I can try to restore from it but maybe it's > quicker to replace just one(?) file where physical<->logical disk > correspondence is stored? (I've spent quite some time on all that - first > thought was that this is MSBLAST but I run MSBLAST fix and it didn't find > anything... ) > > Does anybody know how is this drive mapping system file called and is it > possible to solve my task by just overwriting this file? (of course I will > boot from another drive and use problematic drive as slave and use backup > copy to overwrite system file keeping drives mappings)... > > TIA for any info, tips and tricks, > I hope there are real NT gurus here, > Shamil > > -- > e-mail: shamil at smsconsulting.spb.ru > Web: http://www.smsconsulting.spb.ru/shamil_s > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mikedorism at ntelos.net Fri Aug 15 14:02:51 2003 From: mikedorism at ntelos.net (Mike and Doris Manning) Date: Fri, 15 Aug 2003 15:02:51 -0400 Subject: [AccessD] On-site emergency! A2K: Error when clicking cancel in report dialog In-Reply-To: <207610-220038515185054182@christopherhawkins.com> Message-ID: <000b01c3635f$d75bb3a0$e63c0cd8@hargrove.internal> You need to check to see if frmDateRange is still open before proceeding with the Report_Open Code. Public Function IsOpen(strName As String, Optional intObjectType As Integer = acForm) As Boolean ' Returns True if strName is open, False otherwise. ' Assume the caller wants to know about a form. ' MsAccess example IsOpen = (SysCmd(acSysCmdGetObjectState, intObjectType, strName) <> 0) End Function 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 Christopher Hawkins Sent: Friday, August 15, 2003 2:51 PM To: accessd at databaseadvisors.com Subject: [AccessD] On-site emergency! A2K: Error when clicking cancel in report dialog I'm on-site with one of my few remaining clients right now. I can't afford to foul this up. I have a form (frmReport) that presents a list of reports to the user. Some reports require date ranges, so in the Open event of the report, I have code (stolen straight) from Northwind that will open the date range dialog (frmDateRange) modally. Ordinarily, the user would enter a date range and click OK, rendering frmDateRange invisible and allowing the rest of the Report_Open code to fire. But if the user clicks Cancel in frmDateRange, the code in Report_Open is supposed to see that frmDateRange is no longer loaded, set Cancel = True, and close. And it does - but Access also throws a 2501 error that breaks on the DoCmd.Open Report line from frmReport! I've tried trapping for error 2501 in frmReport - the procedure doesn't even make it to the error handling section of the sub; it just sits there on the DoCmd.OpenReport line. I don't know what to do to either avoid throwing thid error (preferable), or managing what happens after the error is thrown. And before you ask, I cannot paste code because my client won't let me. Heeeeeeeelp... -Christopher- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Fri Aug 15 14:08:43 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Fri, 15 Aug 2003 14:08:43 -0500 Subject: [AccessD] On-site emergency! A2K: Error when clicking cance l in report dialog Message-ID: <2F8793082E00D4119A1700B0D0216BF80222709A@main2.marlow.com> How about setting opposite dates when they click cancel (ie, the first date being tomorrow, and the last date being today....thus, no data), then set Cancel=True in the NoData event of the report. Drew -----Original Message----- From: Christopher Hawkins [mailto:clh at christopherhawkins.com] Sent: Friday, August 15, 2003 1:51 PM To: accessd at databaseadvisors.com Subject: [AccessD] On-site emergency! A2K: Error when clicking cancel in report dialog I'm on-site with one of my few remaining clients right now. I can't afford to foul this up. I have a form (frmReport) that presents a list of reports to the user. Some reports require date ranges, so in the Open event of the report, I have code (stolen straight) from Northwind that will open the date range dialog (frmDateRange) modally. Ordinarily, the user would enter a date range and click OK, rendering frmDateRange invisible and allowing the rest of the Report_Open code to fire. But if the user clicks Cancel in frmDateRange, the code in Report_Open is supposed to see that frmDateRange is no longer loaded, set Cancel = True, and close. And it does - but Access also throws a 2501 error that breaks on the DoCmd.Open Report line from frmReport! I've tried trapping for error 2501 in frmReport - the procedure doesn't even make it to the error handling section of the sub; it just sits there on the DoCmd.OpenReport line. I don't know what to do to either avoid throwing thid error (preferable), or managing what happens after the error is thrown. And before you ask, I cannot paste code because my client won't let me. Heeeeeeeelp... -Christopher- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Fri Aug 15 14:09:41 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Fri, 15 Aug 2003 14:09:41 -0500 Subject: [AccessD] I give up... Message-ID: <2F8793082E00D4119A1700B0D0216BF80222709B@main2.marlow.com> Well, in today's economy, I REALLY shouldn't be complaining about being too busy. However, I just found out I haven't had any REM sleep in years, which is probably why I feel like I'm running on fumes all the time! Drew -----Original Message----- From: Wortz, Charles [mailto:CWortz at tea.state.tx.us] Sent: Friday, August 15, 2003 1:44 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] I give up... Drew, 1288, that's what you get for not reading your e-mails for a couple of days! Who gave you permission to work instead of reading your e-mails? Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Friday 2003 Aug 15 13:20 To: 'AccessD at databaseadvisors.com' Subject: [AccessD] I give up... I currently have 1288 unread messages in my AccessD folder, and I just don't have the time to read the all in the near future. So I am just going to mark them all as read, and start over with current messages. If anyone has something they posted that they wanted me to look at, just email me off list (dwutka at marlow.com) Drew _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Fri Aug 15 14:10:09 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Fri, 15 Aug 2003 14:10:09 -0500 Subject: [AccessD] I give up... Message-ID: <2F8793082E00D4119A1700B0D0216BF80222709C@main2.marlow.com> Yep. Been kept busy. That's the secret to a nice, calm and peaceful List, give Drew more work! Drew -----Original Message----- From: David McAfee [mailto:DMcAfee at haascnc.com] Sent: Friday, August 15, 2003 1:57 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] I give up... Oh.... that's why it has been so quiet lately ;) David -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Friday 2003 Aug 15 13:20 To: 'AccessD at databaseadvisors.com' Subject: [AccessD] I give up... I currently have 1288 unread messages in my AccessD folder, and I just don't have the time to read the all in the near future. So I am just going to mark them all as read, and start over with current messages. If anyone has something they posted that they wanted me to look at, just email me off list (dwutka at marlow.com) Drew From ad_tp at hotmail.com Fri Aug 15 13:36:23 2003 From: ad_tp at hotmail.com (A.D.Tejpal) Date: Sat, 16 Aug 2003 00:06:23 +0530 Subject: [AccessD] OT: W2K gurus your advice is needed... References: <001e01c3634d$e244b0d0$b501010a@DAISY.local><002601c36350$617a89e0$cfbb5041@hive><000701c36350$e2bf0990$cfbb5041@hive> <000f01c36352$7a96b0f0$b501010a@DAISY.local> Message-ID: Shamil, You might consider trying the Command Console. I have found it useful for partitioning etc. but did not yet have the occasion to try renaming of drives. Steps for setting up the console for Win_XP are given below. I understand similar is the case for Win_2K. Insert Win_XP Installation Disk. Exit the Installation Screen (If it crops up). Go to the Command Prompt. Go to the drive holding the CD. Change Directory to i386 . Type the Command winnt32.exe /cmdcons and press Enter. Follow the Wizard. On rebooting, Command Console (Also called Recovery Console) will be offered as an option. Regards, A.D.Tejpal -------------- ----- Original Message ----- From: Shamil Salakhetdinov To: Access Developers discussion and problem solving Sent: Friday, August 15, 2003 22:57 Subject: Re: [AccessD] OT: W2K gurus your advice is needed... Jim, It would have been easy task but unfortunately W2K doesn't let to change the system drive letter through Control Panel->Administrative Tools|ComputerManagement|Disk Management ... Did you try to do that? - try.... - and you'll get a message: "Cannot modify the drive letter of your system or boot volume." Shamil ----- Original Message ----- From: "jmoss111" To: "Access Developers discussion and problem solving" Sent: Friday, August 15, 2003 9:15 PM Subject: Re: [AccessD] OT: W2K gurus your advice is needed... > Should be: > > You can change drive letter in Control Panel|Administrative Tools|Computer > Management|Disk Management by right clicking the Change drive letter item on > the menu. > > ----- Original Message ----- > From: "jmoss111" > To: "Access Developers discussion and problem solving" > > Sent: Friday, August 15, 2003 12:12 PM > Subject: Re: [AccessD] OT: W2K gurus your advice is needed... > > > > Shamil, > > > > You can change drive letter in Control anel|Administrative ools|Computer > > Management|Disk Management by right clicking the Change drive letter item > on > > the menu. > > > > Jim > > ----- Original Message ----- > > From: "Shamil Salakhetdinov" > > To: "AccessD" > > Sent: Friday, August 15, 2003 11:54 AM > > Subject: [AccessD] OT: W2K gurus your advice is needed... > > > > > > > Hi All, > > > > > > Here is a tough one - at least the system engineers I know here can't > > answer > > > this question/help me: > > > > > > - as the result of my hardware upgrade and different (stupid) > > manipulations > > > I've got my system disk (W2K) getting I: as drive letter instead of C: > > > during booting (all the other five disks are OK - D:, E:, F:, G:, H:)... > > > > > > Funny? Yes - as the result when I try to logon after booting it accepts > > > password but then after some time instead of showing desktop icons etc. > it > > > shows "Saving your settings" dialog and returns to Logon dialog... > > > > > > I've found that system disk gets I: drive letter instead of C: by > > connecting > > > to the problematic PC from another computer and by using Disk Management > > > system utility. I've also used Event viewer to see that W2K can't start > > > system programs and services because it expects C:\..... as system > > drive... > > > (It's interesting that it works at all... - this W2K is a good > > software....) > > > > > > MS probably never tested such a use case as I managed to create here!... > > > > > > Well, the question is how/and where can I set system drive letter back > to > > > C:. I tried to find something in registry but failed. Is that written in > a > > > system file? Which one? > > > > > > Of course I've backup and I can try to restore from it but maybe it's > > > quicker to replace just one(?) file where physical<->logical disk > > > correspondence is stored? (I've spent quite some time on all that - > first > > > thought was that this is MSBLAST but I run MSBLAST fix and it didn't > find > > > anything... ) > > > > > > Does anybody know how is this drive mapping system file called and is it > > > possible to solve my task by just overwriting this file? (of course I > will > > > boot from another drive and use problematic drive as slave and use > backup > > > copy to overwrite system file keeping drives mappings)... > > > > > > TIA for any info, tips and tricks, > > > I hope there are real NT gurus here, > > > Shamil > > > > > > -- > > > e-mail: shamil at smsconsulting.spb.ru > > > Web: http://www.smsconsulting.spb.ru/shamil_s -------------- next part -------------- An HTML attachment was scrubbed... URL: From ad_tp at hotmail.com Fri Aug 15 13:57:39 2003 From: ad_tp at hotmail.com (A.D.Tejpal) Date: Sat, 16 Aug 2003 00:27:39 +0530 Subject: [AccessD] Option Compare Binary Problem References: <007e01c36341$82666ac0$6601a8c0@HAL9002><024901c3634b$2931c350$ebecffcc@SusanOne> <015801c3634f$a7e75df0$6601a8c0@HAL9002> Message-ID: Rocky, As far as I know, SQL by itself is not going to honor the 'Option Compare Binary' clause even when it is specified in the Modules. However, if a particular function has provision for an argument forcing binary comparison (e.g Instr() or StrComp()), and such function is used in SQL (duly including the compare argument even though optional), desired results could be achieved. Regards, A.D.Tejpal -------------- ----- Original Message ----- From: Rocky Smolin - Beach Access Software To: Access Developers discussion and problem solving Sent: Friday, August 15, 2003 22:37 Subject: Re: [AccessD] Option Compare Binary Problem I think it would require even more gyrations. Access very nicely sorts the ~ to the top of a list. Client wanted it at the bottom. So everywhere I have to deal with the ~ I have to work around Access's default methods. The client just told me to abandon the ~ approach and go with a lower case z prefix. It's for defining a location where the default location is 'No Building' and 'No Room', where the user hadn't selected a location. So prefixing with a _ or a ~ sorted the 'No' choices to the top of the list. Using z will sort to the bottom where he wants it. So now all I have to do it go in and undo all that tilde stuff. So problem not solved, but abandoned. Still would like to know how to solve it but it's not a big priority. Rocky ----- Original Message ----- From: Susan Harkins To: Access Developers discussion and problem solving Sent: Friday, August 15, 2003 9:34 AM Subject: Re: [AccessD] Option Compare Binary Problem Can you assign ~ to a constant? Susan H. Dear List: I'm using Option Compare Binary in a module to get the code to recognize that the tilde character "~" is greater than any alphanumeric character. (Using Option Compare Database it sorts the tilde up front.) However when I assemble and run a SQL statement that has fld >= "0" and fld <= "~" it return zero records. If I switch it around so that it says fld >= "~" and fld <= "0" the right number of records is returned. I found this out when I took the SQL and pasted it into a query and tested the criterion both ways. So apparently the Option Compare Binary doesn't extend to string comparisons when executing a SQL statement (reasonable). Is there a way to get the same Compare effect in a SQL statement? Thanks in advance to all and regards, Rocky Smolin Beach Access Software -------------- next part -------------- An HTML attachment was scrubbed... URL: From clh at christopherhawkins.com Fri Aug 15 14:18:23 2003 From: clh at christopherhawkins.com (Christopher Hawkins) Date: Fri, 15 Aug 2003 13:18:23 -0600 Subject: [AccessD] On-site emergency! A2K: Error when clicking cancel in report dialog Message-ID: <240490-220038515191823578@christopherhawkins.com> *blink* *blink* That's brilliant. Let me give it a try... -C- ---- Original Message ---- From: DWUTKA at marlow.com To: accessd at databaseadvisors.com, Subject: RE: [AccessD] On-site emergency! A2K: Error when clicking cancel in report dialog Date: Fri, 15 Aug 2003 14:08:43 -0500 >How about setting opposite dates when they click cancel (ie, the >first date >being tomorrow, and the last date being today....thus, no data), >then set >Cancel=True in the NoData event of the report. > >Drew > >-----Original Message----- >From: Christopher Hawkins [mailto:clh at christopherhawkins.com] >Sent: Friday, August 15, 2003 1:51 PM >To: accessd at databaseadvisors.com >Subject: [AccessD] On-site emergency! A2K: Error when clicking >cancel in >report dialog > > >I'm on-site with one of my few remaining clients right now. I can't >afford to foul this up. > >I have a form (frmReport) that presents a list of reports to the >user. > >Some reports require date ranges, so in the Open event of the report, >I have code (stolen straight) from Northwind that will open the date >range dialog (frmDateRange) modally. Ordinarily, the user would >enter a date range and click OK, rendering frmDateRange invisible and >allowing the rest of the Report_Open code to fire. > >But if the user clicks Cancel in frmDateRange, the code in >Report_Open is supposed to see that frmDateRange is no longer loaded, >set Cancel = True, and close. And it does - but Access also throws a >2501 error that breaks on the DoCmd.Open Report line from frmReport! > >I've tried trapping for error 2501 in frmReport - the procedure >doesn't even make it to the error handling section of the sub; it >just sits there on the DoCmd.OpenReport line. I don't know what to >do to either avoid throwing thid error (preferable), or managing what >happens after the error is thrown. > >And before you ask, I cannot paste code because my client won't let >me. > >Heeeeeeeelp... > >-Christopher- > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > From clh at christopherhawkins.com Fri Aug 15 14:19:34 2003 From: clh at christopherhawkins.com (Christopher Hawkins) Date: Fri, 15 Aug 2003 13:19:34 -0600 Subject: [AccessD] On-site emergency! A2K: Error when clicking cancel inreport dialog Message-ID: <255830-220038515191934157@christopherhawkins.com> I'm already running IsLoaded to check if frmDateRange is open. If it is, the report code proceeds. If it is not, Cancel is set to True. -C- ---- Original Message ---- From: mikedorism at ntelos.net To: accessd at databaseadvisors.com, Subject: RE: [AccessD] On-site emergency! A2K: Error when clicking cancel inreport dialog Date: Fri, 15 Aug 2003 15:02:51 -0400 >You need to check to see if frmDateRange is still open before >proceeding >with the Report_Open Code. > >Public Function IsOpen(strName As String, Optional intObjectType As >Integer >= acForm) As Boolean > ' Returns True if strName is open, False otherwise. > ' Assume the caller wants to know about a form. > ' MsAccess example > IsOpen = (SysCmd(acSysCmdGetObjectState, intObjectType, strName) ><> 0) >End Function > >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 >Christopher >Hawkins >Sent: Friday, August 15, 2003 2:51 PM >To: accessd at databaseadvisors.com >Subject: [AccessD] On-site emergency! A2K: Error when clicking >cancel in >report dialog > > >I'm on-site with one of my few remaining clients right now. I can't >afford >to foul this up. > >I have a form (frmReport) that presents a list of reports to the >user. > >Some reports require date ranges, so in the Open event of the >report, I have >code (stolen straight) from Northwind that will open the date range >dialog >(frmDateRange) modally. Ordinarily, the user would enter a date >range and >click OK, rendering frmDateRange invisible and allowing the rest of >the >Report_Open code to fire. > >But if the user clicks Cancel in frmDateRange, the code in >Report_Open is >supposed to see that frmDateRange is no longer loaded, set Cancel = >True, >and close. And it does - but Access also throws a 2501 error that >breaks on >the DoCmd.Open Report line from frmReport! > >I've tried trapping for error 2501 in frmReport - the procedure >doesn't even >make it to the error handling section of the sub; it just sits there >on the >DoCmd.OpenReport line. I don't know what to do to either avoid >throwing >thid error (preferable), or managing what happens after the error is >thrown. > >And before you ask, I cannot paste code because my client won't let >me. > >Heeeeeeeelp... > >-Christopher- > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > From harkins at iglou.com Fri Aug 15 14:47:48 2003 From: harkins at iglou.com (Susan Harkins) Date: Fri, 15 Aug 2003 15:47:48 -0400 Subject: [AccessD] I give up... References: <2F8793082E00D4119A1700B0D0216BF80222709B@main2.marlow.com> Message-ID: <033201c36366$8d63ae40$ebecffcc@SusanOne> Drew... that explains the ax in your hand. :) Susan H. > Well, in today's economy, I REALLY shouldn't be complaining about being too > busy. However, I just found out I haven't had any REM sleep in years, which > is probably why I feel like I'm running on fumes all the time! > From michael.broesdorf at web.de Fri Aug 15 14:58:42 2003 From: michael.broesdorf at web.de (=?iso-8859-1?Q?Michael_Br=F6sdorf?=) Date: Fri, 15 Aug 2003 21:58:42 +0200 Subject: [AccessD] Subform question In-Reply-To: Message-ID: Dear group, is it possible to switch a subform from form view to datasheet view during runtime of the main form? I tried changing me.sfrmList.form.currentview and me.sfrmList.form.defaultview, but that seems to be working in design view only. TIA, Michael From todd_5036 at msn.com Fri Aug 15 15:06:41 2003 From: todd_5036 at msn.com (Todd Buttrey) Date: Fri, 15 Aug 2003 15:06:41 -0500 Subject: [AccessD] Protecting an Application Message-ID: http://www.softwarekey.com ----Original Message Follows---- From: "Jeff Barrows" Reply-To: Access Developers discussion and problem solving To: "AccessD" CC: dba-VB Subject: [AccessD] Protecting an Application Date: Fri, 15 Aug 2003 07:22:49 -0500 I am wondering how you all protect your applications from being 'loaned out' to other people. I have been using Sentinel SuperPro hardware keys, but I do not think that I want to continue using them. I would be very interested in any software 'key' solutions that anyone could suggest. Jeff Barrows Outbak Technologies, LLC Racine, WI Phone: (262) 634-0653 Mailto: jeff_developer at hotmail.com www.outbaktech.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _________________________________________________________________ Add photos to your messages with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail From martyconnelly at shaw.ca Fri Aug 15 15:13:33 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Fri, 15 Aug 2003 13:13:33 -0700 Subject: [AccessD] Option Compare Binary Problem References: <007e01c36341$82666ac0$6601a8c0@HAL9002> <024901c3634b$2931c350$ebecffcc@SusanOne> <015801c3634f$a7e75df0$6601a8c0@HAL9002> Message-ID: <3F3D3EED.1090102@shaw.ca> One approach might be to use some variation of a hash function that creates a new index field that is a hash of the alphnumeric characters say "1.0.1" that appears as a double or series of fields converted to doubles. This method below of hashing is called Base 37 Hash. Numerical Methods text books might have documentation. By changing the decimal number of the character in code you can alter the sort order. Say if you want to make A and Z equivalent in the sort order instead of z character being assigned decimal 37 force it to 11 in code. I wrote this originally to sort on a field that was old Radio Tube numbers that looked like 2AAW32 2ABW320 2AaW3223 etc and avoid upper lower case ordering. You are essentially assigning your own collation sequence. Option Compare Database Option Explicit Const hashFactor As Integer = 37 Const hashLength As Integer = 9 Function HashString(strHash As String) As Double ' Create Hash string for indexing using 'Base 37 Hash Value ' Convert ' spaces punctuation odd chars = 0 ' numeric = 0 - 9 1-10 ' alpha chars a-z A-Z 11-37 ' only use lower case 'such that string "Ab-12" = ' A b - 1 2 ' (11*37^4) + (12*37^3) + (0*37^2) + (2*37^1) + (3*37^0) 'The Hash Length is 9 so it fits a double without precision loss Dim iStrLen As Integer Dim decAsc As Double Dim i As Integer Dim strPad As Integer Dim strToHash As String HashString = 0 ' convert to all lower case strToHash = UCase(strHash) iStrLen = Len(strToHash) 'pad out string to 9 chars with blanks If iStrLen < hashLength Then For strPad = (iStrLen + 1) To hashLength strToHash = strToHash & " " Next Else ' or just grab first nine chars of string If iStrLen > hashLength Then strToHash = Left(strToHash, hashLength) End If End If For i = 1 To hashLength decAsc = Asc(Right(strToHash, i)) 'convert all odd Ascii character values and punctuation to 0 If (decAsc < 48) Or (decAsc >= 58) And (decAsc <= 64) _ Or (decAsc > 91) Then decAsc = 0 Else 'numbers If (decAsc >= 48) And (decAsc <= 57) Then decAsc = decAsc - 47 Else 'letters If (decAsc >= 65) And (decAsc <= 91) Then decAsc = decAsc - 54 ' 54 not 64 as want to start "A" as 11 End If End If End If HashString = HashString + (decAsc * hashFactor ^ (i - 1)) Next End Function Function HashUpdateHierarchLegalNumber() 'Update Method Example 'This example demonstrates the Update method in conjunction with Edit method. Updates the hash field from original index field in the original table. Dim dbs As Database Dim rst As Recordset Dim String1 As String Dim String2 As String ' Set dbs = OpenDatabase("c:\access2\hashing\HashStringA.mdb") Set dbs = CurrentDb() Set rst = dbs.OpenRecordset("LegalNumbering") With rst Do While Not .EOF .Edit String1 = Left(![LegalNumber], 9) String2 = Mid(![TubeNumbers], 10, 9)'chunk out further 'String2 = Right(![TubeNumbers], 9) 'if number longer than 9 digits !HashTitle1 = HashString(String1) !HashTitle2 = HashString(String2) .Update .MoveNext Loop End With rst.Close dbs.Close End Function Rocky Smolin - Beach Access Software wrote: > I think it would require even more gyrations. Access very nicely > sorts the ~ to the top of a list. Client wanted it at the bottom. So > everywhere I have to deal with the ~ I have to work around Access's > default methods. > > The client just told me to abandon the ~ approach and go with a lower > case z prefix. It's for defining a location where the default > location is 'No Building' and 'No Room', where the user hadn't > selected a location. So prefixing with a _ or a ~ sorted the 'No' > choices to the top of the list. > > Using z will sort to the bottom where he wants it. So now all I have > to do it go in and undo all that tilde stuff. So problem not solved, > but abandoned. > > Still would like to know how to solve it but it's not a big priority. > > Rocky > > > ----- Original Message ----- > From: Susan Harkins > To: Access Developers discussion and problem solving > > Sent: Friday, August 15, 2003 9:34 AM > Subject: Re: [AccessD] Option Compare Binary Problem > > Can you assign ~ to a constant? > > Susan H. > > > > Dear List: > > I'm using Option Compare Binary in a module to get the code to > recognize that the tilde character "~" is greater than any > alphanumeric character. (Using Option Compare Database it > sorts the tilde up front.) > > However when I assemble and run a SQL statement that has fld > >= "0" and fld <= "~" it return zero records. If I switch it > around so that it says fld >= "~" and fld <= "0" the right > number of records is returned. > > I found this out when I took the SQL and pasted it into a > query and tested the criterion both ways. So apparently the > Option Compare Binary doesn't extend to string comparisons > when executing a SQL statement (reasonable). > > Is there a way to get the same Compare effect in a SQL statement? > > Thanks in advance to all and regards, > > Rocky Smolin > Beach Access Software > > > ------------------------------------------------------------------------ > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > ------------------------------------------------------------------------ > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > >------------------------------------------------------------------------ > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > From michael.mattys at adelphia.net Fri Aug 15 15:39:46 2003 From: michael.mattys at adelphia.net (Michael R Mattys) Date: Fri, 15 Aug 2003 16:39:46 -0400 Subject: [AccessD] Protecting an Application References: Message-ID: <08b701c3636d$60b64950$6401a8c0@default> Jeff, You might also try http://www.xtras.net/products/trialpro.asp AccessBooksUpdater for QuickBooks uses it. It's an ActiveX control. Michael R. Mattys www.mattysconsulting.com ----- Original Message ----- From: "Todd Buttrey" To: Sent: Friday, August 15, 2003 4:06 PM Subject: Re: [AccessD] Protecting an Application > > http://www.softwarekey.com > > > > ----Original Message Follows---- > From: "Jeff Barrows" > Reply-To: Access Developers discussion and problem > solving > To: "AccessD" > CC: dba-VB > Subject: [AccessD] Protecting an Application > Date: Fri, 15 Aug 2003 07:22:49 -0500 > > I am wondering how you all protect your applications from being 'loaned > out' to other people. I have been using Sentinel SuperPro hardware > keys, but I do not think that I want to continue using them. I would be > very interested in any software 'key' solutions that anyone could > suggest. > > > > Jeff Barrows > > Outbak Technologies, LLC > > Racine, WI > > Phone: (262) 634-0653 > > Mailto: jeff_developer at hotmail.com > > www.outbaktech.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > _________________________________________________________________ > Add photos to your messages with MSN 8. Get 2 months FREE*. > http://join.msn.com/?page=features/featuredemail > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From clh at christopherhawkins.com Fri Aug 15 15:54:13 2003 From: clh at christopherhawkins.com (Christopher Hawkins) Date: Fri, 15 Aug 2003 14:54:13 -0600 Subject: [AccessD] Getting Desperate - Apologies for the OT message Message-ID: <45900-22003851520541342@christopherhawkins.com> Well, I'd be honored and grateful to get some overflow work. I was recently telling my friends that if everyone I knew subcontracted just one hour of their projects to me, I'd be back in the black! ;) I'm not surprised to hear that the dll's were faster, but I am surprised at how MUCH faster they were. Aside from your counting example, do you have the dll actually return HTML, or are you just using them to do logic or return calculated results? For example, I've seen some pages where the entire HTML body was contained in a variable that was populated by a dll. Pretty slick. I wish I could take credit for having written that one. -C- ---- Original Message ---- From: DWUTKA at marlow.com To: accessd at databaseadvisors.com, Subject: RE: [AccessD] Getting Desperate - Apologies for the OT message Date: Fri, 15 Aug 2003 13:03:01 -0500 >That's good. I may toss ya some of my own work. I just finished a >bunch of >'jobs', but I'm sure there is going to be more just around the >corner. > >Personally, I use VB .dll's whenever I can, when using ASP. First, >I like >VB 6.0's environment, however, and more importantly, VB .dll's run a >LOT >faster then plain ASP. (Did a little testing for an article I >co-wrote with >Susan, and on a first pass run between a plain ASP, and an ASP/.dll >combo, >just doing a simple count to 10 million, the ASP/.dll combo ran 260 >times >faster then the raw ASP page. That combo ran it in 100 >milliseconds, where >as the raw ASP took 26000 milliseconds (and if you do the math >there, that's >26 seconds the user would have to wait for the page to load.) On >the second >run, both ran faster (because they were cached), but the ASP/.dll >was now >something like 350 times faster.) > >Drew > >-----Original Message----- >From: Christopher Hawkins [mailto:clh at christopherhawkins.com] >Sent: Friday, August 15, 2003 11:27 AM >To: accessd at databaseadvisors.com >Subject: RE: [AccessD] Getting Desperate - Apologies for the OT >message > > >Drew, > >"Quick question about ASP skills. Do you use VB .dll's with ASP, or >just plain ASP?" > >I have used VB .dlls in some ASP apps. Most of the projects I get >aren't sufficiently complex to justify them, though, so I usually >don't. > >-C- > >---- Original Message ---- >From: DWUTKA at marlow.com >To: accessd at databaseadvisors.com, >Subject: RE: [AccessD] Getting Desperate - Apologies for the OT >message >Date: Wed, 13 Aug 2003 23:50:40 -0500 > >>I'll pass your resume along, hopefully my 'contact' has contacts in >>CA. >> >>Quick question about ASP skills. Do you use VB .dll's with ASP, or >>just >>plain ASP? >> >>Drew >> >>-----Original Message----- >>From: Christopher Hawkins [mailto:clh at christopherhawkins.com] >>Sent: Wednesday, August 13, 2003 11:15 PM >>To: accessd at databaseadvisors.com >>Subject: RE: [AccessD] Getting Desperate - Apologies for the OT >>message >> >> >>Hi, Drew. I'm located in Visalia, CA. It's somewhat in the middle >>of the state, about an hour north of Bakersfield. >> >>My resume is here: www.christopherhawkins.com/clhResume.htm >> >>To summarize, I've been developing in Access and SQL since 1996, VB >>since version 3.0, and in recent years have done work in classic ASP >>and Oracle 7.3 and up for Fortune 500 firms. The past 5 years have >>been a 50/50 split betwen coding and leading teams. The past 6 >>months have seen me doing a series of short contracts, mostly Access >>work but also some project management. >> >>-C- >> >> >>---- Original Message ---- >>From: DWUTKA at marlow.com >>To: accessd at databaseadvisors.com, >>Subject: RE: [AccessD] Getting Desperate - Apologies for the OT >>message >>Date: Wed, 13 Aug 2003 21:45:02 -0500 >> >>>Not crass at all. Asking for work to come your way is definitely a >>>developer's topic!!!! >>> >>>Don't start throwing a party, but lately I have been inundated >with >>>contract >>>work. I also keep an eye on the locals, and an ear to the ground. > >>>I don't >>>have anything right now, but I have had to turn stuff down in the >>>last few >>>weeks. Nothing MAJOR, but some of it steady work for a few >months. >> >>>Most of >>>the stuff I have to turn down is local though, but even if it >>isn't, >>>I don't >>>know who to contact since most jobs want someone local if they >>>haven't >>>worked with them before. >>> >>>So where are you at, and can you send me your resume. (It doesn't >>>need to >>>be full blown one. Just let me know what you know.....). >>> >>>Drew >>> >>>-----Original Message----- >>>From: Christopher Hawkins [mailto:clh at christopherhawkins.com] >>>Sent: Tuesday, August 12, 2003 4:32 PM >>>To: accessd at databaseadvisors.com >>>Subject: [AccessD] Getting Desperate - Apologies for the OT message >>> >>> >>>First off, I apologize for such a blatantly OT message, but I just >>>don't know where else to turn. >>> >>>6 months ago, I bought a house. Three weeks later, I was laid >off. >>>Ouch. Dribs and drabs of contract work have come in, but I'm so >far >>>out of any major tech market that there are not enough contract >jobs >>>or W2 jobs available within commutable distance. >>> >>>I'm making an appeal to any among you who may find yourself in the >>>enviable positon of having more work offered than you can handle, >or >>>who may have knowledge of projects that are staffing up. I'm >>looking >>>for a chance to subcontract, a referral, and outright assignment - >>>anything that gets the revenue train going again. >>> >>>I know this is crass, but if I have to take the initiative and beg >>>for work to keep my family fed and housed, I'll beg! >>> >>>Anyone with work or leads, feel free to contact me offline - >>>clh at christopherhawkins.com. >>> >>>Thank you. >>> >>>-Christopher Hawkins- >>> >>>_______________________________________________ >>>AccessD mailing list >>>AccessD at databaseadvisors.com >>>http://databaseadvisors.com/mailman/listinfo/accessd >>>Website: http://www.databaseadvisors.com >>>_______________________________________________ >>>AccessD mailing list >>>AccessD at databaseadvisors.com >>>http://databaseadvisors.com/mailman/listinfo/accessd >>>Website: http://www.databaseadvisors.com >>> >> >>_______________________________________________ >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >>_______________________________________________ >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >> > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > From mikedorism at ntelos.net Fri Aug 15 15:58:37 2003 From: mikedorism at ntelos.net (Mike and Doris Manning) Date: Fri, 15 Aug 2003 16:58:37 -0400 Subject: [AccessD] Subform question In-Reply-To: Message-ID: <001601c36370$05dd9300$e63c0cd8@hargrove.internal> Try this... Dim ItemName As String 'Set the focus to cmdClose and get the subform's 'current source object cmdClose.SetFocus ItemName = frmInfo.SourceObject 'Change the form's view frmInfo.Visible = False frmInfo.SourceObject = "" DoCmd.Echo False DoCmd.OpenForm ItemName, acViewDesign Forms(ItemName).DefaultView = 2 DoCmd.Close acForm, ItemName, acSaveYes DoCmd.Echo True 'Redisplay the subform frmInfo.SourceObject = ItemName frmInfo.Visible = True You would use similar code for FormView changing the default view to either 0 (Single Form) or 1 (Continuous Form). 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 Michael Br?sdorf Sent: Friday, August 15, 2003 3:59 PM To: Access Developers discussion and problem solving Subject: [AccessD] Subform question Dear group, is it possible to switch a subform from form view to datasheet view during runtime of the main form? I tried changing me.sfrmList.form.currentview and me.sfrmList.form.defaultview, but that seems to be working in design view only. TIA, Michael _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Fri Aug 15 17:00:50 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Fri, 15 Aug 2003 17:00:50 -0500 Subject: [AccessD] On-site emergency! A2K: Error when clicking cance l in report dialog Message-ID: <2F8793082E00D4119A1700B0D0216BF80222709D@main2.marlow.com> Didn't test it myself. Let me know if it works or not! Drew -----Original Message----- From: Christopher Hawkins [mailto:clh at christopherhawkins.com] Sent: Friday, August 15, 2003 2:18 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] On-site emergency! A2K: Error when clicking cancel in report dialog *blink* *blink* That's brilliant. Let me give it a try... -C- ---- Original Message ---- From: DWUTKA at marlow.com To: accessd at databaseadvisors.com, Subject: RE: [AccessD] On-site emergency! A2K: Error when clicking cancel in report dialog Date: Fri, 15 Aug 2003 14:08:43 -0500 >How about setting opposite dates when they click cancel (ie, the >first date >being tomorrow, and the last date being today....thus, no data), >then set >Cancel=True in the NoData event of the report. > >Drew > >-----Original Message----- >From: Christopher Hawkins [mailto:clh at christopherhawkins.com] >Sent: Friday, August 15, 2003 1:51 PM >To: accessd at databaseadvisors.com >Subject: [AccessD] On-site emergency! A2K: Error when clicking >cancel in >report dialog > > >I'm on-site with one of my few remaining clients right now. I can't >afford to foul this up. > >I have a form (frmReport) that presents a list of reports to the >user. > >Some reports require date ranges, so in the Open event of the report, >I have code (stolen straight) from Northwind that will open the date >range dialog (frmDateRange) modally. Ordinarily, the user would >enter a date range and click OK, rendering frmDateRange invisible and >allowing the rest of the Report_Open code to fire. > >But if the user clicks Cancel in frmDateRange, the code in >Report_Open is supposed to see that frmDateRange is no longer loaded, >set Cancel = True, and close. And it does - but Access also throws a >2501 error that breaks on the DoCmd.Open Report line from frmReport! > >I've tried trapping for error 2501 in frmReport - the procedure >doesn't even make it to the error handling section of the sub; it >just sits there on the DoCmd.OpenReport line. I don't know what to >do to either avoid throwing thid error (preferable), or managing what >happens after the error is thrown. > >And before you ask, I cannot paste code because my client won't let >me. > >Heeeeeeeelp... > >-Christopher- > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Fri Aug 15 17:01:21 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Fri, 15 Aug 2003 17:01:21 -0500 Subject: [AccessD] I give up... Message-ID: <2F8793082E00D4119A1700B0D0216BF80222709E@main2.marlow.com> No if it would just explain the code tips I get from my cat...... Drew -----Original Message----- From: Susan Harkins [mailto:harkins at iglou.com] Sent: Friday, August 15, 2003 2:48 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] I give up... Drew... that explains the ax in your hand. :) Susan H. > Well, in today's economy, I REALLY shouldn't be complaining about being too > busy. However, I just found out I haven't had any REM sleep in years, which > is probably why I feel like I'm running on fumes all the time! > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Fri Aug 15 17:07:22 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Fri, 15 Aug 2003 17:07:22 -0500 Subject: [AccessD] Getting Desperate - Apologies for the OT message Message-ID: <2F8793082E00D4119A1700B0D0216BF80222709F@main2.marlow.com> I do both. There is no speed advantage when it comes to writing output, because it has to be done through the response object anyways. I just finished a big project for a buddy. It's a web form to View,Edit and Add records to a few tables. It went through a few twists and turns, but the last week I was working on it, they said they wanted the form in the same format as this particular PDF file. I looked at the file, and said, perfect, because it was going to be very easy to duplicate it with HTML tables. Which I did. Whereever data needed to be, I put this: <%=dn.HTML("NameOfField")%> Then at the top of the asp page, I created that dn object, told it what mode it was in (view, edit, new), and off it went. If it was in View mode, the HTML event would find the field, grab the value, put in front and in back (if it applied), and walla, a nice simple form with data on it (nothing needs to be disabled, etc (actually...the radio buttons did...). If it was Edit mode, it used a lookup table to produce the correct HTML form control, to display on the form (textbox, textareas, comboboxs...). So what was returned was the complete HTML for that control (which would include the options for the selects), with the current value set. If it was in New/Add mode, same thing, it just didn't set a value. Lot's of fun.....decent money too... Drew -----Original Message----- From: Christopher Hawkins [mailto:clh at christopherhawkins.com] Sent: Friday, August 15, 2003 3:54 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Getting Desperate - Apologies for the OT message Well, I'd be honored and grateful to get some overflow work. I was recently telling my friends that if everyone I knew subcontracted just one hour of their projects to me, I'd be back in the black! ;) I'm not surprised to hear that the dll's were faster, but I am surprised at how MUCH faster they were. Aside from your counting example, do you have the dll actually return HTML, or are you just using them to do logic or return calculated results? For example, I've seen some pages where the entire HTML body was contained in a variable that was populated by a dll. Pretty slick. I wish I could take credit for having written that one. -C- ---- Original Message ---- From: DWUTKA at marlow.com To: accessd at databaseadvisors.com, Subject: RE: [AccessD] Getting Desperate - Apologies for the OT message Date: Fri, 15 Aug 2003 13:03:01 -0500 >That's good. I may toss ya some of my own work. I just finished a >bunch of >'jobs', but I'm sure there is going to be more just around the >corner. > >Personally, I use VB .dll's whenever I can, when using ASP. First, >I like >VB 6.0's environment, however, and more importantly, VB .dll's run a >LOT >faster then plain ASP. (Did a little testing for an article I >co-wrote with >Susan, and on a first pass run between a plain ASP, and an ASP/.dll >combo, >just doing a simple count to 10 million, the ASP/.dll combo ran 260 >times >faster then the raw ASP page. That combo ran it in 100 >milliseconds, where >as the raw ASP took 26000 milliseconds (and if you do the math >there, that's >26 seconds the user would have to wait for the page to load.) On >the second >run, both ran faster (because they were cached), but the ASP/.dll >was now >something like 350 times faster.) > >Drew > >-----Original Message----- >From: Christopher Hawkins [mailto:clh at christopherhawkins.com] >Sent: Friday, August 15, 2003 11:27 AM >To: accessd at databaseadvisors.com >Subject: RE: [AccessD] Getting Desperate - Apologies for the OT >message > > >Drew, > >"Quick question about ASP skills. Do you use VB .dll's with ASP, or >just plain ASP?" > >I have used VB .dlls in some ASP apps. Most of the projects I get >aren't sufficiently complex to justify them, though, so I usually >don't. > >-C- > >---- Original Message ---- >From: DWUTKA at marlow.com >To: accessd at databaseadvisors.com, >Subject: RE: [AccessD] Getting Desperate - Apologies for the OT >message >Date: Wed, 13 Aug 2003 23:50:40 -0500 > >>I'll pass your resume along, hopefully my 'contact' has contacts in >>CA. >> >>Quick question about ASP skills. Do you use VB .dll's with ASP, or >>just >>plain ASP? >> >>Drew >> >>-----Original Message----- >>From: Christopher Hawkins [mailto:clh at christopherhawkins.com] >>Sent: Wednesday, August 13, 2003 11:15 PM >>To: accessd at databaseadvisors.com >>Subject: RE: [AccessD] Getting Desperate - Apologies for the OT >>message >> >> >>Hi, Drew. I'm located in Visalia, CA. It's somewhat in the middle >>of the state, about an hour north of Bakersfield. >> >>My resume is here: www.christopherhawkins.com/clhResume.htm >> >>To summarize, I've been developing in Access and SQL since 1996, VB >>since version 3.0, and in recent years have done work in classic ASP >>and Oracle 7.3 and up for Fortune 500 firms. The past 5 years have >>been a 50/50 split betwen coding and leading teams. The past 6 >>months have seen me doing a series of short contracts, mostly Access >>work but also some project management. >> >>-C- >> >> >>---- Original Message ---- >>From: DWUTKA at marlow.com >>To: accessd at databaseadvisors.com, >>Subject: RE: [AccessD] Getting Desperate - Apologies for the OT >>message >>Date: Wed, 13 Aug 2003 21:45:02 -0500 >> >>>Not crass at all. Asking for work to come your way is definitely a >>>developer's topic!!!! >>> >>>Don't start throwing a party, but lately I have been inundated >with >>>contract >>>work. I also keep an eye on the locals, and an ear to the ground. > >>>I don't >>>have anything right now, but I have had to turn stuff down in the >>>last few >>>weeks. Nothing MAJOR, but some of it steady work for a few >months. >> >>>Most of >>>the stuff I have to turn down is local though, but even if it >>isn't, >>>I don't >>>know who to contact since most jobs want someone local if they >>>haven't >>>worked with them before. >>> >>>So where are you at, and can you send me your resume. (It doesn't >>>need to >>>be full blown one. Just let me know what you know.....). >>> >>>Drew >>> >>>-----Original Message----- >>>From: Christopher Hawkins [mailto:clh at christopherhawkins.com] >>>Sent: Tuesday, August 12, 2003 4:32 PM >>>To: accessd at databaseadvisors.com >>>Subject: [AccessD] Getting Desperate - Apologies for the OT message >>> >>> >>>First off, I apologize for such a blatantly OT message, but I just >>>don't know where else to turn. >>> >>>6 months ago, I bought a house. Three weeks later, I was laid >off. >>>Ouch. Dribs and drabs of contract work have come in, but I'm so >far >>>out of any major tech market that there are not enough contract >jobs >>>or W2 jobs available within commutable distance. >>> >>>I'm making an appeal to any among you who may find yourself in the >>>enviable positon of having more work offered than you can handle, >or >>>who may have knowledge of projects that are staffing up. I'm >>looking >>>for a chance to subcontract, a referral, and outright assignment - >>>anything that gets the revenue train going again. >>> >>>I know this is crass, but if I have to take the initiative and beg >>>for work to keep my family fed and housed, I'll beg! >>> >>>Anyone with work or leads, feel free to contact me offline - >>>clh at christopherhawkins.com. >>> >>>Thank you. >>> >>>-Christopher Hawkins- >>> >>>_______________________________________________ >>>AccessD mailing list >>>AccessD at databaseadvisors.com >>>http://databaseadvisors.com/mailman/listinfo/accessd >>>Website: http://www.databaseadvisors.com >>>_______________________________________________ >>>AccessD mailing list >>>AccessD at databaseadvisors.com >>>http://databaseadvisors.com/mailman/listinfo/accessd >>>Website: http://www.databaseadvisors.com >>> >> >>_______________________________________________ >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >>_______________________________________________ >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >> > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bchacc at san.rr.com Fri Aug 15 17:50:22 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Fri, 15 Aug 2003 15:50:22 -0700 Subject: [AccessD] Option Compare Binary Problem References: <007e01c36341$82666ac0$6601a8c0@HAL9002> <024901c3634b$2931c350$ebecffcc@SusanOne> <015801c3634f$a7e75df0$6601a8c0@HAL9002> <3F3D3EED.1090102@shaw.ca> Message-ID: <01ca01c3637f$9c28ecb0$6601a8c0@HAL9002> Marty: Beautiful. And if $ were no object, I'd sprinkle it through the whole app. In this case simpler is better (and cheaper). But the code goes in my library. Thanks and regards, Rocky ----- Original Message ----- From: "MartyConnelly" To: "Access Developers discussion and problem solving" Sent: Friday, August 15, 2003 1:13 PM Subject: Re: [AccessD] Option Compare Binary Problem > One approach might be to use some variation of a hash function that creates > a new index field that is a hash of the alphnumeric characters say > "1.0.1" that > appears as a double or series of fields converted to doubles. This > method below > of hashing is called Base 37 Hash. Numerical Methods text books might > have documentation. > By changing the decimal number of the character in code you can alter > the sort order. > Say if you want to make A and Z equivalent in the sort order instead of > z character being > assigned decimal 37 force it to 11 in code. > I wrote this originally to sort on a field that was old Radio Tube > numbers that looked like 2AAW32 2ABW320 2AaW3223 etc and avoid upper > lower case ordering. You are essentially assigning your own collation > sequence. > > Option Compare Database > Option Explicit > Const hashFactor As Integer = 37 > Const hashLength As Integer = 9 > > Function HashString(strHash As String) As Double > ' Create Hash string for indexing using > 'Base 37 Hash Value > ' Convert > ' spaces punctuation odd chars = 0 > ' numeric = 0 - 9 1-10 > ' alpha chars a-z A-Z 11-37 > ' only use lower case > 'such that string "Ab-12" = > ' A b - 1 2 > ' (11*37^4) + (12*37^3) + (0*37^2) + (2*37^1) + (3*37^0) > 'The Hash Length is 9 so it fits a double without precision loss > > Dim iStrLen As Integer > Dim decAsc As Double > Dim i As Integer > Dim strPad As Integer > Dim strToHash As String > HashString = 0 > > ' convert to all lower case > strToHash = UCase(strHash) > iStrLen = Len(strToHash) > > 'pad out string to 9 chars with blanks > If iStrLen < hashLength Then > For strPad = (iStrLen + 1) To hashLength > strToHash = strToHash & " " > Next > Else > ' or just grab first nine chars of string > If iStrLen > hashLength Then > strToHash = Left(strToHash, hashLength) > End If > End If > > For i = 1 To hashLength > decAsc = Asc(Right(strToHash, i)) > 'convert all odd Ascii character values and punctuation to 0 > If (decAsc < 48) Or (decAsc >= 58) And (decAsc <= 64) _ > Or (decAsc > 91) Then > decAsc = 0 > Else > 'numbers > If (decAsc >= 48) And (decAsc <= 57) Then > decAsc = decAsc - 47 > Else > 'letters > If (decAsc >= 65) And (decAsc <= 91) Then > decAsc = decAsc - 54 > ' 54 not 64 as want to start "A" as 11 > End If > End If > End If > > HashString = HashString + (decAsc * hashFactor ^ (i - 1)) > Next > > End Function > > Function HashUpdateHierarchLegalNumber() > 'Update Method Example > 'This example demonstrates the Update method in conjunction with Edit > method. Updates the hash field from original index field in the original > table. > > > Dim dbs As Database > Dim rst As Recordset > Dim String1 As String > Dim String2 As String > ' Set dbs = OpenDatabase("c:\access2\hashing\HashStringA.mdb") > Set dbs = CurrentDb() > Set rst = dbs.OpenRecordset("LegalNumbering") > > With rst > Do While Not .EOF > .Edit > String1 = Left(![LegalNumber], 9) > String2 = Mid(![TubeNumbers], 10, 9)'chunk out further > 'String2 = Right(![TubeNumbers], 9) 'if number longer than 9 digits > !HashTitle1 = HashString(String1) > !HashTitle2 = HashString(String2) > > .Update > .MoveNext > Loop > End With > rst.Close > dbs.Close > > End Function > Rocky Smolin - Beach Access Software wrote: > > > I think it would require even more gyrations. Access very nicely > > sorts the ~ to the top of a list. Client wanted it at the bottom. So > > everywhere I have to deal with the ~ I have to work around Access's > > default methods. > > > > The client just told me to abandon the ~ approach and go with a lower > > case z prefix. It's for defining a location where the default > > location is 'No Building' and 'No Room', where the user hadn't > > selected a location. So prefixing with a _ or a ~ sorted the 'No' > > choices to the top of the list. > > > > Using z will sort to the bottom where he wants it. So now all I have > > to do it go in and undo all that tilde stuff. So problem not solved, > > but abandoned. > > > > Still would like to know how to solve it but it's not a big priority. > > > > Rocky > > > > > > ----- Original Message ----- > > From: Susan Harkins > > To: Access Developers discussion and problem solving > > > > Sent: Friday, August 15, 2003 9:34 AM > > Subject: Re: [AccessD] Option Compare Binary Problem > > > > Can you assign ~ to a constant? > > > > Susan H. > > > > > > > > Dear List: > > > > I'm using Option Compare Binary in a module to get the code to > > recognize that the tilde character "~" is greater than any > > alphanumeric character. (Using Option Compare Database it > > sorts the tilde up front.) > > > > However when I assemble and run a SQL statement that has fld > > >= "0" and fld <= "~" it return zero records. If I switch it > > around so that it says fld >= "~" and fld <= "0" the right > > number of records is returned. > > > > I found this out when I took the SQL and pasted it into a > > query and tested the criterion both ways. So apparently the > > Option Compare Binary doesn't extend to string comparisons > > when executing a SQL statement (reasonable). > > > > Is there a way to get the same Compare effect in a SQL statement? > > > > Thanks in advance to all and regards, > > > > Rocky Smolin > > Beach Access Software > > > > > ------------------------------------------------------------------------ > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > ------------------------------------------------------------------------ > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > >------------------------------------------------------------------------ > > > >_______________________________________________ > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > > > > > > > _______________________________________________ > 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 Aug 15 17:54:14 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Fri, 15 Aug 2003 15:54:14 -0700 Subject: [AccessD] Option Compare Binary Problem References: <007e01c36341$82666ac0$6601a8c0@HAL9002> <024901c3634b$2931c350$ebecffcc@SusanOne> <015801c3634f$a7e75df0$6601a8c0@HAL9002> Message-ID: <01ee01c36380$264d9c10$6601a8c0@HAL9002> A.D. : Tried the StrComp and from Help I thought it might work, but no soap. Rocky ----- Original Message ----- From: A.D.Tejpal To: Access Developers discussion and problem solving Sent: Friday, August 15, 2003 11:57 AM Subject: Re: [AccessD] Option Compare Binary Problem Rocky, As far as I know, SQL by itself is not going to honor the 'Option Compare Binary' clause even when it is specified in the Modules. However, if a particular function has provision for an argument forcing binary comparison (e.g Instr() or StrComp()), and such function is used in SQL (duly including the compare argument even though optional), desired results could be achieved. Regards, A.D.Tejpal -------------- ----- Original Message ----- From: Rocky Smolin - Beach Access Software To: Access Developers discussion and problem solving Sent: Friday, August 15, 2003 22:37 Subject: Re: [AccessD] Option Compare Binary Problem I think it would require even more gyrations. Access very nicely sorts the ~ to the top of a list. Client wanted it at the bottom. So everywhere I have to deal with the ~ I have to work around Access's default methods. The client just told me to abandon the ~ approach and go with a lower case z prefix. It's for defining a location where the default location is 'No Building' and 'No Room', where the user hadn't selected a location. So prefixing with a _ or a ~ sorted the 'No' choices to the top of the list. Using z will sort to the bottom where he wants it. So now all I have to do it go in and undo all that tilde stuff. So problem not solved, but abandoned. Still would like to know how to solve it but it's not a big priority. Rocky ----- Original Message ----- From: Susan Harkins To: Access Developers discussion and problem solving Sent: Friday, August 15, 2003 9:34 AM Subject: Re: [AccessD] Option Compare Binary Problem Can you assign ~ to a constant? Susan H. Dear List: I'm using Option Compare Binary in a module to get the code to recognize that the tilde character "~" is greater than any alphanumeric character. (Using Option Compare Database it sorts the tilde up front.) However when I assemble and run a SQL statement that has fld >= "0" and fld <= "~" it return zero records. If I switch it around so that it says fld >= "~" and fld <= "0" the right number of records is returned. I found this out when I took the SQL and pasted it into a query and tested the criterion both ways. So apparently the Option Compare Binary doesn't extend to string comparisons when executing a SQL statement (reasonable). Is there a way to get the same Compare effect in a SQL statement? Thanks in advance to all and regards, Rocky Smolin Beach Access Software ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From clh at christopherhawkins.com Fri Aug 15 23:09:37 2003 From: clh at christopherhawkins.com (Christopher Hawkins) Date: Fri, 15 Aug 2003 22:09:37 -0600 Subject: [AccessD] Getting Desperate - Apologies for the OT message Message-ID: <266540-2200386164937283@christopherhawkins.com> That's very clever. I'd love to see that code. Was this ASP.NET or classic ASP? -C- ---- Original Message ---- From: DWUTKA at marlow.com To: accessd at databaseadvisors.com, Subject: RE: [AccessD] Getting Desperate - Apologies for the OT message Date: Fri, 15 Aug 2003 17:07:22 -0500 >I do both. There is no speed advantage when it comes to writing >output, >because it has to be done through the response object anyways. I >just >finished a big project for a buddy. It's a web form to View,Edit >and Add >records to a few tables. It went through a few twists and turns, >but the >last week I was working on it, they said they wanted the form in the >same >format as this particular PDF file. I looked at the file, and said, >perfect, because it was going to be very easy to duplicate it with >HTML >tables. Which I did. Whereever data needed to be, I put this: > ><%=dn.HTML("NameOfField")%> > >Then at the top of the asp page, I created that dn object, told it >what mode >it was in (view, edit, new), and off it went. If it was in View >mode, the >HTML event would find the field, grab the value, put in front >and >in back (if it applied), and walla, a nice simple form with data on >it >(nothing needs to be disabled, etc (actually...the radio buttons >did...). >If it was Edit mode, it used a lookup table to produce the correct >HTML form >control, to display on the form (textbox, textareas, comboboxs...). >So what >was returned was the complete HTML for that control (which would >include the >options for the selects), with the current value set. If it was in >New/Add >mode, same thing, it just didn't set a value. > >Lot's of fun.....decent money too... > >Drew > >-----Original Message----- >From: Christopher Hawkins [mailto:clh at christopherhawkins.com] >Sent: Friday, August 15, 2003 3:54 PM >To: accessd at databaseadvisors.com >Subject: RE: [AccessD] Getting Desperate - Apologies for the OT >message > > >Well, I'd be honored and grateful to get some overflow work. I was >recently telling my friends that if everyone I knew subcontracted >just one hour of their projects to me, I'd be back in the black! ;) > >I'm not surprised to hear that the dll's were faster, but I am >surprised at how MUCH faster they were. > >Aside from your counting example, do you have the dll actually return >HTML, or are you just using them to do logic or return calculated >results? For example, I've seen some pages where the entire HTML >body was contained in a variable that was populated by a dll. Pretty >slick. I wish I could take credit for having written that one. > >-C- > >---- Original Message ---- >From: DWUTKA at marlow.com >To: accessd at databaseadvisors.com, >Subject: RE: [AccessD] Getting Desperate - Apologies for the OT >message >Date: Fri, 15 Aug 2003 13:03:01 -0500 > >>That's good. I may toss ya some of my own work. I just finished a >>bunch of >>'jobs', but I'm sure there is going to be more just around the >>corner. >> >>Personally, I use VB .dll's whenever I can, when using ASP. First, >>I like >>VB 6.0's environment, however, and more importantly, VB .dll's run >a >>LOT >>faster then plain ASP. (Did a little testing for an article I >>co-wrote with >>Susan, and on a first pass run between a plain ASP, and an ASP/.dll >>combo, >>just doing a simple count to 10 million, the ASP/.dll combo ran 260 >>times >>faster then the raw ASP page. That combo ran it in 100 >>milliseconds, where >>as the raw ASP took 26000 milliseconds (and if you do the math >>there, that's >>26 seconds the user would have to wait for the page to load.) On >>the second >>run, both ran faster (because they were cached), but the ASP/.dll >>was now >>something like 350 times faster.) >> >>Drew >> >>-----Original Message----- >>From: Christopher Hawkins [mailto:clh at christopherhawkins.com] >>Sent: Friday, August 15, 2003 11:27 AM >>To: accessd at databaseadvisors.com >>Subject: RE: [AccessD] Getting Desperate - Apologies for the OT >>message >> >> >>Drew, >> >>"Quick question about ASP skills. Do you use VB .dll's with ASP, or >>just plain ASP?" >> >>I have used VB .dlls in some ASP apps. Most of the projects I get >>aren't sufficiently complex to justify them, though, so I usually >>don't. >> >>-C- >> >>---- Original Message ---- >>From: DWUTKA at marlow.com >>To: accessd at databaseadvisors.com, >>Subject: RE: [AccessD] Getting Desperate - Apologies for the OT >>message >>Date: Wed, 13 Aug 2003 23:50:40 -0500 >> >>>I'll pass your resume along, hopefully my 'contact' has contacts >in >>>CA. >>> >>>Quick question about ASP skills. Do you use VB .dll's with ASP, >or >>>just >>>plain ASP? >>> >>>Drew >>> >>>-----Original Message----- >>>From: Christopher Hawkins [mailto:clh at christopherhawkins.com] >>>Sent: Wednesday, August 13, 2003 11:15 PM >>>To: accessd at databaseadvisors.com >>>Subject: RE: [AccessD] Getting Desperate - Apologies for the OT >>>message >>> >>> >>>Hi, Drew. I'm located in Visalia, CA. It's somewhat in the middle >>>of the state, about an hour north of Bakersfield. >>> >>>My resume is here: www.christopherhawkins.com/clhResume.htm >>> >>>To summarize, I've been developing in Access and SQL since 1996, VB >>>since version 3.0, and in recent years have done work in classic >ASP >>>and Oracle 7.3 and up for Fortune 500 firms. The past 5 years have >>>been a 50/50 split betwen coding and leading teams. The past 6 >>>months have seen me doing a series of short contracts, mostly >Access >>>work but also some project management. >>> >>>-C- >>> >>> >>>---- Original Message ---- >>>From: DWUTKA at marlow.com >>>To: accessd at databaseadvisors.com, >>>Subject: RE: [AccessD] Getting Desperate - Apologies for the OT >>>message >>>Date: Wed, 13 Aug 2003 21:45:02 -0500 >>> >>>>Not crass at all. Asking for work to come your way is definitely >a >>>>developer's topic!!!! >>>> >>>>Don't start throwing a party, but lately I have been inundated >>with >>>>contract >>>>work. I also keep an eye on the locals, and an ear to the >ground. >> >>>>I don't >>>>have anything right now, but I have had to turn stuff down in the >>>>last few >>>>weeks. Nothing MAJOR, but some of it steady work for a few >>months. >>> >>>>Most of >>>>the stuff I have to turn down is local though, but even if it >>>isn't, >>>>I don't >>>>know who to contact since most jobs want someone local if they >>>>haven't >>>>worked with them before. >>>> >>>>So where are you at, and can you send me your resume. (It >doesn't >>>>need to >>>>be full blown one. Just let me know what you know.....). >>>> >>>>Drew >>>> >>>>-----Original Message----- >>>>From: Christopher Hawkins [mailto:clh at christopherhawkins.com] >>>>Sent: Tuesday, August 12, 2003 4:32 PM >>>>To: accessd at databaseadvisors.com >>>>Subject: [AccessD] Getting Desperate - Apologies for the OT >message >>>> >>>> >>>>First off, I apologize for such a blatantly OT message, but I just >>>>don't know where else to turn. >>>> >>>>6 months ago, I bought a house. Three weeks later, I was laid >>off. >>>>Ouch. Dribs and drabs of contract work have come in, but I'm so >>far >>>>out of any major tech market that there are not enough contract >>jobs >>>>or W2 jobs available within commutable distance. >>>> >>>>I'm making an appeal to any among you who may find yourself in the >>>>enviable positon of having more work offered than you can handle, >>or >>>>who may have knowledge of projects that are staffing up. I'm >>>looking >>>>for a chance to subcontract, a referral, and outright assignment - >>>>anything that gets the revenue train going again. >>>> >>>>I know this is crass, but if I have to take the initiative and beg >>>>for work to keep my family fed and housed, I'll beg! >>>> >>>>Anyone with work or leads, feel free to contact me offline - >>>>clh at christopherhawkins.com. >>>> >>>>Thank you. >>>> >>>>-Christopher Hawkins- >>>> >>>>_______________________________________________ >>>>AccessD mailing list >>>>AccessD at databaseadvisors.com >>>>http://databaseadvisors.com/mailman/listinfo/accessd >>>>Website: http://www.databaseadvisors.com >>>>_______________________________________________ >>>>AccessD mailing list >>>>AccessD at databaseadvisors.com >>>>http://databaseadvisors.com/mailman/listinfo/accessd >>>>Website: http://www.databaseadvisors.com >>>> >>> >>>_______________________________________________ >>>AccessD mailing list >>>AccessD at databaseadvisors.com >>>http://databaseadvisors.com/mailman/listinfo/accessd >>>Website: http://www.databaseadvisors.com >>>_______________________________________________ >>>AccessD mailing list >>>AccessD at databaseadvisors.com >>>http://databaseadvisors.com/mailman/listinfo/accessd >>>Website: http://www.databaseadvisors.com >>> >> >>_______________________________________________ >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >>_______________________________________________ >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >> >> > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > From vze28ztx at verizon.net Sat Aug 16 11:25:26 2003 From: vze28ztx at verizon.net (Mary Davis) Date: Sat, 16 Aug 2003 12:25:26 -0400 Subject: [AccessD] Job posting Message-ID: <3F3E5AF6.4030907@verizon.net> Well, then, I'll jump in here. Someone kindly wrote: " 'Absolutely right William. Anyone who knows of job opportunities should feel free to post them. " 'So don't be shy." __________________ A few weeks ago, another reader told me job postings are acceptable, but shyness did get in my way. (That was Keith Williamson. If you're there Keith, Hi and thanks!) Desperation vs. shyness. Ok: desperation wins. We're located in Wilmington DE. (hehehe...if you don't know where that is exactly, then you're just not local enough! If Delaware figured in a Jeopardy answer, it'd be "the sales tax free state." Our one legitimate claim to fame.) There's a long story that I won't burden you all with. We would very much like to find someone local. (We know that most/many developers work through cyberspace and don't need the "face to face" - we're just not convinced that all our problems could be solved via email.) We've been abusing Access for about 5 years. I've not been able to learn enough for our company to become "in house sufficient." We have a consultant who's (1) not local - about 30 miles away so his visits have been a bit limited and (2) sometimes not available immeditely enough. Thus, we've been at this for 5 years and I think there's much to be done. If you'd like to see something of our company, we are http://www.isminc.com thanks for any help that comes by!! with best regards, Mary home: m.i.davis at verizon.net work: mary at isminc.com (whew. I feel better already!) -- Mary Davis Wilmington, DE From wdhindman at bellsouth.net Sat Aug 16 15:47:23 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Sat, 16 Aug 2003 16:47:23 -0400 Subject: [AccessD] Job posting References: <3F3E5AF6.4030907@verizon.net> Message-ID: <001d01c36437$985ebbb0$6001a8c0@dejpolsys> Mary ...thanks for posting ...this is "exactly" the kind of job postings we'd love to see more of ...everyone can find the big companies job openings and those that the recruiters have ...but most Access jobs tend to be with companies like yours that really have no idea how to find someone who really is sufficiently competent in both Access and business analyses to solve your problems :) ...btw, ime most any pure "Access" problem can be handled quite well by a remote developer ...but most small businesses tend to be dependent upon a computer guru rather than just an Access guru ...they need someone they can build a relationship with on site that can set down with them and look at their problems through their eyes ...and if that means solving some network or other application problems along with handling your database ones, well that's what small business software consultants do best :) ...be sure and let us know if you find someone to help :) William Hindman So, then, to every man his chance -- to every man, regardless of his birth, his shining golden opportunity -- to every man his right to live, to work, to be himself, to become whatever his manhood and his vision can combine to make him -- this, seeker, is the promise of America. -- Thomas Wolfe ----- Original Message ----- From: "Mary Davis" To: Sent: Saturday, August 16, 2003 12:25 PM Subject: [AccessD] Job posting > > Well, then, I'll jump in here. > Someone kindly wrote: > > " 'Absolutely right William. Anyone who knows of job opportunities > should feel free to post them. > " 'So don't be shy." > __________________ > A few weeks ago, another reader told me job postings are acceptable, but > shyness did get in my way. (That was Keith Williamson. If you're there > Keith, Hi and thanks!) > > Desperation vs. shyness. Ok: desperation wins. > > We're located in Wilmington DE. (hehehe...if you don't know where that > is exactly, then you're just not local enough! If Delaware figured in a > Jeopardy answer, it'd be "the sales tax free state." Our one legitimate > claim to fame.) > There's a long story that I won't burden you all with. We would very > much like to find someone local. (We know that most/many developers > work through cyberspace and don't need the "face to face" - we're just > not convinced that all our problems could be solved via email.) > > We've been abusing Access for about 5 years. I've not been able to > learn enough for our company to become "in house sufficient." We have a > consultant who's (1) not local - about 30 miles away so his visits have > been a bit limited and (2) sometimes not available immeditely enough. > Thus, we've been at this for 5 years and I think there's much to be done. > > If you'd like to see something of our company, we are > http://www.isminc.com > > thanks for any help that comes by!! > > with best regards, > Mary > > home: m.i.davis at verizon.net > work: mary at isminc.com > > (whew. I feel better already!) > > -- > Mary Davis > Wilmington, DE > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From michael.broesdorf at web.de Sun Aug 17 06:21:36 2003 From: michael.broesdorf at web.de (=?iso-8859-1?Q?Michael_Br=F6sdorf?=) Date: Sun, 17 Aug 2003 13:21:36 +0200 Subject: AW: [AccessD] Subform question In-Reply-To: <001601c36370$05dd9300$e63c0cd8@hargrove.internal> Message-ID: Hi Doris, thanks for the code - it does exactly what I need! Michael -----Urspr?ngliche Nachricht----- Von: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]Im Auftrag von Mike and Doris Manning Gesendet: Freitag, 15. August 2003 22:59 An: 'Access Developers discussion and problem solving' Betreff: RE: [AccessD] Subform question Try this... Dim ItemName As String 'Set the focus to cmdClose and get the subform's 'current source object cmdClose.SetFocus ItemName = frmInfo.SourceObject 'Change the form's view frmInfo.Visible = False frmInfo.SourceObject = "" DoCmd.Echo False DoCmd.OpenForm ItemName, acViewDesign Forms(ItemName).DefaultView = 2 DoCmd.Close acForm, ItemName, acSaveYes DoCmd.Echo True 'Redisplay the subform frmInfo.SourceObject = ItemName frmInfo.Visible = True You would use similar code for FormView changing the default view to either 0 (Single Form) or 1 (Continuous Form). 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 Michael Br?sdorf Sent: Friday, August 15, 2003 3:59 PM To: Access Developers discussion and problem solving Subject: [AccessD] Subform question Dear group, is it possible to switch a subform from form view to datasheet view during runtime of the main form? I tried changing me.sfrmList.form.currentview and me.sfrmList.form.defaultview, but that seems to be working in design view only. TIA, Michael _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From michael.broesdorf at web.de Sun Aug 17 07:11:57 2003 From: michael.broesdorf at web.de (=?iso-8859-1?Q?Michael_Br=F6sdorf?=) Date: Sun, 17 Aug 2003 14:11:57 +0200 Subject: [AccessD] Formatted text in treeview control In-Reply-To: Message-ID: AFAIK it is not possible to have formatted text or multiple columns in a treeview control. Is there any alternative available on the market? Michael From vze28ztx at verizon.net Sun Aug 17 12:48:10 2003 From: vze28ztx at verizon.net (Mary Davis) Date: Sun, 17 Aug 2003 13:48:10 -0400 Subject: [AccessD] Re: Job posting References: <200308171700.h7HH0AQ28107@databaseadvisors.com> Message-ID: <3F3FBFDA.5090001@verizon.net> William, You've hit a important note below: yes, we are hard pressed to know how Access can be better used along with our other software. Web use; blended with our accounting system; made usable for off-site employees. We are a small company with very little expertise with *any* of our software. Our IT department is one guy who is also the "plant manager." It all puts him in a *very* bad mood once in a while. "Small business software consultant" vs. Access developer. We'll take one of each, thanks very much. > Re: [AccessD] Job posting > From: > "William Hindman" > > Mary > > ...thanks for posting ... > > ...btw, ime most any pure "Access" problem can be handled quite well by a > remote developer ...but most small businesses tend to be dependent upon a > computer guru rather than just an Access guru ...they need someone they can > build a relationship with on site that can set down with them and look at > their problems through their eyes ...and if that means solving some network > or other application problems along with handling your database ones, well > that's what small business software consultants do best :) -- Mary Davis Wilmington, DE From harkins at iglou.com Sun Aug 17 13:37:44 2003 From: harkins at iglou.com (Susan Harkins) Date: Sun, 17 Aug 2003 14:37:44 -0400 Subject: [AccessD] SysCmd constant conflict Message-ID: <023a01c364ee$bb31e830$9ee6ffcc@SusanOne> I'm using the SysCmd function to determine an object's state. Problem is, the integer values the function's returning, doesn't match the constants. The Object Browser and the Immediate window both use the following: 'acObjStateOpen The object is open 1 'acObjStateNew The object is new 4 'acObjStateDirty A change has been made, but unsaved 2 But I get 1, 5, an 3, respectively when I run the function (below). Also, 7 turns up with a new form that's had default properties reset but not saved. I've checked the object browser, but I'm not getting much help -- everything refers to 1, 4, and 2. Anybody know more about 3, 5, and 7? I'm using Access XP but you'd think the browser would reflect changes to the constants if they'd been made from one version to another? Thanks! Susan H. Public Function ObjState(Optional objname As Variant, _ Optional objtype As Variant) As Variant 'determine whether the object is 'selected or passed via arguments Dim intState As Integer If IsMissing(objname) = True Then 'if using current object ObjState = SysCmd(acSysCmdGetObjectState, _ Application.CurrentObjectType, _ Application.CurrentObjectName) 'if using passed argument Else ObjState = SysCmd(acSysCmdGetObjectState, _ objtype, objname) End If End Function From caa at highway.com.br Sun Aug 17 14:22:03 2003 From: caa at highway.com.br (Carlos Alberto Alves) Date: Sun, 17 Aug 2003 16:22:03 -0300 Subject: [AccessD] A2k - Age ranges In-Reply-To: <057801c36322$2d19cf90$6401a8c0@default> References: <22F1CCD5171D17419CB37FEEE09D5F990173F38B@TTNEXCHSRV1.hshhp.com><3F37C7A6.9020609@shaw.ca> <057801c36322$2d19cf90$6401a8c0@default> Message-ID: On Fri, 15 Aug 2003 07:41:31 -0400, Michael R Mattys wrote: > Carlos, > > You may be looking for the Partition function > I have a sample db, if you need it I'll send it. > > Michael R. Mattys > www.mattysconsulting.com > > > ----- Original Message ----- > From: "Carlos Alberto Alves" > To: "Access Developers discussion and problem solving" > > Sent: Friday, August 15, 2003 4:38 AM > Subject: [AccessD] A2k - Age ranges > > >> Dear Mates: >> I am trying to solve an apparently simple situation but cannot find a >> good >> solution. My app has a table Patients with a birthdate, among other >> data. >> Users asked me to set a query and a graph with number of patients per >> range, for example <20y, 21 to 30y, 31 to 40y,...,>80y. For some >> "strange" >> reason I have got a solution for only one range per query. >> Anybody has a better solution, like a crosstab query that supports all >> ranges???????????? >> I have my own Age function!!! ;-) That's exactly what I need!!! Thanks very much, Michael!!! :) -- ************************************** * Carlos Alberto Alves * * Child Neurologist * * Systems Analyst/Programmer * * Rio de Janeiro, Brazil * * mailto:caa at highway.com.br * ************************************** From martyconnelly at shaw.ca Sun Aug 17 14:24:47 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Sun, 17 Aug 2003 12:24:47 -0700 Subject: [AccessD] SysCmd constant conflict References: <023a01c364ee$bb31e830$9ee6ffcc@SusanOne> Message-ID: <3F3FD67F.5000901@shaw.ca> Is it a binary combination? a 5 indicates both 'acObjStateOpen The object is open 1 'acObjStateNew The object is new 4 Susan Harkins wrote: >I'm using the SysCmd function to determine an object's state. Problem is, >the integer values the function's returning, doesn't match the constants. > >The Object Browser and the Immediate window both use the following: > >'acObjStateOpen The object is open 1 >'acObjStateNew The object is new 4 >'acObjStateDirty A change has been made, but unsaved 2 > >But I get 1, 5, an 3, respectively when I run the function (below). Also, 7 >turns up with a new form that's had default properties reset but not saved. >I've checked the object browser, but I'm not getting much help -- everything >refers to 1, 4, and 2. > >Anybody know more about 3, 5, and 7? I'm using Access XP but you'd think the >browser would reflect changes to the constants if they'd been made from one >version to another? > >Thanks! >Susan H. > >Public Function ObjState(Optional objname As Variant, _ > Optional objtype As Variant) As Variant > 'determine whether the object is > 'selected or passed via arguments > Dim intState As Integer > If IsMissing(objname) = True Then > 'if using current object > ObjState = SysCmd(acSysCmdGetObjectState, _ > Application.CurrentObjectType, _ > Application.CurrentObjectName) > 'if using passed argument > Else > ObjState = SysCmd(acSysCmdGetObjectState, _ > objtype, objname) > End If >End Function > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > From jcolby at colbyconsulting.com Sun Aug 17 15:22:30 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Sun, 17 Aug 2003 16:22:30 -0400 Subject: [AccessD] Re: Job posting In-Reply-To: <3F3FBFDA.5090001@verizon.net> Message-ID: Mary, Unfortunately this brings up another very important point that few small companies think about or understand, which is that "doing it yourself" can, in the end, cost you several times what it would have cost to hire a professional to do it to begin with. The reason is simple, a company's data is where the value is. Once the company decides to call in a professional to "fix" or rebuild a database (do it right), they have often accumulated so much data that it would be very expensive to "migrate" that data. But they often feel they can't "not do" the migration. So instead of 3 or 4 months to build a correctly designed system, they now face 3 or 4 months to rebuild the system, plus additional time (usually a BUNCH) to get the old data out of the old system and into the new. Plus time to work in parallel to do the testing, plus... In fact I "lost my shirt" on my very first Access db for this very reason. I estimated 180 hours for the base system, and I came in right on that estimate. But I estimated 30 hours to migrate the data. It actually took me several times that long. I now make it a point to NEVER bid the migration. It is "time and material". In fact, many times I recommend that they hire a person or two to re-key the data since that can be less expensive than hiring me to build a migration system to do the data migration. If the data is huge though, that option goes out the window. I do this "fix my system" thing all of the time and it is NEVER pleasant - for me or the client. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mary Davis Sent: Sunday, August 17, 2003 1:48 PM To: accessd at databaseadvisors.com Subject: [AccessD] Re: Job posting William, You've hit a important note below: yes, we are hard pressed to know how Access can be better used along with our other software. Web use; blended with our accounting system; made usable for off-site employees. We are a small company with very little expertise with *any* of our software. Our IT department is one guy who is also the "plant manager." It all puts him in a *very* bad mood once in a while. "Small business software consultant" vs. Access developer. We'll take one of each, thanks very much. > Re: [AccessD] Job posting > From: > "William Hindman" > > Mary > > ...thanks for posting ... > > ...btw, ime most any pure "Access" problem can be handled quite well by a > remote developer ...but most small businesses tend to be dependent upon a > computer guru rather than just an Access guru ...they need someone they can > build a relationship with on site that can set down with them and look at > their problems through their eyes ...and if that means solving some network > or other application problems along with handling your database ones, well > that's what small business software consultants do best :) -- Mary Davis Wilmington, DE _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From harkins at iglou.com Sun Aug 17 15:47:28 2003 From: harkins at iglou.com (Susan Harkins) Date: Sun, 17 Aug 2003 16:47:28 -0400 Subject: [AccessD] SysCmd constant conflict References: <023a01c364ee$bb31e830$9ee6ffcc@SusanOne> <3F3FD67F.5000901@shaw.ca> Message-ID: <027901c36500$c6c6ab60$9ee6ffcc@SusanOne> > 'acObjStateOpen The object is open 1 > 'acObjStateNew The object is new 4 Good guess, but I don't think so. Why would they double-cover a new object like that -- I mean there's no such thing as a closed new object, right? New implies unsaved. And 7 showed up with a new object where I changed a default property -- if it were new and unsaved, that would be 4 and 2 = 6. Susan H. > >I'm using the SysCmd function to determine an object's state. Problem is, > >the integer values the function's returning, doesn't match the constants. > > > >The Object Browser and the Immediate window both use the following: > > > >'acObjStateOpen The object is open 1 > >'acObjStateNew The object is new 4 > >'acObjStateDirty A change has been made, but unsaved 2 > > > >But I get 1, 5, an 3, respectively when I run the function (below). Also, 7 > >turns up with a new form that's had default properties reset but not saved. > >I've checked the object browser, but I'm not getting much help -- everything > >refers to 1, 4, and 2. > > > >Anybody know more about 3, 5, and 7? I'm using Access XP but you'd think the > >browser would reflect changes to the constants if they'd been made from one > >version to another? > > > >Thanks! > >Susan H. > > > >Public Function ObjState(Optional objname As Variant, _ > > Optional objtype As Variant) As Variant > > 'determine whether the object is > > 'selected or passed via arguments > > Dim intState As Integer > > If IsMissing(objname) = True Then > > 'if using current object > > ObjState = SysCmd(acSysCmdGetObjectState, _ > > Application.CurrentObjectType, _ > > Application.CurrentObjectName) > > 'if using passed argument > > Else > > ObjState = SysCmd(acSysCmdGetObjectState, _ > > objtype, objname) > > End If > >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 wdhindman at bellsouth.net Sun Aug 17 16:05:15 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Sun, 17 Aug 2003 17:05:15 -0400 Subject: [AccessD] Re: Job posting References: Message-ID: <000b01c36503$41e09390$6001a8c0@dejpolsys> ...I too learned the hard way not to bid fixed price on data migration ...there are ALWAYS "gotcha's" hidden in there that you never see until it upchucks all over you ...and your budget :( William Hindman So, then, to every man his chance -- to every man, regardless of his birth, his shining golden opportunity -- to every man his right to live, to work, to be himself, to become whatever his manhood and his vision can combine to make him -- this, seeker, is the promise of America. -- Thomas Wolfe ----- Original Message ----- From: "John Colby" To: "Access Developers discussion and problem solving" Sent: Sunday, August 17, 2003 4:22 PM Subject: RE: [AccessD] Re: Job posting > Mary, > > Unfortunately this brings up another very important point that few small > companies think about or understand, which is that "doing it yourself" can, > in the end, cost you several times what it would have cost to hire a > professional to do it to begin with. The reason is simple, a company's data > is where the value is. Once the company decides to call in a professional > to "fix" or rebuild a database (do it right), they have often accumulated so > much data that it would be very expensive to "migrate" that data. But they > often feel they can't "not do" the migration. So instead of 3 or 4 months > to build a correctly designed system, they now face 3 or 4 months to rebuild > the system, plus additional time (usually a BUNCH) to get the old data out > of the old system and into the new. Plus time to work in parallel to do the > testing, plus... > > In fact I "lost my shirt" on my very first Access db for this very reason. > I estimated 180 hours for the base system, and I came in right on that > estimate. But I estimated 30 hours to migrate the data. It actually took > me several times that long. I now make it a point to NEVER bid the > migration. It is "time and material". In fact, many times I recommend that > they hire a person or two to re-key the data since that can be less > expensive than hiring me to build a migration system to do the data > migration. If the data is huge though, that option goes out the window. > > I do this "fix my system" thing all of the time and it is NEVER pleasant - > for me or the client. > > John W. Colby > www.colbyconsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mary Davis > Sent: Sunday, August 17, 2003 1:48 PM > To: accessd at databaseadvisors.com > Subject: [AccessD] Re: Job posting > > > > > William, > You've hit a important note below: yes, we are hard pressed to know how > Access can be better used along with our other software. Web use; > blended with our accounting system; made usable for off-site employees. > We are a small company with very little expertise with *any* of our > software. Our IT department is one guy who is also the "plant manager." > It all puts him in a *very* bad mood once in a while. > "Small business software consultant" vs. Access developer. We'll take > one of each, thanks very much. > > > Re: [AccessD] Job posting > > From: > > "William Hindman" > > > > Mary > > > > ...thanks for posting ... > > > > ...btw, ime most any pure "Access" problem can be handled quite well by a > > remote developer ...but most small businesses tend to be dependent upon a > > computer guru rather than just an Access guru ...they need someone they > can > > build a relationship with on site that can set down with them and look at > > their problems through their eyes ...and if that means solving some > network > > or other application problems along with handling your database ones, well > > that's what small business software consultants do best :) > > > -- > Mary Davis > Wilmington, DE > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From stuart at lexacorp.com.pg Sun Aug 17 17:03:35 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Mon, 18 Aug 2003 08:03:35 +1000 Subject: [AccessD] SysCmd constant conflict In-Reply-To: <027901c36500$c6c6ab60$9ee6ffcc@SusanOne> Message-ID: <3F408857.14456.1A4C10@localhost> On 17 Aug 2003 at 16:47, Susan Harkins wrote: > > 'acObjStateOpen The object is open 1 > > 'acObjStateNew The object is new 4 > > Good guess, but I don't think so. I do think so. >Why would they double-cover a new object > like that -- I mean there's no such thing as a closed new object, right? New > implies unsaved. The fact that there is no such thing as a closed new object is irrelevant. These constants represent states and you will frequently have more than on such state applicable at the same time. It is just a case different bits being set as flags for the various states. So adding up the bit flags you get the following possible states. Closed =0 Open old unchanged = 1 Open old dirty = 3 (1 + 2) Open new unchanged = 5 (1 + 4) Open new dirty = 7 (4 + 1 + 2) If you want to know whether about a particular state, you need to mask that bit in the return value and ignore all the other bits. If you want to know whether an object is Open, you just check whether the first bit is set (Open = ReturnValue AND 1) if you want to know whether it is dirty, you check the third bit (Dirty = ReturnValue AND 4). >And 7 showed up with a new object where I changed a default > property -- if it were new and unsaved, that would be 4 and 2 = 6. > No, as you said above, it must also be open. (New = 4) + (Open = 1) + (Dirty = 2) = 7 -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From martyconnelly at shaw.ca Sun Aug 17 17:07:00 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Sun, 17 Aug 2003 15:07:00 -0700 Subject: [AccessD] SysCmd constant conflict References: <023a01c364ee$bb31e830$9ee6ffcc@SusanOne> <3F3FD67F.5000901@shaw.ca> <027901c36500$c6c6ab60$9ee6ffcc@SusanOne> Message-ID: <3F3FFC84.8000501@shaw.ca> You would get a 0 returned if the object is closed. See this post by Terry Kreft and code to explain the bitmask http://groups.google.com/groups?q=acObjStateDirty+acObjStateNew&hl=en&lr=&ie=UTF-8&oe=UTF-8&selm=79maq6%24div%242%40gate.mps.co.uk&rnum=1 Susan Harkins wrote: >>'acObjStateOpen The object is open 1 >>'acObjStateNew The object is new 4 >> >> > >Good guess, but I don't think so. Why would they double-cover a new object >like that -- I mean there's no such thing as a closed new object, right? New >implies unsaved. And 7 showed up with a new object where I changed a default >property -- if it were new and unsaved, that would be 4 and 2 = 6. > >Susan H. > > > >>>I'm using the SysCmd function to determine an object's state. Problem is, >>>the integer values the function's returning, doesn't match the constants. >>> >>>The Object Browser and the Immediate window both use the following: >>> >>>'acObjStateOpen The object is open 1 >>>'acObjStateNew The object is new 4 >>>'acObjStateDirty A change has been made, but unsaved 2 >>> >>>But I get 1, 5, an 3, respectively when I run the function (below). Also, >>> >>> >7 > > >>>turns up with a new form that's had default properties reset but not >>> >>> >saved. > > >>>I've checked the object browser, but I'm not getting much help -- >>> >>> >everything > > >>>refers to 1, 4, and 2. >>> >>>Anybody know more about 3, 5, and 7? I'm using Access XP but you'd think >>> >>> >the > > >>>browser would reflect changes to the constants if they'd been made from >>> >>> >one > > >>>version to another? >>> >>>Thanks! >>>Susan H. >>> >>>Public Function ObjState(Optional objname As Variant, _ >>> Optional objtype As Variant) As Variant >>> 'determine whether the object is >>> 'selected or passed via arguments >>> Dim intState As Integer >>> If IsMissing(objname) = True Then >>> 'if using current object >>> ObjState = SysCmd(acSysCmdGetObjectState, _ >>> Application.CurrentObjectType, _ >>> Application.CurrentObjectName) >>> 'if using passed argument >>> Else >>> ObjState = SysCmd(acSysCmdGetObjectState, _ >>> objtype, objname) >>> End If >>>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 harkins at iglou.com Sun Aug 17 17:36:24 2003 From: harkins at iglou.com (Susan Harkins) Date: Sun, 17 Aug 2003 18:36:24 -0400 Subject: [AccessD] SysCmd constant conflict References: <3F408857.14456.1A4C10@localhost> Message-ID: <003d01c36510$0a7d93f0$154afccc@SusanOne> > > > 'acObjStateNew The object is new 4 > > It is just a case different bits being set as flags for the various > states. So adding up the bit flags you get the following possible > states. > > Closed =0 > Open old unchanged = 1 > Open old dirty = 3 (1 + 2) > Open new unchanged = 5 (1 + 4) > Open new dirty = 7 (4 + 1 + 2) ========Then why set a constant named acObjStateNew to 4 -- if the object actually returns 5? Other constants don't work like this. This seems terribly confusing -- you're looking for 4, not 5. I'm sorry, but this seems horribly inconsistent with other constants I'm familiar with -- I have never run into this before. Susan H. From stuart at lexacorp.com.pg Sun Aug 17 18:21:22 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Mon, 18 Aug 2003 09:21:22 +1000 Subject: [AccessD] SysCmd constant conflict In-Reply-To: <003d01c36510$0a7d93f0$154afccc@SusanOne> Message-ID: <3F409A92.5601.617FE9@localhost> On 17 Aug 2003 at 18:36, Susan Harkins wrote: > > > > 'acObjStateNew The object is new 4 > > > > It is just a case different bits being set as flags for the various > > states. So adding up the bit flags you get the following possible > > states. > > > > Closed =0 > > Open old unchanged = 1 > > Open old dirty = 3 (1 + 2) > > Open new unchanged = 5 (1 + 4) > > Open new dirty = 7 (4 + 1 + 2) > > ========Then why set a constant named acObjStateNew to 4 -- if the object > actually returns 5? Because you are asking the object to return an indicator of its state, which is a combination of three different aspects , each of which has it's own constant. >Other constants don't work like this. Many do. > This seems > terribly confusing -- you're looking for 4, not 5. I'm sorry, but this seems > horribly inconsistent with other constants I'm familiar with -- I have never > run into this before. > You've never done anything like in a messagebox? "vbDefaultButton2 + vbCritical + vbOKCancel +vbApplicationModal" The sum of these constants determines the actual state of the messagebox. How about setting/returning file attributes? "vbHidden + vbSystem + vbReadOnly" -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From harkins at iglou.com Sun Aug 17 19:34:20 2003 From: harkins at iglou.com (Susan Harkins) Date: Sun, 17 Aug 2003 20:34:20 -0400 Subject: [AccessD] this should be an easy one -- on Windows shortcuts Message-ID: <001001c36520$82a22890$f6e6ffcc@SusanOne> "C:\Program Files\Microsoft Office\Office10\MSACCESS.EXE" C:\a\topics.mdb /compact I tried the above as a shortcut's Target property to open a database and compact and repair it -- problem is, the database doesn't stay open. I want it to stay open. Susan H. From harkins at iglou.com Sun Aug 17 19:53:22 2003 From: harkins at iglou.com (Susan Harkins) Date: Sun, 17 Aug 2003 20:53:22 -0400 Subject: [AccessD] SysCmd constant conflict References: <3F409A92.5601.617FE9@localhost> Message-ID: <000b01c36523$22bd7c10$b5e6ffcc@SusanOne> Thanks for the info -- learned something new today. > >Other constants don't work like this. > > Many do. ======I don't suppose anyone could identify the others or can I just assume that any enum where the members could be applied at the same time will behave this way? Susan H. From stephen at bondsoftware.co.nz Mon Aug 18 00:12:35 2003 From: stephen at bondsoftware.co.nz (Stephen Bond) Date: Mon, 18 Aug 2003 17:12:35 +1200 Subject: [AccessD] DataGrid ActiveX control Message-ID: <70F3D727890C784291D8433E9C418F298EFD@server.bondsoftware.co.nz> I am converting a 2000 mdb to a 2002 mdb. In the 2000 version I have a form with a DataGrid control on it. (OLE class = DataGrid). It is unbound, and loaded at form open using an ADO recordset. In 2000 it works well. In 2002 I am getting 'run-time error 438, Object doesn't support this property or method'. It falls over on the last line of this code snippet: Sub FillGridSpecificJobObservations(ByVal pk) Dim strSQL As String Set rs = New ADODB.Recordset Set rs.ActiveConnection = CurrentProject.Connection rs.CursorType = adOpenStatic rs.LockType = adLockReadOnly rs.CursorLocation = adUseClient strSQL = "SELECT qryEquipmentRegisterRHS.JobId, " & _ "qryEquipmentRegisterRHS.ObservationId AS ObsId, " & _ "qryEquipmentRegisterRHS.ObserverName AS ObservName, " & _ "qryEquipmentRegisterRHS.ObserverDate AS ObservDate, " & _ "qryEquipmentRegisterRHS.ObserverTime AS ObsTime, " & _ "qryEquipmentRegisterRHS.SorU, " & _ "qryEquipmentRegisterRHS.Id" strSQL = strSQL & " FROM qryEquipmentRegisterRHS " strSQL = strSQL & " WHERE qryEquipmentRegisterRHS.JobId = " & pk & ";" rs.Open strSQL rs.Sort = "ObsId Asc" SortAsc = True Set Me!DataGridSpecificJobObservations.DataSource = rs where DataGridSpecificJobObservations is the name of the ActiveX control (DataGrid) Any takers .......? Stephen Bond Otatara, South Island, New Zealand From martyconnelly at shaw.ca Mon Aug 18 02:21:42 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Mon, 18 Aug 2003 00:21:42 -0700 Subject: [AccessD] SysCmd constant conflict References: <3F409A92.5601.617FE9@localhost> <000b01c36523$22bd7c10$b5e6ffcc@SusanOne> Message-ID: <3F407E86.7040404@shaw.ca> Generally if I see constants incrementing by powers of 2 1, 2, 4, 8, 16, 32 .... 4096 etc I assume they are being used in this fashion of a bitmask and can be used in some combination. Bitmasks are an old method used from assembler to avoid things like multiple "if's" or where speed is required. For example it especially useful in graphics if you have a bit mask associated with a pixel and it is surrounded by 8 other pixels, and assume that bitmask is set to "11111111" , if all the surrounding pixels are black, you don't have to test each invidual pixel for the color black if you want to know if its surrounded by all black pixels, you just test the bitmask for the value 256. This may help Public Function BinaryToDecimal(BinaryValue As String) As Long ' Returns the decimal equivalent of a binary number. Dim idx As Integer Dim tmp As String Dim result As Long Dim digits As Integer digits = Len(BinaryValue) For idx = digits To 1 Step -1 tmp = Mid(BinaryValue, idx, 1) If tmp = "1" Then result = result + 2 ^ (digits - idx) Next BinaryToDecimal = result End Function Public Function DecimalToBinary(DecimalValue As Long, _ MinimumDigits As Integer) As String ' Returns a string containing the binary ' representation of a positive integer. Dim result As String Dim ExtraDigitsNeeded As Integer ' Make sure value is not negative. DecimalValue = Abs(DecimalValue) ' Construct the binary value. Do result = CStr(DecimalValue Mod 2) & result DecimalValue = DecimalValue \ 2 Loop While DecimalValue > 0 ' Add leading zeros if needed. ExtraDigitsNeeded = MinimumDigits - Len(result) If ExtraDigitsNeeded > 0 Then result = String(ExtraDigitsNeeded, "0") & result End If DecimalToBinary = result End Function Susan Harkins wrote: >Thanks for the info -- learned something new today. > > > >>>Other constants don't work like this. >>> >>> >>Many do. >> >> > >======I don't suppose anyone could identify the others or can I just assume >that any enum where the members could be applied at the same time will >behave this way? > >Susan H. > > > From martyconnelly at shaw.ca Mon Aug 18 02:31:33 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Mon, 18 Aug 2003 00:31:33 -0700 Subject: [AccessD] this should be an easy one -- on Windows shortcuts References: <001001c36520$82a22890$f6e6ffcc@SusanOne> Message-ID: <3F4080D5.1030705@shaw.ca> You could put this code below in a notepad file call it try.bat and execute the batch file from the shortcut. You can remove the echo command to see what is happening However this has the annoying habit of leaving the cmd window open or minimized in the systray until you exit Access. @Echo Off "C:\Program Files\Microsoft Office\Office\MSACCESS.EXE" "C:\xml\Access XML tests\RSS xml.mdb" /compact "C:\Program Files\Microsoft Office\Office\MSACCESS.EXE" "C:\xml\Access XML tests\RSS xml.mdb" @cls Susan Harkins wrote: >"C:\Program Files\Microsoft Office\Office10\MSACCESS.EXE" C:\a\topics.mdb >/compact > >I tried the above as a shortcut's Target property to open a database and >compact and repair it -- problem is, the database doesn't stay open. I want >it to stay open. > >Susan H. > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > From paul.hartland at fsmail.net Mon Aug 18 03:21:09 2003 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Mon, 18 Aug 2003 8:21:09 +0000 Subject: [AccessD] Exporting two Queries to two different Excel WorkSheets (URGENT) Message-ID: <20030818082109.IDHN18722.fep06-svc.ttys.com@localhost> To all, I can't find the last time I done something like this anywhere.....I know it's pretty straightforward but can't for the life of me figure it out (BIG Weekend syndrome)...... I have two queries which I need to Export to Excel (Access XP) one to sheet1 and the other to sheet2, then I would like to rename the sheets to match the queries....i.e. Sheet1 would be renamed to AllShifts, Sheet2 would be renamed to ShiftTotals etc Thanks in advance for any help on this as it is pretty urgent Paul __________________________________________________________________________ Join Freeserve http://www.freeserve.com/time/ Winner of the 2003 Internet Service Providers' Association awards for Best Unmetered ISP and Best Consumer Application. From bheid at appdevgrp.com Mon Aug 18 07:53:11 2003 From: bheid at appdevgrp.com (Bobby Heid) Date: Mon, 18 Aug 2003 08:53:11 -0400 Subject: [AccessD] SysCmd constant conflict In-Reply-To: <916187228923D311A6FE00A0CC3FAA305A57FB@ADGSERVER> Message-ID: <916187228923D311A6FE00A0CC3FAA301F5941@ADGSERVER> Hi Susan, This type of stuff is fairly common in the windows API. Take GetOpenFileName for instance. Here is a list of the constants that I have in one of my modules. Const OFN_ALLOWMULTISELECT = &H200 Const OFN_CREATEPROMPT = &H2000 Const OFN_EXPLORER = &H80000 Const OFN_FILEMUSTEXIST = &H1000 Const OFN_HIDEREADONLY = &H4 Const OFN_NOCHANGEDIR = &H8 Const OFN_NODEREFERENCELINKS = &H100000 Const OFN_NONETWORKBUTTON = &H20000 Const OFN_NOREADONLYRETURN = &H8000 Const OFN_NOVALIDATE = &H100 Const OFN_OVERWRITEPROMPT = &H2 Const OFN_PATHMUSTEXIST = &H800 Const OFN_READONLY = &H1 Const OFN_SHOWHELP = &H10 When setting the call up, you can combine many of the constants together to get what you want. For example, to only allow the opening of multiple existing files, you might pass OFN_FILEMUSTEXIST and OFN_ALLOWMULTISELECT to the function call. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Sunday, August 17, 2003 8:53 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] SysCmd constant conflict Thanks for the info -- learned something new today. > >Other constants don't work like this. > > Many do. ======I don't suppose anyone could identify the others or can I just assume that any enum where the members could be applied at the same time will behave this way? Susan H. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From sgeller at cce.umn.edu Mon Aug 18 09:27:19 2003 From: sgeller at cce.umn.edu (Susan Geller) Date: Mon, 18 Aug 2003 09:27:19 -0500 Subject: [AccessD] Snapshot Viewer Message-ID: It comes standard with XP install which is how we have it. Is it safe to use? We use it all the time so if it's not, it would be good to know. --Susan -----Original Message----- From: MartyConnelly [mailto:martyconnelly at shaw.ca] Sent: Thursday, August 14, 2003 7:24 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Snapshot Viewer you can download it from here: sometimes this site is slow especially going through a browser ftp://ftp.microsoft.com/Softlib/MSLFILES/ the file you are looking for is called SnpVw90.exe Keep this site in mind for old stuff that cannot be found elsewhere, lot's buried in here, you have to know the exact download name though. or I trust this site http://www.lebans.com/MISC.htm Rumours. It was security comprinised, It can lead to a virus transfer. Microsoft was invaded by aliens. Anyway, it has been removed for the last three weeks. Barbara Ryan wrote: > What happened to Snapshot Viewer? It is still listed in the download > center for A97 and A2000, but when you get to the page to initiate the > download, it says it's no longer available. > > Does anyone know why? My Access 97 app emails .snp reports to > customers. The emails include a note that they can download Snapshot > Viewer for free on Microsoft's site. I'm not sure what to do so they > can download it. > > Thanks, > Barb Ryan > >----------------------------------------------------------------------- >- > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From sgeller at cce.umn.edu Mon Aug 18 09:32:25 2003 From: sgeller at cce.umn.edu (Susan Geller) Date: Mon, 18 Aug 2003 09:32:25 -0500 Subject: [AccessD] Setting A2K combo box rowsource using ADO - SOLVED Message-ID: Use of recordset in this way is new in AXP. I know this because I was having a lot of trouble with a form that kept getting corrupt in A2K and I ended up tracing it back to the use of code like what is below for listboxes or combo boxes. Me.lstYourListBox.rowsource = "EXEC YourStoredProcedure YourParameter,rs" End Sub After a lot of trouble shooting with MS, they ended up telling me to switch my code to the use of recordsets for listboxes and combo boxes when I upgraded to XP. I did and it has eliminated the corruption. That said, I still use the rowsource syntax in lots of places b/c it's a lot less code. --Susan -----Original Message----- From: David McAfee [mailto:DMcAfee at haascnc.com] Sent: Thursday, August 14, 2003 1:38 PM To: 'Access Developers discussion and problem solving' Cc: 'jeffrey.demulling at usbank.com' Subject: RE: [AccessD] Setting A2K combo box rowsource using ADO - SOLVED You will have to use a call-back in A2K or A97 if you are only using ADO and not binding the control to a query or table. IF you jump up to SQL, you can simply set the rowsource to a view (as you would currently a query) or Stored procedure. A common line of code I use in my A2K ADP (when passing an input parameter) is Private Sub Form_Load() Me.lstYourListBox.rowsource = "EXEC YourStoredProcedure YourParameter,rs" End Sub HTH David McAfee -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of jeffrey.demulling at usbank.com Sent: Thursday, August 14, 2003 9:32 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Setting A2K combo box rowsource using ADO - SOLVED I am doing it using XP but the db format is A2K. Can only do this through code. I am doing this in the on open event and I leave the combo box's rowsource blank but the rowsource type is set to "Table/Query". There are no tables with the program. I am doing everything through ADO. The thought being that when this moves from an Access db to a SQL server I will only have to change the setconnection module to point to a SQL server and not an Access db for getting the app working quickly. Then I would be going back and creating the SPs and changing the code where needed. This will not work in A97. Here is a code sample: Private Sub Form_Open(Cancel As Integer) Dim con As New ADODB.Connection Dim RS As New ADODB.Recordset Dim cmdtext As String Me.txtContactName = "" Me.txtCompanyName = "" Me.txtPhone = "" Me.txtFax = "" Me.txtE_Mail = "" Me.cmbDeliveryMethod = "" Me.txtContactName.SetFocus cmdtext = "SELECT DISTINCTROW" cmdtext = cmdtext & " tblDeliveryMethods.DeliveryNumber," cmdtext = cmdtext & " tblDeliveryMethods.DeliveryName" cmdtext = cmdtext & " FROM tblDeliveryMethods;" Set rsName = New ADODB.Recordset rsName.CursorLocation = adUseClient rsName.Open cmdtext, setconnection, adOpenKeyset, adLockReadOnly Set Forms![frmContacts-Add].cmbDeliveryMethod.Recordset = rsName End Sub _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Mon Aug 18 10:12:25 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 18 Aug 2003 08:12:25 -0700 Subject: [AccessD] Snapshot Viewer Message-ID: We've used it for years and have never had any problems. We're switching to PDF instead because the Acrobat reader is far more commonly available than the snapshot viewer. Charlotte Foust -----Original Message----- From: Susan Geller [mailto:sgeller at cce.umn.edu] Sent: Monday, August 18, 2003 6:27 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Snapshot Viewer It comes standard with XP install which is how we have it. Is it safe to use? We use it all the time so if it's not, it would be good to know. --Susan -----Original Message----- From: MartyConnelly [mailto:martyconnelly at shaw.ca] Sent: Thursday, August 14, 2003 7:24 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Snapshot Viewer you can download it from here: sometimes this site is slow especially going through a browser ftp://ftp.microsoft.com/Softlib/MSLFILES/ the file you are looking for is called SnpVw90.exe Keep this site in mind for old stuff that cannot be found elsewhere, lot's buried in here, you have to know the exact download name though. or I trust this site http://www.lebans.com/MISC.htm Rumours. It was security comprinised, It can lead to a virus transfer. Microsoft was invaded by aliens. Anyway, it has been removed for the last three weeks. Barbara Ryan wrote: > What happened to Snapshot Viewer? It is still listed in the download > center for A97 and A2000, but when you get to the page to initiate the > download, it says it's no longer available. > > Does anyone know why? My Access 97 app emails .snp reports to > customers. The emails include a note that they can download Snapshot > Viewer for free on Microsoft's site. I'm not sure what to do so they > can download it. > > Thanks, > Barb Ryan > >----------------------------------------------------------------------- >- > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rmoore at comtechpst.com Mon Aug 18 10:41:07 2003 From: rmoore at comtechpst.com (Ron Moore) Date: Mon, 18 Aug 2003 11:41:07 -0400 Subject: [AccessD] Copy a Form with security to new DB: Message-ID: <001501c3659f$244d7f90$8614a8c0@Comtech.Comtechpst.com> I'm trying to copy &/or export a form (navigation - no tables/queries referenced) from a A2K DB with M$ group-user level security (logged in with admin SID) to a new A2K DB (cannot import due to security). The .mdw file is on the LAN. After exporting I try to open form and get the error: "Error accessing file. Network Access may have been lost." I get the same error when I try to view the code behind the form. Do I have to create a new form from scratch and copy code to bypass the security? Ron Moore Sr. Database Administrator Comtech PST Corp. -------------- next part -------------- An HTML attachment was scrubbed... URL: From weeden1949 at hotmail.com Mon Aug 18 10:53:00 2003 From: weeden1949 at hotmail.com (Greg S) Date: Mon, 18 Aug 2003 10:53:00 -0500 Subject: [AccessD] Restrict # of User Logins to Access References: <001001c36520$82a22890$f6e6ffcc@SusanOne> <3F4080D5.1030705@shaw.ca> Message-ID: Hello everyone! I got a request from a client that I'm not sure how to handle...and I hedged enough so as NOT to commit to anything until I have it figured out. Their current system is in Access 97, using full Access's security. It's setup fairly well, with users being members of groups and rights assigned to the groups. Now she's thrown me a curve. She wants to allow users from another department to login to her system, but ONLY ONCE (her reasoning is sound - she does not want users from another group tying up all her resouces and licenses with multiple logins). That is, that username can only login to the Application once...one concurrent usage. Windows security would do this easily, but Access 97's doesn't have a place to select the number of logins per user. Any suggestions on how to do this? I've just had a second temporary crown put in this morning (since last week), it's fairly early, I've NOT had sufficient coffee, and I'm a bit fuzzy (fuzzier??) around the edges this morning and it's not readily apparent to me on how to do this. Thanks!! Greg Smith weeden1949 at hotmail.com From cfoust at infostatsystems.com Mon Aug 18 11:06:28 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 18 Aug 2003 09:06:28 -0700 Subject: [AccessD] Copy a Form with security to new DB: Message-ID: It sounds like you've run into the issue that crops up with A2k and any of the 2002 apps on the same machine. That error is usually a giveaway that you've got corruption as a result of the vbe6.dll installed by the 2002 apps. Do you have SR-3 of O2k? That was supposed to have patched the 2000 Access executable for that problem. Charlotte Foust -----Original Message----- From: Ron Moore [mailto:rmoore at comtechpst.com] Sent: Monday, August 18, 2003 7:41 AM To: accessD at databaseadvisors.com Subject: [AccessD] Copy a Form with security to new DB: I'm trying to copy &/or export a form (navigation - no tables/queries referenced) from a A2K DB with M$ group-user level security (logged in with admin SID) to a new A2K DB (cannot import due to security). The .mdw file is on the LAN. After exporting I try to open form and get the error: "Error accessing file. Network Access may have been lost." I get the same error when I try to view the code behind the form. Do I have to create a new form from scratch and copy code to bypass the security? Ron Moore Sr. Database Administrator Comtech PST Corp. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bheygood at abestsystems.com Mon Aug 18 11:07:24 2003 From: bheygood at abestsystems.com (Bob Heygood) Date: Mon, 18 Aug 2003 09:07:24 -0700 Subject: [AccessD] Exporting two Queries to two different Excel WorkSheets (URGENT) In-Reply-To: <20030818082109.IDHN18722.fep06-svc.ttys.com@localhost> Message-ID: Paul, Just use the transferspreadsheet method and use the query names. Example code line: DoCmd.TransferSpreadsheet acExport, , strExportQuery, strFileLocation, True Best, Bob Heygood -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of paul.hartland at fsmail.net Sent: Monday, August 18, 2003 1:21 AM To: accessd at databaseadvisors.com Subject: [AccessD] Exporting two Queries to two different Excel WorkSheets (URGENT) To all, I can't find the last time I done something like this anywhere.....I know it's pretty straightforward but can't for the life of me figure it out (BIG Weekend syndrome)...... I have two queries which I need to Export to Excel (Access XP) one to sheet1 and the other to sheet2, then I would like to rename the sheets to match the queries....i.e. Sheet1 would be renamed to AllShifts, Sheet2 would be renamed to ShiftTotals etc Thanks in advance for any help on this as it is pretty urgent Paul __________________________________________________________________________ Join Freeserve http://www.freeserve.com/time/ Winner of the 2003 Internet Service Providers' Association awards for Best Unmetered ISP and Best Consumer Application. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rmoore at comtechpst.com Mon Aug 18 11:20:52 2003 From: rmoore at comtechpst.com (Ron Moore) Date: Mon, 18 Aug 2003 12:20:52 -0400 Subject: [AccessD] Copy a Form with security to new DB: In-Reply-To: Message-ID: <002601c365a4$b19882f0$8614a8c0@Comtech.Comtechpst.com> Charlotte, I'm ridin' well behind the times with SR-1 (I don't like being the 'guinea pig' for M$). I'll install SR-3 and see if my problems go away. Ron -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, August 18, 2003 12:06 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Copy a Form with security to new DB: It sounds like you've run into the issue that crops up with A2k and any of the 2002 apps on the same machine. That error is usually a giveaway that you've got corruption as a result of the vbe6.dll installed by the 2002 apps. Do you have SR-3 of O2k? That was supposed to have patched the 2000 Access executable for that problem. Charlotte Foust -----Original Message----- From: Ron Moore [mailto:rmoore at comtechpst.com] Sent: Monday, August 18, 2003 7:41 AM To: accessD at databaseadvisors.com Subject: [AccessD] Copy a Form with security to new DB: I'm trying to copy &/or export a form (navigation - no tables/queries referenced) from a A2K DB with M$ group-user level security (logged in with admin SID) to a new A2K DB (cannot import due to security). The .mdw file is on the LAN. After exporting I try to open form and get the error: "Error accessing file. Network Access may have been lost." I get the same error when I try to view the code behind the form. Do I have to create a new form from scratch and copy code to bypass the security? Ron Moore Sr. Database Administrator Comtech PST Corp. -------------- next part -------------- An HTML attachment was scrubbed... URL: From BarbaraRyan at cox.net Mon Aug 18 11:46:15 2003 From: BarbaraRyan at cox.net (Barbara Ryan) Date: Mon, 18 Aug 2003 12:46:15 -0400 Subject: [AccessD] Snapshot Viewer References: Message-ID: <003001c365a8$3f6c9e60$0d260044@hr.cox.net> Charlotte.... Are you creating .pdf files within an Access app? If so, how? Thanks, Barb Ryan ----- Original Message ----- From: Charlotte Foust To: Access Developers discussion and problem solving Sent: Monday, August 18, 2003 11:12 AM Subject: RE: [AccessD] Snapshot Viewer > We've used it for years and have never had any problems. We're > switching to PDF instead because the Acrobat reader is far more commonly > available than the snapshot viewer. > > Charlotte Foust > > -----Original Message----- > From: Susan Geller [mailto:sgeller at cce.umn.edu] > Sent: Monday, August 18, 2003 6:27 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Snapshot Viewer > > > It comes standard with XP install which is how we have it. Is it safe > to use? We use it all the time so if it's not, it would be good to > know. > > --Susan > > > > -----Original Message----- > From: MartyConnelly [mailto:martyconnelly at shaw.ca] > Sent: Thursday, August 14, 2003 7:24 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Snapshot Viewer > > > you can download it from here: sometimes this site is slow especially > going through a browser ftp://ftp.microsoft.com/Softlib/MSLFILES/ > the file you are looking for is called SnpVw90.exe > Keep this site in mind for old stuff that cannot be found elsewhere, > lot's buried in here, you have to know the exact download name though. > > or I trust this site > http://www.lebans.com/MISC.htm > > Rumours. It was security comprinised, It can lead to a virus transfer. > Microsoft was invaded by aliens. Anyway, it has been removed for the > last three weeks. > > Barbara Ryan wrote: > > > What happened to Snapshot Viewer? It is still listed in the download > > center for A97 and A2000, but when you get to the page to initiate the > > > download, it says it's no longer available. > > > > Does anyone know why? My Access 97 app emails .snp reports to > > customers. The emails include a note that they can download Snapshot > > Viewer for free on Microsoft's site. I'm not sure what to do so they > > can download it. > > > > Thanks, > > Barb Ryan > > > >----------------------------------------------------------------------- > >- > > > >_______________________________________________ > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > > > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Mon Aug 18 12:49:56 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Mon, 18 Aug 2003 12:49:56 -0500 Subject: [AccessD] Getting Desperate - Apologies for the OT message Message-ID: <2F8793082E00D4119A1700B0D0216BF8022270A5@main2.marlow.com> I pasted the code below for the class module that was used for the <%=dn.HTML("MyFieldName")%> statement in asp. It was classic ASP, with the code below in a VB 6.0 .dll. There were other classes involved, but I'm sure you'll get the gist of it. I also stripped most of the SQL statement on the bottom function since it was pretty big! Drew -----Original Message----- From: Christopher Hawkins [mailto:clh at christopherhawkins.com] Sent: Friday, August 15, 2003 11:10 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Getting Desperate - Apologies for the OT message That's very clever. I'd love to see that code. Was this ASP.NET or classic ASP? -C- Option Explicit Public CaseNumber As String Public Mode As String Dim Fields As Collection Dim FSettings As Collection Function HTML(strField As String) Dim fs As FieldSetting Dim strTemp Set fs = FSettings(strField) Select Case Mode Case "View" strTemp = Value(strField) Select Case fs.FieldType Case "CheckBox" HTML = strTemp Case Else If IsNull(strTemp) Or strTemp = "" Then strTemp = " " Else strTemp = "" & strTemp & "" End If HTML = strTemp End Select Case "Edit" Select Case fs.FieldType Case "CheckBox" HTML = Value(strField) Case "Text" If fs.Title = "" Or IsNull(fs.Title) Then HTML = "" Else HTML = "" End If Case "Combo" If fs.ComboClass <> "" And IsNull(fs.ComboClass) = False Then HTML = GetSelectStatement(fs.ComboClass, fs.FieldName, fs.Size, Value(strField)) End If Case "Memo" HTML = "" End Select Case "New" Select Case fs.FieldType Case "CheckBox" HTML = Value(strField) Case "Text" If fs.Title = "" Or IsNull(fs.Title) Then HTML = "" Else HTML = "" End If Case "Combo" If fs.ComboClass <> "" And IsNull(fs.ComboClass) = False Then HTML = GetSelectStatement(fs.ComboClass, fs.FieldName, fs.Size, "") End If Case "Memo" HTML = "" End Select End Select End Function Private Function GetSelectStatement(ByVal strClass As String, ByVal strFieldName As String, ByVal Size As Long, ByVal tmpValue As Variant) As String Dim ces As ComboEntries Dim strTemp As String Dim i As Long Dim ce As ComboEntry Set ces = CreateObject(strClass) strTemp = "" & vbCrLf GetSelectStatement = strTemp End Function Private Function Value(strField As String) 'On Error Resume Next Value = "" Value = Fields(strField).Value End Function Function GetData() On Error Resume Next Dim cnn As ADODB.Connection Dim rs As ADODB.Recordset Dim strSQL As String Dim df As DyncorpField Dim fs As FieldSetting Dim i As Long DBConnect cnn Set Fields = New Collection Set rs = New ADODB.Recordset strSQL = "Big Select statement " & _ "Semi big From Statement " & _ "WHERE (((tblIncidents.I_txtCaseNumber)=""" & CaseNumber & """));" rs.Open strSQL, cnn, adOpenKeyset, adLockReadOnly If rs.EOF = False Then rs.MoveFirst For i = 0 To rs.Fields.Count - 1 Set df = New DyncorpField df.FieldName = rs.Fields(i).Name df.Value = rs.Fields(i).Value Fields.Add df, df.FieldName Set df = Nothing Next i rs.Close Set rs = Nothing Set rs = New ADODB.Recordset Set FSettings = New Collection rs.Open "tblWebFields", cnn, adOpenKeyset, adLockReadOnly, adCmdTableDirect rs.MoveFirst Do Until rs.EOF = True Set fs = New FieldSetting fs.FieldName = rs.Fields(1).Value fs.FieldType = rs.Fields(2).Value fs.Title = rs.Fields(3).Value fs.Size = rs.Fields(4).Value fs.MatchingField = rs.Fields(5).Value fs.ComboClass = rs.Fields(6).Value FSettings.Add fs, fs.FieldName Set fs = Nothing rs.MoveNext Loop rs.Close Set rs = Nothing cnn.Close Set cnn = Nothing End Function From cfoust at infostatsystems.com Mon Aug 18 13:06:11 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 18 Aug 2003 11:06:11 -0700 Subject: [AccessD] Snapshot Viewer Message-ID: We licensed one of the third party products that generates a PDF-compliant file. It is installed as a printer on the machine and the report is sent to that printer. Charlotte Foust -----Original Message----- From: Barbara Ryan [mailto:BarbaraRyan at cox.net] Sent: Monday, August 18, 2003 8:46 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Snapshot Viewer Charlotte.... Are you creating .pdf files within an Access app? If so, how? Thanks, Barb Ryan ----- Original Message ----- From: Charlotte Foust To: Access Developers discussion and problem solving Sent: Monday, August 18, 2003 11:12 AM Subject: RE: [AccessD] Snapshot Viewer > We've used it for years and have never had any problems. We're > switching to PDF instead because the Acrobat reader is far more > commonly available than the snapshot viewer. > > Charlotte Foust > > -----Original Message----- > From: Susan Geller [mailto:sgeller at cce.umn.edu] > Sent: Monday, August 18, 2003 6:27 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Snapshot Viewer > > > It comes standard with XP install which is how we have it. Is it safe > to use? We use it all the time so if it's not, it would be good to > know. > > --Susan > > > > -----Original Message----- > From: MartyConnelly [mailto:martyconnelly at shaw.ca] > Sent: Thursday, August 14, 2003 7:24 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Snapshot Viewer > > > you can download it from here: sometimes this site is slow especially > going through a browser ftp://ftp.microsoft.com/Softlib/MSLFILES/ > the file you are looking for is called SnpVw90.exe > Keep this site in mind for old stuff that cannot be found elsewhere, > lot's buried in here, you have to know the exact download name though. > > or I trust this site > http://www.lebans.com/MISC.htm > > Rumours. It was security comprinised, It can lead to a virus transfer. > Microsoft was invaded by aliens. Anyway, it has been removed for the > last three weeks. > > Barbara Ryan wrote: > > > What happened to Snapshot Viewer? It is still listed in the > > download center for A97 and A2000, but when you get to the page to > > initiate the > > > download, it says it's no longer available. > > > > Does anyone know why? My Access 97 app emails .snp reports to > > customers. The emails include a note that they can download > > Snapshot Viewer for free on Microsoft's site. I'm not sure what to > > do so they can download it. > > > > Thanks, > > Barb Ryan > > > >--------------------------------------------------------------------- > >-- > >- > > > >_______________________________________________ > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > > > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From CWortz at tea.state.tx.us Mon Aug 18 13:20:36 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Mon, 18 Aug 2003 13:20:36 -0500 Subject: [AccessD] Restrict # of User Logins to Access Message-ID: Greg, Once in a lifetime? Or once in a day? Or once in an hour? If it is the first, then you have a separate table with flags you set for each user. Once the flag is set, they are locked out forever. For the latter options, you add a date/time field to record when they accessed and then compare the time of their next attempt to access to see if the proper length of time has expired. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Greg S [mailto:weeden1949 at hotmail.com] Sent: Monday 2003 Aug 18 10:53 To: Access Developers discussion and problem solving Subject: [AccessD] Restrict # of User Logins to Access Hello everyone! I got a request from a client that I'm not sure how to handle...and I hedged enough so as NOT to commit to anything until I have it figured out. Their current system is in Access 97, using full Access's security. It's setup fairly well, with users being members of groups and rights assigned to the groups. Now she's thrown me a curve. She wants to allow users from another department to login to her system, but ONLY ONCE (her reasoning is sound - she does not want users from another group tying up all her resouces and licenses with multiple logins). That is, that username can only login to the Application once...one concurrent usage. Windows security would do this easily, but Access 97's doesn't have a place to select the number of logins per user. Any suggestions on how to do this? I've just had a second temporary crown put in this morning (since last week), it's fairly early, I've NOT had sufficient coffee, and I'm a bit fuzzy (fuzzier??) around the edges this morning and it's not readily apparent to me on how to do this. Thanks!! Greg Smith weeden1949 at hotmail.com From clh at christopherhawkins.com Mon Aug 18 13:32:21 2003 From: clh at christopherhawkins.com (Christopher Hawkins) Date: Mon, 18 Aug 2003 12:32:21 -0600 Subject: [AccessD] Getting Desperate - Apologies for the OT message Message-ID: <326020-220038118183221748@christopherhawkins.com> Nice! Thanks for sharing. I hope we get a chance to work together on someting. -C- ---- Original Message ---- From: DWUTKA at marlow.com To: accessd at databaseadvisors.com, Subject: RE: [AccessD] Getting Desperate - Apologies for the OT message Date: Mon, 18 Aug 2003 12:49:56 -0500 >I pasted the code below for the class module that was used for the ><%=dn.HTML("MyFieldName")%> statement in asp. > >It was classic ASP, with the code below in a VB 6.0 .dll. There >were other >classes involved, but I'm sure you'll get the gist of it. I also >stripped >most of the SQL statement on the bottom function since it was pretty >big! > >Drew > >-----Original Message----- >From: Christopher Hawkins [mailto:clh at christopherhawkins.com] >Sent: Friday, August 15, 2003 11:10 PM >To: accessd at databaseadvisors.com >Subject: RE: [AccessD] Getting Desperate - Apologies for the OT >message > > >That's very clever. I'd love to see that code. > >Was this ASP.NET or classic ASP? > >-C- > >Option Explicit >Public CaseNumber As String >Public Mode As String >Dim Fields As Collection >Dim FSettings As Collection > >Function HTML(strField As String) >Dim fs As FieldSetting >Dim strTemp >Set fs = FSettings(strField) >Select Case Mode > Case "View" > strTemp = Value(strField) > Select Case fs.FieldType > Case "CheckBox" > HTML = strTemp > Case Else > If IsNull(strTemp) Or strTemp = "" Then > strTemp = "?" > Else > strTemp = "" & strTemp & "" > End If > HTML = strTemp > End Select > Case "Edit" > Select Case fs.FieldType > Case "CheckBox" > HTML = Value(strField) > Case "Text" > If fs.Title = "" Or IsNull(fs.Title) Then > HTML = "Value(strField) >& """ size=""" & fs.Size & """ name=""" & fs.FieldName & """>" > Else > HTML = "fs.Title & """ >value=""" & Value(strField) & """ size=""" & fs.Size & """ name=""" & >fs.FieldName & """>" > End If > Case "Combo" > If fs.ComboClass <> "" And IsNull(fs.ComboClass) = >False >Then > HTML = GetSelectStatement(fs.ComboClass, >fs.FieldName, >fs.Size, Value(strField)) > End If > Case "Memo" > HTML = "" End Select Case "New" Select Case fs.FieldType Case "CheckBox" HTML = Value(strField) Case "Text" If fs.Title = "" Or IsNull(fs.Title) Then HTML = "" Else HTML = "" End If Case "Combo" If fs.ComboClass <> "" And IsNull(fs.ComboClass) = False Then HTML = GetSelectStatement(fs.ComboClass, fs.FieldName, fs.Size, "") End If Case "Memo" HTML = "" End Select End Select End Function Private Function GetSelectStatement(ByVal strClass As String, ByVal strFieldName As String, ByVal Size As Long, ByVal tmpValue As Variant) As String Dim ces As ComboEntries Dim strTemp As String Dim i As Long Dim ce As ComboEntry Set ces = CreateObject(strClass) strTemp = "" & vbCrLf GetSelectStatement = strTemp End Function Private Function Value(strField As String) 'On Error Resume Next Value = "" Value = Fields(strField).Value End Function Function GetData() On Error Resume Next Dim cnn As ADODB.Connection Dim rs As ADODB.Recordset Dim strSQL As String Dim df As DyncorpField Dim fs As FieldSetting Dim i As Long DBConnect cnn Set Fields = New Collection Set rs = New ADODB.Recordset strSQL = "Big Select statement " & _ "Semi big From Statement " & _ "WHERE (((tblIncidents.I_txtCaseNumber)=""" & CaseNumber & """));" rs.Open strSQL, cnn, adOpenKeyset, adLockReadOnly If rs.EOF = False Then rs.MoveFirst For i = 0 To rs.Fields.Count - 1 Set df = New DyncorpField df.FieldName = rs.Fields(i).Name df.Value = rs.Fields(i).Value Fields.Add df, df.FieldName Set df = Nothing Next i rs.Close Set rs = Nothing Set rs = New ADODB.Recordset Set FSettings = New Collection rs.Open "tblWebFields", cnn, adOpenKeyset, adLockReadOnly, adCmdTableDirect rs.MoveFirst Do Until rs.EOF = True Set fs = New FieldSetting fs.FieldName = rs.Fields(1).Value fs.FieldType = rs.Fields(2).Value fs.Title = rs.Fields(3).Value fs.Size = rs.Fields(4).Value fs.MatchingField = rs.Fields(5).Value fs.ComboClass = rs.Fields(6).Value FSettings.Add fs, fs.FieldName Set fs = Nothing rs.MoveNext Loop rs.Close Set rs = Nothing cnn.Close Set cnn = Nothing End Function From cfoust at infostatsystems.com Mon Aug 18 13:06:11 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 18 Aug 2003 11:06:11 -0700 Subject: [AccessD] Snapshot Viewer Message-ID: We licensed one of the third party products that generates a PDF-compliant file. It is installed as a printer on the machine and the report is sent to that printer. Charlotte Foust -----Original Message----- From: Barbara Ryan [mailto:BarbaraRyan at cox.net] Sent: Monday, August 18, 2003 8:46 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Snapshot Viewer Charlotte.... Are you creating .pdf files within an Access app? If so, how? Thanks, Barb Ryan ----- Original Message ----- From: Charlotte Foust To: Access Developers discussion and problem solving Sent: Monday, August 18, 2003 11:12 AM Subject: RE: [AccessD] Snapshot Viewer > We've used it for years and have never had any problems. We're > switching to PDF instead because the Acrobat reader is far more > commonly available than the snapshot viewer. > > Charlotte Foust > > -----Original Message----- > From: Susan Geller [mailto:sgeller at cce.umn.edu] > Sent: Monday, August 18, 2003 6:27 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Snapshot Viewer > > > It comes standard with XP install which is how we have it. Is it safe > to use? We use it all the time so if it's not, it would be good to > know. > > --Susan > > > > -----Original Message----- > From: MartyConnelly [mailto:martyconnelly at shaw.ca] > Sent: Thursday, August 14, 2003 7:24 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Snapshot Viewer > > > you can download it from here: sometimes this site is slow especially > going through a browser ftp://ftp.microsoft.com/Softlib/MSLFILES/ > the file you are looking for is called SnpVw90.exe > Keep this site in mind for old stuff that cannot be found elsewhere, > lot's buried in here, you have to know the exact download name though. > > or I trust this site > http://www.lebans.com/MISC.htm > > Rumours. It was security comprinised, It can lead to a virus transfer. > Microsoft was invaded by aliens. Anyway, it has been removed for the > last three weeks. > > Barbara Ryan wrote: > > > What happened to Snapshot Viewer? It is still listed in the > > download center for A97 and A2000, but when you get to the page to > > initiate the > > > download, it says it's no longer available. > > > > Does anyone know why? My Access 97 app emails .snp reports to > > customers. The emails include a note that they can download > > Snapshot Viewer for free on Microsoft's site. I'm not sure what to > > do so they can download it. > > > > Thanks, > > Barb Ryan > > > >--------------------------------------------------------------------- > >-- > >- > > > >_______________________________________________ > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > > > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From CWortz at tea.state.tx.us Mon Aug 18 13:20:36 2003 From: CWortz at tea.state.tx.us (Wortz, Charles) Date: Mon, 18 Aug 2003 13:20:36 -0500 Subject: [AccessD] Restrict # of User Logins to Access Message-ID: Greg, Once in a lifetime? Or once in a day? Or once in an hour? If it is the first, then you have a separate table with flags you set for each user. Once the flag is set, they are locked out forever. For the latter options, you add a date/time field to record when they accessed and then compare the time of their next attempt to access to see if the proper length of time has expired. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: Greg S [mailto:weeden1949 at hotmail.com] Sent: Monday 2003 Aug 18 10:53 To: Access Developers discussion and problem solving Subject: [AccessD] Restrict # of User Logins to Access Hello everyone! I got a request from a client that I'm not sure how to handle...and I hedged enough so as NOT to commit to anything until I have it figured out. Their current system is in Access 97, using full Access's security. It's setup fairly well, with users being members of groups and rights assigned to the groups. Now she's thrown me a curve. She wants to allow users from another department to login to her system, but ONLY ONCE (her reasoning is sound - she does not want users from another group tying up all her resouces and licenses with multiple logins). That is, that username can only login to the Application once...one concurrent usage. Windows security would do this easily, but Access 97's doesn't have a place to select the number of logins per user. Any suggestions on how to do this? I've just had a second temporary crown put in this morning (since last week), it's fairly early, I've NOT had sufficient coffee, and I'm a bit fuzzy (fuzzier??) around the edges this morning and it's not readily apparent to me on how to do this. Thanks!! Greg Smith weeden1949 at hotmail.com From clh at christopherhawkins.com Mon Aug 18 13:32:21 2003 From: clh at christopherhawkins.com (Christopher Hawkins) Date: Mon, 18 Aug 2003 12:32:21 -0600 Subject: [AccessD] Getting Desperate - Apologies for the OT message Message-ID: <326020-220038118183221748@christopherhawkins.com> Nice! Thanks for sharing. I hope we get a chance to work together on someting. -C- ---- Original Message ---- From: DWUTKA at marlow.com To: accessd at databaseadvisors.com, Subject: RE: [AccessD] Getting Desperate - Apologies for the OT message Date: Mon, 18 Aug 2003 12:49:56 -0500 >I pasted the code below for the class module that was used for the ><%=dn.HTML("MyFieldName")%> statement in asp. > >It was classic ASP, with the code below in a VB 6.0 .dll. There >were other >classes involved, but I'm sure you'll get the gist of it. I also >stripped >most of the SQL statement on the bottom function since it was pretty >big! > >Drew > >-----Original Message----- >From: Christopher Hawkins [mailto:clh at christopherhawkins.com] >Sent: Friday, August 15, 2003 11:10 PM >To: accessd at databaseadvisors.com >Subject: RE: [AccessD] Getting Desperate - Apologies for the OT >message > > >That's very clever. I'd love to see that code. > >Was this ASP.NET or classic ASP? > >-C- > >Option Explicit >Public CaseNumber As String >Public Mode As String >Dim Fields As Collection >Dim FSettings As Collection > >Function HTML(strField As String) >Dim fs As FieldSetting >Dim strTemp >Set fs = FSettings(strField) >Select Case Mode > Case "View" > strTemp = Value(strField) > Select Case fs.FieldType > Case "CheckBox" > HTML = strTemp > Case Else > If IsNull(strTemp) Or strTemp = "" Then > strTemp = "?" > Else > strTemp = "" & strTemp & "" > End If > HTML = strTemp > End Select > Case "Edit" > Select Case fs.FieldType > Case "CheckBox" > HTML = Value(strField) > Case "Text" > If fs.Title = "" Or IsNull(fs.Title) Then > HTML = "Value(strField) >& """ size=""" & fs.Size & """ name=""" & fs.FieldName & """>" > Else > HTML = "fs.Title & """ >value=""" & Value(strField) & """ size=""" & fs.Size & """ name=""" & >fs.FieldName & """>" > End If > Case "Combo" > If fs.ComboClass <> "" And IsNull(fs.ComboClass) = >False >Then > HTML = GetSelectStatement(fs.ComboClass, >fs.FieldName, >fs.Size, Value(strField)) > End If > Case "Memo" > HTML = "