From rockysmolin at bchacc.com Wed Aug 1 06:49:20 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Wed, 1 Aug 2007 04:49:20 -0700 Subject: [AccessD] SMTP or Outlook? Message-ID: <000901c7d431$ff7210e0$0301a8c0@HAL9005> Dear List: I am developing a legal matter tracking app for a client. One of the features is to email reports on a regular schedule to clients regarding the various matters being handled. We can go with either Outlook or SMTP. There's already some SMTP code in the app (legacy app) and I've got some code for Outlook. Outlook, of course, has the disadvantage of thae nag messages requiring you to allow access to Outlook when sending from another app. I get around this by using Click Yes but that has a security problem, obviously, in that malware could then use Outlook. BTW, this isn't just for in-house use - he intends to make this a product. Any opinions? Is there a third alternative? MTIA Rocky From rockysmolin at bchacc.com Wed Aug 1 06:58:37 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Wed, 1 Aug 2007 04:58:37 -0700 Subject: [AccessD] Empty Recordset Message-ID: <001701c7d433$4bd32d60$0301a8c0@HAL9005> Dear List: On a bound form a modifying the Recordsource with WHERE conditions might result in no records being retrieved. Then there are lots of things you can do which generate errors. Is there a way to detect this no record condition in a bound form? MTIA Rocky From max at sherman.org.uk Wed Aug 1 07:29:35 2007 From: max at sherman.org.uk (Max Sherman) Date: Wed, 1 Aug 2007 13:29:35 +0100 Subject: [AccessD] SMTP or Outlook? Message-ID: <003b01c7d437$9fcf6f10$8119fea9@LTVM> Hi Rocky, I use CDO which does not need any client system. Code below, as you can see I hold the parameters in a table, but have put the defaults as comments on the lines. Got bits from the web some time ago and heavily modified it. I have been using it now for some time and it works perfectly everytime. No Outlook, etc, just an account that you can send mail through. Watch for word wraps. Max Sherman Option Compare Database Option Explicit Public Function pfEmailByCDO(strSubject As String, strBody As String, _ strTo As String, strCC As String, strBCC As String, bDisplay As Boolean, Optional strAttachment As String) On Error GoTo errhandler Dim gdatStarted As Date, gdatFinished As Date gdatStarted = Now Dim strFrom As String ', strAttachment As String Dim varPort As Variant, varSendVia As Variant, varAuthenticate As Variant Dim varServerPort As Variant, varSecs2Wait As Variant, sql2 As String Dim strUserName As String, strPwd As String, strUseSSL As String Dim sql As String Const conErr1 As String = "The server rejected one or more recipient addresses. The server response was: 550 " Const conErr2 As String = "The server rejected one or more recipient addresses. The server response was: 501 bad address syntax: <" Const ConErrX As String = "The transport failed to connect to the server" Dim strErr As String, strDomain As String, strEmailMaxail As String, strFind As String Call pfLogEvent("Function: 'pfEmailByCDO' - Started") ' for testing, ignore rst2 and just the test table Dim objMessage, SendTo Dim dbs As DAO.Database, rstParams As DAO.Recordset Dim rstErr As DAO.Recordset Set dbs = CurrentDb ' Set rstErr = Me.RecordsetClone gbSendEmails = True If gbSendEmails = False Then Call pfLogEvent("Function: 'pfEmailByCDO' - Not Sent gbSendEmails set to False") GoTo exithere End If ' get the params for this particular mailing Set rstParams = dbs.OpenRecordset("Select * from tblEmailCDOParams Where ParamsID=18") With rstParams strFrom = !objMessageName & make sure you have it in brackets 'strSubject = !objMessageSubject ' your subject 'strBody = !objMessageTextBody ' your text 'strAttachment = Nz(!objMessageAddAttachment, "") ' path for attachment on drive strUserName = !objMessageConfigurationFieldsItemUserName ' pop account name eg pop.gmail.com strPwd = "xxxxxxxx" ' password for the pop account strUseSSL = !objMessageConfigurationFieldsItemUseSSL 'False varPort = !cdoSendUsingPort'2 varSendVia = !objMessageConfigurationFieldsItemDNSorIP ' eg smtp.gmail.com varServerPort = !objMessageConfigurationFieldsItemPort '25 for me varAuthenticate = !cdoBasic '1 varSecs2Wait = !objMessageConfigurationFieldsItemSec2Wait '60 End With Set objMessage = CreateObject("CDO.Message") ' Create the message object. objMessage.from = "server at yourdoma.org" ' or whatever you want the recipient to see objMessage.To = strTo 'email address objMessage.cc = strCC 'email address objMessage.bcc = strBCC 'email address objMessage.Subject = strSubject' your subject ' Now for the Message Options Part. objMessage.TextBody = strBody objMessage.AddAttachment strAttachment objMessage.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/confi guration/sendusing") = varPort objMessage.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/confi guration/smtpserver") = varSendVia objMessage.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/confi guration/smtpauthenticate") = varAuthenticate objMessage.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/confi guration/sendusername") = strUserName objMessage.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/confi guration/sendpassword") = strPwd objMessage.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/confi guration/smtpserverport") = varServerPort objMessage.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/confi guration/smtpusessl") = strUseSSL objMessage.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/confi guration/smtpconnectiontimeout") = varSecs2Wait objMessage.Configuration.Fields.Update ' Update configuration If bDisplay Then MsgBox objMessage.GetStream.ReadText ' Use to show the message. End If objMessage.Send ' Send the message. DoEvents Call pfLogEvent("Function: 'pfEmailByCDO' - Completed OK") exithere: Set dbs = Nothing: Set rstErr = Nothing Exit Function errhandler: strErr = "pfEmailByCDO - Send Errors " & Err.Description If InStr(strErr, ConErrX) > 0 Then strErr = strErr & " No Email Sent" End If Debug.Print strErr Call pfLogEvent("Function: 'pfEmailByCDO' - SEND ERRORS " & strErr) GoTo exithere End Function -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, August 01, 2007 12:49 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] SMTP or Outlook? Dear List: I am developing a legal matter tracking app for a client. One of the features is to email reports on a regular schedule to clients regarding the various matters being handled. We can go with either Outlook or SMTP. There's already some SMTP code in the app (legacy app) and I've got some code for Outlook. Outlook, of course, has the disadvantage of thae nag messages requiring you to allow access to Outlook when sending from another app. I get around this by using Click Yes but that has a security problem, obviously, in that malware could then use Outlook. BTW, this isn't just for in-house use - he intends to make this a product. Any opinions? Is there a third alternative? MTIA Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From max at sherman.org.uk Wed Aug 1 07:31:15 2007 From: max at sherman.org.uk (Max Sherman) Date: Wed, 1 Aug 2007 13:31:15 +0100 Subject: [AccessD] Empty Recordset In-Reply-To: <001701c7d433$4bd32d60$0301a8c0@HAL9005> References: <001701c7d433$4bd32d60$0301a8c0@HAL9005> Message-ID: <003c01c7d437$daf09c40$8119fea9@LTVM> Hi Rocky, You could use a dcount("*","tableOrqueryetc","Your Where condition") before doing anything else. Max Sherman -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, August 01, 2007 12:59 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Empty Recordset Dear List: On a bound form a modifying the Recordsource with WHERE conditions might result in no records being retrieved. Then there are lots of things you can do which generate errors. Is there a way to detect this no record condition in a bound form? MTIA Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dwaters at usinternet.com Wed Aug 1 07:33:54 2007 From: dwaters at usinternet.com (Dan Waters) Date: Wed, 1 Aug 2007 07:33:54 -0500 Subject: [AccessD] SMTP or Outlook? In-Reply-To: <000901c7d431$ff7210e0$0301a8c0@HAL9005> References: <000901c7d431$ff7210e0$0301a8c0@HAL9005> Message-ID: <000901c7d438$397192b0$0200a8c0@danwaters> Rocky, I have three customers in this situation. All have Outlook. One of them has an administrative way to eliminate the Outlook nag messages so we use Outlook exclusively there. The other two have parent companies who have 'declined' to eliminate the nag messages. So there I use both SMTP and Outlook. SMTP is used when the email is sent in the background (I use vbSendMail - you should look at this). Outlook is used when I want the email window to appear and have the user physically click the Send button (trap for 2501 if user closes w/o sending). However, I needed to coordinate with the IT department to make this work in all three cases - making your app a product could be a challenge! BOL! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, August 01, 2007 6:49 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] SMTP or Outlook? Dear List: I am developing a legal matter tracking app for a client. One of the features is to email reports on a regular schedule to clients regarding the various matters being handled. We can go with either Outlook or SMTP. There's already some SMTP code in the app (legacy app) and I've got some code for Outlook. Outlook, of course, has the disadvantage of thae nag messages requiring you to allow access to Outlook when sending from another app. I get around this by using Click Yes but that has a security problem, obviously, in that malware could then use Outlook. BTW, this isn't just for in-house use - he intends to make this a product. Any opinions? Is there a third alternative? MTIA Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From andy at minstersystems.co.uk Wed Aug 1 07:36:46 2007 From: andy at minstersystems.co.uk (Andy Lacey) Date: Wed, 1 Aug 2007 13:36:46 +0100 Subject: [AccessD] SMTP or Outlook? Message-ID: <20070801123650.4227B4F5DC@smtp.nildram.co.uk> Rocky Not so much an opinion as a comment. To get round the Outlook security question you don't need to use ClickYes. I (and many others on this list I reckon) use Redemption instead. Requires more programming but it's largely a case of replacing Outlook objects with the parallel Redemption object. Not at all difficult. Check out http://www.dimastr.com/redemption/ . So if that's your main reason for concern about Outlook there is another way. -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "'Access Developers discussion and problem solving'" Subject: [AccessD] SMTP or Outlook? Date: 01/08/07 12:05 Dear List: I am developing a legal matter tracking app for a client. One of the features is to email reports on a regular schedule to clients regarding the various matters being handled. We can go with either Outlook or SMTP. There's already some SMTP code in the app (legacy app) and I've got some code for Outlook. Outlook, of course, has the disadvantage of thae nag messages requiring you to allow access to Outlook when sending from another app. I get around this by using Click Yes but that has a security problem, obviously, in that malware could then use Outlook. BTW, this isn't just for in-house use - he intends to make this a product. Any opinions? Is there a third alternative? MTIA Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ________________________________________________ Message sent using UebiMiau 2.7.2 From dwaters at usinternet.com Wed Aug 1 07:36:47 2007 From: dwaters at usinternet.com (Dan Waters) Date: Wed, 1 Aug 2007 07:36:47 -0500 Subject: [AccessD] Empty Recordset In-Reply-To: <001701c7d433$4bd32d60$0301a8c0@HAL9005> References: <001701c7d433$4bd32d60$0301a8c0@HAL9005> Message-ID: <000a01c7d438$a0d243a0$0200a8c0@danwaters> Rocky, Before you actually modify the form's recordsource in code, you'll need to open a recordset to see if rst.EOF = True Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, August 01, 2007 6:59 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Empty Recordset Dear List: On a bound form a modifying the Recordsource with WHERE conditions might result in no records being retrieved. Then there are lots of things you can do which generate errors. Is there a way to detect this no record condition in a bound form? MTIA Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From andy at minstersystems.co.uk Wed Aug 1 07:38:00 2007 From: andy at minstersystems.co.uk (Andy Lacey) Date: Wed, 1 Aug 2007 13:38:00 +0100 Subject: [AccessD] Empty Recordset Message-ID: <20070801123804.882882CAD73@smtp.nildram.co.uk> Rocky, try If Me.Recordsetclone.recordcount=0 then.... Ought to work I think. -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "'Access Developers discussion and problem solving'" Subject: [AccessD] Empty Recordset Date: 01/08/07 12:13 Dear List: On a bound form a modifying the Recordsource with WHERE conditions might result in no records being retrieved. Then there are lots of things you can do which generate errors. Is there a way to detect this no record condition in a bound form? MTIA Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ________________________________________________ Message sent using UebiMiau 2.7.2 From robin at musicalmemories.co.uk Wed Aug 1 08:37:45 2007 From: robin at musicalmemories.co.uk (Robin ) Date: Wed, 1 Aug 2007 14:37:45 +0100 Subject: [AccessD] Lebans PDF in Access 97 Message-ID: <560E2B80EC8F624B93A87B943B7A9CD5530536@rgiserv.rg.local> Hi, I'm trying to use Lebans Snapshot to PDF converter - his database works fine in A2K but I need to work in A97 for this one Have converted his database to A97 (there is a note about reading the Readme file before converting but I can't see any information regarding that) and I get an immediate output error when running the form. I get the same error exporting a report to Snapshot file direct from my own A97 database so I think it's something to do with the snapshot creation? I have Full Access XP and 97 installed together on this computer .... Any help greatly appreciated Rgds Robin Lawrence From wdhindman at dejpolsystems.com Wed Aug 1 09:32:46 2007 From: wdhindman at dejpolsystems.com (William Hindman) Date: Wed, 1 Aug 2007 10:32:46 -0400 Subject: [AccessD] Lebans PDF in Access 97 References: <560E2B80EC8F624B93A87B943B7A9CD5530536@rgiserv.rg.local> Message-ID: <000f01c7d448$d4c25d70$0c10a8c0@jisshowsbs.local> Robin ...Steve hangs out in the ms public access newsgroup and responds there fairly quickly to questions about his stuff ...hth. William Hindman ----- Original Message ----- From: "Robin " To: Sent: Wednesday, August 01, 2007 9:37 AM Subject: [AccessD] Lebans PDF in Access 97 > Hi, > I'm trying to use Lebans Snapshot to PDF converter - his database works > fine in A2K but I need to work in A97 for this one > > Have converted his database to A97 (there is a note about reading the > Readme file before converting but I can't see any information regarding > that) and I get an immediate output error when running the form. > > I get the same error exporting a report to Snapshot file direct from my > own A97 database so I think it's something to do with the snapshot > creation? > > I have Full Access XP and 97 installed together on this computer .... > > Any help greatly appreciated > > Rgds > Robin Lawrence > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From robin at musicalmemories.co.uk Wed Aug 1 09:36:32 2007 From: robin at musicalmemories.co.uk (Robin ) Date: Wed, 1 Aug 2007 15:36:32 +0100 Subject: [AccessD] Lebans PDF in Access 97 Message-ID: <560E2B80EC8F624B93A87B943B7A9CD5530538@rgiserv.rg.local> Thanks William, Just thinking at the back of my mind something about the Snapshot format when A2k came out but can't latch on to it.... Will give that a try, meanwhile if anyone this jogs anyone's memory ?? Rgds Robin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: 01 August 2007 15:33 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Lebans PDF in Access 97 Robin ...Steve hangs out in the ms public access newsgroup and responds there fairly quickly to questions about his stuff ...hth. William Hindman ----- Original Message ----- From: "Robin " To: Sent: Wednesday, August 01, 2007 9:37 AM Subject: [AccessD] Lebans PDF in Access 97 > Hi, > I'm trying to use Lebans Snapshot to PDF converter - his database > works fine in A2K but I need to work in A97 for this one > > Have converted his database to A97 (there is a note about reading the > Readme file before converting but I can't see any information > regarding > that) and I get an immediate output error when running the form. > > I get the same error exporting a report to Snapshot file direct from > my own A97 database so I think it's something to do with the snapshot > creation? > > I have Full Access XP and 97 installed together on this computer .... > > Any help greatly appreciated > > Rgds > Robin Lawrence > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Patricia.O'Connor at otda.state.ny.us Wed Aug 1 12:32:07 2007 From: Patricia.O'Connor at otda.state.ny.us (O'Connor, Patricia (OTDA)) Date: Wed, 1 Aug 2007 13:32:07 -0400 Subject: [AccessD] Empty Recordset In-Reply-To: <000a01c7d438$a0d243a0$0200a8c0@danwaters> References: <001701c7d433$4bd32d60$0301a8c0@HAL9005> <000a01c7d438$a0d243a0$0200a8c0@danwaters> Message-ID: <01DBAB52E30A9A4AB3D94EF8029EDBE8021BAF48@EXCNYSM0A1AI.nysemail.nyenet> Thought you had to check for both rst.EOF and rst.BOF? I also check rst.Recordcount ************************************************** * Patricia O'Connor * Associate Computer Programmer Analyst * OTDA - BDMA * (W) mailto:Patricia.O'Connor at otda.state.ny.us * (w) mailto:aa1160 at nysemail.state.ny.us ************************************************** > -------------------------------------------------------- This e-mail, including any attachments, may be confidential, privileged or otherwise legally protected. It is intended only for the addressee. If you received this e-mail in error or from someone who was not authorized to send it to you, do not disseminate, copy or otherwise use this e-mail or its attachments. Please notify the sender immediately by reply e-mail and delete the e-mail from your system. -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters > Sent: Wednesday, August 01, 2007 08:37 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Empty Recordset > > Rocky, > > Before you actually modify the form's recordsource in code, > you'll need to open a recordset to see if rst.EOF = True > > Dan > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Rocky Smolin at Beach Access Software > Sent: Wednesday, August 01, 2007 6:59 AM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] Empty Recordset > > Dear List: > > On a bound form a modifying the Recordsource with WHERE > conditions might result in no records being retrieved. Then > there are lots of things you can do which generate errors. > Is there a way to detect this no record condition in a bound form? > > MTIA > > Rocky > > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From cfoust at infostatsystems.com Wed Aug 1 14:17:29 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 1 Aug 2007 12:17:29 -0700 Subject: [AccessD] Empty Recordset In-Reply-To: <01DBAB52E30A9A4AB3D94EF8029EDBE8021BAF48@EXCNYSM0A1AI.nysemail.nyenet> References: <001701c7d433$4bd32d60$0301a8c0@HAL9005><000a01c7d438$a0d243a0$0200a8c0@danwaters> <01DBAB52E30A9A4AB3D94EF8029EDBE8021BAF48@EXCNYSM0A1AI.nysemail.nyenet> Message-ID: If you use ADO, you have to check both because both are true only in an empty recordset. If you use DAO, one is sufficient because an empty recordset is at EOF. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of O'Connor, Patricia (OTDA) Sent: Wednesday, August 01, 2007 10:32 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Empty Recordset Thought you had to check for both rst.EOF and rst.BOF? I also check rst.Recordcount ************************************************** * Patricia O'Connor * Associate Computer Programmer Analyst * OTDA - BDMA * (W) mailto:Patricia.O'Connor at otda.state.ny.us * (w) mailto:aa1160 at nysemail.state.ny.us ************************************************** > -------------------------------------------------------- This e-mail, including any attachments, may be confidential, privileged or otherwise legally protected. It is intended only for the addressee. If you received this e-mail in error or from someone who was not authorized to send it to you, do not disseminate, copy or otherwise use this e-mail or its attachments. Please notify the sender immediately by reply e-mail and delete the e-mail from your system. -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters > Sent: Wednesday, August 01, 2007 08:37 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Empty Recordset > > Rocky, > > Before you actually modify the form's recordsource in code, you'll > need to open a recordset to see if rst.EOF = True > > Dan > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky > Smolin at Beach Access Software > Sent: Wednesday, August 01, 2007 6:59 AM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] Empty Recordset > > Dear List: > > On a bound form a modifying the Recordsource with WHERE conditions > might result in no records being retrieved. Then there are lots of > things you can do which generate errors. > Is there a way to detect this no record condition in a bound form? > > MTIA > > Rocky > > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From miscellany at mvps.org Wed Aug 1 14:33:47 2007 From: miscellany at mvps.org (Steve Schapel) Date: Thu, 02 Aug 2007 07:33:47 +1200 Subject: [AccessD] Empty Recordset In-Reply-To: <01DBAB52E30A9A4AB3D94EF8029EDBE8021BAF48@EXCNYSM0A1AI.nysemail.nyenet> References: <001701c7d433$4bd32d60$0301a8c0@HAL9005> <000a01c7d438$a0d243a0$0200a8c0@danwaters> <01DBAB52E30A9A4AB3D94EF8029EDBE8021BAF48@EXCNYSM0A1AI.nysemail.nyenet> Message-ID: <46B0E01B.7050409@mvps.org> Patricia, As Charlotte said, Dan's approach will be fine in a DAO recordset. Like you, I prefer to use rst.RecordCount = 0 ... but I am not sure about your "also". It is an alterrnative to checking rst.EOF, not additional? Regards Steve O'Connor, Patricia (OTDA) wrote: > Thought you had to check for both rst.EOF and rst.BOF? > I also check rst.Recordcount > From miscellany at mvps.org Wed Aug 1 15:48:40 2007 From: miscellany at mvps.org (Steve Schapel) Date: Thu, 02 Aug 2007 08:48:40 +1200 Subject: [AccessD] Lebans PDF in Access 97 In-Reply-To: <560E2B80EC8F624B93A87B943B7A9CD5530538@rgiserv.rg.local> References: <560E2B80EC8F624B93A87B943B7A9CD5530538@rgiserv.rg.local> Message-ID: <46B0F1A8.3030103@mvps.org> Robin, Snapshot format was not included in the original release of Access 97. You need the Service Packs installed. Presumably you have done that? Regards Steve Robin wrote: > Just thinking at the back of my mind something about the Snapshot format > when A2k came out but can't latch on to it.... > Will give that a try, meanwhile if anyone this jogs anyone's memory ?? From cjeris at fas.harvard.edu Wed Aug 1 16:36:32 2007 From: cjeris at fas.harvard.edu (Christopher Jeris) Date: Wed, 01 Aug 2007 17:36:32 -0400 Subject: [AccessD] Listbox-type browse control for large dataset Message-ID: <46B0FCE0.2040102@fas.harvard.edu> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi everybody, I have a form on which I'd like to provide a listbox-type browse control on a dataset with a large number of rows (tens of thousands). Specifically, the user interface control for this dataset needs to support the following interactions: 1. Allow the user to click on a row, or select it using arrow keys, to bring that row up in a form for editing 2. Recenter the control's viewable area around a specific row which is known by key (not by ordinal in the listbox's dataset) 3. Ideally, browse from top to bottom of the entire dataset using a scroll bar, although this can be weakened if necessary In our prototype, we are using a regular ListBox, and the problem is that #2 -- that is, selecting a row using box.Value = someRowKey is too slow, perhaps almost a second with 50,000 rows. Also, I have no idea whether there is a hard limit (2^16?) on the number of rows in a ListBox. I have searched briefly for third-party ActiveX controls, but the only likely candidate I've seen -- FarPoint ListPro -- doesn't seem to work in Access, only standalone VB. (As in, I tried it, and I can't get it to work.) At this point I'm looking at implementing "paging" by hand, that is, binding a set of a few hundred records at a time to the listbox and forcing the user to make transitions from one page to the next explicitly. Can anyone suggest alternative ways to attack the problem? thanks, Chris Jeris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGsPzg5ICCNV0oGWARAtY7AKCcWO0vIorPo7Yyk8SCUBIZoRQ29gCcC3Xd oCDWvvKv2k36zA8s+SU6Af4= =CLvT -----END PGP SIGNATURE----- From miscellany at mvps.org Wed Aug 1 17:01:27 2007 From: miscellany at mvps.org (Steve Schapel) Date: Thu, 02 Aug 2007 10:01:27 +1200 Subject: [AccessD] Listbox-type browse control for large dataset In-Reply-To: <46B0FCE0.2040102@fas.harvard.edu> References: <46B0FCE0.2040102@fas.harvard.edu> Message-ID: <46B102B7.2010109@mvps.org> Chris, Presumably the data in the listbox is ordered according to a human-readable field? If so, would it be feasible to put an unbound textbox on the form, and have the user enter the first few characters of this field? If so, you could leave the listbox unpopulated until this textbox contains a minimum number of characters, and then use code at that point to assign/modify the listbox's RowSource. I expect that having a filtered row source would speed up your step #2. Regards Steve Christopher Jeris wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi everybody, > > I have a form on which I'd like to provide a listbox-type browse control > on a dataset with a large number of rows (tens of thousands). > Specifically, the user interface control for this dataset needs to > support the following interactions: > > 1. Allow the user to click on a row, or select it using arrow keys, to > bring that row up in a form for editing > 2. Recenter the control's viewable area around a specific row which is > known by key (not by ordinal in the listbox's dataset) > 3. Ideally, browse from top to bottom of the entire dataset using a > scroll bar, although this can be weakened if necessary > > In our prototype, we are using a regular ListBox, and the problem is > that #2 -- that is, selecting a row using > box.Value = someRowKey > is too slow, perhaps almost a second with 50,000 rows. Also, I have no > idea whether there is a hard limit (2^16?) on the number of rows in a > ListBox. > > I have searched briefly for third-party ActiveX controls, but the only > likely candidate I've seen -- FarPoint ListPro -- doesn't seem to work > in Access, only standalone VB. (As in, I tried it, and I can't get it > to work.) > > At this point I'm looking at implementing "paging" by hand, that is, > binding a set of a few hundred records at a time to the listbox and > forcing the user to make transitions from one page to the next explicitly. > > Can anyone suggest alternative ways to attack the problem? > From cjeris at fas.harvard.edu Wed Aug 1 17:11:21 2007 From: cjeris at fas.harvard.edu (Christopher Jeris) Date: Wed, 01 Aug 2007 18:11:21 -0400 Subject: [AccessD] Listbox-type browse control for large dataset In-Reply-To: <46B102B7.2010109@mvps.org> References: <46B0FCE0.2040102@fas.harvard.edu> <46B102B7.2010109@mvps.org> Message-ID: <46B10509.5060409@fas.harvard.edu> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Steve Schapel wrote: > Presumably the data in the listbox is ordered according to a > human-readable field? If so, would it be feasible to put an unbound > textbox on the form, and have the user enter the first few characters of > this field? If so, you could leave the listbox unpopulated until this > textbox contains a minimum number of characters, and then use code at > that point to assign/modify the listbox's RowSource. I expect that > having a filtered row source would speed up your step #2. We actually have such a filter control already, but the UI designer considers it valuable for usability to have a browse control that can span -- somehow -- the entire dataset, so I'm trying to puzzle out a way to provide one. peace, Chris Jeris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGsQUJ5ICCNV0oGWARAvFJAJ9ShW975qdaIsjRMaYSwcjZRzhW+gCeMF7x Og0j40JOX2lDPafK/G7KroU= =mA42 -----END PGP SIGNATURE----- From cfoust at infostatsystems.com Wed Aug 1 17:46:27 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 1 Aug 2007 15:46:27 -0700 Subject: [AccessD] Listbox-type browse control for large dataset In-Reply-To: <46B10509.5060409@fas.harvard.edu> References: <46B0FCE0.2040102@fas.harvard.edu> <46B102B7.2010109@mvps.org> <46B10509.5060409@fas.harvard.edu> Message-ID: The UI designer obviously knows little or nothing about Access, and I question their UI design qualifications as well. I personally would not want to browse *anything*, including a continuous form, that spanned the entire dataset. The whole point of the UI is to provide a means for getting where you want to go without having to wade through everything you DON'T want!! Use a treeview, if nothing else! Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Christopher Jeris Sent: Wednesday, August 01, 2007 3:11 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Listbox-type browse control for large dataset -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Steve Schapel wrote: > Presumably the data in the listbox is ordered according to a > human-readable field? If so, would it be feasible to put an unbound > textbox on the form, and have the user enter the first few characters > of this field? If so, you could leave the listbox unpopulated until > this textbox contains a minimum number of characters, and then use > code at that point to assign/modify the listbox's RowSource. I expect > that having a filtered row source would speed up your step #2. We actually have such a filter control already, but the UI designer considers it valuable for usability to have a browse control that can span -- somehow -- the entire dataset, so I'm trying to puzzle out a way to provide one. peace, Chris Jeris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGsQUJ5ICCNV0oGWARAvFJAJ9ShW975qdaIsjRMaYSwcjZRzhW+gCeMF7x Og0j40JOX2lDPafK/G7KroU= =mA42 -----END PGP SIGNATURE----- -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From miscellany at mvps.org Wed Aug 1 17:49:46 2007 From: miscellany at mvps.org (Steve Schapel) Date: Thu, 02 Aug 2007 10:49:46 +1200 Subject: [AccessD] Listbox-type browse control for large dataset In-Reply-To: <46B10509.5060409@fas.harvard.edu> References: <46B0FCE0.2040102@fas.harvard.edu> <46B102B7.2010109@mvps.org> <46B10509.5060409@fas.harvard.edu> Message-ID: <46B10E0A.6000802@mvps.org> Chris, No impertinence intended, and obviously I know nothing about the application you are working on. But it is difficult to imagine a situation where 10,000s of records "browsable" like this could be desirable UI. Anyway, here's another thought... I don't know whether a continuous view subform would be more efficient for your purposes than a listbox, but may be worth checking. Regards Steve Christopher Jeris wrote: > We actually have such a filter control already, but the UI designer > considers it valuable for usability to have a browse control that can > span -- somehow -- the entire dataset, so I'm trying to puzzle out a way > to provide one. From rockysmolin at bchacc.com Wed Aug 1 21:09:07 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Wed, 1 Aug 2007 19:09:07 -0700 Subject: [AccessD] Empty Recordset In-Reply-To: <01DBAB52E30A9A4AB3D94EF8029EDBE8021BAF48@EXCNYSM0A1AI.nysemail.nyenet> Message-ID: <004001c7d4aa$1c396200$0301a8c0@HAL9005> Oh, it's not a recordset. It's the number of records in a bound form that I'm looking for. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of O'Connor, Patricia (OTDA) Sent: Wednesday, August 01, 2007 10:32 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Empty Recordset Thought you had to check for both rst.EOF and rst.BOF? I also check rst.Recordcount ************************************************** * Patricia O'Connor * Associate Computer Programmer Analyst * OTDA - BDMA * (W) mailto:Patricia.O'Connor at otda.state.ny.us * (w) mailto:aa1160 at nysemail.state.ny.us ************************************************** > -------------------------------------------------------- This e-mail, including any attachments, may be confidential, privileged or otherwise legally protected. It is intended only for the addressee. If you received this e-mail in error or from someone who was not authorized to send it to you, do not disseminate, copy or otherwise use this e-mail or its attachments. Please notify the sender immediately by reply e-mail and delete the e-mail from your system. -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters > Sent: Wednesday, August 01, 2007 08:37 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Empty Recordset > > Rocky, > > Before you actually modify the form's recordsource in code, you'll > need to open a recordset to see if rst.EOF = True > > Dan > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky > Smolin at Beach Access Software > Sent: Wednesday, August 01, 2007 6:59 AM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] Empty Recordset > > Dear List: > > On a bound form a modifying the Recordsource with WHERE conditions > might result in no records being retrieved. Then there are lots of > things you can do which generate errors. > Is there a way to detect this no record condition in a bound form? > > MTIA > > Rocky > > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.2/931 - Release Date: 8/1/2007 4:53 PM From rockysmolin at bchacc.com Wed Aug 1 21:09:28 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Wed, 1 Aug 2007 19:09:28 -0700 Subject: [AccessD] Empty Recordset In-Reply-To: <20070801123804.882882CAD73@smtp.nildram.co.uk> Message-ID: <004101c7d4aa$28310ae0$0301a8c0@HAL9005> That looks right Andy. I'll give it a try later. Thanks. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey Sent: Wednesday, August 01, 2007 5:38 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Empty Recordset Rocky, try If Me.Recordsetclone.recordcount=0 then.... Ought to work I think. -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "'Access Developers discussion and problem solving'" Subject: [AccessD] Empty Recordset Date: 01/08/07 12:13 Dear List: On a bound form a modifying the Recordsource with WHERE conditions might result in no records being retrieved. Then there are lots of things you can do which generate errors. Is there a way to detect this no record condition in a bound form? MTIA Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ________________________________________________ Message sent using UebiMiau 2.7.2 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.0/929 - Release Date: 7/31/2007 5:26 PM From rockysmolin at bchacc.com Wed Aug 1 22:21:58 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Wed, 1 Aug 2007 20:21:58 -0700 Subject: [AccessD] SMTP or Outlook? In-Reply-To: <20070801123650.4227B4F5DC@smtp.nildram.co.uk> Message-ID: <004301c7d4b4$496e84d0$0301a8c0@HAL9005> SMTP? Outlook? CDO? Sounds like the programmer's full employment Act of 2007. Thanks to all for the feedback. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey Sent: Wednesday, August 01, 2007 5:37 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] SMTP or Outlook? Rocky Not so much an opinion as a comment. To get round the Outlook security question you don't need to use ClickYes. I (and many others on this list I reckon) use Redemption instead. Requires more programming but it's largely a case of replacing Outlook objects with the parallel Redemption object. Not at all difficult. Check out http://www.dimastr.com/redemption/ . So if that's your main reason for concern about Outlook there is another way. -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "'Access Developers discussion and problem solving'" Subject: [AccessD] SMTP or Outlook? Date: 01/08/07 12:05 Dear List: I am developing a legal matter tracking app for a client. One of the features is to email reports on a regular schedule to clients regarding the various matters being handled. We can go with either Outlook or SMTP. There's already some SMTP code in the app (legacy app) and I've got some code for Outlook. Outlook, of course, has the disadvantage of thae nag messages requiring you to allow access to Outlook when sending from another app. I get around this by using Click Yes but that has a security problem, obviously, in that malware could then use Outlook. BTW, this isn't just for in-house use - he intends to make this a product. Any opinions? Is there a third alternative? MTIA Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ________________________________________________ Message sent using UebiMiau 2.7.2 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.0/929 - Release Date: 7/31/2007 5:26 PM From Gustav at cactus.dk Thu Aug 2 04:33:25 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Thu, 02 Aug 2007 11:33:25 +0200 Subject: [AccessD] Listbox-type browse control for large dataset Message-ID: Hi Chris We've used a subform designed to mimic a Listbox for a similar purpose. However, the list counted about a hundred records - as several have mentioned, browsing ten thousand records is, ehh, not optimal. /gustav >>> cjeris at fas.harvard.edu 01-08-2007 23:36 >>> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi everybody, I have a form on which I'd like to provide a listbox-type browse control on a dataset with a large number of rows (tens of thousands). Specifically, the user interface control for this dataset needs to support the following interactions: 1. Allow the user to click on a row, or select it using arrow keys, to bring that row up in a form for editing 2. Recenter the control's viewable area around a specific row which is known by key (not by ordinal in the listbox's dataset) 3. Ideally, browse from top to bottom of the entire dataset using a scroll bar, although this can be weakened if necessary In our prototype, we are using a regular ListBox, and the problem is that #2 -- that is, selecting a row using box.Value = someRowKey is too slow, perhaps almost a second with 50,000 rows. Also, I have no idea whether there is a hard limit (2^16?) on the number of rows in a ListBox. I have searched briefly for third-party ActiveX controls, but the only likely candidate I've seen -- FarPoint ListPro -- doesn't seem to work in Access, only standalone VB. (As in, I tried it, and I can't get it to work.) At this point I'm looking at implementing "paging" by hand, that is, binding a set of a few hundred records at a time to the listbox and forcing the user to make transitions from one page to the next explicitly. Can anyone suggest alternative ways to attack the problem? thanks, Chris Jeris From adtp at airtelbroadband.in Thu Aug 2 09:02:58 2007 From: adtp at airtelbroadband.in (A.D.TEJPAL) Date: Thu, 2 Aug 2007 19:32:58 +0530 Subject: [AccessD] Listbox-type browse control for large dataset References: <46B0FCE0.2040102@fas.harvard.edu> Message-ID: <00bd01c7d50d$e55ee0c0$1257a27a@pcadt> Chris, My sample db named Form_SubformAsListBox might be of interest to you. It is available at Rogers Access Library (other developers library). Link - http://www.rogersaccesslibrary.com/OtherLibraries.asp#Tejpal,A.D. You could adapt the underlying approach suitably, for your specific needs. Best wishes, A.D.Tejpal --------------- Form_SubformAsListBox (Sample db) Brief Description ==================================== This sample db demonstrates use of subform as list box. Two alternatives are covered: (a) Continuous subform type list box. (b) Datasheet subform type list box. For each alternative, three styles of list box simulation are demonstrated as follows: (a) Multi-Select - Extended (b) Multi-Select - Simple (c) Single Select Selection behavior in each case is similar to that of typical normal style for the pertinent list box. Extraction of information regarding selected items is relatively more convenient as compared to a conventional list box. Subform based list box affords the added facility of convenient formatting & alignment. In datasheet based alternative, the user can even adjust the row height if required, so as to suit multi-line content. Note: (a) Overall performance regarding prompt rendering of highlight colors (based upon conditional formatting) is found to be best under Access 2003 (even better than Access 2007). (b) For multi-select (extended) list box based upon datasheet subform in versions other than A2K3 (i.e. A2K, XP, A2K7), highlight colors representing multi-selection take complete effect only when Shift key is finally released. (c) For multi-select (extended) list box based upon continuous subform, the performance in versions other than A2K7 is found to be OK (though it appears to be best in A2K3). In Access 2007 however, there is a slight time lag in rendering the highlights, though it does not wait till the shift key is finally released. 5 - Version: Access 2000 File Format 6 - References: DAO 3.6 ==================================== ----- Original Message ----- From: Christopher Jeris To: Access Developers discussion and problem solving Sent: Thursday, August 02, 2007 03:06 Subject: [AccessD] Listbox-type browse control for large dataset -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi everybody, I have a form on which I'd like to provide a listbox-type browse control on a dataset with a large number of rows (tens of thousands). Specifically, the user interface control for this dataset needs to support the following interactions: 1. Allow the user to click on a row, or select it using arrow keys, to bring that row up in a form for editing 2. Recenter the control's viewable area around a specific row which is known by key (not by ordinal in the listbox's dataset) 3. Ideally, browse from top to bottom of the entire dataset using a scroll bar, although this can be weakened if necessary In our prototype, we are using a regular ListBox, and the problem is that #2 -- that is, selecting a row using box.Value = someRowKey is too slow, perhaps almost a second with 50,000 rows. Also, I have no idea whether there is a hard limit (2^16?) on the number of rows in a ListBox. I have searched briefly for third-party ActiveX controls, but the only likely candidate I've seen -- FarPoint ListPro -- doesn't seem to work in Access, only standalone VB. (As in, I tried it, and I can't get it to work.) At this point I'm looking at implementing "paging" by hand, that is, binding a set of a few hundred records at a time to the listbox and forcing the user to make transitions from one page to the next explicitly. Can anyone suggest alternative ways to attack the problem? thanks, Chris Jeris From rockysmolin at bchacc.com Thu Aug 2 16:25:07 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Thu, 2 Aug 2007 14:25:07 -0700 Subject: [AccessD] Tab Control Color Message-ID: <00c101c7d54b$997e6750$0301a8c0@HAL9005> Dear List: When I display a form with a tab control on it in A2003, it has a sort of taupe color. But when my client displays it on his machine using A2007, the tab is the same color as the back color of the form - kind of like the tab control was transparent. Bug? Any fix? MTIA Rocky From kp at sdsonline.net Thu Aug 2 19:12:00 2007 From: kp at sdsonline.net (Kath Pelletti) Date: Fri, 3 Aug 2007 10:12:00 +1000 Subject: [AccessD] Tab Control Color References: <00c101c7d54b$997e6750$0301a8c0@HAL9005> Message-ID: <001a01c7d562$eace5310$6401a8c0@office> Rocky - I don't have/use 2007 yet but ti sounds a bit like when we upgraded from 2000 to 2003 - and clients had the option 'Use Windows Themed COntrols on Forms' ticked. Is there an option like that in 2007 that might be on? Kath ----- Original Message ----- From: Rocky Smolin at Beach Access Software To: 'Access Developers discussion and problem solving' Sent: Friday, August 03, 2007 7:25 AM Subject: [AccessD] Tab Control Color Dear List: When I display a form with a tab control on it in A2003, it has a sort of taupe color. But when my client displays it on his machine using A2007, the tab is the same color as the back color of the form - kind of like the tab control was transparent. Bug? Any fix? MTIA Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Thu Aug 2 21:19:40 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Thu, 2 Aug 2007 19:19:40 -0700 Subject: [AccessD] Tab Control Color In-Reply-To: <001a01c7d562$eace5310$6401a8c0@office> Message-ID: <012701c7d574$bfe35da0$0301a8c0@HAL9005> Well, I'll forward your post to the client and see what feedback I get. Thanks Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kath Pelletti Sent: Thursday, August 02, 2007 5:12 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Tab Control Color Rocky - I don't have/use 2007 yet but ti sounds a bit like when we upgraded from 2000 to 2003 - and clients had the option 'Use Windows Themed COntrols on Forms' ticked. Is there an option like that in 2007 that might be on? Kath ----- Original Message ----- From: Rocky Smolin at Beach Access Software To: 'Access Developers discussion and problem solving' Sent: Friday, August 03, 2007 7:25 AM Subject: [AccessD] Tab Control Color Dear List: When I display a form with a tab control on it in A2003, it has a sort of taupe color. But when my client displays it on his machine using A2007, the tab is the same color as the back color of the form - kind of like the tab control was transparent. Bug? Any fix? MTIA Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.2/931 - Release Date: 8/1/2007 4:53 PM From wdhindman at dejpolsystems.com Thu Aug 2 21:31:35 2007 From: wdhindman at dejpolsystems.com (William Hindman) Date: Thu, 2 Aug 2007 22:31:35 -0400 Subject: [AccessD] Tab Control Color References: <00c101c7d54b$997e6750$0301a8c0@HAL9005> Message-ID: <003701c7d576$6a2056f0$517a6c4c@jisshowsbs.local> Rocky ...the tab control color in pre A2k7 is set by one of the more obscure windows system colors ...A2k7 gives you more say over the control colors ...I have a utility I cobbled together that lets me set all the app/control colors in A2k3 but its not ready for release as yet ...but if you want to do something quick and dirty FMS still has an old A97 freebie control color setting tool on their website that is specific to version 8 ...however their source code is easily modified to work in version 11 and may provide you better compatibility between 11 and 12 re control colors. ...if anyone is interested most of the other FMS A97 freebies can be updated easily as well, I've used their old text formatting control in A2k3 in a few instances with good results. William Hindman ----- Original Message ----- From: "Rocky Smolin at Beach Access Software" To: "'Access Developers discussion and problem solving'" Sent: Thursday, August 02, 2007 5:25 PM Subject: [AccessD] Tab Control Color > Dear List: > > When I display a form with a tab control on it in A2003, it has a sort of > taupe color. But when my client displays it on his machine using A2007, > the > tab is the same color as the back color of the form - kind of like the tab > control was transparent. > > Bug? Any fix? > > MTIA > > Rocky > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From rockysmolin at bchacc.com Thu Aug 2 23:20:51 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Thu, 2 Aug 2007 21:20:51 -0700 Subject: [AccessD] Tab Control Color In-Reply-To: <003701c7d576$6a2056f0$517a6c4c@jisshowsbs.local> Message-ID: <013901c7d585$adb20440$0301a8c0@HAL9005> So in A2K7 you can set the color of a tab control? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Thursday, August 02, 2007 7:32 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Tab Control Color Rocky ...the tab control color in pre A2k7 is set by one of the more obscure windows system colors ...A2k7 gives you more say over the control colors ...I have a utility I cobbled together that lets me set all the app/control colors in A2k3 but its not ready for release as yet ...but if you want to do something quick and dirty FMS still has an old A97 freebie control color setting tool on their website that is specific to version 8 ...however their source code is easily modified to work in version 11 and may provide you better compatibility between 11 and 12 re control colors. ...if anyone is interested most of the other FMS A97 freebies can be updated easily as well, I've used their old text formatting control in A2k3 in a few instances with good results. William Hindman ----- Original Message ----- From: "Rocky Smolin at Beach Access Software" To: "'Access Developers discussion and problem solving'" Sent: Thursday, August 02, 2007 5:25 PM Subject: [AccessD] Tab Control Color > Dear List: > > When I display a form with a tab control on it in A2003, it has a sort of > taupe color. But when my client displays it on his machine using A2007, > the > tab is the same color as the back color of the form - kind of like the tab > control was transparent. > > Bug? Any fix? > > MTIA > > Rocky > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.2/933 - Release Date: 8/2/2007 2:22 PM From john at winhaven.net Fri Aug 3 01:37:02 2007 From: john at winhaven.net (John Bartow) Date: Fri, 3 Aug 2007 01:37:02 -0500 Subject: [AccessD] Checking Outlook Contact Info from Access In-Reply-To: <013901c7d585$adb20440$0301a8c0@HAL9005> References: <003701c7d576$6a2056f0$517a6c4c@jisshowsbs.local> <013901c7d585$adb20440$0301a8c0@HAL9005> Message-ID: <002f01c7d598$b3a579a0$6402a8c0@ScuzzPaq> I've got routines to pull data into Access from Outlook as I need it when adding new client's to a db. I also pull in the "EntryID" as its the only unique property per item I can locate in Contacts. I'm now attempting to verify and add/update Outlook Contact info from Access when editing in Access by using EntryID to filter the Outlook Items. Problem is - and this took me quite awhile to see in the help file for some reason - "EntryID" can't be used with the Restrict method. Set oApp = CreateObject("Outlook.Application") Set oNspc = oApp.GetNamespace("MAPI") Set oContacts = oNspc.GetDefaultFolder(olFolderContacts).Items strContactToCheck = "[CustomerID] = """ & strEntryID & """" Set oItems = oContacts.Restrict(strContactToCheck) Someone recently asked what the problem with Outlook IDs was. Well here it is, the one unique ID and it can't be used to filter the Items. Any ideas on how to lookup a specific contact in Outlook so that it's properties can be compared to the Access data? From Erwin.Craps at ithelps.eu Fri Aug 3 03:17:03 2007 From: Erwin.Craps at ithelps.eu (Erwin Craps - IT Helps) Date: Fri, 3 Aug 2007 10:17:03 +0200 Subject: [AccessD] Checking Outlook Contact Info from Access References: <003701c7d576$6a2056f0$517a6c4c@jisshowsbs.local><013901c7d585$adb20440$0301a8c0@HAL9005> <002f01c7d598$b3a579a0$6402a8c0@ScuzzPaq> Message-ID: <430E80531228BA4497C5EB1A7BA786B01B4B0E@stekelbes.ithelps.local> There is a customerid property that I use. Here a small extract from the code I use "ITH" is a prefix I use to specify from which database the contact in Outlook comes CustomerID is the company id ContactID is the contact from this company id When creating: objOItem.CustomerID = "ITH" & CustomerID & "/" & ContactID When updating: Set objContactItem = oFolderContact.Items.Find("[CustomerID] = " & "ITH" & CustomerID & "/" &ContactID) If TypeName(objContactItem) = "Nothing" Then 'Create new contact because it does not exist Set objContactItem = oFolderContact.Items.Add(olContactItem) ' do your add new contact thingy Else 'Update using found contact. 'put your update code here End If Greetz Erwin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Friday, August 03, 2007 8:37 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Checking Outlook Contact Info from Access I've got routines to pull data into Access from Outlook as I need it when adding new client's to a db. I also pull in the "EntryID" as its the only unique property per item I can locate in Contacts. I'm now attempting to verify and add/update Outlook Contact info from Access when editing in Access by using EntryID to filter the Outlook Items. Problem is - and this took me quite awhile to see in the help file for some reason - "EntryID" can't be used with the Restrict method. Set oApp = CreateObject("Outlook.Application") Set oNspc = oApp.GetNamespace("MAPI") Set oContacts = oNspc.GetDefaultFolder(olFolderContacts).Items strContactToCheck = "[CustomerID] = """ & strEntryID & """" Set oItems = oContacts.Restrict(strContactToCheck) Someone recently asked what the problem with Outlook IDs was. Well here it is, the one unique ID and it can't be used to filter the Items. Any ideas on how to lookup a specific contact in Outlook so that it's properties can be compared to the Access data? -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From john at winhaven.net Fri Aug 3 03:58:33 2007 From: john at winhaven.net (John Bartow) Date: Fri, 3 Aug 2007 03:58:33 -0500 Subject: [AccessD] Checking Outlook Contact Info from Access In-Reply-To: <430E80531228BA4497C5EB1A7BA786B01B4B0E@stekelbes.ithelps.local> References: <003701c7d576$6a2056f0$517a6c4c@jisshowsbs.local><013901c7d585$adb20440$0301a8c0@HAL9005><002f01c7d598$b3a579a0$6402a8c0@ScuzzPaq> <430E80531228BA4497C5EB1A7BA786B01B4B0E@stekelbes.ithelps.local> Message-ID: <006301c7d5ac$79057340$6402a8c0@ScuzzPaq> Hi Erwin, I iterated through my Outlook Items and Customary was null in all of them. So, just so I understand correctly, let me ask you: Did you create the original value in the Outlook Customary property? Do you know if Outlook itself ever uses this Customary property? Thanks, John BTW what I am attempting to accomplish is to pull a contact from Outlook, load its information into an Access table and from that point on keep he data synchronized in both applications. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Erwin Craps - IT Helps Sent: Friday, August 03, 2007 3:17 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Checking Outlook Contact Info from Access There is a customerid property that I use. Here a small extract from the code I use "ITH" is a prefix I use to specify from which database the contact in Outlook comes CustomerID is the company id ContactID is the contact from this company id When creating: objOItem.CustomerID = "ITH" & CustomerID & "/" & ContactID When updating: Set objContactItem = oFolderContact.Items.Find("[CustomerID] = " & "ITH" & CustomerID & "/" &ContactID) If TypeName(objContactItem) = "Nothing" Then 'Create new contact because it does not exist Set objContactItem = oFolderContact.Items.Add(olContactItem) ' do your add new contact thingy Else 'Update using found contact. 'put your update code here End If Greetz Erwin From Erwin.Craps at ithelps.eu Fri Aug 3 04:26:07 2007 From: Erwin.Craps at ithelps.eu (Erwin Craps - IT Helps) Date: Fri, 3 Aug 2007 11:26:07 +0200 Subject: [AccessD] Checking Outlook Contact Info from Access References: <003701c7d576$6a2056f0$517a6c4c@jisshowsbs.local><013901c7d585$adb20440$0301a8c0@HAL9005><002f01c7d598$b3a579a0$6402a8c0@ScuzzPaq><430E80531228BA4497C5EB1A7BA786B01B4B0E@stekelbes.ithelps.local> <006301c7d5ac$79057340$6402a8c0@ScuzzPaq> Message-ID: <430E80531228BA4497C5EB1A7BA786B01B4B12@stekelbes.ithelps.local> Thats about the same I do, except for the (automated) synchronising. Mainly it means that, opposing to your technique, I use the uniqueID in Access to identify the items in Outlook, cause I know that is rock solid. The entryID could change in certain situations. I have a central Access database (wel 2 infact), I added a Outlook contact button next to the company or contactperson in Access. The first time I create a new company or contact in my database I also click on that buttom. This will create a new contact in my outlook contacts and set the outlook contact item "Customerid" property to the id from my database. If I alter my contact data in the Access datebase, I click again on this button. But first Access will search in the contact items by using the ID from the Access database and in the "Customerid" property of the Outlook contact item. If it does exists it updates the item inmediatly, if it does not exists Access asks if I want to add the contact to my Outlook contacts. I do not update automaticly, I do not sync in both directions, but with the technique I use I could if I wanted to. What I believe/suggest you should do is. Adapt your routine that when you read the EntryID from a Outlook Contactitem and add the new contact to the Access database, you should inmediatly add the unique Company and/or ContactID that u use in the Access Database to the "Companyid" property of the Outlook Contact item. >From that point on u always identify and/or link contact in both Outlook and Access based on that CompanyID and no longer on the entry ID. Infact it is pointless from that moment on to even store that entryID. The CompanyID is in Outlook visible in other fields, I even see them when i'm in my contact folder. Don't know if that is by default or after a form alteration from me. It is posible for the user to change the CompanyID field from within Outlook. This is maybe an issue for you, it is not for me in my situation. I believe, but not sure, you can resolve this by using a customer property instead of the CompanyID property. I use a custom property for linking E-mails to my Access database, so I supose you can also use custom properies in contacts. Hope this helps. Erwin From john at winhaven.net Fri Aug 3 04:57:52 2007 From: john at winhaven.net (John Bartow) Date: Fri, 3 Aug 2007 04:57:52 -0500 Subject: [AccessD] Checking Outlook Contact Info from Access In-Reply-To: <430E80531228BA4497C5EB1A7BA786B01B4B12@stekelbes.ithelps.local> References: <003701c7d576$6a2056f0$517a6c4c@jisshowsbs.local><013901c7d585$adb20440$0301a8c0@HAL9005><002f01c7d598$b3a579a0$6402a8c0@ScuzzPaq><430E80531228BA4497C5EB1A7BA786B01B4B0E@stekelbes.ithelps.local><006301c7d5ac$79057340$6402a8c0@ScuzzPaq> <430E80531228BA4497C5EB1A7BA786B01B4B12@stekelbes.ithelps.local> Message-ID: <009401c7d5b4$ce6e1960$6402a8c0@ScuzzPaq> Erwin, I'm sure your advice will help a lot. I will work on this project using the ideas you have laid out for me. If anything interesting comes up I will post my questions and or results. Thanks you much! John -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Erwin Craps - IT Helps Sent: Friday, August 03, 2007 4:26 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Checking Outlook Contact Info from Access Thats about the same I do, except for the (automated) synchronising. Mainly it means that, opposing to your technique, I use the uniqueID in Access to identify the items in Outlook, cause I know that is rock solid. The entryID could change in certain situations. I have a central Access database (wel 2 infact), I added a Outlook contact button next to the company or contactperson in Access. The first time I create a new company or contact in my database I also click on that buttom. This will create a new contact in my outlook contacts and set the outlook contact item "Customerid" property to the id from my database. If I alter my contact data in the Access datebase, I click again on this button. But first Access will search in the contact items by using the ID from the Access database and in the "Customerid" property of the Outlook contact item. If it does exists it updates the item inmediatly, if it does not exists Access asks if I want to add the contact to my Outlook contacts. I do not update automaticly, I do not sync in both directions, but with the technique I use I could if I wanted to. What I believe/suggest you should do is. Adapt your routine that when you read the EntryID from a Outlook Contactitem and add the new contact to the Access database, you should inmediatly add the unique Company and/or ContactID that u use in the Access Database to the "Companyid" property of the Outlook Contact item. >From that point on u always identify and/or link contact in both >Outlook and Access based on that CompanyID and no longer on the entry ID. Infact it is pointless from that moment on to even store that entryID. The CompanyID is in Outlook visible in other fields, I even see them when i'm in my contact folder. Don't know if that is by default or after a form alteration from me. It is posible for the user to change the CompanyID field from within Outlook. This is maybe an issue for you, it is not for me in my situation. I believe, but not sure, you can resolve this by using a customer property instead of the CompanyID property. I use a custom property for linking E-mails to my Access database, so I supose you can also use custom properies in contacts. Hope this helps. Erwin -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From wdhindman at dejpolsystems.com Fri Aug 3 06:27:09 2007 From: wdhindman at dejpolsystems.com (William Hindman) Date: Fri, 3 Aug 2007 07:27:09 -0400 Subject: [AccessD] Tab Control Color References: <013901c7d585$adb20440$0301a8c0@HAL9005> Message-ID: <000701c7d5c1$3b499170$517a6c4c@jisshowsbs.local> http://blogs.msdn.com/access/archive/2006/03/28/563337.aspx ...hth William Hindman ----- Original Message ----- From: "Rocky Smolin at Beach Access Software" To: "'Access Developers discussion and problem solving'" Sent: Friday, August 03, 2007 12:20 AM Subject: Re: [AccessD] Tab Control Color > So in A2K7 you can set the color of a tab control? > > Rocky > > > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman > Sent: Thursday, August 02, 2007 7:32 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Tab Control Color > > Rocky > > ...the tab control color in pre A2k7 is set by one of the more obscure > windows system colors ...A2k7 gives you more say over the control colors > ...I have a utility I cobbled together that lets me set all the > app/control > colors in A2k3 but its not ready for release as yet ...but if you want to > do > something quick and dirty FMS still has an old A97 freebie control color > setting tool on their website that is specific to version 8 ...however > their > source code is easily modified to work in version 11 and may provide you > better compatibility between 11 and 12 re control colors. > > ...if anyone is interested most of the other FMS A97 freebies can be > updated > easily as well, I've used their old text formatting control in A2k3 in a > few > instances with good results. > > William Hindman > > ----- Original Message ----- > From: "Rocky Smolin at Beach Access Software" > To: "'Access Developers discussion and problem solving'" > > Sent: Thursday, August 02, 2007 5:25 PM > Subject: [AccessD] Tab Control Color > > >> Dear List: >> >> When I display a form with a tab control on it in A2003, it has a sort of >> taupe color. But when my client displays it on his machine using A2007, >> the >> tab is the same color as the back color of the form - kind of like the >> tab >> control was transparent. >> >> Bug? Any fix? >> >> MTIA >> >> Rocky >> >> >> >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.476 / Virus Database: 269.11.2/933 - Release Date: 8/2/2007 > 2:22 PM > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From Erwin.Craps at ithelps.eu Fri Aug 3 06:57:49 2007 From: Erwin.Craps at ithelps.eu (Erwin Craps - IT Helps) Date: Fri, 3 Aug 2007 13:57:49 +0200 Subject: [AccessD] Checking Outlook Contact Info from Access References: <003701c7d576$6a2056f0$517a6c4c@jisshowsbs.local><013901c7d585$adb20440$0301a8c0@HAL9005><002f01c7d598$b3a579a0$6402a8c0@ScuzzPaq><430E80531228BA4497C5EB1A7BA786B01B4B0E@stekelbes.ithelps.local><006301c7d5ac$79057340$6402a8c0@ScuzzPaq><430E80531228BA4497C5EB1A7BA786B01B4B12@stekelbes.ithelps.local> <009401c7d5b4$ce6e1960$6402a8c0@ScuzzPaq> Message-ID: <430E80531228BA4497C5EB1A7BA786B01B4B15@stekelbes.ithelps.local> No problem. I'm not always reading all AccessD e-mails every day, so in case I'm not responding, mail me directly.. Erwin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Friday, August 03, 2007 11:58 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Checking Outlook Contact Info from Access Erwin, I'm sure your advice will help a lot. I will work on this project using the ideas you have laid out for me. If anything interesting comes up I will post my questions and or results. Thanks you much! John -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Erwin Craps - IT Helps Sent: Friday, August 03, 2007 4:26 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Checking Outlook Contact Info from Access Thats about the same I do, except for the (automated) synchronising. Mainly it means that, opposing to your technique, I use the uniqueID in Access to identify the items in Outlook, cause I know that is rock solid. The entryID could change in certain situations. I have a central Access database (wel 2 infact), I added a Outlook contact button next to the company or contactperson in Access. The first time I create a new company or contact in my database I also click on that buttom. This will create a new contact in my outlook contacts and set the outlook contact item "Customerid" property to the id from my database. If I alter my contact data in the Access datebase, I click again on this button. But first Access will search in the contact items by using the ID from the Access database and in the "Customerid" property of the Outlook contact item. If it does exists it updates the item inmediatly, if it does not exists Access asks if I want to add the contact to my Outlook contacts. I do not update automaticly, I do not sync in both directions, but with the technique I use I could if I wanted to. What I believe/suggest you should do is. Adapt your routine that when you read the EntryID from a Outlook Contactitem and add the new contact to the Access database, you should inmediatly add the unique Company and/or ContactID that u use in the Access Database to the "Companyid" property of the Outlook Contact item. >From that point on u always identify and/or link contact in both >Outlook and Access based on that CompanyID and no longer on the entry ID. Infact it is pointless from that moment on to even store that entryID. The CompanyID is in Outlook visible in other fields, I even see them when i'm in my contact folder. Don't know if that is by default or after a form alteration from me. It is posible for the user to change the CompanyID field from within Outlook. This is maybe an issue for you, it is not for me in my situation. I believe, but not sure, you can resolve this by using a customer property instead of the CompanyID property. I use a custom property for linking E-mails to my Access database, so I supose you can also use custom properies in contacts. Hope this helps. Erwin -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Fri Aug 3 11:58:44 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Fri, 3 Aug 2007 09:58:44 -0700 Subject: [AccessD] FW: Tab Control Color Message-ID: <007001c7d5ef$8d662490$0301a8c0@HAL9005> Thanks. Will forward. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Friday, August 03, 2007 4:27 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Tab Control Color http://blogs.msdn.com/access/archive/2006/03/28/563337.aspx ...hth William Hindman ----- Original Message ----- From: "Rocky Smolin at Beach Access Software" To: "'Access Developers discussion and problem solving'" Sent: Friday, August 03, 2007 12:20 AM Subject: Re: [AccessD] Tab Control Color > So in A2K7 you can set the color of a tab control? > > Rocky > > > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William > Hindman > Sent: Thursday, August 02, 2007 7:32 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Tab Control Color > > Rocky > > ...the tab control color in pre A2k7 is set by one of the more obscure > windows system colors ...A2k7 gives you more say over the control > colors ...I have a utility I cobbled together that lets me set all the > app/control colors in A2k3 but its not ready for release as yet ...but > if you want to do something quick and dirty FMS still has an old A97 > freebie control color setting tool on their website that is specific > to version 8 ...however their source code is easily modified to work > in version 11 and may provide you better compatibility between 11 and > 12 re control colors. > > ...if anyone is interested most of the other FMS A97 freebies can be > updated easily as well, I've used their old text formatting control in > A2k3 in a few instances with good results. > > William Hindman > > ----- Original Message ----- > From: "Rocky Smolin at Beach Access Software" > To: "'Access Developers discussion and problem solving'" > > Sent: Thursday, August 02, 2007 5:25 PM > Subject: [AccessD] Tab Control Color > > >> Dear List: >> >> When I display a form with a tab control on it in A2003, it has a >> sort of taupe color. But when my client displays it on his machine >> using A2007, the tab is the same color as the back color of the form >> - kind of like the tab control was transparent. >> >> Bug? Any fix? >> >> MTIA >> >> Rocky >> >> >> >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.476 / Virus Database: 269.11.2/933 - Release Date: > 8/2/2007 > 2:22 PM > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.2/933 - Release Date: 8/2/2007 2:22 PM From cjeris at fas.harvard.edu Fri Aug 3 16:04:52 2007 From: cjeris at fas.harvard.edu (Christopher Jeris) Date: Fri, 03 Aug 2007 17:04:52 -0400 Subject: [AccessD] ADO.Recordset "Object does not support Automation" Message-ID: <46B39874.5030502@fas.harvard.edu> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi everybody, Most of my project runs on DAO, but there's one place where I'd like to back a listbox with a recordset returned by a SQL Server stored procedure that returns multiple recordsets. (This is the browse control from my last post, which I finally managed to convince people shouldn't be a monolithic 50,000 row list box.) It seems that - - DAO recordsets in Jet workspaces don't support the NextRecordset method, so multiple result sets are not accessible - - The docs say that DAO recordsets from ODBCDirect workspaces can't be assigned to the .Recordset property of a ListBox control So I have to use an ADO recordset. So I get the connection going and the query runs and the recordset comes back okay: Public Sub InitializeByOffset(filterString As String, offset As Long) Dim sql As String sql = ' some SQL text lives here Dim cxn As ADODB.Connection Set cxn = Util.ADOConn ' this returns a cached ADO connection Dim rs As New ADODB.Recordset rs.Open sql, cxn, adOpenKeyset rs.MoveFirst ' initialize some properties of the object from the first ' recordset's rows ' now remember the second recordset Set mRecordset = rs.NextRecordset End Sub That all works fine, and the "next recordset" returned is alive and has the right data in it. Then when I try to assign the resulting recordset to the .Recordset property of the ListBox control on my form, I get the following error: "Class does not support Automation or does not support expected interface". This is Access 2002 SP3 on Windows XP SP2; my installed version of MDAC is 2.81 (2.8 SP1); the active set of References in the VB editor is as follows: Visual Basic For Applications Microsoft Access 10.0 Object Library OLE Automation Microsoft DAO 3.6 Object Library Microsoft ActiveX Data Objects 2.8 Library [C:\Program Files\Common Files\System\ado\msado15.dll] Microsoft Data Access Components Installed Version [C:\WINDOWS\system32\odbcconf.dll] Microsoft ActiveX Data Objects Recordset 2.8 Library [C:\Program Files\Common Files\System\ado\msador15.dll] Googling suggests that the problem has something to do with out-of-sync MDAC versions, but I have tried substituting all the other available ADO references in the VB project (2.1, 2.5, 2.6, 2.7) without success. Can anyone tell me what's going on here? many thanks for all your help, Chris Jeris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGs5h05ICCNV0oGWARAkUzAJ9rRO4Q5dpJFip4gaesi+KBjZCopwCglBy8 bu1IYkzwc/mubdZeRIPIjmE= =i6T1 -----END PGP SIGNATURE----- From miscellany at mvps.org Fri Aug 3 16:24:54 2007 From: miscellany at mvps.org (Steve Schapel) Date: Sat, 04 Aug 2007 09:24:54 +1200 Subject: [AccessD] Coordinating use of space on report Message-ID: <46B39D26.6060207@mvps.org> Hi. I would appreciate any bright ideas on a very specific requirement. On a report, I have a strictly limited width for some data. This data is in 2 fields. The data in the left field will be left aligned, and the data in the right field can be right aligned. It's the name of a sports team, and their score in a competition. The number of characters in the score can vary quite a bit. It could be like any of these: 2 234/9 25 (WBC) LBD In some cases, the name of the team will need to be truncated in order to fit. That's ok. Growing the control height is not possible. But I don't want to have to make the right-hand control wide enough to cater to the widest possible score data. This would mean reducing the amount of space available for the team name, which in most practical cases would restrict it much more than necessary. In other words, I don't want to make *all* the team names narrow enough so that a score of 25(WBC) could be fitted in, when in most cases the score will be more like 2 allowing a wider team name and possibly preventing truncating. Hope that makes sense. I have played with the idea of using fixed width font, and concatenating the team and score into one control, with the requisitre number of spaces in between to justify the text. 2 problems with this: Fixed width fonts generally take up more space anyway, for the same amount of text. And this report is output to PDF and for internet download, so many users who will be trying to print it will not have that font installed. So... what would you try? Regards Steve From rockysmolin at bchacc.com Fri Aug 3 16:55:01 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Fri, 3 Aug 2007 14:55:01 -0700 Subject: [AccessD] Coordinating use of space on report In-Reply-To: <46B39D26.6060207@mvps.org> Message-ID: <00b901c7d618$f168e0d0$0301a8c0@HAL9005> Courier is ugly and takes more space than, say, Arial narrow. But everybody has it, AFAIK. And it's fixed width. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Schapel Sent: Friday, August 03, 2007 2:25 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Coordinating use of space on report Hi. I would appreciate any bright ideas on a very specific requirement. On a report, I have a strictly limited width for some data. This data is in 2 fields. The data in the left field will be left aligned, and the data in the right field can be right aligned. It's the name of a sports team, and their score in a competition. The number of characters in the score can vary quite a bit. It could be like any of these: 2 234/9 25 (WBC) LBD In some cases, the name of the team will need to be truncated in order to fit. That's ok. Growing the control height is not possible. But I don't want to have to make the right-hand control wide enough to cater to the widest possible score data. This would mean reducing the amount of space available for the team name, which in most practical cases would restrict it much more than necessary. In other words, I don't want to make *all* the team names narrow enough so that a score of 25(WBC) could be fitted in, when in most cases the score will be more like 2 allowing a wider team name and possibly preventing truncating. Hope that makes sense. I have played with the idea of using fixed width font, and concatenating the team and score into one control, with the requisitre number of spaces in between to justify the text. 2 problems with this: Fixed width fonts generally take up more space anyway, for the same amount of text. And this report is output to PDF and for internet download, so many users who will be trying to print it will not have that font installed. So... what would you try? Regards Steve -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.2/933 - Release Date: 8/2/2007 2:22 PM From ssharkins at gmail.com Sat Aug 4 11:57:49 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Sat, 4 Aug 2007 12:57:49 -0400 Subject: [AccessD] SANS and NAS Message-ID: <17c80a4d0708040957g5966758dwcd7f3516813d61b6@mail.gmail.com> I'm looking for someone with good experience and knowlege in Enterprise Data Storage -- specifically, SANS and NAS all that crap. I have a publisher looking for someone who can write about these topics on a regular basis. Contact me privately at ssharkins at gmail. Thanks! Susan H. From rockysmolin at bchacc.com Sat Aug 4 20:10:04 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Sat, 4 Aug 2007 18:10:04 -0700 Subject: [AccessD] Need SMTP Code Message-ID: <002001c7d6fd$5b538a60$0301a8c0@HAL9005> Dear List: I have a lot of Access sites bookmarked but can never find what I need in them. I'm looking for some code to handle email from Access using SMTP. Does anyone know if there's a module I can crib from one of the many Access sites? MTIA Rocky From wdhindman at dejpolsystems.com Sat Aug 4 21:13:03 2007 From: wdhindman at dejpolsystems.com (William Hindman) Date: Sat, 4 Aug 2007 22:13:03 -0400 Subject: [AccessD] Need SMTP Code References: <002001c7d6fd$5b538a60$0301a8c0@HAL9005> Message-ID: <000301c7d706$28392dc0$517a6c4c@jisshowsbs.local> http://support.microsoft.com/?kbid=286431 ...hth William Hindman ----- Original Message ----- From: "Rocky Smolin at Beach Access Software" To: "'Access Developers discussion and problem solving'" Sent: Saturday, August 04, 2007 9:10 PM Subject: [AccessD] Need SMTP Code > Dear List: > > > I have a lot of Access sites bookmarked but can never find what I need in > them. I'm looking for some code to handle email from Access using SMTP. > Does anyone know if there's a module I can crib from one of the many > Access > sites? > > MTIA > > Rocky > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jwcolby at colbyconsulting.com Sat Aug 4 22:08:19 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 4 Aug 2007 23:08:19 -0400 Subject: [AccessD] Need SMTP Code In-Reply-To: <000301c7d706$28392dc0$517a6c4c@jisshowsbs.local> Message-ID: <20070805030821.EFEADBCD9@smtp-auth.no-ip.com> I am getting the following from Firefox on ONE of my computers, mostly on MS site links. Any ideas? Server Error in '/' Application. Runtime Error Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine. Details: To enable the details of this specific error message to be viewable on remote machines, please create a tag within a "web.config" configuration file located in the root directory of the current web application. This tag should then have its "mode" attribute set to "Off". Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's configuration tag to point to a custom error page URL. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Saturday, August 04, 2007 10:13 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Need SMTP Code http://support.microsoft.com/?kbid=286431 ...hth William Hindman ----- Original Message ----- From: "Rocky Smolin at Beach Access Software" To: "'Access Developers discussion and problem solving'" Sent: Saturday, August 04, 2007 9:10 PM Subject: [AccessD] Need SMTP Code > Dear List: > > > I have a lot of Access sites bookmarked but can never find what I need in > them. I'm looking for some code to handle email from Access using SMTP. > Does anyone know if there's a module I can crib from one of the many > Access > sites? > > MTIA > > Rocky > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Sun Aug 5 00:47:20 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Sat, 4 Aug 2007 22:47:20 -0700 Subject: [AccessD] Popup Form Message-ID: <002401c7d724$1759bce0$0301a8c0@HAL9005> Dear List: Can a form be opened in either popup or not depending on the value of a switch? MTIA Rocky From ebarro at verizon.net Sun Aug 5 01:04:30 2007 From: ebarro at verizon.net (Eric Barro) Date: Sat, 04 Aug 2007 23:04:30 -0700 Subject: [AccessD] Need SMTP Code In-Reply-To: <20070805030821.EFEADBCD9@smtp-auth.no-ip.com> Message-ID: <0JMA00DHRE7GLTQA@vms046.mailsrvcs.net> John, This is a generic .NET message to indicate that there's something wrong with the application. It's server-based and not client-based. Eric -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Saturday, August 04, 2007 8:08 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Need SMTP Code I am getting the following from Firefox on ONE of my computers, mostly on MS site links. Any ideas? Server Error in '/' Application. Runtime Error Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine. Details: To enable the details of this specific error message to be viewable on remote machines, please create a tag within a "web.config" configuration file located in the root directory of the current web application. This tag should then have its "mode" attribute set to "Off". Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's configuration tag to point to a custom error page URL. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Saturday, August 04, 2007 10:13 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Need SMTP Code http://support.microsoft.com/?kbid=286431 ...hth William Hindman ----- Original Message ----- From: "Rocky Smolin at Beach Access Software" To: "'Access Developers discussion and problem solving'" Sent: Saturday, August 04, 2007 9:10 PM Subject: [AccessD] Need SMTP Code > Dear List: > > > I have a lot of Access sites bookmarked but can never find what I need > in them. I'm looking for some code to handle email from Access using SMTP. > Does anyone know if there's a module I can crib from one of the many > Access sites? > > MTIA > > Rocky > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.4/935 - Release Date: 8/3/2007 5:46 PM From miscellany at mvps.org Sun Aug 5 02:46:05 2007 From: miscellany at mvps.org (Steve Schapel) Date: Sun, 05 Aug 2007 19:46:05 +1200 Subject: [AccessD] Popup Form In-Reply-To: <002401c7d724$1759bce0$0301a8c0@HAL9005> References: <002401c7d724$1759bce0$0301a8c0@HAL9005> Message-ID: <46B5803D.3010605@mvps.org> Rocky, I think something like this should work... If YourSwitch Then DoCmd.OpenForm "YourForm", , , , , acDialog Else DoCmd.OpenForm "YourForm" End If Regards Steve Rocky Smolin at Beach Access Software wrote: > Can a form be opened in either popup or not depending on the value of a > switch? From miscellany at mvps.org Sun Aug 5 02:49:46 2007 From: miscellany at mvps.org (Steve Schapel) Date: Sun, 05 Aug 2007 19:49:46 +1200 Subject: [AccessD] Coordinating use of space on report In-Reply-To: <00b901c7d618$f168e0d0$0301a8c0@HAL9005> References: <00b901c7d618$f168e0d0$0301a8c0@HAL9005> Message-ID: <46B5811A.80402@mvps.org> Thanks a lot for this comment, Rocky. I have found that the amount of characters you can fit in to a given space with Courier is considerably less than the proportional fonts. And ugly, yes I agree. I am not working on solving the situation using overlapping controls, and abbreviating the data as required in code. Regards Steve Rocky Smolin at Beach Access Software wrote: > Courier is ugly and takes more space than, say, Arial narrow. But everybody > has it, AFAIK. And it's fixed width. > From andy at minstersystems.co.uk Sun Aug 5 02:53:43 2007 From: andy at minstersystems.co.uk (Andy Lacey) Date: Sun, 5 Aug 2007 08:53:43 +0100 Subject: [AccessD] Popup Form In-Reply-To: <002401c7d724$1759bce0$0301a8c0@HAL9005> Message-ID: <000a01c7d735$beddbd70$aa8cd355@minster33c3r25> Well it can be opened in Dialog or not depending on a switch if that does you. Set your switch (eg lngSwitch) to either acDialog or acNormal and open like DoCmd.OpenForm "frm",,,,,lngSwitch HTH -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Rocky Smolin at Beach Access Software > Sent: 05 August 2007 06:47 > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] Popup Form > > > > > Dear List: > > Can a form be opened in either popup or not depending on the > value of a switch? > > MTIA > > Rocky > > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From fuller.artful at gmail.com Sun Aug 5 06:28:00 2007 From: fuller.artful at gmail.com (Arthur Fuller) Date: Sun, 5 Aug 2007 07:28:00 -0400 Subject: [AccessD] Popup Form In-Reply-To: <000a01c7d735$beddbd70$aa8cd355@minster33c3r25> References: <002401c7d724$1759bce0$0301a8c0@HAL9005> <000a01c7d735$beddbd70$aa8cd355@minster33c3r25> Message-ID: <29f585dd0708050428u156b1b02y42e896b12aa3e8b4@mail.gmail.com> Quite right, Andy. I often use your technique in conjunction with the NotInList event of a combo, also supplying the datamode switch to put the form in data-entry mode as well as dialog mode so the user can add a new record if it's not in the list, then return to that form after exiting the dialog. It's the same form as the normal one but opened in dialog. It works a treat. Arthur On 8/5/07, Andy Lacey wrote: > > Well it can be opened in Dialog or not depending on a switch if that does > you. > > Set your switch (eg lngSwitch) to either acDialog or acNormal and open > like > > DoCmd.OpenForm "frm",,,,,lngSwitch > > HTH > > -- Andy Lacey > http://www.minstersystems.co.uk > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > > Rocky Smolin at Beach Access Software > > Sent: 05 August 2007 06:47 > > To: 'Access Developers discussion and problem solving' > > Subject: [AccessD] Popup Form > > > > > > > > > > Dear List: > > > > Can a form be opened in either popup or not depending on the > > value of a switch? > > > > MTIA > > > > Rocky > > > > > > > > > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From fuller.artful at gmail.com Sun Aug 5 06:42:06 2007 From: fuller.artful at gmail.com (Arthur Fuller) Date: Sun, 5 Aug 2007 07:42:06 -0400 Subject: [AccessD] Listbox-type browse control for large dataset In-Reply-To: <00bd01c7d50d$e55ee0c0$1257a27a@pcadt> References: <46B0FCE0.2040102@fas.harvard.edu> <00bd01c7d50d$e55ee0c0$1257a27a@pcadt> Message-ID: <29f585dd0708050442p1409eda0i64c788c3ed1e8997@mail.gmail.com> Chris, I have used another technique which might help you, that doesn't use a subform. I don't populate the row-source attribute until the user enters 3 characters at least. Then I use those characters in a SELECT statement to grab only the relevant rows. 1. User enters "Ful" 2. I build the rowsource: strSQL = _ "SELECT PK, Surname FROM Employees WHERE Surname LIKE " & chr(39) & me.combo & "*" & chr(39) '<--- supplying the double quotes and asterisk 3. me.combo.rowsource = strSQL No need to requery. Changing the rowsource does that automatically. Typically this approach reduces the number of rows to something very manageable while also satisfying the requirement that all 50K rows are "accessible". hth, Arthur On 8/2/07, A.D.TEJPAL wrote: > > Chris, > > My sample db named Form_SubformAsListBox might be of interest to you. > It is available at Rogers Access Library (other developers library). Link - > http://www.rogersaccesslibrary.com/OtherLibraries.asp#Tejpal,A.D. > > You could adapt the underlying approach suitably, for your specific > needs. > > Best wishes, > A.D.Tejpal > --------------- > > Form_SubformAsListBox (Sample db) > Brief Description > ==================================== > This sample db demonstrates use of subform as list box. > > Two alternatives are covered: > (a) Continuous subform type list box. > (b) Datasheet subform type list box. > > For each alternative, three styles of list box simulation are > demonstrated as follows: > (a) Multi-Select - Extended > (b) Multi-Select - Simple > (c) Single Select > > Selection behavior in each case is similar to that of typical normal > style for the pertinent list box. Extraction of information regarding > selected items is relatively more convenient as compared to a conventional > list box. > > Subform based list box affords the added facility of convenient > formatting & alignment. In datasheet based alternative, the user can even > adjust the row height if required, so as to suit multi-line content. > > Note: > (a) Overall performance regarding prompt rendering of highlight colors > (based upon conditional formatting) is found to be best under Access 2003 > (even better than Access 2007). > (b) For multi-select (extended) list box based upon datasheet subform > in versions other than A2K3 (i.e. A2K, XP, A2K7), highlight colors > representing multi-selection take complete effect only when Shift key is > finally released. > (c) For multi-select (extended) list box based upon continuous > subform, the performance in versions other than A2K7 is found to be OK > (though it appears to be best in A2K3). In Access 2007 however, there is a > slight time lag in rendering the highlights, though it does not wait till > the shift key is finally released. > > 5 - Version: Access 2000 File Format > > 6 - References: DAO 3.6 > ==================================== > > ----- Original Message ----- > From: Christopher Jeris > To: Access Developers discussion and problem solving > Sent: Thursday, August 02, 2007 03:06 > Subject: [AccessD] Listbox-type browse control for large dataset > > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi everybody, > > I have a form on which I'd like to provide a listbox-type browse control > on a dataset with a large number of rows (tens of thousands). > Specifically, the user interface control for this dataset needs to > support the following interactions: > > 1. Allow the user to click on a row, or select it using arrow keys, to > bring that row up in a form for editing > 2. Recenter the control's viewable area around a specific row which is > known by key (not by ordinal in the listbox's dataset) > 3. Ideally, browse from top to bottom of the entire dataset using a > scroll bar, although this can be weakened if necessary > > In our prototype, we are using a regular ListBox, and the problem is > that #2 -- that is, selecting a row using box.Value = someRowKey > is too slow, perhaps almost a second with 50,000 rows. Also, I have no > idea whether there is a hard limit (2^16?) on the number of rows in a > ListBox. > > I have searched briefly for third-party ActiveX controls, but the only > likely candidate I've seen -- FarPoint ListPro -- doesn't seem to work > in Access, only standalone VB. (As in, I tried it, and I can't get it > to work.) > > At this point I'm looking at implementing "paging" by hand, that is, > binding a set of a few hundred records at a time to the listbox and > forcing the user to make transitions from one page to the next > explicitly. > > Can anyone suggest alternative ways to attack the problem? > > thanks, Chris Jeris > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From fuller.artful at gmail.com Sun Aug 5 06:48:53 2007 From: fuller.artful at gmail.com (Arthur Fuller) Date: Sun, 5 Aug 2007 07:48:53 -0400 Subject: [AccessD] Coordinating use of space on report In-Reply-To: <46B5811A.80402@mvps.org> References: <00b901c7d618$f168e0d0$0301a8c0@HAL9005> <46B5811A.80402@mvps.org> Message-ID: <29f585dd0708050448w38e84f38laaebc26070d641bc@mail.gmail.com> What about doing a little arithmetic on each row? Would that work? You could right-justify the score, count the characters in same, then print as many chars of the team name as will still fit. hth, Arthur On 8/5/07, Steve Schapel wrote: > > Thanks a lot for this comment, Rocky. I have found that the amount of > characters you can fit in to a given space with Courier is considerably > less than the proportional fonts. And ugly, yes I agree. > > I am not working on solving the situation using overlapping controls, > and abbreviating the data as required in code. > > Regards > Steve > > > Rocky Smolin at Beach Access Software wrote: > > Courier is ugly and takes more space than, say, Arial narrow. But > everybody > > has it, AFAIK. And it's fixed width. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From fahooper at trapo.com Sun Aug 5 07:35:58 2007 From: fahooper at trapo.com (Fred Hooper) Date: Sun, 5 Aug 2007 08:35:58 -0400 Subject: [AccessD] Need SMTP Code In-Reply-To: <002001c7d6fd$5b538a60$0301a8c0@HAL9005> Message-ID: <018d01c7d75d$2d00dc70$af15c048@fredxp> I've used the code below in many places. Fred Public Sub SendEmail(strFrom As String, strTo As String, strSubject As String, strMessage As String) Dim objEmail As Object Dim objMsg As Object Dim objConf As Object Dim Flds As Variant Set objMsg = CreateObject("cdo.message") Set objConf = CreateObject("cdo.configuration") Set Flds = objConf.Fields With Flds ' The first item with value "2" indicates that smpt is not installed on this machine .Item("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2 ' Next item is the name of the smpt server to use. ' Look in Outlook | Tools | Email Accounts | View or change... | Change to find .Item("http://schemas.microsoft.com/cdo/configuration/smtpserver") = "yourmailhost.com" ' This is the port the smpt server uses, 25 is the default .Item("http://schemas.microsoft.com/cdo/configuration/smptserverport") = 25 .Update End With With objMsg Set .configuration = objConf .To = strTo .from = strFrom .Subject = strSubject .Textbody = strMessage ' It doesn't work with more than one attachment ' .AddAttachment "c:\readme.txt" .Fields.Update .Send End With Set objMsg = Nothing Set objConf = Nothing End Sub -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Saturday, August 04, 2007 9:10 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Need SMTP Code Dear List: I have a lot of Access sites bookmarked but can never find what I need in them. I'm looking for some code to handle email from Access using SMTP. Does anyone know if there's a module I can crib from one of the many Access sites? MTIA Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Sun Aug 5 07:40:06 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sun, 5 Aug 2007 08:40:06 -0400 Subject: [AccessD] Need SMTP Code In-Reply-To: <0JMA00DHRE7GLTQA@vms046.mailsrvcs.net> Message-ID: <20070805124007.20A42BD5D@smtp-auth.no-ip.com> Eric, Thanks for the reply. It seems to happen on my laptop a LOT, and if I switch to another machine I can get right in to the web page, or even if I switch to IE on my laptop. I got it when I tried to open the link in the response to Rocky in this message. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Eric Barro Sent: Sunday, August 05, 2007 2:05 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Need SMTP Code John, This is a generic .NET message to indicate that there's something wrong with the application. It's server-based and not client-based. Eric -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Saturday, August 04, 2007 8:08 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Need SMTP Code I am getting the following from Firefox on ONE of my computers, mostly on MS site links. Any ideas? Server Error in '/' Application. Runtime Error Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine. Details: To enable the details of this specific error message to be viewable on remote machines, please create a tag within a "web.config" configuration file located in the root directory of the current web application. This tag should then have its "mode" attribute set to "Off". Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's configuration tag to point to a custom error page URL. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Saturday, August 04, 2007 10:13 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Need SMTP Code http://support.microsoft.com/?kbid=286431 ...hth William Hindman ----- Original Message ----- From: "Rocky Smolin at Beach Access Software" To: "'Access Developers discussion and problem solving'" Sent: Saturday, August 04, 2007 9:10 PM Subject: [AccessD] Need SMTP Code > Dear List: > > > I have a lot of Access sites bookmarked but can never find what I need > in them. I'm looking for some code to handle email from Access using SMTP. > Does anyone know if there's a module I can crib from one of the many > Access sites? > > MTIA > > Rocky From jwcolby at colbyconsulting.com Sun Aug 5 07:57:20 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sun, 5 Aug 2007 08:57:20 -0400 Subject: [AccessD] Popup Form In-Reply-To: <002401c7d724$1759bce0$0301a8c0@HAL9005> Message-ID: <20070805125720.F0C4CBD53@smtp-auth.no-ip.com> Rocky, Awhile back I published a class for automatically parsing and handling OpenArgs. I use this in my framework and it allows me to pass in OpenArgs in the now common format: VarName1=VarValue1;VarName2=VarValue2;etc;etc; The class parses the OpenArgs and places them in a collection so that the opening form can then use the openargs without having to do its own parsing. Since the OpenArgs class is passed in a reference to the form, the class also looks for Openargs whose names match form properties and if found applies the openarg(s) to the form property. Thus you can pass in openargs such as: AllowEdits=True;AllowDeletes=False;AllowAdditions=False;PKID=21;etc;etc; Notice that AllowEdits is the name of a form property. clsOpenArgs will automatically set AllowEdits of the form to True, AllowDeletes property to False, and AllowAdditions to false. It will also hold PKID in the OpenArgs collection so that the form can use that openarg for whatever the form is supposed to do with it (move to that PKID?). This class works well for doing exactly what you are discussing here, passing in specific form properties, EVEN properties that the simple docmd.OpenForm parameters will not allow you to directly pass and best of all just automatically applies the properties to the form. To get the class, go to http://www.databaseadvisors.com/downloads.asp and download my OpenArgs demo. It will give you the class as well as a working demo of using the class in a form, passing in form properties etc. The class is dead simple to use and can be used in any form where you need to pass in openargs and use them inside of the form, either directly in form properties or simply as values that the form needs to use for something. Classes are our friend. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Sunday, August 05, 2007 1:47 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Popup Form Dear List: Can a form be opened in either popup or not depending on the value of a switch? MTIA Rocky From rockysmolin at bchacc.com Sun Aug 5 08:31:06 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Sun, 5 Aug 2007 06:31:06 -0700 Subject: [AccessD] Popup Form In-Reply-To: <46B5803D.3010605@mvps.org> Message-ID: <001401c7d764$e06f9920$0301a8c0@HAL9005> Steve, et al: Dialog is the same as popup? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Schapel Sent: Sunday, August 05, 2007 12:46 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Popup Form Rocky, I think something like this should work... If YourSwitch Then DoCmd.OpenForm "YourForm", , , , , acDialog Else DoCmd.OpenForm "YourForm" End If Regards Steve Rocky Smolin at Beach Access Software wrote: > Can a form be opened in either popup or not depending on the value of > a switch? -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.4/936 - Release Date: 8/4/2007 2:42 PM From rockysmolin at bchacc.com Sun Aug 5 08:32:49 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Sun, 5 Aug 2007 06:32:49 -0700 Subject: [AccessD] Need SMTP Code In-Reply-To: <018d01c7d75d$2d00dc70$af15c048@fredxp> Message-ID: <001501c7d765$1e1bb6f0$0301a8c0@HAL9005> Fred: Seems too easy. :) CDO is a standard part of Windows? Or Access? Thanks and regards, Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Fred Hooper Sent: Sunday, August 05, 2007 5:36 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Need SMTP Code I've used the code below in many places. Fred Public Sub SendEmail(strFrom As String, strTo As String, strSubject As String, strMessage As String) Dim objEmail As Object Dim objMsg As Object Dim objConf As Object Dim Flds As Variant Set objMsg = CreateObject("cdo.message") Set objConf = CreateObject("cdo.configuration") Set Flds = objConf.Fields With Flds ' The first item with value "2" indicates that smpt is not installed on this machine .Item("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2 ' Next item is the name of the smpt server to use. ' Look in Outlook | Tools | Email Accounts | View or change... | Change to find .Item("http://schemas.microsoft.com/cdo/configuration/smtpserver") = "yourmailhost.com" ' This is the port the smpt server uses, 25 is the default .Item("http://schemas.microsoft.com/cdo/configuration/smptserverport") = 25 .Update End With With objMsg Set .configuration = objConf .To = strTo .from = strFrom .Subject = strSubject .Textbody = strMessage ' It doesn't work with more than one attachment ' .AddAttachment "c:\readme.txt" .Fields.Update .Send End With Set objMsg = Nothing Set objConf = Nothing End Sub -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Saturday, August 04, 2007 9:10 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Need SMTP Code Dear List: I have a lot of Access sites bookmarked but can never find what I need in them. I'm looking for some code to handle email from Access using SMTP. Does anyone know if there's a module I can crib from one of the many Access sites? MTIA Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.4/936 - Release Date: 8/4/2007 2:42 PM From rockysmolin at bchacc.com Sun Aug 5 08:34:42 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Sun, 5 Aug 2007 06:34:42 -0700 Subject: [AccessD] Popup Form In-Reply-To: <20070805125720.F0C4CBD53@smtp-auth.no-ip.com> Message-ID: <001601c7d765$61a831f0$0301a8c0@HAL9005> Can the popup property be set during the open event? The simple statement Me.Popup = True is failing in the open event. Regards, Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Sunday, August 05, 2007 5:57 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Popup Form Rocky, Awhile back I published a class for automatically parsing and handling OpenArgs. I use this in my framework and it allows me to pass in OpenArgs in the now common format: VarName1=VarValue1;VarName2=VarValue2;etc;etc; The class parses the OpenArgs and places them in a collection so that the opening form can then use the openargs without having to do its own parsing. Since the OpenArgs class is passed in a reference to the form, the class also looks for Openargs whose names match form properties and if found applies the openarg(s) to the form property. Thus you can pass in openargs such as: AllowEdits=True;AllowDeletes=False;AllowAdditions=False;PKID=21;etc;etc; Notice that AllowEdits is the name of a form property. clsOpenArgs will automatically set AllowEdits of the form to True, AllowDeletes property to False, and AllowAdditions to false. It will also hold PKID in the OpenArgs collection so that the form can use that openarg for whatever the form is supposed to do with it (move to that PKID?). This class works well for doing exactly what you are discussing here, passing in specific form properties, EVEN properties that the simple docmd.OpenForm parameters will not allow you to directly pass and best of all just automatically applies the properties to the form. To get the class, go to http://www.databaseadvisors.com/downloads.asp and download my OpenArgs demo. It will give you the class as well as a working demo of using the class in a form, passing in form properties etc. The class is dead simple to use and can be used in any form where you need to pass in openargs and use them inside of the form, either directly in form properties or simply as values that the form needs to use for something. Classes are our friend. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Sunday, August 05, 2007 1:47 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Popup Form Dear List: Can a form be opened in either popup or not depending on the value of a switch? MTIA Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.4/936 - Release Date: 8/4/2007 2:42 PM From jimdettman at verizon.net Sun Aug 5 09:28:13 2007 From: jimdettman at verizon.net (Jim Dettman) Date: Sun, 05 Aug 2007 10:28:13 -0400 Subject: [AccessD] Need SMTP Code In-Reply-To: <002001c7d6fd$5b538a60$0301a8c0@HAL9005> References: <002001c7d6fd$5b538a60$0301a8c0@HAL9005> Message-ID: <0cd201c7d76c$dcdbf170$8abea8c0@XPS> Rocky, see: http://www.freevbcode.com/ShowCode.Asp?ID=109 works well with Access. Have used it for years. Only requires one .DLL Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Saturday, August 04, 2007 9:10 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Need SMTP Code Dear List: I have a lot of Access sites bookmarked but can never find what I need in them. I'm looking for some code to handle email from Access using SMTP. Does anyone know if there's a module I can crib from one of the many Access sites? MTIA Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Sun Aug 5 10:44:19 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Sun, 5 Aug 2007 08:44:19 -0700 Subject: [AccessD] Need SMTP Code In-Reply-To: <0cd201c7d76c$dcdbf170$8abea8c0@XPS> Message-ID: <002001c7d777$7d2a9050$0301a8c0@HAL9005> Thanks. Looks easy enough. Is it better than the CDO approach? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Sunday, August 05, 2007 7:28 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Need SMTP Code Rocky, see: http://www.freevbcode.com/ShowCode.Asp?ID=109 works well with Access. Have used it for years. Only requires one .DLL Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Saturday, August 04, 2007 9:10 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Need SMTP Code Dear List: I have a lot of Access sites bookmarked but can never find what I need in them. I'm looking for some code to handle email from Access using SMTP. Does anyone know if there's a module I can crib from one of the many Access sites? MTIA Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.4/936 - Release Date: 8/4/2007 2:42 PM From fahooper at trapo.com Sun Aug 5 10:56:04 2007 From: fahooper at trapo.com (Fred Hooper) Date: Sun, 5 Aug 2007 11:56:04 -0400 Subject: [AccessD] Need SMTP Code In-Reply-To: <001501c7d765$1e1bb6f0$0301a8c0@HAL9005> Message-ID: <019701c7d779$213ae130$af15c048@fredxp> Rocky: I use the code on W2K servers (with and without Office installed) and XP pc's, haven't tried it on Vista. BTW, the "http://schemas.microsoft.com/cdo/configuration/smtpserver" does *not* contact Microsoft, which I determined when a client was concerned. A Google search on "cdo -debt -chromo Microsoft" got some interesting hits. Fred -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Sunday, August 05, 2007 9:33 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Need SMTP Code Fred: Seems too easy. :) CDO is a standard part of Windows? Or Access? Thanks and regards, Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Fred Hooper Sent: Sunday, August 05, 2007 5:36 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Need SMTP Code I've used the code below in many places. Fred Public Sub SendEmail(strFrom As String, strTo As String, strSubject As String, strMessage As String) Dim objEmail As Object Dim objMsg As Object Dim objConf As Object Dim Flds As Variant Set objMsg = CreateObject("cdo.message") Set objConf = CreateObject("cdo.configuration") Set Flds = objConf.Fields With Flds ' The first item with value "2" indicates that smpt is not installed on this machine .Item("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2 ' Next item is the name of the smpt server to use. ' Look in Outlook | Tools | Email Accounts | View or change... | Change to find .Item("http://schemas.microsoft.com/cdo/configuration/smtpserver") = "yourmailhost.com" ' This is the port the smpt server uses, 25 is the default .Item("http://schemas.microsoft.com/cdo/configuration/smptserverport") = 25 .Update End With With objMsg Set .configuration = objConf .To = strTo .from = strFrom .Subject = strSubject .Textbody = strMessage ' It doesn't work with more than one attachment ' .AddAttachment "c:\readme.txt" .Fields.Update .Send End With Set objMsg = Nothing Set objConf = Nothing End Sub -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Saturday, August 04, 2007 9:10 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Need SMTP Code Dear List: I have a lot of Access sites bookmarked but can never find what I need in them. I'm looking for some code to handle email from Access using SMTP. Does anyone know if there's a module I can crib from one of the many Access sites? MTIA Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.4/936 - Release Date: 8/4/2007 2:42 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at gmail.com Sun Aug 5 12:12:00 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Sun, 5 Aug 2007 13:12:00 -0400 Subject: [AccessD] Enterprise Data Storage Message-ID: <17c80a4d0708051012x20ca68fcjc1ed48c95c247afe@mail.gmail.com> I'm looking for someone with experience in Enterprise Data Storage -- SANS and the like. Please contact me privately at ssharkins at gmail.com -- this would involve writing. I sent this yesterday, but I haven't seen it come through and I suspect I sent it from the wrong account. If this is a repeat, I apologize. Susan H. From actebs at actebs.com.au Sun Aug 5 12:27:31 2007 From: actebs at actebs.com.au (ACTEBS) Date: Mon, 6 Aug 2007 03:27:31 +1000 Subject: [AccessD] Need SMTP Code In-Reply-To: <002001c7d777$7d2a9050$0301a8c0@HAL9005> Message-ID: <002201c7d785$e7330050$0d08a8c0@carltonone.local> Rocky, The easiest and feature rich method I have found useful is by using Blat. You can find it here: http://www.blat.net/ It even has an Access Class you can use already written: http://www.blat.net/examples/MSAccess_class.html Distribute Blat with your application and you won't need to worry about those annoying MS messages anymore. HTH Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Monday, 6 August 2007 1:44 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Need SMTP Code Thanks. Looks easy enough. Is it better than the CDO approach? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Sunday, August 05, 2007 7:28 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Need SMTP Code Rocky, see: http://www.freevbcode.com/ShowCode.Asp?ID=109 works well with Access. Have used it for years. Only requires one .DLL Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Saturday, August 04, 2007 9:10 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Need SMTP Code Dear List: I have a lot of Access sites bookmarked but can never find what I need in them. I'm looking for some code to handle email from Access using SMTP. Does anyone know if there's a module I can crib from one of the many Access sites? MTIA Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.4/936 - Release Date: 8/4/2007 2:42 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Sun Aug 5 12:59:12 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Sun, 5 Aug 2007 10:59:12 -0700 Subject: [AccessD] Need SMTP Code In-Reply-To: <002201c7d785$e7330050$0d08a8c0@carltonone.local> Message-ID: <003901c7d78a$54696340$0301a8c0@HAL9005> Dang! My cup runneth over. I'll check into this. Thanks. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of ACTEBS Sent: Sunday, August 05, 2007 10:28 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Need SMTP Code Rocky, The easiest and feature rich method I have found useful is by using Blat. You can find it here: http://www.blat.net/ It even has an Access Class you can use already written: http://www.blat.net/examples/MSAccess_class.html Distribute Blat with your application and you won't need to worry about those annoying MS messages anymore. HTH Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Monday, 6 August 2007 1:44 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Need SMTP Code Thanks. Looks easy enough. Is it better than the CDO approach? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Sunday, August 05, 2007 7:28 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Need SMTP Code Rocky, see: http://www.freevbcode.com/ShowCode.Asp?ID=109 works well with Access. Have used it for years. Only requires one .DLL Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Saturday, August 04, 2007 9:10 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Need SMTP Code Dear List: I have a lot of Access sites bookmarked but can never find what I need in them. I'm looking for some code to handle email from Access using SMTP. Does anyone know if there's a module I can crib from one of the many Access sites? MTIA Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.4/936 - Release Date: 8/4/2007 2:42 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.4/936 - Release Date: 8/4/2007 2:42 PM From miscellany at mvps.org Sun Aug 5 13:51:40 2007 From: miscellany at mvps.org (Steve Schapel) Date: Mon, 06 Aug 2007 06:51:40 +1200 Subject: [AccessD] Coordinating use of space on report In-Reply-To: <29f585dd0708050448w38e84f38laaebc26070d641bc@mail.gmail.com> References: <00b901c7d618$f168e0d0$0301a8c0@HAL9005> <46B5811A.80402@mvps.org> <29f585dd0708050448w38e84f38laaebc26070d641bc@mail.gmail.com> Message-ID: <46B61C3C.7090505@mvps.org> Thanks, Arthur. Yes, I think that will be a solution. It's just that the arithmetic will be a bit imprecise, as the number of available characters depends on the relative number of W's and m's in the dat, compared with the number of i's and l's. Regards Steve Arthur Fuller wrote: > What about doing a little arithmetic on each row? Would that work? You could > right-justify the score, count the characters in same, then print as many > chars of the team name as will still fit. From max at sherman.org.uk Sun Aug 5 14:03:21 2007 From: max at sherman.org.uk (Max Sherman) Date: Sun, 5 Aug 2007 20:03:21 +0100 Subject: [AccessD] Need SMTP Code In-Reply-To: <003901c7d78a$54696340$0301a8c0@HAL9005> References: <002201c7d785$e7330050$0d08a8c0@carltonone.local> <003901c7d78a$54696340$0301a8c0@HAL9005> Message-ID: <001601c7d793$51884d40$8119fea9@LTVM> Hi Rocky, Better to have too much then none at all, but when you come to compare them don't forget that with CDO you do not need any .dlls, classes, APIs, etc. Not even Outlook (so no Redemtion or click-yes required) or indeed any email client at all. Plus it can be sent easily using VBA code from within a module. All you need is the address of a domain that you can send email through. I will post a complete CDO package here soon. I am currently updating my EATBloat program with a complete overhaul and including the options to output individual objects and import them as well, plus some other features. Regards Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Sunday, August 05, 2007 6:59 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Need SMTP Code Dang! My cup runneth over. I'll check into this. Thanks. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of ACTEBS Sent: Sunday, August 05, 2007 10:28 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Need SMTP Code Rocky, The easiest and feature rich method I have found useful is by using Blat. You can find it here: http://www.blat.net/ It even has an Access Class you can use already written: http://www.blat.net/examples/MSAccess_class.html Distribute Blat with your application and you won't need to worry about those annoying MS messages anymore. HTH Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Monday, 6 August 2007 1:44 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Need SMTP Code Thanks. Looks easy enough. Is it better than the CDO approach? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Sunday, August 05, 2007 7:28 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Need SMTP Code Rocky, see: http://www.freevbcode.com/ShowCode.Asp?ID=109 works well with Access. Have used it for years. Only requires one .DLL Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Saturday, August 04, 2007 9:10 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Need SMTP Code Dear List: I have a lot of Access sites bookmarked but can never find what I need in them. I'm looking for some code to handle email from Access using SMTP. Does anyone know if there's a module I can crib from one of the many Access sites? MTIA Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.4/936 - Release Date: 8/4/2007 2:42 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.4/936 - Release Date: 8/4/2007 2:42 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From fuller.artful at gmail.com Sun Aug 5 14:07:07 2007 From: fuller.artful at gmail.com (Arthur Fuller) Date: Sun, 5 Aug 2007 15:07:07 -0400 Subject: [AccessD] Coordinating use of space on report In-Reply-To: <46B61C3C.7090505@mvps.org> References: <00b901c7d618$f168e0d0$0301a8c0@HAL9005> <46B5811A.80402@mvps.org> <29f585dd0708050448w38e84f38laaebc26070d641bc@mail.gmail.com> <46B61C3C.7090505@mvps.org> Message-ID: <29f585dd0708051207h6f1bd9e2x4c12d95609e46984@mail.gmail.com> Somewhere there must be a chart listing the horizontal space occupied by each of the 26 characters. Using it, you could count the occurrences of each, plus the spaces, do some addition and have a precise measurement. By the time you've got the count, though, the data in the whole report may be stale :) Regards, Arthur On 8/5/07, Steve Schapel wrote: > > Thanks, Arthur. Yes, I think that will be a solution. It's just that > the arithmetic will be a bit imprecise, as the number of available > characters depends on the relative number of W's and m's in the dat, > compared with the number of i's and l's. > > Regards > Steve > > > Arthur Fuller wrote: > > What about doing a little arithmetic on each row? Would that work? You > could > > right-justify the score, count the characters in same, then print as > many > > chars of the team name as will still fit. > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From max at sherman.org.uk Sun Aug 5 14:25:40 2007 From: max at sherman.org.uk (Max Sherman) Date: Sun, 5 Aug 2007 20:25:40 +0100 Subject: [AccessD] Popup Form In-Reply-To: <001401c7d764$e06f9920$0301a8c0@HAL9005> References: <46B5803D.3010605@mvps.org> <001401c7d764$e06f9920$0301a8c0@HAL9005> Message-ID: <001701c7d796$6982bb30$8119fea9@LTVM> I *think* you will find that the difference is that popup stays on top of everything whereas dialogue can be minimised. Haven't check though. Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Sunday, August 05, 2007 2:31 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Popup Form Steve, et al: Dialog is the same as popup? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Schapel Sent: Sunday, August 05, 2007 12:46 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Popup Form Rocky, I think something like this should work... If YourSwitch Then DoCmd.OpenForm "YourForm", , , , , acDialog Else DoCmd.OpenForm "YourForm" End If Regards Steve Rocky Smolin at Beach Access Software wrote: > Can a form be opened in either popup or not depending on the value of > a switch? -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.4/936 - Release Date: 8/4/2007 2:42 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Sun Aug 5 15:59:23 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Sun, 5 Aug 2007 13:59:23 -0700 Subject: [AccessD] Popup Form In-Reply-To: <001701c7d796$6982bb30$8119fea9@LTVM> Message-ID: <004301c7d7a3$80c5b470$0301a8c0@HAL9005> I'll have to try it with the minimize button disabled - see what happens. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Max Sherman Sent: Sunday, August 05, 2007 12:26 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Popup Form I *think* you will find that the difference is that popup stays on top of everything whereas dialogue can be minimised. Haven't check though. Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Sunday, August 05, 2007 2:31 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Popup Form Steve, et al: Dialog is the same as popup? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Schapel Sent: Sunday, August 05, 2007 12:46 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Popup Form Rocky, I think something like this should work... If YourSwitch Then DoCmd.OpenForm "YourForm", , , , , acDialog Else DoCmd.OpenForm "YourForm" End If Regards Steve Rocky Smolin at Beach Access Software wrote: > Can a form be opened in either popup or not depending on the value of > a switch? -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.4/936 - Release Date: 8/4/2007 2:42 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.4/936 - Release Date: 8/4/2007 2:42 PM From rockysmolin at bchacc.com Sun Aug 5 16:01:30 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Sun, 5 Aug 2007 14:01:30 -0700 Subject: [AccessD] Popup Form In-Reply-To: <001701c7d796$6982bb30$8119fea9@LTVM> Message-ID: <004401c7d7a3$cc86b5d0$0301a8c0@HAL9005> OK. I'm leaning towards CDO. At least it looks like just a few minutes to gen it up and test it. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Max Sherman Sent: Sunday, August 05, 2007 12:26 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Popup Form I *think* you will find that the difference is that popup stays on top of everything whereas dialogue can be minimised. Haven't check though. Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Sunday, August 05, 2007 2:31 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Popup Form Steve, et al: Dialog is the same as popup? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Schapel Sent: Sunday, August 05, 2007 12:46 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Popup Form Rocky, I think something like this should work... If YourSwitch Then DoCmd.OpenForm "YourForm", , , , , acDialog Else DoCmd.OpenForm "YourForm" End If Regards Steve Rocky Smolin at Beach Access Software wrote: > Can a form be opened in either popup or not depending on the value of > a switch? -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.4/936 - Release Date: 8/4/2007 2:42 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.4/936 - Release Date: 8/4/2007 2:42 PM From martyconnelly at shaw.ca Sun Aug 5 16:20:09 2007 From: martyconnelly at shaw.ca (MartyConnelly) Date: Sun, 05 Aug 2007 14:20:09 -0700 Subject: [AccessD] Popup Form In-Reply-To: <004401c7d7a3$cc86b5d0$0301a8c0@HAL9005> References: <004401c7d7a3$cc86b5d0$0301a8c0@HAL9005> Message-ID: <46B63F09.20605@shaw.ca> Here is my test code for CDO along with some notes 2 things to note with this method This code wont run exactly unless you are on cable modem or inside a LAN or maybe VPN and signed on in whatever is your domain, your cable modem is a node in your ISP domain. So it will probably fail on dial-up modems. I haven't really tested this. If you type in an illegal or wrong smtp address here, program will run for 30- 60 seconds and finally give transport error. So it isn't really hung. 'The example code is using CDOSYS (CDO for Windows 2000 or XP). 'I dont think I would want to go back to CDONTS for earlier systems 'It does not depend on MAPI or CDO or Outlook 'It does not use your mailbox to send email. ' So you can send mail without a mail program or mail account ' This code builds the message and drops it into a pickup directory, ' and the SMTP service running on the machine ' picks it up and send it out to the internet. 'So why use CDO code instead of Outlook automation or Application.SendMail in VBA. ' It doesn't matter what Mail program you are using (It uses the SMTP server). ' It doesn't matter what Office version you are using. ' supposedly you can send an object or file in the body of the mail (some mail programs can't do this) ' haven't verified this ' You can send any file attachment you like. ' No Outlook Security warning so no need for Redemption ' You probably wont have your mail server full expanded smtp address 'If you go into netscape mail or outlook and look for the smtp name 'It will look like mine, "shawmail" or "shawnews" this dns resolves 'to "shawmail.cg.shawcable.net" CDO doesn't resolve this short name so 'The quickest way to get this actual address without using registry et al. 'is run cmd and ping "shawmail" to return full qualified smtp address. 'This code wont run exactly unless you are on cable and signed on in the Shaw or whatever is your domain, your cable modem is a node in their domain Sub SendCDO() ' This example use late binding of CDOSys, you don't have to set a reference ' You must be online to net when you run the sub ' You must be running WinXP or Win2000 Dim cdoMessage As Object Dim objCDOMail As Object Dim strschema As String On Error GoTo ErrorHandler ' Enable error-handling routine. ' Set cdoMessage = CreateObject("CDO.Message") Set objCDOMail = CreateObject("CDO.Configuration") strschema = "http://schemas.microsoft.com/cdo/configuration/" objCDOMail.Load -1 ' CDO Source Default 'If you have illegal or wrong smtp address here it will run for 30- 60 seconds and finally give transport error With objCDOMail.Fields .Item(strschema & "sendusing") = 2 ' cdoSendUsingPort .Item(strschema & "smtpserver") = "shawmail.cg.shawcable.net" ' "Your SMTP server address here" .Item(strschema & "smtpserverport") = 25 'specify port number .Update End With With cdoMessage Set .Configuration = objCDOMail .to = "macon at g..." .From = "Winnie The Pooh " .CC = "" .BCC = "" .Subject = "This is another test from marty" .TextBody = "This is the text in the body just cdo defaults" .AddAttachment "C:\temp2\rptSampleCount.rtf" .AddAttachment "C:\temp2\frontimage.jpeg" .send End With Set cdoMessage = Nothing Set objCDOMail = Nothing Exit Sub ' Exit to avoid handler. ErrorHandler: ' Error-handling routine. Debug.Print Err.Number & "-" & Err.Description Set cdoMessage = Nothing Set objCDOMail = Nothing Exit Sub End Sub Rocky Smolin at Beach Access Software wrote: >OK. I'm leaning towards CDO. At least it looks like just a few minutes to >gen it up and test it. > >Rocky > > -- Marty Connelly Victoria, B.C. Canada From jwcolby at colbyconsulting.com Sun Aug 5 16:23:42 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sun, 5 Aug 2007 17:23:42 -0400 Subject: [AccessD] Popup Form In-Reply-To: <001601c7d765$61a831f0$0301a8c0@HAL9005> Message-ID: <20070805212343.54A3FBD6D@smtp-auth.no-ip.com> Well there is a good question. Let me try it. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Sunday, August 05, 2007 9:35 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Popup Form Can the popup property be set during the open event? The simple statement Me.Popup = True is failing in the open event. Regards, Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Sunday, August 05, 2007 5:57 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Popup Form Rocky, Awhile back I published a class for automatically parsing and handling OpenArgs. I use this in my framework and it allows me to pass in OpenArgs in the now common format: VarName1=VarValue1;VarName2=VarValue2;etc;etc; The class parses the OpenArgs and places them in a collection so that the opening form can then use the openargs without having to do its own parsing. Since the OpenArgs class is passed in a reference to the form, the class also looks for Openargs whose names match form properties and if found applies the openarg(s) to the form property. Thus you can pass in openargs such as: AllowEdits=True;AllowDeletes=False;AllowAdditions=False;PKID=21;etc;etc; Notice that AllowEdits is the name of a form property. clsOpenArgs will automatically set AllowEdits of the form to True, AllowDeletes property to False, and AllowAdditions to false. It will also hold PKID in the OpenArgs collection so that the form can use that openarg for whatever the form is supposed to do with it (move to that PKID?). This class works well for doing exactly what you are discussing here, passing in specific form properties, EVEN properties that the simple docmd.OpenForm parameters will not allow you to directly pass and best of all just automatically applies the properties to the form. To get the class, go to http://www.databaseadvisors.com/downloads.asp and download my OpenArgs demo. It will give you the class as well as a working demo of using the class in a form, passing in form properties etc. The class is dead simple to use and can be used in any form where you need to pass in openargs and use them inside of the form, either directly in form properties or simply as values that the form needs to use for something. Classes are our friend. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Sunday, August 05, 2007 1:47 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Popup Form Dear List: Can a form be opened in either popup or not depending on the value of a switch? MTIA Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.4/936 - Release Date: 8/4/2007 2:42 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From john at winhaven.net Sun Aug 5 17:05:58 2007 From: john at winhaven.net (John Bartow) Date: Sun, 5 Aug 2007 17:05:58 -0500 Subject: [AccessD] Popup Form In-Reply-To: <004301c7d7a3$80c5b470$0301a8c0@HAL9005> References: <001701c7d796$6982bb30$8119fea9@LTVM> <004301c7d7a3$80c5b470$0301a8c0@HAL9005> Message-ID: <024c01c7d7ac$cdd1e460$6402a8c0@ScuzzPaq> "Modal" would be another property you might be interested in. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Sunday, August 05, 2007 3:59 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Popup Form I'll have to try it with the minimize button disabled - see what happens. From rockysmolin at bchacc.com Sun Aug 5 17:46:37 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Sun, 5 Aug 2007 15:46:37 -0700 Subject: [AccessD] Popup Form In-Reply-To: <46B63F09.20605@shaw.ca> Message-ID: <005401c7d7b2$7b771220$0301a8c0@HAL9005> Thanks. I think I'll give that a try. Stand by for 20 questions. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: Sunday, August 05, 2007 2:20 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Popup Form Here is my test code for CDO along with some notes 2 things to note with this method This code wont run exactly unless you are on cable modem or inside a LAN or maybe VPN and signed on in whatever is your domain, your cable modem is a node in your ISP domain. So it will probably fail on dial-up modems. I haven't really tested this. If you type in an illegal or wrong smtp address here, program will run for 30- 60 seconds and finally give transport error. So it isn't really hung. 'The example code is using CDOSYS (CDO for Windows 2000 or XP). 'I dont think I would want to go back to CDONTS for earlier systems 'It does not depend on MAPI or CDO or Outlook 'It does not use your mailbox to send email. ' So you can send mail without a mail program or mail account ' This code builds the message and drops it into a pickup directory, ' and the SMTP service running on the machine ' picks it up and send it out to the internet. 'So why use CDO code instead of Outlook automation or Application.SendMail in VBA. ' It doesn't matter what Mail program you are using (It uses the SMTP server). ' It doesn't matter what Office version you are using. ' supposedly you can send an object or file in the body of the mail (some mail programs can't do this) ' haven't verified this ' You can send any file attachment you like. ' No Outlook Security warning so no need for Redemption ' You probably wont have your mail server full expanded smtp address 'If you go into netscape mail or outlook and look for the smtp name 'It will look like mine, "shawmail" or "shawnews" this dns resolves 'to "shawmail.cg.shawcable.net" CDO doesn't resolve this short name so 'The quickest way to get this actual address without using registry et al. 'is run cmd and ping "shawmail" to return full qualified smtp address. 'This code wont run exactly unless you are on cable and signed on in the Shaw or whatever is your domain, your cable modem is a node in their domain Sub SendCDO() ' This example use late binding of CDOSys, you don't have to set a reference ' You must be online to net when you run the sub ' You must be running WinXP or Win2000 Dim cdoMessage As Object Dim objCDOMail As Object Dim strschema As String On Error GoTo ErrorHandler ' Enable error-handling routine. ' Set cdoMessage = CreateObject("CDO.Message") Set objCDOMail = CreateObject("CDO.Configuration") strschema = "http://schemas.microsoft.com/cdo/configuration/" objCDOMail.Load -1 ' CDO Source Default 'If you have illegal or wrong smtp address here it will run for 30- 60 seconds and finally give transport error With objCDOMail.Fields .Item(strschema & "sendusing") = 2 ' cdoSendUsingPort .Item(strschema & "smtpserver") = "shawmail.cg.shawcable.net" ' "Your SMTP server address here" .Item(strschema & "smtpserverport") = 25 'specify port number .Update End With With cdoMessage Set .Configuration = objCDOMail .to = "macon at g..." .From = "Winnie The Pooh " .CC = "" .BCC = "" .Subject = "This is another test from marty" .TextBody = "This is the text in the body just cdo defaults" .AddAttachment "C:\temp2\rptSampleCount.rtf" .AddAttachment "C:\temp2\frontimage.jpeg" .send End With Set cdoMessage = Nothing Set objCDOMail = Nothing Exit Sub ' Exit to avoid handler. ErrorHandler: ' Error-handling routine. Debug.Print Err.Number & "-" & Err.Description Set cdoMessage = Nothing Set objCDOMail = Nothing Exit Sub End Sub Rocky Smolin at Beach Access Software wrote: >OK. I'm leaning towards CDO. At least it looks like just a few >minutes to gen it up and test it. > >Rocky > > -- Marty Connelly Victoria, B.C. Canada -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.4/936 - Release Date: 8/4/2007 2:42 PM From rockysmolin at bchacc.com Sun Aug 5 19:25:12 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Sun, 5 Aug 2007 17:25:12 -0700 Subject: [AccessD] Duplicate Record? Message-ID: <005801c7d7c0$410fb6b0$0301a8c0@HAL9005> Dear List: I guess this is my weekend for questions. Using DAO I am creating a temp table of emails to be sent. So I do an .AddNew and assemble the data in the fields of the new record. Just before I .Update, I want to look at the existing records in the recordset and if the record I've just created is a duplicate I don't want to add the record so the person only gets one email. My first idea was to brute force check each field in a FindFirst but there must be a simpler or more elegant way of doing this. There are seven fields to check. MTIA Rocky From jwcolby at colbyconsulting.com Sun Aug 5 20:28:31 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sun, 5 Aug 2007 21:28:31 -0400 Subject: [AccessD] Duplicate Record? In-Reply-To: <005801c7d7c0$410fb6b0$0301a8c0@HAL9005> Message-ID: <20070806012834.BAF0EBCC8@smtp-auth.no-ip.com> Build a unique index on all seven fields. Then when you save, if it goes in, there is no duplicate. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Sunday, August 05, 2007 8:25 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Duplicate Record? Dear List: I guess this is my weekend for questions. Using DAO I am creating a temp table of emails to be sent. So I do an .AddNew and assemble the data in the fields of the new record. Just before I .Update, I want to look at the existing records in the recordset and if the record I've just created is a duplicate I don't want to add the record so the person only gets one email. My first idea was to brute force check each field in a FindFirst but there must be a simpler or more elegant way of doing this. There are seven fields to check. MTIA Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From wdhindman at dejpolsystems.com Sun Aug 5 21:34:38 2007 From: wdhindman at dejpolsystems.com (William Hindman) Date: Sun, 5 Aug 2007 22:34:38 -0400 Subject: [AccessD] Need SMTP Code References: <002201c7d785$e7330050$0d08a8c0@carltonone.local><003901c7d78a$54696340$0301a8c0@HAL9005> <001601c7d793$51884d40$8119fea9@LTVM> Message-ID: <000b01c7d7d2$563a6500$517a6c4c@jisshowsbs.local> Max ...if you need any beta testers, let me know ...I've got your EatBloat built into every app. William Hindman ----- Original Message ----- From: "Max Sherman" To: "'Access Developers discussion and problem solving'" Sent: Sunday, August 05, 2007 3:03 PM Subject: Re: [AccessD] Need SMTP Code > Hi Rocky, > > Better to have too much then none at all, but when you come to compare > them > don't forget that with CDO you do not need any .dlls, classes, APIs, etc. > Not even Outlook (so no Redemtion or click-yes required) or indeed any > email > client at all. Plus it can be sent easily using VBA code from within a > module. All you need is the address of a domain that you can send email > through. > > I will post a complete CDO package here soon. I am currently updating my > EATBloat program with a complete overhaul and including the options to > output individual objects and import them as well, plus some other > features. > > Regards > Max > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at > Beach Access Software > Sent: Sunday, August 05, 2007 6:59 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Need SMTP Code > > Dang! My cup runneth over. I'll check into this. > > Thanks. > > Rocky > > > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of ACTEBS > Sent: Sunday, August 05, 2007 10:28 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Need SMTP Code > > Rocky, > > The easiest and feature rich method I have found useful is by using Blat. > You can find it here: > > http://www.blat.net/ > > It even has an Access Class you can use already written: > > http://www.blat.net/examples/MSAccess_class.html > > Distribute Blat with your application and you won't need to worry about > those annoying MS messages anymore. > > HTH > > Vlad > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at > Beach Access Software > Sent: Monday, 6 August 2007 1:44 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Need SMTP Code > > Thanks. Looks easy enough. Is it better than the CDO approach? > > Rocky > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman > Sent: Sunday, August 05, 2007 7:28 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Need SMTP Code > > Rocky, > > see: > > http://www.freevbcode.com/ShowCode.Asp?ID=109 > > works well with Access. Have used it for years. Only requires one .DLL > > Jim. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at > Beach Access Software > Sent: Saturday, August 04, 2007 9:10 PM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] Need SMTP Code > > Dear List: > > > I have a lot of Access sites bookmarked but can never find what I need in > them. I'm looking for some code to handle email from Access using SMTP. > Does anyone know if there's a module I can crib from one of the many > Access > sites? > > MTIA > > Rocky > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.476 / Virus Database: 269.11.4/936 - Release Date: 8/4/2007 > 2:42 PM > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.476 / Virus Database: 269.11.4/936 - Release Date: 8/4/2007 > 2:42 PM > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From rbgajewski at roadrunner.com Mon Aug 6 00:36:45 2007 From: rbgajewski at roadrunner.com (Bob Gajewski) Date: Mon, 6 Aug 2007 01:36:45 -0400 Subject: [AccessD] Problem with A2003 Report caption In-Reply-To: <004301c7d4b4$496e84d0$0301a8c0@HAL9005> References: <20070801123650.4227B4F5DC@smtp.nildram.co.uk> <004301c7d4b4$496e84d0$0301a8c0@HAL9005> Message-ID: <001201c7d7eb$c71113a0$6400a8c0@DCYN3T81> Hi Folks I am running into a problem with a new report. I am using a form to select record types and a date range, and passing the parameters to the report. Everything is working perfectly and as expected *EXCEPT* that my report caption does not print on the first page. It's there from Page 2 through the end, regardless of how many pages. My form code sample is below. I have confirmed that the value of "frmDateRange" just prior to the OpenReport is "1". On the actual report, the unbound text field for the report title has a control source of "=[Caption]". If anyone has any ideas on how to fix this, or can at least point me in the right direction, I will be truly grateful. Thanks ! Bob Gajewski CODE SAMPLE (frmMembersResponses) ================================= Private Sub cmdGenerateReport_Click() On Error GoTo Err_cmdGenerateReport_Click Dim strReportName As String, strWhere As String strReportName = "rptMembersResponse" strWhere = "" ' Set strWhere for Date Range If Not IsNull(Me!dteDateRangeSelectFrom) Or Me!dteDateRangeSelectFrom <> "" Then If IsNull(strWhere) Or strWhere = "" Then strWhere = "([IncidentDate] >= #" & Me!dteDateRangeSelectFrom & "#)" Else strWhere = "(" & strWhere & ") And ([IncidentDate] >= #" & Me!dteDateRangeSelectFrom & "#)" End If End If If Not IsNull(Me!dteDateRangeSelectTo) Or Me!dteDateRangeSelectTo <> "" Then If IsNull(strWhere) Or strWhere = "" Then strWhere = "([IncidentDate] <= #" & Me!dteDateRangeSelectTo & "#)" Else strWhere = "(" & strWhere & ") And ([IncidentDate] <= #" & Me!dteDateRangeSelectTo & "#)" End If End If ' Print report Dim rpt As Report, strReportCaption As String If IsNull(strWhere) Or strWhere = "" Then Select Case frmDateRange Case 1 strReportCaption = "Member Responses for Call Year " & Format([dteDateRangeSelectFrom], "MM/DD/YYYY") & " - " & Format([dteDateRangeSelectTo], "MM/DD/YYYY") Case 2 strReportCaption = "Member Responses for Calendar Year " & DatePart("yyyy", [dteDateRangeSelectFrom]) Case 3 strReportCaption = "Member Responses for " & Format([dteDateRangeSelectFrom], "MM/DD/YYYY") & " - " & Format([dteDateRangeSelectTo], "MM/DD/YYYY") Case Else strReportCaption = "Member Responses" End Select Else Select Case frmDateRange Case 1 strReportCaption = "Selected Member Responses for Call Year " & Format([dteDateRangeSelectFrom], "MM/DD/YYYY") & " - " & Format([dteDateRangeSelectTo], "MM/DD/YYYY") Case 2 strReportCaption = "Selected Member Responses for Calendar Year " & DatePart("yyyy", [dteDateRangeSelectFrom]) Case 3 strReportCaption = "Selected Member Responses for " & Format([dteDateRangeSelectFrom], "MM/DD/YYYY") & " - " & Format([dteDateRangeSelectTo], "MM/DD/YYYY") Case Else strReportCaption = "Selected Member Responses" End Select End If MsgBox ("The value of 'strReportCaption' is " & strReportCaption & ".") DoCmd.OpenReport strReportName, acViewPreview, , strWhere Set rpt = Reports(strReportName) rpt.OrderByOn = True rpt.OrderBy = strSortOrder rpt.Caption = strReportCaption No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.4/936 - Release Date: 08/04/2007 14:42 PM From max at sherman.org.uk Mon Aug 6 02:00:46 2007 From: max at sherman.org.uk (Max Sherman) Date: Mon, 6 Aug 2007 08:00:46 +0100 Subject: [AccessD] Need SMTP Code - renamed EATBloat In-Reply-To: <000b01c7d7d2$563a6500$517a6c4c@jisshowsbs.local> References: <002201c7d785$e7330050$0d08a8c0@carltonone.local><003901c7d78a$54696340$0301a8c0@HAL9005><001601c7d793$51884d40$8119fea9@LTVM> <000b01c7d7d2$563a6500$517a6c4c@jisshowsbs.local> Message-ID: <001e01c7d7f7$847bfa80$8119fea9@LTVM> Hi William, Me too . In fact all my new mdbs start off with a copy of EATBloat (renamed to whatever) and then build/import from there. Thanks for the offer. Regards Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Monday, August 06, 2007 3:35 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Need SMTP Code Max ...if you need any beta testers, let me know ...I've got your EatBloat built into every app. William Hindman ----- Original Message ----- From: "Max Sherman" To: "'Access Developers discussion and problem solving'" Sent: Sunday, August 05, 2007 3:03 PM Subject: Re: [AccessD] Need SMTP Code > Hi Rocky, > > Better to have too much then none at all, but when you come to > compare them don't forget that with CDO you do not need any .dlls, > classes, APIs, etc. > Not even Outlook (so no Redemtion or click-yes required) or indeed any > email client at all. Plus it can be sent easily using VBA code from > within a module. All you need is the address of a domain that you can > send email through. > > I will post a complete CDO package here soon. I am currently updating > my EATBloat program with a complete overhaul and including the > options to output individual objects and import them as well, plus > some other features. > > Regards > Max > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky > Smolin at Beach Access Software > Sent: Sunday, August 05, 2007 6:59 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Need SMTP Code > > Dang! My cup runneth over. I'll check into this. > > Thanks. > > Rocky > > > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of ACTEBS > Sent: Sunday, August 05, 2007 10:28 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Need SMTP Code > > Rocky, > > The easiest and feature rich method I have found useful is by using Blat. > You can find it here: > > http://www.blat.net/ > > It even has an Access Class you can use already written: > > http://www.blat.net/examples/MSAccess_class.html > > Distribute Blat with your application and you won't need to worry > about those annoying MS messages anymore. > > HTH > > Vlad > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky > Smolin at Beach Access Software > Sent: Monday, 6 August 2007 1:44 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Need SMTP Code > > Thanks. Looks easy enough. Is it better than the CDO approach? > > Rocky > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman > Sent: Sunday, August 05, 2007 7:28 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Need SMTP Code > > Rocky, > > see: > > http://www.freevbcode.com/ShowCode.Asp?ID=109 > > works well with Access. Have used it for years. Only requires one > .DLL > > Jim. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky > Smolin at Beach Access Software > Sent: Saturday, August 04, 2007 9:10 PM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] Need SMTP Code > > Dear List: > > > I have a lot of Access sites bookmarked but can never find what I need > in them. I'm looking for some code to handle email from Access using SMTP. > Does anyone know if there's a module I can crib from one of the many > Access sites? > > MTIA > > Rocky > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.476 / Virus Database: 269.11.4/936 - Release Date: > 8/4/2007 > 2:42 PM > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.476 / Virus Database: 269.11.4/936 - Release Date: > 8/4/2007 > 2:42 PM > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at verizon.net Mon Aug 6 07:54:29 2007 From: jimdettman at verizon.net (Jim Dettman) Date: Mon, 06 Aug 2007 08:54:29 -0400 Subject: [AccessD] Need SMTP Code In-Reply-To: <002001c7d777$7d2a9050$0301a8c0@HAL9005> References: <0cd201c7d76c$dcdbf170$8abea8c0@XPS> <002001c7d777$7d2a9050$0301a8c0@HAL9005> Message-ID: <00b201c7d828$ee31c8c0$8abea8c0@XPS> Rocky, I'm not sure "better" would be the correct word, but I do find it simpler. I need only one .DLL to be registered to make the code work. BLAT is even simpler yet, but unless you use the DLL version, you have no error checking or real control over it. And last I checked, the .DLL version was lacking several key features and was a rev or two behind the command line interface. CDO has come along way. Early on there were multiple versions and they all didn't work the same. I've been quite happy with the direct SMTP code I've been using and have not needed to develop anything more sophisticated, so I have not taken another look at CDO in a long time. I believe that you still need to rely on it being installed and it only comes with certain Microsoft products. There is no separate download that I'm aware of. This is another reason I've not used it as I like to provide my apps with everything that's required and not rely on external products if at all possible. But it certainly has a lot more capabilities then sending e-mail and it may be worth starting down that road to get a handle on it for the future. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Sunday, August 05, 2007 11:44 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Need SMTP Code Thanks. Looks easy enough. Is it better than the CDO approach? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Sunday, August 05, 2007 7:28 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Need SMTP Code Rocky, see: http://www.freevbcode.com/ShowCode.Asp?ID=109 works well with Access. Have used it for years. Only requires one .DLL Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Saturday, August 04, 2007 9:10 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Need SMTP Code Dear List: I have a lot of Access sites bookmarked but can never find what I need in them. I'm looking for some code to handle email from Access using SMTP. Does anyone know if there's a module I can crib from one of the many Access sites? MTIA Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.4/936 - Release Date: 8/4/2007 2:42 PM -- 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 6 08:16:50 2007 From: dwaters at usinternet.com (Dan Waters) Date: Mon, 6 Aug 2007 08:16:50 -0500 Subject: [AccessD] Need SMTP Code In-Reply-To: <00b201c7d828$ee31c8c0$8abea8c0@XPS> References: <0cd201c7d76c$dcdbf170$8abea8c0@XPS><002001c7d777$7d2a9050$0301a8c0@HAL9005> <00b201c7d828$ee31c8c0$8abea8c0@XPS> Message-ID: <001201c7d82c$0d61c3a0$0200a8c0@danwaters> Rocky, I've used vbSendMail for several years also, and it works well. Also has a great user manual. I've incorporated the code into a single module in my Access apps. The one thing I would like to do but not sure how is to write a class that detects and reports SMTP errors (Access can't do this). The Let and Get properties are already there, I'm just don't know how to use them. Of course, the manual's author says it's easy. You do need error trapping in your app that can detect if the .dll file is not present, so the IT folks at your client can install and register the files (they tend to forget to install them with a replacement PC). You'll get 429 and 91 errors if it's not there. Other than this, I've had no other errors. It's at http://www.freevbcode.com/ShowCode.Asp?ID=109 and is called vbSendMail. HTH! Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Monday, August 06, 2007 7:54 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Need SMTP Code Rocky, I'm not sure "better" would be the correct word, but I do find it simpler. I need only one .DLL to be registered to make the code work. BLAT is even simpler yet, but unless you use the DLL version, you have no error checking or real control over it. And last I checked, the .DLL version was lacking several key features and was a rev or two behind the command line interface. CDO has come along way. Early on there were multiple versions and they all didn't work the same. I've been quite happy with the direct SMTP code I've been using and have not needed to develop anything more sophisticated, so I have not taken another look at CDO in a long time. I believe that you still need to rely on it being installed and it only comes with certain Microsoft products. There is no separate download that I'm aware of. This is another reason I've not used it as I like to provide my apps with everything that's required and not rely on external products if at all possible. But it certainly has a lot more capabilities then sending e-mail and it may be worth starting down that road to get a handle on it for the future. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Sunday, August 05, 2007 11:44 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Need SMTP Code Thanks. Looks easy enough. Is it better than the CDO approach? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Sunday, August 05, 2007 7:28 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Need SMTP Code Rocky, see: http://www.freevbcode.com/ShowCode.Asp?ID=109 works well with Access. Have used it for years. Only requires one .DLL Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Saturday, August 04, 2007 9:10 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Need SMTP Code Dear List: I have a lot of Access sites bookmarked but can never find what I need in them. I'm looking for some code to handle email from Access using SMTP. Does anyone know if there's a module I can crib from one of the many Access sites? MTIA Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.4/936 - Release Date: 8/4/2007 2:42 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Mon Aug 6 08:58:52 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Mon, 6 Aug 2007 06:58:52 -0700 Subject: [AccessD] Need SMTP Code In-Reply-To: <001201c7d82c$0d61c3a0$0200a8c0@danwaters> Message-ID: <001401c7d831$ebd35040$0301a8c0@HAL9005> Dan: Sterling endorsement. :) Looks like a good candidate. Simplest for the end user is best. With vbSendMail does the user have to know their server name, port, etc.? The less stuff they have to know the better. Thanks Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Monday, August 06, 2007 6:17 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Need SMTP Code Rocky, I've used vbSendMail for several years also, and it works well. Also has a great user manual. I've incorporated the code into a single module in my Access apps. The one thing I would like to do but not sure how is to write a class that detects and reports SMTP errors (Access can't do this). The Let and Get properties are already there, I'm just don't know how to use them. Of course, the manual's author says it's easy. You do need error trapping in your app that can detect if the .dll file is not present, so the IT folks at your client can install and register the files (they tend to forget to install them with a replacement PC). You'll get 429 and 91 errors if it's not there. Other than this, I've had no other errors. It's at http://www.freevbcode.com/ShowCode.Asp?ID=109 and is called vbSendMail. HTH! Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Monday, August 06, 2007 7:54 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Need SMTP Code Rocky, I'm not sure "better" would be the correct word, but I do find it simpler. I need only one .DLL to be registered to make the code work. BLAT is even simpler yet, but unless you use the DLL version, you have no error checking or real control over it. And last I checked, the .DLL version was lacking several key features and was a rev or two behind the command line interface. CDO has come along way. Early on there were multiple versions and they all didn't work the same. I've been quite happy with the direct SMTP code I've been using and have not needed to develop anything more sophisticated, so I have not taken another look at CDO in a long time. I believe that you still need to rely on it being installed and it only comes with certain Microsoft products. There is no separate download that I'm aware of. This is another reason I've not used it as I like to provide my apps with everything that's required and not rely on external products if at all possible. But it certainly has a lot more capabilities then sending e-mail and it may be worth starting down that road to get a handle on it for the future. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Sunday, August 05, 2007 11:44 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Need SMTP Code Thanks. Looks easy enough. Is it better than the CDO approach? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Sunday, August 05, 2007 7:28 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Need SMTP Code Rocky, see: http://www.freevbcode.com/ShowCode.Asp?ID=109 works well with Access. Have used it for years. Only requires one .DLL Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Saturday, August 04, 2007 9:10 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Need SMTP Code Dear List: I have a lot of Access sites bookmarked but can never find what I need in them. I'm looking for some code to handle email from Access using SMTP. Does anyone know if there's a module I can crib from one of the many Access sites? MTIA Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.4/936 - Release Date: 8/4/2007 2:42 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.6/938 - Release Date: 8/5/2007 4:16 PM From dwaters at usinternet.com Mon Aug 6 09:18:14 2007 From: dwaters at usinternet.com (Dan Waters) Date: Mon, 6 Aug 2007 09:18:14 -0500 Subject: [AccessD] Need SMTP Code In-Reply-To: <001401c7d831$ebd35040$0301a8c0@HAL9005> References: <001201c7d82c$0d61c3a0$0200a8c0@danwaters> <001401c7d831$ebd35040$0301a8c0@HAL9005> Message-ID: <001601c7d834$a0e61240$0200a8c0@danwaters> Rocky, Users don't need to know anything. In fact, the email will go out without even telling them anything happened, unless you put up a dialog box to tell them! But in the BE somewhere you need to store the SMTP Server Name - every company has their own. IT will know what it is, and you may want to set up a form for them to change it as needed. In the SMTP code module, you'll need to recall that SMTP Server Name, and set a property for the vbSendMail object. By tomorrow, I will post generic code showing how I've set up my SMTP code module. Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Monday, August 06, 2007 8:59 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Need SMTP Code Dan: Sterling endorsement. :) Looks like a good candidate. Simplest for the end user is best. With vbSendMail does the user have to know their server name, port, etc.? The less stuff they have to know the better. Thanks Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Monday, August 06, 2007 6:17 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Need SMTP Code Rocky, I've used vbSendMail for several years also, and it works well. Also has a great user manual. I've incorporated the code into a single module in my Access apps. The one thing I would like to do but not sure how is to write a class that detects and reports SMTP errors (Access can't do this). The Let and Get properties are already there, I'm just don't know how to use them. Of course, the manual's author says it's easy. You do need error trapping in your app that can detect if the .dll file is not present, so the IT folks at your client can install and register the files (they tend to forget to install them with a replacement PC). You'll get 429 and 91 errors if it's not there. Other than this, I've had no other errors. It's at http://www.freevbcode.com/ShowCode.Asp?ID=109 and is called vbSendMail. HTH! Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Monday, August 06, 2007 7:54 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Need SMTP Code Rocky, I'm not sure "better" would be the correct word, but I do find it simpler. I need only one .DLL to be registered to make the code work. BLAT is even simpler yet, but unless you use the DLL version, you have no error checking or real control over it. And last I checked, the .DLL version was lacking several key features and was a rev or two behind the command line interface. CDO has come along way. Early on there were multiple versions and they all didn't work the same. I've been quite happy with the direct SMTP code I've been using and have not needed to develop anything more sophisticated, so I have not taken another look at CDO in a long time. I believe that you still need to rely on it being installed and it only comes with certain Microsoft products. There is no separate download that I'm aware of. This is another reason I've not used it as I like to provide my apps with everything that's required and not rely on external products if at all possible. But it certainly has a lot more capabilities then sending e-mail and it may be worth starting down that road to get a handle on it for the future. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Sunday, August 05, 2007 11:44 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Need SMTP Code Thanks. Looks easy enough. Is it better than the CDO approach? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Sunday, August 05, 2007 7:28 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Need SMTP Code Rocky, see: http://www.freevbcode.com/ShowCode.Asp?ID=109 works well with Access. Have used it for years. Only requires one .DLL Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Saturday, August 04, 2007 9:10 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Need SMTP Code Dear List: I have a lot of Access sites bookmarked but can never find what I need in them. I'm looking for some code to handle email from Access using SMTP. Does anyone know if there's a module I can crib from one of the many Access sites? MTIA Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.4/936 - Release Date: 8/4/2007 2:42 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.6/938 - Release Date: 8/5/2007 4:16 PM -- 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 6 09:21:14 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 06 Aug 2007 16:21:14 +0200 Subject: [AccessD] Coordinating use of space on report Message-ID: Hi Steve and Arthur You may get some inspiration and methods for this at Stephen Lebans' site: http://www.lebans.com/textwidth-height.htm /gustav >>> fuller.artful at gmail.com 05-08-2007 21:07:07 >>> Somewhere there must be a chart listing the horizontal space occupied by each of the 26 characters. Using it, you could count the occurrences of each, plus the spaces, do some addition and have a precise measurement. By the time you've got the count, though, the data in the whole report may be stale :) Regards, Arthur On 8/5/07, Steve Schapel wrote: > > Thanks, Arthur. Yes, I think that will be a solution. It's just that > the arithmetic will be a bit imprecise, as the number of available > characters depends on the relative number of W's and m's in the dat, > compared with the number of i's and l's. > > Regards > Steve > > > Arthur Fuller wrote: > > What about doing a little arithmetic on each row? Would that work? You could > > right-justify the score, count the characters in same, then print as many > > chars of the team name as will still fit. From rockysmolin at bchacc.com Mon Aug 6 09:27:16 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Mon, 6 Aug 2007 07:27:16 -0700 Subject: [AccessD] Need SMTP Code In-Reply-To: <001601c7d834$a0e61240$0200a8c0@danwaters> Message-ID: <002701c7d835$e381cf30$0301a8c0@HAL9005> Great! I'll be looking for that code! Thanks, Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Monday, August 06, 2007 7:18 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Need SMTP Code Rocky, Users don't need to know anything. In fact, the email will go out without even telling them anything happened, unless you put up a dialog box to tell them! But in the BE somewhere you need to store the SMTP Server Name - every company has their own. IT will know what it is, and you may want to set up a form for them to change it as needed. In the SMTP code module, you'll need to recall that SMTP Server Name, and set a property for the vbSendMail object. By tomorrow, I will post generic code showing how I've set up my SMTP code module. Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Monday, August 06, 2007 8:59 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Need SMTP Code Dan: Sterling endorsement. :) Looks like a good candidate. Simplest for the end user is best. With vbSendMail does the user have to know their server name, port, etc.? The less stuff they have to know the better. Thanks Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Monday, August 06, 2007 6:17 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Need SMTP Code Rocky, I've used vbSendMail for several years also, and it works well. Also has a great user manual. I've incorporated the code into a single module in my Access apps. The one thing I would like to do but not sure how is to write a class that detects and reports SMTP errors (Access can't do this). The Let and Get properties are already there, I'm just don't know how to use them. Of course, the manual's author says it's easy. You do need error trapping in your app that can detect if the .dll file is not present, so the IT folks at your client can install and register the files (they tend to forget to install them with a replacement PC). You'll get 429 and 91 errors if it's not there. Other than this, I've had no other errors. It's at http://www.freevbcode.com/ShowCode.Asp?ID=109 and is called vbSendMail. HTH! Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Monday, August 06, 2007 7:54 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Need SMTP Code Rocky, I'm not sure "better" would be the correct word, but I do find it simpler. I need only one .DLL to be registered to make the code work. BLAT is even simpler yet, but unless you use the DLL version, you have no error checking or real control over it. And last I checked, the .DLL version was lacking several key features and was a rev or two behind the command line interface. CDO has come along way. Early on there were multiple versions and they all didn't work the same. I've been quite happy with the direct SMTP code I've been using and have not needed to develop anything more sophisticated, so I have not taken another look at CDO in a long time. I believe that you still need to rely on it being installed and it only comes with certain Microsoft products. There is no separate download that I'm aware of. This is another reason I've not used it as I like to provide my apps with everything that's required and not rely on external products if at all possible. But it certainly has a lot more capabilities then sending e-mail and it may be worth starting down that road to get a handle on it for the future. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Sunday, August 05, 2007 11:44 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Need SMTP Code Thanks. Looks easy enough. Is it better than the CDO approach? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Sunday, August 05, 2007 7:28 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Need SMTP Code Rocky, see: http://www.freevbcode.com/ShowCode.Asp?ID=109 works well with Access. Have used it for years. Only requires one .DLL Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Saturday, August 04, 2007 9:10 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Need SMTP Code Dear List: I have a lot of Access sites bookmarked but can never find what I need in them. I'm looking for some code to handle email from Access using SMTP. Does anyone know if there's a module I can crib from one of the many Access sites? MTIA Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.4/936 - Release Date: 8/4/2007 2:42 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.6/938 - Release Date: 8/5/2007 4:16 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.6/938 - Release Date: 8/5/2007 4:16 PM From john at winhaven.net Mon Aug 6 10:01:48 2007 From: john at winhaven.net (John Bartow) Date: Mon, 6 Aug 2007 10:01:48 -0500 Subject: [AccessD] Need SMTP Code In-Reply-To: <001201c7d82c$0d61c3a0$0200a8c0@danwaters> References: <0cd201c7d76c$dcdbf170$8abea8c0@XPS><002001c7d777$7d2a9050$0301a8c0@HAL9005><00b201c7d828$ee31c8c0$8abea8c0@XPS> <001201c7d82c$0d61c3a0$0200a8c0@danwaters> Message-ID: <03d201c7d83a$b6c6c090$6402a8c0@ScuzzPaq> FYI: with a Wise installation you can include and register dlls. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Monday, August 06, 2007 8:17 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Need SMTP Code Rocky, I've used vbSendMail for several years also, and it works well. Also has a great user manual. I've incorporated the code into a single module in my Access apps. The one thing I would like to do but not sure how is to write a class that detects and reports SMTP errors (Access can't do this). The Let and Get properties are already there, I'm just don't know how to use them. Of course, the manual's author says it's easy. You do need error trapping in your app that can detect if the .dll file is not present, so the IT folks at your client can install and register the files (they tend to forget to install them with a replacement PC). You'll get 429 and 91 errors if it's not there. Other than this, I've had no other errors. It's at http://www.freevbcode.com/ShowCode.Asp?ID=109 and is called vbSendMail. HTH! Dan Waters From actebs at actebs.com.au Mon Aug 6 10:18:24 2007 From: actebs at actebs.com.au (ACTEBS) Date: Tue, 7 Aug 2007 01:18:24 +1000 Subject: [AccessD] Need SMTP Code In-Reply-To: <03d201c7d83a$b6c6c090$6402a8c0@ScuzzPaq> Message-ID: <007801c7d83d$087ea270$0d08a8c0@carltonone.local> No need to fork out for Wise. Use the freeware Inno Setup and it'll take care of all for you: http://www.jrsoftware.org/isdl.php Absolutely awesome tool and best setup scripting tool I've used. Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Tuesday, 7 August 2007 1:02 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Need SMTP Code FYI: with a Wise installation you can include and register dlls. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Monday, August 06, 2007 8:17 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Need SMTP Code Rocky, I've used vbSendMail for several years also, and it works well. Also has a great user manual. I've incorporated the code into a single module in my Access apps. The one thing I would like to do but not sure how is to write a class that detects and reports SMTP errors (Access can't do this). The Let and Get properties are already there, I'm just don't know how to use them. Of course, the manual's author says it's easy. You do need error trapping in your app that can detect if the .dll file is not present, so the IT folks at your client can install and register the files (they tend to forget to install them with a replacement PC). You'll get 429 and 91 errors if it's not there. Other than this, I've had no other errors. It's at http://www.freevbcode.com/ShowCode.Asp?ID=109 and is called vbSendMail. HTH! Dan Waters -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From miscellany at mvps.org Mon Aug 6 10:38:13 2007 From: miscellany at mvps.org (Steve Schapel) Date: Tue, 07 Aug 2007 03:38:13 +1200 Subject: [AccessD] Coordinating use of space on report In-Reply-To: References: Message-ID: <46B74065.8030204@mvps.org> Thanks, Gustav. As it happens, I have used the report's TextWidth method, along with some code to cycle through the data and drop one character at a time until it fits. Regards Steve Gustav Brock wrote: > Hi Steve and Arthur > > You may get some inspiration and methods for this at Stephen Lebans' site: > > http://www.lebans.com/textwidth-height.htm > From jerbach.access at gmail.com Mon Aug 6 11:22:22 2007 From: jerbach.access at gmail.com (Janet Erbach) Date: Mon, 6 Aug 2007 11:22:22 -0500 Subject: [AccessD] Automatic import of tables, forms, rpts, mods Message-ID: Hello. Does anyone have some tips for me on how to create an automated import module for my database? I've created some custom functions for it that are stored in a separate database from the main one, and everytime we upgrade I have to re-import the relevant tables, forms, rpts, etc. to each workstation where the application is installed. I've linked tables into the back-end database where appropriate, and those are re-linked automatically by the main application itself. But all my other custom objects are currently imported 'by hand'. Today I created an 'import specs' table which contains the name of each object I want to import automatically; it also specifies the object type (form, table, rpt, etc). Is there some straightforward way to loop through each record in this table, delete the existing object if one with that name already exists in that workstation's app, and then import the most current one from the database that storehouses all the customizations? I did a cursory search for a utility that might handle this for me, but haven't found one thus far... Any suggestions will be appreciated! Janet Erbach From Donald.A.McGillivray at sprint.com Mon Aug 6 11:40:41 2007 From: Donald.A.McGillivray at sprint.com (McGillivray, Don [IT]) Date: Mon, 6 Aug 2007 11:40:41 -0500 Subject: [AccessD] Problem with A2003 Report caption In-Reply-To: <001201c7d7eb$c71113a0$6400a8c0@DCYN3T81> References: <20070801123650.4227B4F5DC@smtp.nildram.co.uk><004301c7d4b4$496e84d0$0301a8c0@HAL9005> <001201c7d7eb$c71113a0$6400a8c0@DCYN3T81> Message-ID: Bob, Any chance that your new report includes a sub report? I remember having had a similar problem with a report when that was the case. Don't remember exactly what the symptoms were or how I resolved it, but this might help get your gears working in the right direction. Don -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bob Gajewski Sent: Sunday, August 05, 2007 10:37 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Problem with A2003 Report caption Hi Folks I am running into a problem with a new report. I am using a form to select record types and a date range, and passing the parameters to the report. Everything is working perfectly and as expected *EXCEPT* that my report caption does not print on the first page. It's there from Page 2 through the end, regardless of how many pages. My form code sample is below. I have confirmed that the value of "frmDateRange" just prior to the OpenReport is "1". On the actual report, the unbound text field for the report title has a control source of "=[Caption]". If anyone has any ideas on how to fix this, or can at least point me in the right direction, I will be truly grateful. Thanks ! Bob Gajewski CODE SAMPLE (frmMembersResponses) ================================= Private Sub cmdGenerateReport_Click() On Error GoTo Err_cmdGenerateReport_Click Dim strReportName As String, strWhere As String strReportName = "rptMembersResponse" strWhere = "" ' Set strWhere for Date Range If Not IsNull(Me!dteDateRangeSelectFrom) Or Me!dteDateRangeSelectFrom <> "" Then If IsNull(strWhere) Or strWhere = "" Then strWhere = "([IncidentDate] >= #" & Me!dteDateRangeSelectFrom & "#)" Else strWhere = "(" & strWhere & ") And ([IncidentDate] >= #" & Me!dteDateRangeSelectFrom & "#)" End If End If If Not IsNull(Me!dteDateRangeSelectTo) Or Me!dteDateRangeSelectTo <> "" Then If IsNull(strWhere) Or strWhere = "" Then strWhere = "([IncidentDate] <= #" & Me!dteDateRangeSelectTo & "#)" Else strWhere = "(" & strWhere & ") And ([IncidentDate] <= #" & Me!dteDateRangeSelectTo & "#)" End If End If ' Print report Dim rpt As Report, strReportCaption As String If IsNull(strWhere) Or strWhere = "" Then Select Case frmDateRange Case 1 strReportCaption = "Member Responses for Call Year " & Format([dteDateRangeSelectFrom], "MM/DD/YYYY") & " - " & Format([dteDateRangeSelectTo], "MM/DD/YYYY") Case 2 strReportCaption = "Member Responses for Calendar Year " & DatePart("yyyy", [dteDateRangeSelectFrom]) Case 3 strReportCaption = "Member Responses for " & Format([dteDateRangeSelectFrom], "MM/DD/YYYY") & " - " & Format([dteDateRangeSelectTo], "MM/DD/YYYY") Case Else strReportCaption = "Member Responses" End Select Else Select Case frmDateRange Case 1 strReportCaption = "Selected Member Responses for Call Year " & Format([dteDateRangeSelectFrom], "MM/DD/YYYY") & " - " & Format([dteDateRangeSelectTo], "MM/DD/YYYY") Case 2 strReportCaption = "Selected Member Responses for Calendar Year " & DatePart("yyyy", [dteDateRangeSelectFrom]) Case 3 strReportCaption = "Selected Member Responses for " & Format([dteDateRangeSelectFrom], "MM/DD/YYYY") & " - " & Format([dteDateRangeSelectTo], "MM/DD/YYYY") Case Else strReportCaption = "Selected Member Responses" End Select End If MsgBox ("The value of 'strReportCaption' is " & strReportCaption & ".") DoCmd.OpenReport strReportName, acViewPreview, , strWhere Set rpt = Reports(strReportName) rpt.OrderByOn = True rpt.OrderBy = strSortOrder rpt.Caption = strReportCaption No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.4/936 - Release Date: 08/04/2007 14:42 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From pctech at mybellybutton.com Mon Aug 6 12:04:59 2007 From: pctech at mybellybutton.com (pctech at mybellybutton.com) Date: Mon, 06 Aug 2007 13:04:59 -0400 Subject: [AccessD] Need SMTP Code Message-ID: <11173460.228591186419899814.JavaMail.servlet@perfora> Dan: Sterling endorsement. :) Looks like a good candidate. Simplest for the end user is best. With vbSendMail does the user have to know their server name, port, etc.? The less stuff they have to know the better. Thanks Rocky ------------------------------------------------------------- Sorry about this horrible web mailer. I am on the road. There is a more efficient solution, I think. The problem with registering DLLs is that you have to worry about incompatibilities with other software. Also, some IT departments are very picky about what they will let you run. I have found an application that I use in conjunction with other things for my SOX notifications. It's called BLAT. It doesn't need to be installed, per se, it just needs to have files copied to certain locations, which are well documented. I, personally, call this using batch files from Scheduled Tasks, but you could also call them from within ShellRun commands. I've used this application for about four years now problem-free. The URL is http://www.blat.net/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Monday, August 06, 2007 6:17 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Need SMTP Code Rocky, I've used vbSendMail for several years also, and it works well. Also has a great user manual. I've incorporated the code into a single module in my Access apps. The one thing I would like to do but not sure how is to write a class that detects and reports SMTP errors (Access can't do this). The Let and Get properties are already there, I'm just don't know how to use them. Of course, the manual's author says it's easy. You do need error trapping in your app that can detect if the .dll file is not present, so the IT folks at your client can install and register the files (they tend to forget to install them with a replacement PC). You'll get 429 and 91 errors if it's not there. Other than this, I've had no other errors. It's at http://www.freevbcode.com/ShowCode.Asp?ID=109 and is called vbSendMail. HTH! Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Monday, August 06, 2007 7:54 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Need SMTP Code Rocky, I'm not sure "better" would be the correct word, but I do find it simpler. I need only one .DLL to be registered to make the code work. BLAT is even simpler yet, but unless you use the DLL version, you have no error checking or real control over it. And last I checked, the .DLL version was lacking several key features and was a rev or two behind the command line interface. CDO has come along way. Early on there were multiple versions and they all didn't work the same. I've been quite happy with the direct SMTP code I've been using and have not needed to develop anything more sophisticated, so I have not taken another look at CDO in a long time. I believe that you still need to rely on it being installed and it only comes with certain Microsoft products. There is no separate download that I'm aware of. This is another reason I've not used it as I like to provide my apps with everything that's required and not rely on external products if at all possible. But it certainly has a lot more capabilities then sending e-mail and it may be worth starting down that road to get a handle on it for the future. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Sunday, August 05, 2007 11:44 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Need SMTP Code Thanks. Looks easy enough. Is it better than the CDO approach? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Sunday, August 05, 2007 7:28 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Need SMTP Code Rocky, see: http://www.freevbcode.com/ShowCode.Asp?ID=109 works well with Access. Have used it for years. Only requires one .DLL Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Saturday, August 04, 2007 9:10 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Need SMTP Code Dear List: I have a lot of Access sites bookmarked but can never find what I need in them. I'm looking for some code to handle email from Access using SMTP. Does anyone know if there's a module I can crib from one of the many Access sites? MTIA Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.4/936 - Release Date: 8/4/2007 2:42 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.6/938 - Release Date: 8/5/2007 4:16 PM -- 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 6 12:34:08 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 06 Aug 2007 19:34:08 +0200 Subject: [AccessD] Need SMTP Code Message-ID: Hi Rocky Before you get too happy, note all the traps no matter what tool you decide for. For a corporate workstation it is quite common that it has no access to the outside on port 25. If it has, you or the app must provide the name of the external SMTP server and the user's credentials. These must be required or your SMTP server will be an open relay which will be blocked within an hour. If port 25 is open, it may be blocked at the corporate firewall. If so, you can only access an in-house (corporate) SMTP server, the name of which - again - must be provided. It may even require a secure connection which only the more sophisticated SMTP clients offer, for example Chilkat: http://www.chilkatsoft.com/email-activex.asp If no port 25, you may connect to the corporate mail system, say, via Outlook or MAPI which is a completely different ball game. /gustav >>> pctech at mybellybutton.com 06-08-2007 19:04:59 >>> Dan: Sterling endorsement. :) Looks like a good candidate. Simplest for the end user is best. With vbSendMail does the user have to know their server name, port, etc.? The less stuff they have to know the better. Thanks Rocky From rockysmolin at bchacc.com Mon Aug 6 12:40:10 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Mon, 6 Aug 2007 10:40:10 -0700 Subject: [AccessD] Need SMTP Code In-Reply-To: Message-ID: <006901c7d850$d91eb4c0$0301a8c0@HAL9005> So what do you think is the best solution? This legacy app I'm enhancing has some SMTP code in it but I haven't looked at it closely yet. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, August 06, 2007 10:34 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Need SMTP Code Hi Rocky Before you get too happy, note all the traps no matter what tool you decide for. For a corporate workstation it is quite common that it has no access to the outside on port 25. If it has, you or the app must provide the name of the external SMTP server and the user's credentials. These must be required or your SMTP server will be an open relay which will be blocked within an hour. If port 25 is open, it may be blocked at the corporate firewall. If so, you can only access an in-house (corporate) SMTP server, the name of which - again - must be provided. It may even require a secure connection which only the more sophisticated SMTP clients offer, for example Chilkat: http://www.chilkatsoft.com/email-activex.asp If no port 25, you may connect to the corporate mail system, say, via Outlook or MAPI which is a completely different ball game. /gustav >>> pctech at mybellybutton.com 06-08-2007 19:04:59 >>> Dan: Sterling endorsement. :) Looks like a good candidate. Simplest for the end user is best. With vbSendMail does the user have to know their server name, port, etc.? The less stuff they have to know the better. Thanks Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.6/938 - Release Date: 8/5/2007 4:16 PM From rockysmolin at bchacc.com Mon Aug 6 12:52:15 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Mon, 6 Aug 2007 10:52:15 -0700 Subject: [AccessD] Need SMTP Code In-Reply-To: <11173460.228591186419899814.JavaMail.servlet@perfora> Message-ID: <006b01c7d852$890c6fc0$0301a8c0@HAL9005> Hmmm...A second endorsement for BLAT. So we've got BLAT, CDO, vbSendMail, and roll-your-own SMTP code. Oh, and the Access object which I'll probably put in as an option for the user. Any additional votes or opinions welcome. I've got a couple days work on other features before I have to make a decision on this one. Thanks for all your input. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of pctech at mybellybutton.com Sent: Monday, August 06, 2007 10:05 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Need SMTP Code Dan: Sterling endorsement. :) Looks like a good candidate. Simplest for the end user is best. With vbSendMail does the user have to know their server name, port, etc.? The less stuff they have to know the better. Thanks Rocky ------------------------------------------------------------- Sorry about this horrible web mailer. I am on the road. There is a more efficient solution, I think. The problem with registering DLLs is that you have to worry about incompatibilities with other software. Also, some IT departments are very picky about what they will let you run. I have found an application that I use in conjunction with other things for my SOX notifications. It's called BLAT. It doesn't need to be installed, per se, it just needs to have files copied to certain locations, which are well documented. I, personally, call this using batch files from Scheduled Tasks, but you could also call them from within ShellRun commands. I've used this application for about four years now problem-free. The URL is http://www.blat.net/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Monday, August 06, 2007 6:17 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Need SMTP Code Rocky, I've used vbSendMail for several years also, and it works well. Also has a great user manual. I've incorporated the code into a single module in my Access apps. The one thing I would like to do but not sure how is to write a class that detects and reports SMTP errors (Access can't do this). The Let and Get properties are already there, I'm just don't know how to use them. Of course, the manual's author says it's easy. You do need error trapping in your app that can detect if the .dll file is not present, so the IT folks at your client can install and register the files (they tend to forget to install them with a replacement PC). You'll get 429 and 91 errors if it's not there. Other than this, I've had no other errors. It's at http://www.freevbcode.com/ShowCode.Asp?ID=109 and is called vbSendMail. HTH! Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Monday, August 06, 2007 7:54 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Need SMTP Code Rocky, I'm not sure "better" would be the correct word, but I do find it simpler. I need only one .DLL to be registered to make the code work. BLAT is even simpler yet, but unless you use the DLL version, you have no error checking or real control over it. And last I checked, the .DLL version was lacking several key features and was a rev or two behind the command line interface. CDO has come along way. Early on there were multiple versions and they all didn't work the same. I've been quite happy with the direct SMTP code I've been using and have not needed to develop anything more sophisticated, so I have not taken another look at CDO in a long time. I believe that you still need to rely on it being installed and it only comes with certain Microsoft products. There is no separate download that I'm aware of. This is another reason I've not used it as I like to provide my apps with everything that's required and not rely on external products if at all possible. But it certainly has a lot more capabilities then sending e-mail and it may be worth starting down that road to get a handle on it for the future. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Sunday, August 05, 2007 11:44 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Need SMTP Code Thanks. Looks easy enough. Is it better than the CDO approach? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Sunday, August 05, 2007 7:28 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Need SMTP Code Rocky, see: http://www.freevbcode.com/ShowCode.Asp?ID=109 works well with Access. Have used it for years. Only requires one .DLL Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Saturday, August 04, 2007 9:10 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Need SMTP Code Dear List: I have a lot of Access sites bookmarked but can never find what I need in them. I'm looking for some code to handle email from Access using SMTP. Does anyone know if there's a module I can crib from one of the many Access sites? MTIA Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.4/936 - Release Date: 8/4/2007 2:42 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.6/938 - Release Date: 8/5/2007 4:16 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.6/938 - Release Date: 8/5/2007 4:16 PM From Gustav at cactus.dk Mon Aug 6 13:02:17 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 06 Aug 2007 20:02:17 +0200 Subject: [AccessD] Need SMTP Code Message-ID: Hi Rocky I would use that code - or at least test it. Provide a default external SMTP server with credentials you set up in the app. If that fails for a user, provide an option for modifying the default settings. But there is no single "right" way to do this. We once had a server running for receiving reports from a dozen clients. The setup was simple (no credentials) as we had recorded the IP addresses of the senders - any other connection was refused. Worked great, but over time the sender addresses of course changed and that required a little maintenance. And one client had no port 25 so he had to e-mail the reports which we then handled manually. It is also a question of confidence. If the transmitted data are confident, either the data (file or transfer) or the connection must be encrypted. So may ifs ... /gustav >>> rockysmolin at bchacc.com 06-08-2007 19:40:10 >>> So what do you think is the best solution? This legacy app I'm enhancing has some SMTP code in it but I haven't looked at it closely yet. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, August 06, 2007 10:34 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Need SMTP Code Hi Rocky Before you get too happy, note all the traps no matter what tool you decide for. For a corporate workstation it is quite common that it has no access to the outside on port 25. If it has, you or the app must provide the name of the external SMTP server and the user's credentials. These must be required or your SMTP server will be an open relay which will be blocked within an hour. If port 25 is open, it may be blocked at the corporate firewall. If so, you can only access an in-house (corporate) SMTP server, the name of which - again - must be provided. It may even require a secure connection which only the more sophisticated SMTP clients offer, for example Chilkat: http://www.chilkatsoft.com/email-activex.asp If no port 25, you may connect to the corporate mail system, say, via Outlook or MAPI which is a completely different ball game. /gustav >>> pctech at mybellybutton.com 06-08-2007 19:04:59 >>> Dan: Sterling endorsement. :) Looks like a good candidate. Simplest for the end user is best. With vbSendMail does the user have to know their server name, port, etc.? The less stuff they have to know the better. Thanks Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.6/938 - Release Date: 8/5/2007 4:16 PM -- 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 6 13:04:54 2007 From: dwaters at usinternet.com (Dan Waters) Date: Mon, 6 Aug 2007 13:04:54 -0500 Subject: [AccessD] Need SMTP Code In-Reply-To: References: Message-ID: <002901c7d854$4aee6b60$0200a8c0@danwaters> Gustav, Can port 25 be opened and closed in VBA? Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, August 06, 2007 12:34 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Need SMTP Code Hi Rocky Before you get too happy, note all the traps no matter what tool you decide for. For a corporate workstation it is quite common that it has no access to the outside on port 25. If it has, you or the app must provide the name of the external SMTP server and the user's credentials. These must be required or your SMTP server will be an open relay which will be blocked within an hour. If port 25 is open, it may be blocked at the corporate firewall. If so, you can only access an in-house (corporate) SMTP server, the name of which - again - must be provided. It may even require a secure connection which only the more sophisticated SMTP clients offer, for example Chilkat: http://www.chilkatsoft.com/email-activex.asp If no port 25, you may connect to the corporate mail system, say, via Outlook or MAPI which is a completely different ball game. /gustav >>> pctech at mybellybutton.com 06-08-2007 19:04:59 >>> Dan: Sterling endorsement. :) Looks like a good candidate. Simplest for the end user is best. With vbSendMail does the user have to know their server name, port, etc.? The less stuff they have to know the better. Thanks Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From wdhindman at dejpolsystems.com Mon Aug 6 13:08:50 2007 From: wdhindman at dejpolsystems.com (William Hindman) Date: Mon, 6 Aug 2007 14:08:50 -0400 Subject: [AccessD] Automatic import of tables, forms, rpts, mods References: Message-ID: <002e01c7d854$d86504e0$0c10a8c0@jisshowsbs.local> Janet ...not quite sure what you are after here but lets try this instead ...create a separate fe mdb on your developer system ...put all of your functionality into it and version it ...then publish it to an udate folder on your website or the client's server ...if your fe mdb is versioned properly and you have auto update code installed, the user log-on sequence will check your update folder's fe mdb version against the installed one and replace the current installed version on the client if it is older than the one on the server. ...there are a number of auto update routines available ...I use the one from Allen Browne's site and have not had a problem with it yet. William Hindman ----- Original Message ----- From: "Janet Erbach" To: "Access Developers discussion and problem solving" Sent: Monday, August 06, 2007 12:22 PM Subject: [AccessD] Automatic import of tables, forms, rpts, mods > Hello. > > Does anyone have some tips for me on how to create an automated import > module for my database? I've created some custom functions for it that > are > stored in a separate database from the main one, and everytime we upgrade > I > have to re-import the relevant tables, forms, rpts, etc. to each > workstation > where the application is installed. I've linked tables into the back-end > database where appropriate, and those are re-linked automatically by the > main application itself. But all my other custom objects are currently > imported 'by hand'. > > Today I created an 'import specs' table which contains the name of each > object I want to import automatically; it also specifies the object type > (form, table, rpt, etc). Is there some straightforward way to loop > through > each record in this table, delete the existing object if one with that > name > already exists in that workstation's app, and then import the most current > one from the database that storehouses all the customizations? > > I did a cursory search for a utility that might handle this for me, but > haven't found one thus far... > > Any suggestions will be appreciated! > > Janet Erbach > -- > 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 6 13:08:43 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 06 Aug 2007 20:08:43 +0200 Subject: [AccessD] Need SMTP Code Message-ID: Hi Dan No. That's a firewall setting in either the internal Windows Firewall or an external firewall (or both). /gustav >>> dwaters at usinternet.com 06-08-2007 20:04:54 >>> Gustav, Can port 25 be opened and closed in VBA? Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, August 06, 2007 12:34 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Need SMTP Code Hi Rocky Before you get too happy, note all the traps no matter what tool you decide for. For a corporate workstation it is quite common that it has no access to the outside on port 25. If it has, you or the app must provide the name of the external SMTP server and the user's credentials. These must be required or your SMTP server will be an open relay which will be blocked within an hour. If port 25 is open, it may be blocked at the corporate firewall. If so, you can only access an in-house (corporate) SMTP server, the name of which - again - must be provided. It may even require a secure connection which only the more sophisticated SMTP clients offer, for example Chilkat: http://www.chilkatsoft.com/email-activex.asp If no port 25, you may connect to the corporate mail system, say, via Outlook or MAPI which is a completely different ball game. /gustav >>> pctech at mybellybutton.com 06-08-2007 19:04:59 >>> Dan: Sterling endorsement. :) Looks like a good candidate. Simplest for the end user is best. With vbSendMail does the user have to know their server name, port, etc.? The less stuff they have to know the better. Thanks Rocky From adtp at airtelbroadband.in Mon Aug 6 13:17:37 2007 From: adtp at airtelbroadband.in (A.D.TEJPAL) Date: Mon, 6 Aug 2007 23:47:37 +0530 Subject: [AccessD] Popup Form References: <004301c7d7a3$80c5b470$0301a8c0@HAL9005> Message-ID: <00d901c7d856$38940400$8757a27a@pcadt> Rocky, Unless the PopUp property of a form is set to Yes, you can not prevent other forms from coming to the top. However, this property can be set only in design view. If you are in a position to explain as to what exactly is sought to be accomplished by making the form PopUp on some occasions and non-PopUp on others, a work-around could be explored. Best wishes, A.D.Tejpal --------------- ----- Original Message ----- From: Rocky Smolin at Beach Access Software To: 'Access Developers discussion and problem solving' Sent: Monday, August 06, 2007 02:29 Subject: Re: [AccessD] Popup Form I'll have to try it with the minimize button disabled - see what happens. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Max Sherman Sent: Sunday, August 05, 2007 12:26 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Popup Form I *think* you will find that the difference is that popup stays on top of everything whereas dialogue can be minimised. Haven't check though. Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Sunday, August 05, 2007 2:31 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Popup Form Steve, et al: Dialog is the same as popup? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Schapel Sent: Sunday, August 05, 2007 12:46 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Popup Form Rocky, I think something like this should work... If YourSwitch Then DoCmd.OpenForm "YourForm", , , , , acDialog Else DoCmd.OpenForm "YourForm" End If Regards Steve Rocky Smolin at Beach Access Software wrote: > Can a form be opened in either popup or not depending on the value of a switch? From rockysmolin at bchacc.com Mon Aug 6 13:37:02 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Mon, 6 Aug 2007 11:37:02 -0700 Subject: [AccessD] Popup Form In-Reply-To: <00d901c7d856$38940400$8757a27a@pcadt> Message-ID: <007001c7d858$c8238080$0301a8c0@HAL9005> A.D.: My client had the idea and knows a little about Access so I told him to go ahead and see what he could do. He ran into a kind of dead end. I suspect that there's a different way to get done what he needs. The app was developed with all unmaximized forms. The first form I modified I maximized and that gave him a lot more real estate. He also likes the ADH form resizing code which I put into one of the forms. So we're trying to make the look of the app consistent. Anyway, this item is now on the 'B' list. Thanks and regards, Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of A.D.TEJPAL Sent: Monday, August 06, 2007 11:18 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Popup Form Rocky, Unless the PopUp property of a form is set to Yes, you can not prevent other forms from coming to the top. However, this property can be set only in design view. If you are in a position to explain as to what exactly is sought to be accomplished by making the form PopUp on some occasions and non-PopUp on others, a work-around could be explored. Best wishes, A.D.Tejpal --------------- ----- Original Message ----- From: Rocky Smolin at Beach Access Software To: 'Access Developers discussion and problem solving' Sent: Monday, August 06, 2007 02:29 Subject: Re: [AccessD] Popup Form I'll have to try it with the minimize button disabled - see what happens. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Max Sherman Sent: Sunday, August 05, 2007 12:26 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Popup Form I *think* you will find that the difference is that popup stays on top of everything whereas dialogue can be minimised. Haven't check though. Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Sunday, August 05, 2007 2:31 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Popup Form Steve, et al: Dialog is the same as popup? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Schapel Sent: Sunday, August 05, 2007 12:46 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Popup Form Rocky, I think something like this should work... If YourSwitch Then DoCmd.OpenForm "YourForm", , , , , acDialog Else DoCmd.OpenForm "YourForm" End If Regards Steve Rocky Smolin at Beach Access Software wrote: > Can a form be opened in either popup or not depending on the value of a switch? -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.6/938 - Release Date: 8/5/2007 4:16 PM From adtp at airtelbroadband.in Mon Aug 6 13:55:22 2007 From: adtp at airtelbroadband.in (A.D.TEJPAL) Date: Tue, 7 Aug 2007 00:25:22 +0530 Subject: [AccessD] Problem with A2003 Report caption References: <20070801123650.4227B4F5DC@smtp.nildram.co.uk><004301c7d4b4$496e 84d0$0301a8c0@HAL9005> <001201c7d7eb$c71113a0$6400a8c0@DCYN3T81> Message-ID: <010e01c7d85b$771cd3f0$8757a27a@pcadt> Bob, You can try passing the caption string as report's OpenArgs as follows: DoCmd.OpenReport strReportName, _ acViewPreview, , strWhere, , strReportCaption Code in report's open event would be: Private Sub Report_Open(Cancel As Integer) Me.Caption = Me.OpenArgs End Sub Best wishes, A.D.Tejpal --------------- ----- Original Message ----- From: Bob Gajewski To: 'Access Developers discussion and problem solving' Sent: Monday, August 06, 2007 11:06 Subject: [AccessD] Problem with A2003 Report caption Hi Folks I am running into a problem with a new report. I am using a form to select record types and a date range, and passing the parameters to the report. Everything is working perfectly and as expected *EXCEPT* that my report caption does not print on the first page. It's there from Page 2 through the end, regardless of how many pages. My form code sample is below. I have confirmed that the value of "frmDateRange" just prior to the OpenReport is "1". On the actual report, the unbound text field for the report title has a control source of "=[Caption]". If anyone has any ideas on how to fix this, or can at least point me in the right direction, I will be truly grateful. Thanks ! Bob Gajewski CODE SAMPLE (frmMembersResponses) ================================= Private Sub cmdGenerateReport_Click() On Error GoTo Err_cmdGenerateReport_Click Dim strReportName As String, strWhere As String strReportName = "rptMembersResponse" strWhere = "" ' Set strWhere for Date Range If Not IsNull(Me!dteDateRangeSelectFrom) Or Me!dteDateRangeSelectFrom <> "" Then If IsNull(strWhere) Or strWhere = "" Then strWhere = "([IncidentDate] >= #" & Me!dteDateRangeSelectFrom & "#)" Else strWhere = "(" & strWhere & ") And ([IncidentDate] >= #" & Me!dteDateRangeSelectFrom & "#)" End If End If If Not IsNull(Me!dteDateRangeSelectTo) Or Me!dteDateRangeSelectTo <> "" Then If IsNull(strWhere) Or strWhere = "" Then strWhere = "([IncidentDate] <= #" & Me!dteDateRangeSelectTo & "#)" Else strWhere = "(" & strWhere & ") And ([IncidentDate] <= #" & Me!dteDateRangeSelectTo & "#)" End If End If ' Print report Dim rpt As Report, strReportCaption As String If IsNull(strWhere) Or strWhere = "" Then Select Case frmDateRange Case 1 strReportCaption = "Member Responses for Call Year " & Format([dteDateRangeSelectFrom], "MM/DD/YYYY") & " - " & Format([dteDateRangeSelectTo], "MM/DD/YYYY") Case 2 strReportCaption = "Member Responses for Calendar Year " & DatePart("yyyy", [dteDateRangeSelectFrom]) Case 3 strReportCaption = "Member Responses for " & Format([dteDateRangeSelectFrom], "MM/DD/YYYY") & " - " & Format([dteDateRangeSelectTo], "MM/DD/YYYY") Case Else strReportCaption = "Member Responses" End Select Else Select Case frmDateRange Case 1 strReportCaption = "Selected Member Responses for Call Year " & Format([dteDateRangeSelectFrom], "MM/DD/YYYY") & " - " & Format([dteDateRangeSelectTo], "MM/DD/YYYY") Case 2 strReportCaption = "Selected Member Responses for Calendar Year " & DatePart("yyyy", [dteDateRangeSelectFrom]) Case 3 strReportCaption = "Selected Member Responses for " & Format([dteDateRangeSelectFrom], "MM/DD/YYYY") & " - " & Format([dteDateRangeSelectTo], "MM/DD/YYYY") Case Else strReportCaption = "Selected Member Responses" End Select End If MsgBox ("The value of 'strReportCaption' is " & strReportCaption & ".") DoCmd.OpenReport strReportName, acViewPreview, , strWhere Set rpt = Reports(strReportName) rpt.OrderByOn = True rpt.OrderBy = strSortOrder rpt.Caption = strReportCaption From jerbach.access at gmail.com Mon Aug 6 14:35:32 2007 From: jerbach.access at gmail.com (Janet Erbach) Date: Mon, 6 Aug 2007 14:35:32 -0500 Subject: [AccessD] Automatic import of tables, forms, rpts, mods In-Reply-To: <002e01c7d854$d86504e0$0c10a8c0@jisshowsbs.local> References: <002e01c7d854$d86504e0$0c10a8c0@jisshowsbs.local> Message-ID: Thanks, William - I'll try it! On 8/6/07, William Hindman wrote: > > Janet > > ...not quite sure what you are after here but lets try this instead > ...create a separate fe mdb on your developer system ...put all of your > functionality into it and version it ...then publish it to an udate folder > on your website or the client's server ...if your fe mdb is versioned > properly and you have auto update code installed, the user log-on sequence > will check your update folder's fe mdb version against the installed one > and > replace the current installed version on the client if it is older than > the > one on the server. > > ...there are a number of auto update routines available ...I use the one > from Allen Browne's site and have not had a problem with it yet. > > William Hindman > ----- Original Message ----- > From: "Janet Erbach" > To: "Access Developers discussion and problem solving" > > Sent: Monday, August 06, 2007 12:22 PM > Subject: [AccessD] Automatic import of tables, forms, rpts, mods > > > > Hello. > > > > Does anyone have some tips for me on how to create an automated import > > module for my database? I've created some custom functions for it that > > are > > stored in a separate database from the main one, and everytime we > upgrade > > I > > have to re-import the relevant tables, forms, rpts, etc. to each > > workstation > > where the application is installed. I've linked tables into the > back-end > > database where appropriate, and those are re-linked automatically by the > > main application itself. But all my other custom objects are currently > > imported 'by hand'. > > > > Today I created an 'import specs' table which contains the name of each > > object I want to import automatically; it also specifies the object > type > > (form, table, rpt, etc). Is there some straightforward way to loop > > through > > each record in this table, delete the existing object if one with that > > name > > already exists in that workstation's app, and then import the most > current > > one from the database that storehouses all the customizations? > > > > I did a cursory search for a utility that might handle this for me, but > > haven't found one thus far... > > > > Any suggestions will be appreciated! > > > > Janet Erbach > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > 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 6 15:02:40 2007 From: DWUTKA at Marlow.com (Drew Wutka) Date: Mon, 6 Aug 2007 15:02:40 -0500 Subject: [AccessD] Popup Form In-Reply-To: <007001c7d858$c8238080$0301a8c0@HAL9005> Message-ID: Sorry for being so late on the thread, but I'm curious why the big fuss over popup or not. The popup property on a form only does something if it's the only popup form on display. Other popup forms can receive the focus over it. If you are just looking for a way to push it to the head (or the back) of the window order, there are easier ways to do this other then with the popup property. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Monday, August 06, 2007 1:37 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Popup Form A.D.: My client had the idea and knows a little about Access so I told him to go ahead and see what he could do. He ran into a kind of dead end. I suspect that there's a different way to get done what he needs. The app was developed with all unmaximized forms. The first form I modified I maximized and that gave him a lot more real estate. He also likes the ADH form resizing code which I put into one of the forms. So we're trying to make the look of the app consistent. Anyway, this item is now on the 'B' list. Thanks and regards, Rocky The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI BusinessSensitve material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. From rockysmolin at bchacc.com Mon Aug 6 15:43:12 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Mon, 6 Aug 2007 13:43:12 -0700 Subject: [AccessD] Popup Form In-Reply-To: Message-ID: <007e01c7d86a$68442d60$0301a8c0@HAL9005> No, he was looking for a way to set the property at run time based on a user preference switch. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Monday, August 06, 2007 1:03 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Popup Form Sorry for being so late on the thread, but I'm curious why the big fuss over popup or not. The popup property on a form only does something if it's the only popup form on display. Other popup forms can receive the focus over it. If you are just looking for a way to push it to the head (or the back) of the window order, there are easier ways to do this other then with the popup property. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Monday, August 06, 2007 1:37 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Popup Form A.D.: My client had the idea and knows a little about Access so I told him to go ahead and see what he could do. He ran into a kind of dead end. I suspect that there's a different way to get done what he needs. The app was developed with all unmaximized forms. The first form I modified I maximized and that gave him a lot more real estate. He also likes the ADH form resizing code which I put into one of the forms. So we're trying to make the look of the app consistent. Anyway, this item is now on the 'B' list. Thanks and regards, Rocky The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI BusinessSensitve material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.6/938 - Release Date: 8/5/2007 4:16 PM From robert at servicexp.com Mon Aug 6 17:16:21 2007 From: robert at servicexp.com (Robert) Date: Mon, 6 Aug 2007 18:16:21 -0400 Subject: [AccessD] Need SMTP Code In-Reply-To: <006b01c7d852$890c6fc0$0301a8c0@HAL9005> References: <11173460.228591186419899814.JavaMail.servlet@perfora> <006b01c7d852$890c6fc0$0301a8c0@HAL9005> Message-ID: <000601c7d877$6be55d10$0801a8c0@roberts> Rocky, I've had the opportunity to use a few of the products mentioned and I have always returned to /N Software's IP*Works. I use it Exclusively no, and have never had a problem with any of there products. A bit pricy but worth every cent, IMHO WBR Robert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Monday, August 06, 2007 1:52 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Need SMTP Code Hmmm...A second endorsement for BLAT. So we've got BLAT, CDO, vbSendMail, and roll-your-own SMTP code. Oh, and the Access object which I'll probably put in as an option for the user. Any additional votes or opinions welcome. I've got a couple days work on other features before I have to make a decision on this one. Thanks for all your input. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of pctech at mybellybutton.com Sent: Monday, August 06, 2007 10:05 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Need SMTP Code Dan: Sterling endorsement. :) Looks like a good candidate. Simplest for the end user is best. With vbSendMail does the user have to know their server name, port, etc.? The less stuff they have to know the better. Thanks Rocky ------------------------------------------------------------- Sorry about this horrible web mailer. I am on the road. There is a more efficient solution, I think. The problem with registering DLLs is that you have to worry about incompatibilities with other software. Also, some IT departments are very picky about what they will let you run. I have found an application that I use in conjunction with other things for my SOX notifications. It's called BLAT. It doesn't need to be installed, per se, it just needs to have files copied to certain locations, which are well documented. I, personally, call this using batch files from Scheduled Tasks, but you could also call them from within ShellRun commands. I've used this application for about four years now problem-free. The URL is http://www.blat.net/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Monday, August 06, 2007 6:17 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Need SMTP Code Rocky, I've used vbSendMail for several years also, and it works well. Also has a great user manual. I've incorporated the code into a single module in my Access apps. The one thing I would like to do but not sure how is to write a class that detects and reports SMTP errors (Access can't do this). The Let and Get properties are already there, I'm just don't know how to use them. Of course, the manual's author says it's easy. You do need error trapping in your app that can detect if the .dll file is not present, so the IT folks at your client can install and register the files (they tend to forget to install them with a replacement PC). You'll get 429 and 91 errors if it's not there. Other than this, I've had no other errors. It's at http://www.freevbcode.com/ShowCode.Asp?ID=109 and is called vbSendMail. HTH! Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Monday, August 06, 2007 7:54 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Need SMTP Code Rocky, I'm not sure "better" would be the correct word, but I do find it simpler. I need only one .DLL to be registered to make the code work. BLAT is even simpler yet, but unless you use the DLL version, you have no error checking or real control over it. And last I checked, the .DLL version was lacking several key features and was a rev or two behind the command line interface. CDO has come along way. Early on there were multiple versions and they all didn't work the same. I've been quite happy with the direct SMTP code I've been using and have not needed to develop anything more sophisticated, so I have not taken another look at CDO in a long time. I believe that you still need to rely on it being installed and it only comes with certain Microsoft products. There is no separate download that I'm aware of. This is another reason I've not used it as I like to provide my apps with everything that's required and not rely on external products if at all possible. But it certainly has a lot more capabilities then sending e-mail and it may be worth starting down that road to get a handle on it for the future. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Sunday, August 05, 2007 11:44 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Need SMTP Code Thanks. Looks easy enough. Is it better than the CDO approach? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Sunday, August 05, 2007 7:28 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Need SMTP Code Rocky, see: http://www.freevbcode.com/ShowCode.Asp?ID=109 works well with Access. Have used it for years. Only requires one .DLL Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Saturday, August 04, 2007 9:10 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Need SMTP Code Dear List: I have a lot of Access sites bookmarked but can never find what I need in them. I'm looking for some code to handle email from Access using SMTP. Does anyone know if there's a module I can crib from one of the many Access sites? MTIA Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.4/936 - Release Date: 8/4/2007 2:42 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.6/938 - Release Date: 8/5/2007 4:16 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.6/938 - Release Date: 8/5/2007 4:16 PM -- 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 6 18:06:33 2007 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue, 07 Aug 2007 09:06:33 +1000 Subject: [AccessD] Need SMTP Code In-Reply-To: <006b01c7d852$890c6fc0$0301a8c0@HAL9005> References: <11173460.228591186419899814.JavaMail.servlet@perfora>, <006b01c7d852$890c6fc0$0301a8c0@HAL9005> Message-ID: <46B7A979.30413.1464ED11@stuart.lexacorp.com.pg> On 6 Aug 2007 at 10:52, Rocky Smolin at Beach Access wrote: > Hmmm...A second endorsement for BLAT. > > So we've got BLAT, CDO, vbSendMail, and roll-your-own SMTP code. Oh, and > the Access object which I'll probably put in as an option for the user. > > Any additional votes or opinions welcome. I've got a couple days work on > other features before I have to make a decision on this one. Make that a third endorsement for BLAT. I've got several automated mailing systems using it, one of them sends out several thousand PDF invoices monthly. The DLL version is a "real" DLL which doesn't need to be registered, just drop it in an appropriate location. RWT CDO, Here's one quote I found on the web: CDO on the other hand, was the "heavy weight" MAPI focused email automation programming interface, that was primarily focused on desktop applications needing interface with the MAPI (ms mail application programming interface) mail system (i.e. the mail system that underlies Outlook by and large). CDO is not really in "vogue" now either. MS is moving toward SMTP as the standard mail protocol rather than MAPI, and LDAP as the standard directory interface for things like address books. On the 2000, XP and Server 2003 platforms, you can use the automation interface in what is called CDOex to send SMTP mail in a much more robust way than you could with CDONTS. You have to write your own code to build up multipart MIME email message sections, but if all you want to do is send a plain text SMTP mail, CDOex is also pretty easy to use. CDOex, also requires an SMTP service to be running to function. From dwaters at usinternet.com Mon Aug 6 20:23:37 2007 From: dwaters at usinternet.com (Dan Waters) Date: Mon, 6 Aug 2007 20:23:37 -0500 Subject: [AccessD] Need SMTP Code In-Reply-To: <000601c7d877$6be55d10$0801a8c0@roberts> References: <11173460.228591186419899814.JavaMail.servlet@perfora><006b01c7d852$890c6fc0$0301a8c0@HAL9005> <000601c7d877$6be55d10$0801a8c0@roberts> Message-ID: <005501c7d891$9487e520$0200a8c0@danwaters> Robert - can you post a link to their site? Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Robert Sent: Monday, August 06, 2007 5:16 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Need SMTP Code Rocky, I've had the opportunity to use a few of the products mentioned and I have always returned to /N Software's IP*Works. I use it Exclusively no, and have never had a problem with any of there products. A bit pricy but worth every cent, IMHO WBR Robert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Monday, August 06, 2007 1:52 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Need SMTP Code Hmmm...A second endorsement for BLAT. So we've got BLAT, CDO, vbSendMail, and roll-your-own SMTP code. Oh, and the Access object which I'll probably put in as an option for the user. Any additional votes or opinions welcome. I've got a couple days work on other features before I have to make a decision on this one. Thanks for all your input. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of pctech at mybellybutton.com Sent: Monday, August 06, 2007 10:05 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Need SMTP Code Dan: Sterling endorsement. :) Looks like a good candidate. Simplest for the end user is best. With vbSendMail does the user have to know their server name, port, etc.? The less stuff they have to know the better. Thanks Rocky ------------------------------------------------------------- Sorry about this horrible web mailer. I am on the road. There is a more efficient solution, I think. The problem with registering DLLs is that you have to worry about incompatibilities with other software. Also, some IT departments are very picky about what they will let you run. I have found an application that I use in conjunction with other things for my SOX notifications. It's called BLAT. It doesn't need to be installed, per se, it just needs to have files copied to certain locations, which are well documented. I, personally, call this using batch files from Scheduled Tasks, but you could also call them from within ShellRun commands. I've used this application for about four years now problem-free. The URL is http://www.blat.net/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Monday, August 06, 2007 6:17 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Need SMTP Code Rocky, I've used vbSendMail for several years also, and it works well. Also has a great user manual. I've incorporated the code into a single module in my Access apps. The one thing I would like to do but not sure how is to write a class that detects and reports SMTP errors (Access can't do this). The Let and Get properties are already there, I'm just don't know how to use them. Of course, the manual's author says it's easy. You do need error trapping in your app that can detect if the .dll file is not present, so the IT folks at your client can install and register the files (they tend to forget to install them with a replacement PC). You'll get 429 and 91 errors if it's not there. Other than this, I've had no other errors. It's at http://www.freevbcode.com/ShowCode.Asp?ID=109 and is called vbSendMail. HTH! Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Monday, August 06, 2007 7:54 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Need SMTP Code Rocky, I'm not sure "better" would be the correct word, but I do find it simpler. I need only one .DLL to be registered to make the code work. BLAT is even simpler yet, but unless you use the DLL version, you have no error checking or real control over it. And last I checked, the .DLL version was lacking several key features and was a rev or two behind the command line interface. CDO has come along way. Early on there were multiple versions and they all didn't work the same. I've been quite happy with the direct SMTP code I've been using and have not needed to develop anything more sophisticated, so I have not taken another look at CDO in a long time. I believe that you still need to rely on it being installed and it only comes with certain Microsoft products. There is no separate download that I'm aware of. This is another reason I've not used it as I like to provide my apps with everything that's required and not rely on external products if at all possible. But it certainly has a lot more capabilities then sending e-mail and it may be worth starting down that road to get a handle on it for the future. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Sunday, August 05, 2007 11:44 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Need SMTP Code Thanks. Looks easy enough. Is it better than the CDO approach? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Sunday, August 05, 2007 7:28 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Need SMTP Code Rocky, see: http://www.freevbcode.com/ShowCode.Asp?ID=109 works well with Access. Have used it for years. Only requires one .DLL Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Saturday, August 04, 2007 9:10 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Need SMTP Code Dear List: I have a lot of Access sites bookmarked but can never find what I need in them. I'm looking for some code to handle email from Access using SMTP. Does anyone know if there's a module I can crib from one of the many Access sites? MTIA Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.4/936 - Release Date: 8/4/2007 2:42 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.6/938 - Release Date: 8/5/2007 4:16 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.6/938 - Release Date: 8/5/2007 4:16 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From robert at servicexp.com Mon Aug 6 20:43:41 2007 From: robert at servicexp.com (Robert) Date: Mon, 6 Aug 2007 21:43:41 -0400 Subject: [AccessD] Need SMTP Code In-Reply-To: <005501c7d891$9487e520$0200a8c0@danwaters> References: <11173460.228591186419899814.JavaMail.servlet@perfora><006b01c7d852$890c6fc0$0301a8c0@HAL9005><000601c7d877$6be55d10$0801a8c0@roberts> <005501c7d891$9487e520$0200a8c0@danwaters> Message-ID: <000b01c7d894$62e65490$0801a8c0@roberts> Dan, I think this will work.. Direct url to the product in question. Watch for wrap... http://www.nsoftware.com/ipworks/technologies.aspx?sku=ipa6-a WBR Robert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Monday, August 06, 2007 9:24 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Need SMTP Code Robert - can you post a link to their site? Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Robert Sent: Monday, August 06, 2007 5:16 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Need SMTP Code Rocky, I've had the opportunity to use a few of the products mentioned and I have always returned to /N Software's IP*Works. I use it Exclusively no, and have never had a problem with any of there products. A bit pricy but worth every cent, IMHO WBR Robert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Monday, August 06, 2007 1:52 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Need SMTP Code Hmmm...A second endorsement for BLAT. So we've got BLAT, CDO, vbSendMail, and roll-your-own SMTP code. Oh, and the Access object which I'll probably put in as an option for the user. Any additional votes or opinions welcome. I've got a couple days work on other features before I have to make a decision on this one. Thanks for all your input. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of pctech at mybellybutton.com Sent: Monday, August 06, 2007 10:05 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Need SMTP Code Dan: Sterling endorsement. :) Looks like a good candidate. Simplest for the end user is best. With vbSendMail does the user have to know their server name, port, etc.? The less stuff they have to know the better. Thanks Rocky ------------------------------------------------------------- Sorry about this horrible web mailer. I am on the road. There is a more efficient solution, I think. The problem with registering DLLs is that you have to worry about incompatibilities with other software. Also, some IT departments are very picky about what they will let you run. I have found an application that I use in conjunction with other things for my SOX notifications. It's called BLAT. It doesn't need to be installed, per se, it just needs to have files copied to certain locations, which are well documented. I, personally, call this using batch files from Scheduled Tasks, but you could also call them from within ShellRun commands. I've used this application for about four years now problem-free. The URL is http://www.blat.net/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Monday, August 06, 2007 6:17 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Need SMTP Code Rocky, I've used vbSendMail for several years also, and it works well. Also has a great user manual. I've incorporated the code into a single module in my Access apps. The one thing I would like to do but not sure how is to write a class that detects and reports SMTP errors (Access can't do this). The Let and Get properties are already there, I'm just don't know how to use them. Of course, the manual's author says it's easy. You do need error trapping in your app that can detect if the .dll file is not present, so the IT folks at your client can install and register the files (they tend to forget to install them with a replacement PC). You'll get 429 and 91 errors if it's not there. Other than this, I've had no other errors. It's at http://www.freevbcode.com/ShowCode.Asp?ID=109 and is called vbSendMail. HTH! Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Monday, August 06, 2007 7:54 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Need SMTP Code Rocky, I'm not sure "better" would be the correct word, but I do find it simpler. I need only one .DLL to be registered to make the code work. BLAT is even simpler yet, but unless you use the DLL version, you have no error checking or real control over it. And last I checked, the .DLL version was lacking several key features and was a rev or two behind the command line interface. CDO has come along way. Early on there were multiple versions and they all didn't work the same. I've been quite happy with the direct SMTP code I've been using and have not needed to develop anything more sophisticated, so I have not taken another look at CDO in a long time. I believe that you still need to rely on it being installed and it only comes with certain Microsoft products. There is no separate download that I'm aware of. This is another reason I've not used it as I like to provide my apps with everything that's required and not rely on external products if at all possible. But it certainly has a lot more capabilities then sending e-mail and it may be worth starting down that road to get a handle on it for the future. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Sunday, August 05, 2007 11:44 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Need SMTP Code Thanks. Looks easy enough. Is it better than the CDO approach? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Sunday, August 05, 2007 7:28 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Need SMTP Code Rocky, see: http://www.freevbcode.com/ShowCode.Asp?ID=109 works well with Access. Have used it for years. Only requires one .DLL Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Saturday, August 04, 2007 9:10 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Need SMTP Code Dear List: I have a lot of Access sites bookmarked but can never find what I need in them. I'm looking for some code to handle email from Access using SMTP. Does anyone know if there's a module I can crib from one of the many Access sites? MTIA Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.4/936 - Release Date: 8/4/2007 2:42 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.6/938 - Release Date: 8/5/2007 4:16 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.6/938 - Release Date: 8/5/2007 4:16 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From robert at servicexp.com Mon Aug 6 20:56:39 2007 From: robert at servicexp.com (Robert) Date: Mon, 6 Aug 2007 21:56:39 -0400 Subject: [AccessD] Need SMTP Code In-Reply-To: <000b01c7d894$62e65490$0801a8c0@roberts> References: <11173460.228591186419899814.JavaMail.servlet@perfora><006b01c7d852$890c6fc0$0301a8c0@HAL9005><000601c7d877$6be55d10$0801a8c0@roberts><005501c7d891$9487e520$0200a8c0@danwaters> <000b01c7d894$62e65490$0801a8c0@roberts> Message-ID: <000c01c7d896$32771ef0$0801a8c0@roberts> I should add, you can purchase it cheaper through the url below... http://www.xtras.net/products/ipworks/ WBR Robert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Robert Sent: Monday, August 06, 2007 9:44 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Need SMTP Code Dan, I think this will work.. Direct url to the product in question. Watch for wrap... http://www.nsoftware.com/ipworks/technologies.aspx?sku=ipa6-a WBR Robert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Monday, August 06, 2007 9:24 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Need SMTP Code Robert - can you post a link to their site? Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Robert Sent: Monday, August 06, 2007 5:16 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Need SMTP Code Rocky, I've had the opportunity to use a few of the products mentioned and I have always returned to /N Software's IP*Works. I use it Exclusively no, and have never had a problem with any of there products. A bit pricy but worth every cent, IMHO WBR Robert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Monday, August 06, 2007 1:52 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Need SMTP Code Hmmm...A second endorsement for BLAT. So we've got BLAT, CDO, vbSendMail, and roll-your-own SMTP code. Oh, and the Access object which I'll probably put in as an option for the user. Any additional votes or opinions welcome. I've got a couple days work on other features before I have to make a decision on this one. Thanks for all your input. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of pctech at mybellybutton.com Sent: Monday, August 06, 2007 10:05 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Need SMTP Code Dan: Sterling endorsement. :) Looks like a good candidate. Simplest for the end user is best. With vbSendMail does the user have to know their server name, port, etc.? The less stuff they have to know the better. Thanks Rocky ------------------------------------------------------------- Sorry about this horrible web mailer. I am on the road. There is a more efficient solution, I think. The problem with registering DLLs is that you have to worry about incompatibilities with other software. Also, some IT departments are very picky about what they will let you run. I have found an application that I use in conjunction with other things for my SOX notifications. It's called BLAT. It doesn't need to be installed, per se, it just needs to have files copied to certain locations, which are well documented. I, personally, call this using batch files from Scheduled Tasks, but you could also call them from within ShellRun commands. I've used this application for about four years now problem-free. The URL is http://www.blat.net/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Monday, August 06, 2007 6:17 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Need SMTP Code Rocky, I've used vbSendMail for several years also, and it works well. Also has a great user manual. I've incorporated the code into a single module in my Access apps. The one thing I would like to do but not sure how is to write a class that detects and reports SMTP errors (Access can't do this). The Let and Get properties are already there, I'm just don't know how to use them. Of course, the manual's author says it's easy. You do need error trapping in your app that can detect if the .dll file is not present, so the IT folks at your client can install and register the files (they tend to forget to install them with a replacement PC). You'll get 429 and 91 errors if it's not there. Other than this, I've had no other errors. It's at http://www.freevbcode.com/ShowCode.Asp?ID=109 and is called vbSendMail. HTH! Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Monday, August 06, 2007 7:54 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Need SMTP Code Rocky, I'm not sure "better" would be the correct word, but I do find it simpler. I need only one .DLL to be registered to make the code work. BLAT is even simpler yet, but unless you use the DLL version, you have no error checking or real control over it. And last I checked, the .DLL version was lacking several key features and was a rev or two behind the command line interface. CDO has come along way. Early on there were multiple versions and they all didn't work the same. I've been quite happy with the direct SMTP code I've been using and have not needed to develop anything more sophisticated, so I have not taken another look at CDO in a long time. I believe that you still need to rely on it being installed and it only comes with certain Microsoft products. There is no separate download that I'm aware of. This is another reason I've not used it as I like to provide my apps with everything that's required and not rely on external products if at all possible. But it certainly has a lot more capabilities then sending e-mail and it may be worth starting down that road to get a handle on it for the future. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Sunday, August 05, 2007 11:44 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Need SMTP Code Thanks. Looks easy enough. Is it better than the CDO approach? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Sunday, August 05, 2007 7:28 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Need SMTP Code Rocky, see: http://www.freevbcode.com/ShowCode.Asp?ID=109 works well with Access. Have used it for years. Only requires one .DLL Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Saturday, August 04, 2007 9:10 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Need SMTP Code Dear List: I have a lot of Access sites bookmarked but can never find what I need in them. I'm looking for some code to handle email from Access using SMTP. Does anyone know if there's a module I can crib from one of the many Access sites? MTIA Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.4/936 - Release Date: 8/4/2007 2:42 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.6/938 - Release Date: 8/5/2007 4:16 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.6/938 - Release Date: 8/5/2007 4:16 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Mon Aug 6 21:05:33 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 6 Aug 2007 22:05:33 -0400 Subject: [AccessD] Kerio Personal firewall now Subbelt personal Firewall Message-ID: <20070807020535.04F85BE4A@smtp-auth.no-ip.com> John W. Colby Colby Consulting www.ColbyConsulting.com From fuller.artful at gmail.com Mon Aug 6 22:32:44 2007 From: fuller.artful at gmail.com (Arthur Fuller) Date: Mon, 6 Aug 2007 23:32:44 -0400 Subject: [AccessD] A puzzle re: differences between 2000 and 2005 In-Reply-To: <29f585dd0708061815xc48a1aer423399f6ab27e89b@mail.gmail.com> References: <29f585dd0708061815xc48a1aer423399f6ab27e89b@mail.gmail.com> Message-ID: <29f585dd0708062032r62b46c28i1924e6dff799259d@mail.gmail.com> I regularly use a dialog in my apps that contains a calendar and allows you to set a date range, which values are then passed to a report using InputParameters. The form works perfectly with a sql 2000 database but apparently not with a sql 2005 database. Has something changed regarding datetime fields in 2005? The forms and the InputParameters settings are identical, but I get an error in the 2005 app. It's using Access 2000 format, and otherwise runs fine in Access 2000 and 2003. The form is slick and I'd hate to stop using it. I cannot figure out what's wrong. If I have to, I'll convert the database to SQL 2000 format just so I can continue using this form, but that is less than ideal. Anybody got a clue as to why this behavior occurs? Or alternatively, a pop-up calendar control known to work against a SQL 2005 database? TIA, Arthur From stuart at lexacorp.com.pg Mon Aug 6 22:30:09 2007 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue, 07 Aug 2007 13:30:09 +1000 Subject: [AccessD] [dba-Tech] Kerio Personal firewall now Subbelt personal Firewall In-Reply-To: <20070807020535.04F85BE4A@smtp-auth.no-ip.com> References: <20070807020535.04F85BE4A@smtp-auth.no-ip.com> Message-ID: <46B7E741.863.155642ED@stuart.lexacorp.com.pg> On 6 Aug 2007 at 22:05, jwcolby wrote: > > Are you trying to tell us something? :-) From wdhindman at dejpolsystems.com Mon Aug 6 22:58:15 2007 From: wdhindman at dejpolsystems.com (William Hindman) Date: Mon, 6 Aug 2007 23:58:15 -0400 Subject: [AccessD] [dba-Tech] Kerio Personal firewall now Subbeltpersonal Firewall References: <20070807020535.04F85BE4A@smtp-auth.no-ip.com> <46B7E741.863.155642ED@stuart.lexacorp.com.pg> Message-ID: <001101c7d8a7$2f3acff0$517a6c4c@jisshowsbs.local> ...that he grows more obtuse with each passing day? :)))) William Hindman ----- Original Message ----- From: "Stuart McLachlan" To: "'Access Developers discussion and problem solving'" ; "'Discussion of Hardware and Software issues'" Sent: Monday, August 06, 2007 11:30 PM Subject: Re: [AccessD] [dba-Tech] Kerio Personal firewall now Subbeltpersonal Firewall > On 6 Aug 2007 at 22:05, jwcolby wrote: > >> >> > > Are you trying to tell us something? :-) > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From Susan.Klos at fldoe.org Tue Aug 7 06:43:04 2007 From: Susan.Klos at fldoe.org (Klos, Susan) Date: Tue, 7 Aug 2007 07:43:04 -0400 Subject: [AccessD] Appending in a module Message-ID: I thought I could do this on my own, but it has been a long time since I have had a chance to do any programming in Access. Anyway here is my problem and I would greatly appreciate any help. I have 35 tables all with the same basic name except for a number -- dist_35_INDV0607. The 35 can be anything from 01 to 35. What I would like to do is loop through these tables and append 4 fields to a table that has just those fields in it. Here is a sample of the code I was using: For i = 10 To 35 DoCmd.RunSQL "INSERT INTO [tblPercentBlack-Hisp] ( Dist, Schol, sid, race ) SELECT dist_" & i & "_INDV0607.distenrl, dist_" & i & "_INDV0607.schlenrl_corrected, dist_" & i & "_INDV0607.sid, dist_" & i & "_INDV0607.Race FROM dist_" & i & "_INDV0607; ", -1 Next i My ultimate goal is to find the percent black and percent Hispanic for the combined tables. Some of you may be wondering why I have 35 separate tables. The reason is that I am working with a flat file crated in SAS with over 2 million records and 200 fields. I tried bringing in the whole table and Access balked. It has just been too long since I have done any programming, and I am having trouble getting back on the bike. Especially since the bike version is now 2003 and the last version I used for programming was 97. Susan Klos Evaluation and Reporting 325 W. Gaines Street Tallahassee, FL 32399 850-245-0708 susan.klos at fldoe.org Please take a few minutes to provide feedback on the quality of service you received from our staff. The Department of Education values your feedback as a customer. Commissioner of Education Jeanine Blomberg is committed to continuously assessing and improving the level and quality of services provided to you.Simply use the link below. Thank you in advance for completing the survey. http://data.fldoe.org/cs/default.cfm?staff=Susan.Klos at fldoe.org|07:43:04%20Tue%2007%20Aug%202007 From Susan.Klos at fldoe.org Tue Aug 7 06:46:49 2007 From: Susan.Klos at fldoe.org (Klos, Susan) Date: Tue, 7 Aug 2007 07:46:49 -0400 Subject: [AccessD] append in a module Message-ID: Never mind it seems to be working now. Thanks anyway. Susan Klos Evaluation and Reporting 325 W. Gaines Street Tallahassee, FL 32399 850-245-0708 susan.klos at fldoe.org Please take a few minutes to provide feedback on the quality of service you received from our staff. The Department of Education values your feedback as a customer. Commissioner of Education Jeanine Blomberg is committed to continuously assessing and improving the level and quality of services provided to you.Simply use the link below. Thank you in advance for completing the survey. http://data.fldoe.org/cs/default.cfm?staff=Susan.Klos at fldoe.org|07:46:49%20Tue%2007%20Aug%202007 From jwcolby at colbyconsulting.com Tue Aug 7 07:04:34 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 7 Aug 2007 08:04:34 -0400 Subject: [AccessD] [dba-Tech] Kerio Personal firewall now Subbeltpersonal Firewall In-Reply-To: <46B7E741.863.155642ED@stuart.lexacorp.com.pg> Message-ID: <20070807120436.59A00BC63@smtp-auth.no-ip.com> LOL. Nope, just that the Kerio firewall was rescued by sunbelt and is still available. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Monday, August 06, 2007 11:30 PM To: 'Access Developers discussion and problem solving'; 'Discussion of Hardware and Software issues' Subject: Re: [AccessD] [dba-Tech] Kerio Personal firewall now Subbeltpersonal Firewall On 6 Aug 2007 at 22:05, jwcolby wrote: > > Are you trying to tell us something? :-) -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dwaters at usinternet.com Tue Aug 7 07:41:54 2007 From: dwaters at usinternet.com (Dan Waters) Date: Tue, 7 Aug 2007 07:41:54 -0500 Subject: [AccessD] Generic Code for SMTP Email Using vbSendMail Message-ID: <000c01c7d8f0$561a66f0$0200a8c0@danwaters> Hope this is helpful! Any Comments? Dan Waters __________________________________________________________________________ Private Sub SendEmailGeneric() '-- This would come from a form or standard module Call SendEmailSMTPGeneric("Dan Waters", "Problem 912 is now assigned to you.", "frmProblemMain", "NotifyAssignee", "The Problem Description is . . .", "C:\Problems\Problem 912.doc", , True, True) End Sub Public Sub SendEmailSMTPGeneric(stgTo As String, _ Optional stgSubject As String, _ Optional stgForm As String, _ Optional stgProcedure As String, _ Optional stgMessage As String, _ Optional stgAttachment As String, _ Optional stgRecordNumber As String, _ Optional blnSendToCurrent As Boolean, _ Optional blnHideEmailNotice As Boolean) On Error GoTo EH Dim poSendMail As Object Dim stgFromEmailAddress As String Dim blnShowEmailMessage As Boolean Dim stgCurrentMachineName As String Dim stgSystemAcronym As String If IsNull(stgTo) Then Exit Sub End If If stgTo = "" Then Exit Sub End If stgCurrentMachineName = CurrentPCName '-- Each customer can have their own System Acronym stgSystemAcronym = SystemAcronym '-- Normally don't send an email to the person currently logged on If blnSendToCurrent = False Then If stgTo = CurrentPerson Then Exit Sub End If End If '-- Get the current user's email address stgFromEmailAddress = EmailAddressUserName(CurrentUser) '-- Get separate email addresses for each person in the stgTo list. _ Modular variables are used - could also be Functions MstgAllAddresses = "" MstgTo = "" Call GetSeparateEmailAddresses(stgTo) If MstgTo = "" Then Exit Sub End If '-- Late Binding Set poSendMail = CreateObject("vbSendMail.clsSendMail") '-- Get the SMTP Name (provided by customer) poSendMail.SMTPHost = SMTPServerName '-- Set the From Display Name as being from the system instead of from a person poSendMail.FromDisplayName = SystemAcronym & " Notification" '-- The sending person's email address is recorded, but isn't all that obvious poSendMail.FROM = stgFromEmailAddress poSendMail.ReplyToAddress = stgFromEmailAddress '-- Add a message if there is one If stgMessage <> "" Then poSendMail.Message = stgMessage End If '-- Multiple attachments can be sent If Not IsEmpty(stgAttachment) And stgAttachment <> "" Then poSendMail.Attachment = stgAttachment End If '-- Define recipients' email addresses poSendMail.RecipientDisplayName = MstgTo poSendMail.Recipient = MstgAllAddresses poSendMail.Subject = stgSubject '-- When email is originated from the developer's PC, don't actually send email If stgCurrentMachineName <> "DanWaters" Then poSendMail.Connect poSendMail.Send poSendMail.Disconnect End If '-- Does this user want to see email messages? blnShowEmailMessage = ShowEmailMessages '-- Display an 'Email Sent' message for various circumstances If blnShowEmailMessage = True And stgProcedure <> "UserLicenses" And stgProcedure <> "DeveloperEmail" And blnHideEmailNotice = False Then If InStr(MstgTo, "@") <> 0 Then MsgBox "Email To: " & MstgTo & vbNewLine & vbNewLine & "Subject: " & stgSubject, vbOKOnly, "Email Sent Notice" Else FormattedMsgBox GstgReminder, "Email To: " & MstgTo & vbNewLine & vbNewLine & "Subject: " & stgSubject & "@ @", vbOKOnly, "Email Sent Notice" End If End If Exit Sub EH: Application.Echo True Call GlobalErrors("", Err.Number, Err.Description, "Email SMTP Generic", "SendEmailSMTPGeneric", stgForm & ": " & stgRecordNumber, stgProcedure, "Line " & Erl) End Sub From fuller.artful at gmail.com Tue Aug 7 07:53:06 2007 From: fuller.artful at gmail.com (Arthur Fuller) Date: Tue, 7 Aug 2007 08:53:06 -0400 Subject: [AccessD] Recordset question Message-ID: <29f585dd0708070553r79d37a9en2a651f156d63a230@mail.gmail.com> Given an ADODB recordset that has been opened, should one moveFirst and then check for EOF, or vice-versa? Will it error if you moveFirst and there are no records in the set? TIA, Arthur From Chester_Kaup at kindermorgan.com Tue Aug 7 07:59:37 2007 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Tue, 7 Aug 2007 07:59:37 -0500 Subject: [AccessD] Recordset question In-Reply-To: <29f585dd0708070553r79d37a9en2a651f156d63a230@mail.gmail.com> References: <29f585dd0708070553r79d37a9en2a651f156d63a230@mail.gmail.com> Message-ID: I would check for EOF first. You will get an error if you try to move to a record that does not exist. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Tuesday, August 07, 2007 7:53 AM To: Access Developers discussion and problem solving Subject: [AccessD] Recordset question Given an ADODB recordset that has been opened, should one moveFirst and then check for EOF, or vice-versa? Will it error if you moveFirst and there are no records in the set? TIA, Arthur -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Tue Aug 7 10:43:51 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 07 Aug 2007 17:43:51 +0200 Subject: [AccessD] OT: Icons Message-ID: Hi all Here are a couple of very neat collections (free): http://www.famfamfam.com/lab/icons/ /gustav >>> BBarabash at TappeConstruction.com 27-05-2005 16:39 >>> This was discussed a while ago. Credit Goes to Joe Rojas, Joshua B, Martin, Drew and Francisco. http://www.marvilla.us/ http://www.foood.net/icons/ http://www.studiotwentyeight.net/icons.htm http://xcession.web1000.com/pages/default.html http://www.hardwaregeeks.com/board/forumdisplay.php?s=&forumid=128 http://www.jonmega.com/~clotz/ http://www.deskmod.com/?show=showcat&cat_name=icons http://www.deviantart.com/browse/t/icon/winicons/ http://www.dotico.com/ http://icons.visualnoise.net/ http://icons.wbchug.net/ http://www.deathlace.tk/ http://www.logipole.com/ http://axialis.com http://www.aha-soft.com/iconxp/index.htm -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey Sent: Friday, May 27, 2005 8:22 AM To: Dba Subject: [AccessD] OT: Icons Hi all Does anyone have a source for good icons/images? Serious, neat ones not cartoon-y. I alwsys run into this problem when the customer asks for a picture on a screen. I've got DIB Pictures but that's limited to Windows-related stuff, so when I need a car, an ambulance, a fire, etc I'm stuffed. And when I Google "free icons" I get a million links, mostly to sites which want to charge you in the end. Any good pointers? -- Andy Lacey http://www.minstersystems.co.uk From cfoust at infostatsystems.com Tue Aug 7 11:40:01 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 7 Aug 2007 09:40:01 -0700 Subject: [AccessD] Recordset question In-Reply-To: <29f585dd0708070553r79d37a9en2a651f156d63a230@mail.gmail.com> References: <29f585dd0708070553r79d37a9en2a651f156d63a230@mail.gmail.com> Message-ID: Nope, with an ADO recordset, check for EOF and BOF (empty recordset). Don't try a movefirst otherwise. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Tuesday, August 07, 2007 5:53 AM To: Access Developers discussion and problem solving Subject: [AccessD] Recordset question Given an ADODB recordset that has been opened, should one moveFirst and then check for EOF, or vice-versa? Will it error if you moveFirst and there are no records in the set? TIA, Arthur -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From hollisvj at pgdp.usec.com Tue Aug 7 12:25:16 2007 From: hollisvj at pgdp.usec.com (Hollis, Virginia) Date: Tue, 7 Aug 2007 12:25:16 -0500 Subject: [AccessD] No Duplicates Message-ID: <703BDA18A87DFA4CB265A86F42E4178D028E8D63@c2k3exchange.pgdp.corp.usec.com> I am trying to check for duplicates when a user enters data in the primary key. I don't want them to be able to enter the data in the field at all. The ContainerNo is a txt field. I think I am missing a quote or is this wrong all together? Virginia ********* Private Sub ContainerNo_AfterUpdate() If Not IsNull(ContainerNo) Then If DCount("ContainerNo", "tbl_Containers", "ContainerNo = " & [ContainerNo]) > 0 Then MsgBox "You have entered a Container that already exists" ContainerNo.SetFocus ContainerNo.Undo End If End If End Sub From robin at musicalmemories.co.uk Tue Aug 7 12:21:45 2007 From: robin at musicalmemories.co.uk (Robin ) Date: Tue, 7 Aug 2007 18:21:45 +0100 Subject: [AccessD] No Duplicates Message-ID: <560E2B80EC8F624B93A87B943B7A9CD553058F@rgiserv.rg.local> Hi Virginia Try (for a string value) If DCount("ContainerNo", "tbl_Containers", "ContainerNo = '" & [ContainerNo])& "'" RGds Robin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hollis, Virginia Sent: 07 August 2007 18:25 To: accessD at databaseadvisors.com Subject: [AccessD] No Duplicates I am trying to check for duplicates when a user enters data in the primary key. I don't want them to be able to enter the data in the field at all. The ContainerNo is a txt field. I think I am missing a quote or is this wrong all together? Virginia ********* Private Sub ContainerNo_AfterUpdate() If Not IsNull(ContainerNo) Then If DCount("ContainerNo", "tbl_Containers", "ContainerNo = " & [ContainerNo]) > 0 Then MsgBox "You have entered a Container that already exists" ContainerNo.SetFocus ContainerNo.Undo End If End If End Sub -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From markamatte at hotmail.com Tue Aug 7 12:39:00 2007 From: markamatte at hotmail.com (Mark A Matte) Date: Tue, 07 Aug 2007 17:39:00 +0000 Subject: [AccessD] check for file in ftp site In-Reply-To: <007601c7cf2d$fb5e55d0$0200a8c0@ULTRADNT> Message-ID: Sorry for the delayed response...I have been 'Out of Commission' for the past few weeks...and not able to work. The method I use for FTP is all contained within Access. It was sent to me(or a link to it) around 3 years ago from someone on the list (no credits in the code) and can' remember who sent it. Baasically it all revolves around a couple of large modules...with a bunch of api calls. I really don't know what to discuss...unless you want me to post the main FTPCLIENT Class Module. Please let me know your thoughts. Thanks, Mark A. Matte >From: "Steve Conklin" >Reply-To: Access Developers discussion and problem >solving >To: "'Access Developers discussion and problem >solving'" >Subject: Re: [AccessD] check for file in ftp site >Date: Wed, 25 Jul 2007 22:37:54 -0400 > >I don't necessarily want your file, but would rather see here a discussion >of technique and maybe a couple lines of the most relevant code. I think >more of us benefit that way. There are so many ways to do this - Are you >using an API? A 3rd party client? Generating a script to use with the >built-in FTP.exe (which is what I normally do) ? > >Tia, >Steve > > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte >Sent: Tuesday, July 24, 2007 11:25 AM >To: accessd at databaseadvisors.com >Subject: Re: [AccessD] check for file in ftp site > >Hello All, > >I am more than happy to send almost anything to almost anyone...but as we >are getting back into some of our Netiquette Practices...please send any >other "Me Too"'s to me directly...to lessen the List traffic. > >Thanks, > >Mark A. Matte > >P.S...Doug, I sent you a copy already...good luck...its just an ugly >scrapped together example. > > > >From: "Doug Barnes" > >Reply-To: Access Developers discussion and problem > >solving > >To: "Access Developers discussion and problem > >solving" > >Subject: Re: [AccessD] check for file in ftp site > >Date: Tue, 24 Jul 2007 10:49:10 -0400 > > > >Would love to see a copy, as well > > > > > >Douglas Barnes > > > >Starn Technical Services > >P.O. Box 1172 > >15957 Conneaut Lake Road, Suite 7 > >Meadville, PA 16335 > > > >doug at starntech.com > >P: 814.724.1045 > >F: 814.337.3460 > > > > > >-----Original Message----- > >From: accessd-bounces at databaseadvisors.com > >[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mark A Matte > >Sent: Monday, July 23, 2007 4:25 PM > >To: accessd at databaseadvisors.com > >Subject: Re: [AccessD] check for file in ftp site > > > > > >Sending You a zip file offline. > > > > > > >From: "Reuben Cummings" > > >Reply-To: Access Developers discussion and problem > > >solving > > >To: "AccessD" > > >Subject: [AccessD] check for file in ftp site > > >Date: Mon, 23 Jul 2007 15:35:56 -0400 > > > > > >I am wanting to log into an ftp site, look thru all the txt files (only > >txt > > >files), and download all files that are new since the last check. > > > > > >The files are all numbered sequentially so I can parse out the numbers >to > > >determine what files are new. > > > > > >However, I could use some assistance in looping thru the txt file >names. > > > > > >Thanks. > > > > > >Reuben Cummings > > >GFC, LLC > > >812.523.1017 > > > > > > > > > > > >-- > > >AccessD mailing list > > >AccessD at databaseadvisors.com > > >http://databaseadvisors.com/mailman/listinfo/accessd > > >Website: http://www.databaseadvisors.com > > > >_________________________________________________________________ > >http://newlivehotmail.com > > > >-- > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > > > >-- > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > >_________________________________________________________________ >Need a brain boost? Recharge with a stimulating game. Play now! >http://club.live.com/home.aspx?icid=club_hotmailtextlink1 > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ A new home for Mom, no cleanup required. All starts here. http://www.reallivemoms.com?ocid=TXT_TAGHM&loc=us From wdhindman at dejpolsystems.com Tue Aug 7 12:45:27 2007 From: wdhindman at dejpolsystems.com (William Hindman) Date: Tue, 7 Aug 2007 13:45:27 -0400 Subject: [AccessD] OT: Icons References: Message-ID: <001501c7d91a$be36fbc0$0c10a8c0@jisshowsbs.local> ...sweet :) William Hindman ----- Original Message ----- From: "Gustav Brock" To: Sent: Tuesday, August 07, 2007 11:43 AM Subject: Re: [AccessD] OT: Icons > Hi all > > Here are a couple of very neat collections (free): > > http://www.famfamfam.com/lab/icons/ > > /gustav > >>>> BBarabash at TappeConstruction.com 27-05-2005 16:39 >>> > This was discussed a while ago. > Credit Goes to Joe Rojas, Joshua B, Martin, Drew and Francisco. > > http://www.marvilla.us/ > http://www.foood.net/icons/ > http://www.studiotwentyeight.net/icons.htm > http://xcession.web1000.com/pages/default.html > http://www.hardwaregeeks.com/board/forumdisplay.php?s=&forumid=128 > http://www.jonmega.com/~clotz/ > http://www.deskmod.com/?show=showcat&cat_name=icons > http://www.deviantart.com/browse/t/icon/winicons/ > http://www.dotico.com/ > http://icons.visualnoise.net/ > http://icons.wbchug.net/ > http://www.deathlace.tk/ > http://www.logipole.com/ > http://axialis.com > http://www.aha-soft.com/iconxp/index.htm > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey > Sent: Friday, May 27, 2005 8:22 AM > To: Dba > Subject: [AccessD] OT: Icons > > > Hi all > Does anyone have a source for good icons/images? Serious, neat ones not > cartoon-y. I alwsys run into this problem when the customer asks for a > picture on a screen. I've got DIB Pictures but that's limited to > Windows-related stuff, so when I need a car, an ambulance, a fire, etc > I'm stuffed. And when I Google "free icons" I get a million links, > mostly to sites which want to charge you in the end. Any good pointers? > -- > Andy Lacey > http://www.minstersystems.co.uk > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From Donald.A.McGillivray at sprint.com Tue Aug 7 12:45:16 2007 From: Donald.A.McGillivray at sprint.com (McGillivray, Don [IT]) Date: Tue, 7 Aug 2007 12:45:16 -0500 Subject: [AccessD] No Duplicates In-Reply-To: <560E2B80EC8F624B93A87B943B7A9CD553058F@rgiserv.rg.local> References: <560E2B80EC8F624B93A87B943B7A9CD553058F@rgiserv.rg.local> Message-ID: Nope. Should be: If DCount("ContainerNo", "tbl_Containers", "ContainerNo = '" & [ContainerNo] & "'") -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Robin Sent: Tuesday, August 07, 2007 10:22 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] No Duplicates Hi Virginia Try (for a string value) If DCount("ContainerNo", "tbl_Containers", "ContainerNo = '" & [ContainerNo])& "'" RGds Robin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hollis, Virginia Sent: 07 August 2007 18:25 To: accessD at databaseadvisors.com Subject: [AccessD] No Duplicates I am trying to check for duplicates when a user enters data in the primary key. I don't want them to be able to enter the data in the field at all. The ContainerNo is a txt field. I think I am missing a quote or is this wrong all together? Virginia ********* Private Sub ContainerNo_AfterUpdate() If Not IsNull(ContainerNo) Then If DCount("ContainerNo", "tbl_Containers", "ContainerNo = " & [ContainerNo]) > 0 Then MsgBox "You have entered a Container that already exists" ContainerNo.SetFocus ContainerNo.Undo End If End If End Sub -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From hollisvj at pgdp.usec.com Tue Aug 7 13:06:53 2007 From: hollisvj at pgdp.usec.com (Hollis, Virginia) Date: Tue, 7 Aug 2007 13:06:53 -0500 Subject: [AccessD] No Duplicates Message-ID: <703BDA18A87DFA4CB265A86F42E4178D028E8D88@c2k3exchange.pgdp.corp.usec.com> After Update is the correct place to put this right? *********** Should be: If DCount("ContainerNo", "tbl_Containers", "ContainerNo = '" & [ContainerNo] & "'") From cfoust at infostatsystems.com Tue Aug 7 13:14:51 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 7 Aug 2007 11:14:51 -0700 Subject: [AccessD] No Duplicates In-Reply-To: <703BDA18A87DFA4CB265A86F42E4178D028E8D88@c2k3exchange.pgdp.corp.usec.com> References: <703BDA18A87DFA4CB265A86F42E4178D028E8D88@c2k3exchange.pgdp.corp.usec.com> Message-ID: AfterUpdate doesn't have a cancel argument, but you could raise a messagebox from the AfterUpdate event of the control. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hollis, Virginia Sent: Tuesday, August 07, 2007 11:07 AM To: accessd at databaseadvisors.com Subject: [AccessD] No Duplicates After Update is the correct place to put this right? *********** Should be: If DCount("ContainerNo", "tbl_Containers", "ContainerNo = '" & [ContainerNo] & "'") -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Tue Aug 7 14:48:22 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Tue, 7 Aug 2007 12:48:22 -0700 Subject: [AccessD] Changing Default Printer Message-ID: <006801c7d92b$e9e1d0e0$0301a8c0@HAL9005> Dear List: Slightly different request for changing printers to the one I had a few day ago: Is there an easy way to save the current windows default printer and change to a user pre-selected printer (name stored in an local options table)? This is for a distributable app so there's no way to know what the installed printers are. The program needs to print to a PDF file. So the user has to have a PDF printer installed. They pre-select it through a combo box on a control panel loaded with all the installed printer names and the printer name is saved in a local table. The app then runs at night without user intervention triggered by windows scheduler. So when it runs these reports, I need it to change the windows default printer to whatever printer they select. And then change it back after I'm done printing. MTIA Rocky From markamatte at hotmail.com Tue Aug 7 15:51:36 2007 From: markamatte at hotmail.com (Mark A Matte) Date: Tue, 07 Aug 2007 20:51:36 +0000 Subject: [AccessD] OT: Pics from JC Conference In-Reply-To: <006801c7d92b$e9e1d0e0$0301a8c0@HAL9005> Message-ID: Just curious if the pics from the latest conference are on the site somewhere? Thanks, Mark A. Matte _________________________________________________________________ Messenger Caf? ? open for fun 24/7. Hot games, cool activities served daily. Visit now. http://cafemessenger.com?ocid=TXT_TAGHM_AugHMtagline From rockysmolin at bchacc.com Tue Aug 7 15:57:44 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Tue, 7 Aug 2007 13:57:44 -0700 Subject: [AccessD] Changing Default Printer In-Reply-To: <006801c7d92b$e9e1d0e0$0301a8c0@HAL9005> Message-ID: <007801c7d935$9a1d6420$0301a8c0@HAL9005> Think I've got it. 2003 has a printer object so it gets real easy - I think. Seems to be working anyway. Private Sub ChangeToRequestedPrinter() strDefaultPrinter = Application.Printer.DeviceName Set Application.Printer = Application.Printers("PrimoPDF") End Sub Private Sub ChangeToDefaultPrinter() Set Application.Printer = Application.Printers(strDefaultPrinter) End Sub Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Tuesday, August 07, 2007 12:48 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Changing Default Printer Dear List: Slightly different request for changing printers to the one I had a few day ago: Is there an easy way to save the current windows default printer and change to a user pre-selected printer (name stored in an local options table)? This is for a distributable app so there's no way to know what the installed printers are. The program needs to print to a PDF file. So the user has to have a PDF printer installed. They pre-select it through a combo box on a control panel loaded with all the installed printer names and the printer name is saved in a local table. The app then runs at night without user intervention triggered by windows scheduler. So when it runs these reports, I need it to change the windows default printer to whatever printer they select. And then change it back after I'm done printing. MTIA Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.8/940 - Release Date: 8/6/2007 4:53 PM From cfoust at infostatsystems.com Tue Aug 7 16:14:36 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 7 Aug 2007 14:14:36 -0700 Subject: [AccessD] OT: Pics from JC Conference In-Reply-To: References: <006801c7d92b$e9e1d0e0$0301a8c0@HAL9005> Message-ID: WHICH latest conference?? Dian and I had our own mini-meeting last month in San Luis Obispo! Had a great couple of hours getting acquainted and didn't talk software so's you'd notice. LOL Charlotte -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Tuesday, August 07, 2007 1:52 PM To: accessd at databaseadvisors.com Subject: [AccessD] OT: Pics from JC Conference Just curious if the pics from the latest conference are on the site somewhere? Thanks, Mark A. Matte _________________________________________________________________ Messenger Caf? - open for fun 24/7. Hot games, cool activities served daily. Visit now. http://cafemessenger.com?ocid=TXT_TAGHM_AugHMtagline From jwcolby at colbyconsulting.com Tue Aug 7 16:20:30 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 7 Aug 2007 17:20:30 -0400 Subject: [AccessD] OT: Pics from JC Conference In-Reply-To: Message-ID: <20070807212033.21B90BBFD@smtp-auth.no-ip.com> Did any pics get sent to dba? John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Tuesday, August 07, 2007 4:52 PM To: accessd at databaseadvisors.com Subject: [AccessD] OT: Pics from JC Conference Just curious if the pics from the latest conference are on the site somewhere? Thanks, Mark A. Matte _________________________________________________________________ Messenger Cafi  open for fun 24/7. Hot games, cool activities served daily. Visit now. http://cafemessenger.com?ocid=TXT_TAGHM_AugHMtagline From max at sherman.org.uk Tue Aug 7 16:54:14 2007 From: max at sherman.org.uk (Max Sherman) Date: Tue, 7 Aug 2007 22:54:14 +0100 Subject: [AccessD] OT: Icons In-Reply-To: References: Message-ID: <00a101c7d93d$7fff78f0$8119fea9@LTVM> Thanks Gustav, A good site for icons. Regards Max Sherman -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Tuesday, August 07, 2007 4:44 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] OT: Icons Hi all Here are a couple of very neat collections (free): http://www.famfamfam.com/lab/icons/ /gustav >>> BBarabash at TappeConstruction.com 27-05-2005 16:39 >>> This was discussed a while ago. Credit Goes to Joe Rojas, Joshua B, Martin, Drew and Francisco. http://www.marvilla.us/ http://www.foood.net/icons/ http://www.studiotwentyeight.net/icons.htm http://xcession.web1000.com/pages/default.html http://www.hardwaregeeks.com/board/forumdisplay.php?s=&forumid=128 http://www.jonmega.com/~clotz/ http://www.deskmod.com/?show=showcat&cat_name=icons http://www.deviantart.com/browse/t/icon/winicons/ http://www.dotico.com/ http://icons.visualnoise.net/ http://icons.wbchug.net/ http://www.deathlace.tk/ http://www.logipole.com/ http://axialis.com http://www.aha-soft.com/iconxp/index.htm -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey Sent: Friday, May 27, 2005 8:22 AM To: Dba Subject: [AccessD] OT: Icons Hi all Does anyone have a source for good icons/images? Serious, neat ones not cartoon-y. I alwsys run into this problem when the customer asks for a picture on a screen. I've got DIB Pictures but that's limited to Windows-related stuff, so when I need a car, an ambulance, a fire, etc I'm stuffed. And when I Google "free icons" I get a million links, mostly to sites which want to charge you in the end. Any good pointers? -- Andy Lacey http://www.minstersystems.co.uk -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From paul.hartland at fsmail.net Wed Aug 8 03:39:49 2007 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Wed, 8 Aug 2007 10:39:49 +0200 (CEST) Subject: [AccessD] Changing Default Printer Message-ID: <24526825.198961186562389733.JavaMail.www@wwinf3202> Rocky, Not the neatest code in the world, but works for me: Dim prnPrinter As Printer Dim strDeviceName As String Dim bolFoundPrinter As Boolean strDeviceName = Printer.DeviceName ' Store current default printer bolFoundPrinter = False For Each prnPrinter In Printers If (prnPrinter.DeviceName = "NewPrinterName") Then Set Printer = prnPrinter bolFoundPrinter = True ' DO WHAT YOU WANT HERE TO PRINT Exit For End If Next ' Change back to original default printer For Each prnPrinter In Printers If (prnPrinter.DeviceName = strDeviceName) Then Set Printer = prnPrinter Exit For End If Next this is in VB6, so I assume should work in VBA for Access Message Received: Aug 07 2007, 08:49 PM From: "Rocky Smolin at Beach Access Software" To: "'Access Developers discussion and problem solving'" Cc: Subject: [AccessD] Changing Default Printer Dear List: Slightly different request for changing printers to the one I had a few day ago: Is there an easy way to save the current windows default printer and change to a user pre-selected printer (name stored in an local options table)? This is for a distributable app so there's no way to know what the installed printers are. The program needs to print to a PDF file. So the user has to have a PDF printer installed. They pre-select it through a combo box on a control panel loaded with all the installed printer names and the printer name is saved in a local table. The app then runs at night without user intervention triggered by windows scheduler. So when it runs these reports, I need it to change the windows default printer to whatever printer they select. And then change it back after I'm done printing. MTIA Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com Paul Hartland paul.hartland at fsmail.net 07730 523179 From ewaldt at gdls.com Wed Aug 8 08:45:07 2007 From: ewaldt at gdls.com (ewaldt at gdls.com) Date: Wed, 8 Aug 2007 09:45:07 -0400 Subject: [AccessD] Question on order within a union query In-Reply-To: Message-ID: I'm converting an Excel workbook to Access, to add functionality and better ability for several people to use it at the same time. I've created the tables, relationships, etc., with no problem. However, I would like suggestions in one area. The user likes a spreadsheet report in the original workbook. I'd like to imitate it for him within Access. This spreadsheet includes several lines of data (easily duplicated within Access via query), the columns subtotals, two more corresponding rows of data (i.e., the columns correspond, but the rows are different), and a final totals line. I've put together all of the information via queries. I then combine the queries via a union query, but it insists on mixing the lines together, alphabetically, by the first column/field. I'm looking for a good way to avoid this. Is there a key word, command, etc., to tell Access to leave things in the order they're found? If not, do you have recommendations on how to achieve what I want in a different way? TIA. Thomas F. Ewald Stryker Mass Properties General Dynamics Land Systems This is an e-mail from General Dynamics Land Systems. It is for the intended recipient only and may contain confidential and privileged information. No one else may read, print, store, copy, forward or act in reliance on it or its attachments. If you are not the intended recipient, please return this message to the sender and delete the message and any attachments from your computer. Your cooperation is appreciated. From mmattys at rochester.rr.com Wed Aug 8 09:02:48 2007 From: mmattys at rochester.rr.com (Michael R Mattys) Date: Wed, 8 Aug 2007 10:02:48 -0400 Subject: [AccessD] Question on order within a union query References: Message-ID: <006f01c7d9c4$cec3bbe0$0202a8c0@Laptop> Tom, I don't know the "answer," but in my experience I've found that the first query controls the sort of the union. (All sorts should be in the QBE of the first query.) Michael R. Mattys MapPoint & Access Dev www.mattysconsulting.com ----- Original Message ----- From: To: Sent: Wednesday, August 08, 2007 9:45 AM Subject: [AccessD] Question on order within a union query > I'm converting an Excel workbook to Access, to add functionality and > better ability for several people to use it at the same time. I've created > the tables, relationships, etc., with no problem. However, I would like > suggestions in one area. > > The user likes a spreadsheet report in the original workbook. I'd like to > imitate it for him within Access. This spreadsheet includes several lines > of data (easily duplicated within Access via query), the columns > subtotals, two more corresponding rows of data (i.e., the columns > correspond, but the rows are different), and a final totals line. > > I've put together all of the information via queries. I then combine the > queries via a union query, but it insists on mixing the lines together, > alphabetically, by the first column/field. I'm looking for a good way to > avoid this. Is there a key word, command, etc., to tell Access to leave > things in the order they're found? > > If not, do you have recommendations on how to achieve what I want in a > different way? > > TIA. > > Thomas F. Ewald > Stryker Mass Properties > General Dynamics Land Systems From Gustav at cactus.dk Wed Aug 8 09:04:52 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 08 Aug 2007 16:04:52 +0200 Subject: [AccessD] Question on order within a union query Message-ID: Hi Tom Yes, include in each of the sections of the union query an expression to sort on, like: SELECT 1 AS SortID, ... UNION ALL SELECT 2 AS SortID, ... Then Order By SortID as the first field and those fields, you currently sort on, as the next field(s). /gustav >>> ewaldt at gdls.com 08-08-2007 15:45 >>> I'm converting an Excel workbook to Access, to add functionality and better ability for several people to use it at the same time. I've created the tables, relationships, etc., with no problem. However, I would like suggestions in one area. The user likes a spreadsheet report in the original workbook. I'd like to imitate it for him within Access. This spreadsheet includes several lines of data (easily duplicated within Access via query), the columns subtotals, two more corresponding rows of data (i.e., the columns correspond, but the rows are different), and a final totals line. I've put together all of the information via queries. I then combine the queries via a union query, but it insists on mixing the lines together, alphabetically, by the first column/field. I'm looking for a good way to avoid this. Is there a key word, command, etc., to tell Access to leave things in the order they're found? If not, do you have recommendations on how to achieve what I want in a different way? TIA. Thomas F. Ewald Stryker Mass Properties General Dynamics Land Systems From Elizabeth.J.Doering at wellsfargo.com Wed Aug 8 09:11:00 2007 From: Elizabeth.J.Doering at wellsfargo.com (Elizabeth.J.Doering at wellsfargo.com) Date: Wed, 8 Aug 2007 09:11:00 -0500 Subject: [AccessD] Question on order within a union query References: Message-ID: Thomas, When I do a union query, I often add in a column for SortOrder to force the original order: Select 1 as SortOrder, MyField, MyOtherField from MyTable1 Union Select 2 as SortOrder, MyField, MyOtherField from MyTable2 Union Select 3 as SortOrder, MyField, MyOtherField from MyTable3 Order by SortOrder Then of course you can order by other fields as necessary. HTH, Liz Liz Doering elizabeth.j.doering at wellsfargo.com 612.667.2447 This message may contain confidential and/or privileged information. If you are not the addressee or authorized to receive this for the addressee, you must not use, copy, disclose, or take any action based on this message or any information herein. If you have received this message in error, please advise the sender immediately by reply e-mail and delete this message. Thank you for your cooperation. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of ewaldt at gdls.com Sent: Wednesday, August 08, 2007 8:45 AM To: accessd at databaseadvisors.com Subject: [AccessD] Question on order within a union query I'm converting an Excel workbook to Access, to add functionality and better ability for several people to use it at the same time. I've created the tables, relationships, etc., with no problem. However, I would like suggestions in one area. The user likes a spreadsheet report in the original workbook. I'd like to imitate it for him within Access. This spreadsheet includes several lines of data (easily duplicated within Access via query), the columns subtotals, two more corresponding rows of data (i.e., the columns correspond, but the rows are different), and a final totals line. I've put together all of the information via queries. I then combine the queries via a union query, but it insists on mixing the lines together, alphabetically, by the first column/field. I'm looking for a good way to avoid this. Is there a key word, command, etc., to tell Access to leave things in the order they're found? If not, do you have recommendations on how to achieve what I want in a different way? TIA. Thomas F. Ewald Stryker Mass Properties General Dynamics Land Systems This is an e-mail from General Dynamics Land Systems. It is for the intended recipient only and may contain confidential and privileged information. No one else may read, print, store, copy, forward or act in reliance on it or its attachments. If you are not the intended recipient, please return this message to the sender and delete the message and any attachments from your computer. Your cooperation is appreciated. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mmattys at rochester.rr.com Wed Aug 8 09:16:18 2007 From: mmattys at rochester.rr.com (Michael R Mattys) Date: Wed, 8 Aug 2007 10:16:18 -0400 Subject: [AccessD] Question on order within a union query References: Message-ID: <007e01c7d9c6$b156b470$0202a8c0@Laptop> Very nice and simple, Gustav. That's a keeper. :) Michael R. Mattys MapPoint & Access Dev www.mattysconsulting.com ----- Original Message ----- From: "Gustav Brock" To: Sent: Wednesday, August 08, 2007 10:04 AM Subject: Re: [AccessD] Question on order within a union query > Hi Tom > > Yes, include in each of the sections of the union query an expression to > sort on, like: > > SELECT 1 AS SortID, ... > UNION ALL > SELECT 2 AS SortID, ... > > Then Order By SortID as the first field and those fields, you currently > sort on, as the next field(s). > > /gustav > >>>> ewaldt at gdls.com 08-08-2007 15:45 >>> > I'm converting an Excel workbook to Access, to add functionality and > better ability for several people to use it at the same time. I've created > the tables, relationships, etc., with no problem. However, I would like > suggestions in one area. > > The user likes a spreadsheet report in the original workbook. I'd like to > imitate it for him within Access. This spreadsheet includes several lines > of data (easily duplicated within Access via query), the columns > subtotals, two more corresponding rows of data (i.e., the columns > correspond, but the rows are different), and a final totals line. > > I've put together all of the information via queries. I then combine the > queries via a union query, but it insists on mixing the lines together, > alphabetically, by the first column/field. I'm looking for a good way to > avoid this. Is there a key word, command, etc., to tell Access to leave > things in the order they're found? > > If not, do you have recommendations on how to achieve what I want in a > different way? > > TIA. > > Thomas F. Ewald > Stryker Mass Properties > General Dynamics Land Systems > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From joeo at appoli.com Wed Aug 8 09:19:48 2007 From: joeo at appoli.com (Joe O'Connell) Date: Wed, 8 Aug 2007 10:19:48 -0400 Subject: [AccessD] Question on order within a union query References: Message-ID: Thomas, If you are creating a report, the order of records in a report is not dependent on the order returned by the query. It is set in the Sorting and Grouping settings of the report. Joe O'Connell -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of ewaldt at gdls.com Sent: Wednesday, August 08, 2007 9:45 AM To: accessd at databaseadvisors.com Subject: [AccessD] Question on order within a union query I'm converting an Excel workbook to Access, to add functionality and better ability for several people to use it at the same time. I've created the tables, relationships, etc., with no problem. However, I would like suggestions in one area. The user likes a spreadsheet report in the original workbook. I'd like to imitate it for him within Access. This spreadsheet includes several lines of data (easily duplicated within Access via query), the columns subtotals, two more corresponding rows of data (i.e., the columns correspond, but the rows are different), and a final totals line. I've put together all of the information via queries. I then combine the queries via a union query, but it insists on mixing the lines together, alphabetically, by the first column/field. I'm looking for a good way to avoid this. Is there a key word, command, etc., to tell Access to leave things in the order they're found? If not, do you have recommendations on how to achieve what I want in a different way? TIA. Thomas F. Ewald Stryker Mass Properties General Dynamics Land Systems This is an e-mail from General Dynamics Land Systems. It is for the intended recipient only and may contain confidential and privileged information. No one else may read, print, store, copy, forward or act in reliance on it or its attachments. If you are not the intended recipient, please return this message to the sender and delete the message and any attachments from your computer. Your cooperation is appreciated. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Wed Aug 8 09:21:29 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Wed, 8 Aug 2007 07:21:29 -0700 Subject: [AccessD] Changing Default Printer In-Reply-To: <24526825.198961186562389733.JavaMail.www@wwinf3202> Message-ID: <002901c7d9c7$69d981d0$0301a8c0@HAL9005> What version of Access has that Printer object? And that code would go into the report in the load or open event? The code I found that I posted yesterday works in A2K3, it's real short, but does it at the OS level, which is probably more sketchy than doing it inside Access itself. What to you think? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of paul.hartland at fsmail.net Sent: Wednesday, August 08, 2007 1:40 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Changing Default Printer Importance: High Rocky, Not the neatest code in the world, but works for me: Dim prnPrinter As Printer Dim strDeviceName As String Dim bolFoundPrinter As Boolean strDeviceName = Printer.DeviceName ' Store current default printer bolFoundPrinter = False For Each prnPrinter In Printers If (prnPrinter.DeviceName = "NewPrinterName") Then Set Printer = prnPrinter bolFoundPrinter = True ' DO WHAT YOU WANT HERE TO PRINT Exit For End If Next ' Change back to original default printer For Each prnPrinter In Printers If (prnPrinter.DeviceName = strDeviceName) Then Set Printer = prnPrinter Exit For End If Next this is in VB6, so I assume should work in VBA for Access Message Received: Aug 07 2007, 08:49 PM From: "Rocky Smolin at Beach Access Software" To: "'Access Developers discussion and problem solving'" Cc: Subject: [AccessD] Changing Default Printer Dear List: Slightly different request for changing printers to the one I had a few day ago: Is there an easy way to save the current windows default printer and change to a user pre-selected printer (name stored in an local options table)? This is for a distributable app so there's no way to know what the installed printers are. The program needs to print to a PDF file. So the user has to have a PDF printer installed. They pre-select it through a combo box on a control panel loaded with all the installed printer names and the printer name is saved in a local table. The app then runs at night without user intervention triggered by windows scheduler. So when it runs these reports, I need it to change the windows default printer to whatever printer they select. And then change it back after I'm done printing. MTIA Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com Paul Hartland paul.hartland at fsmail.net 07730 523179 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.8/941 - Release Date: 8/7/2007 4:06 PM From jimdettman at verizon.net Wed Aug 8 09:24:53 2007 From: jimdettman at verizon.net (Jim Dettman) Date: Wed, 08 Aug 2007 10:24:53 -0400 Subject: [AccessD] OT: Pics from JC Conference In-Reply-To: References: <006801c7d92b$e9e1d0e0$0301a8c0@HAL9005> Message-ID: <001801c7d9c7$e3ca3e30$8abea8c0@XPS> << San Luis Obispo!>> Nice place. I was there last year for an Experts-Exchange conference. Stayed down the coast just a bit. Really enjoyed the couple of days there and the drive up/down the coast to LA. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, August 07, 2007 5:15 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Pics from JC Conference WHICH latest conference?? Dian and I had our own mini-meeting last month in San Luis Obispo! Had a great couple of hours getting acquainted and didn't talk software so's you'd notice. LOL Charlotte -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Tuesday, August 07, 2007 1:52 PM To: accessd at databaseadvisors.com Subject: [AccessD] OT: Pics from JC Conference Just curious if the pics from the latest conference are on the site somewhere? Thanks, Mark A. Matte _________________________________________________________________ Messenger Caf? - open for fun 24/7. Hot games, cool activities served daily. Visit now. http://cafemessenger.com?ocid=TXT_TAGHM_AugHMtagline -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From paul.hartland at fsmail.net Wed Aug 8 09:30:09 2007 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Wed, 8 Aug 2007 16:30:09 +0200 (CEST) Subject: [AccessD] Changing Default Printer Message-ID: <589562.186641186583409658.JavaMail.www@wwinf3203> Rocky, To be honest I have only just started using the change default printer settings, and only used them in Visual Basic 6.0. We have Access 2002 I put the top half of my code in, and it seemed to work, thats why I sent it to the list. As for the report, I would assume it would just go into the open event. Paul Message Received: Aug 08 2007, 03:22 PM From: "Rocky Smolin at Beach Access Software" To: "'Access Developers discussion and problem solving'" Cc: Subject: Re: [AccessD] Changing Default Printer What version of Access has that Printer object? And that code would go into the report in the load or open event? The code I found that I posted yesterday works in A2K3, it's real short, but does it at the OS level, which is probably more sketchy than doing it inside Access itself. What to you think? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of paul.hartland at fsmail.net Sent: Wednesday, August 08, 2007 1:40 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Changing Default Printer Importance: High Rocky, Not the neatest code in the world, but works for me: Dim prnPrinter As Printer Dim strDeviceName As String Dim bolFoundPrinter As Boolean strDeviceName = Printer.DeviceName ' Store current default printer bolFoundPrinter = False For Each prnPrinter In Printers If (prnPrinter.DeviceName = "NewPrinterName") Then Set Printer = prnPrinter bolFoundPrinter = True ' DO WHAT YOU WANT HERE TO PRINT Exit For End If Next ' Change back to original default printer For Each prnPrinter In Printers If (prnPrinter.DeviceName = strDeviceName) Then Set Printer = prnPrinter Exit For End If Next this is in VB6, so I assume should work in VBA for Access Message Received: Aug 07 2007, 08:49 PM From: "Rocky Smolin at Beach Access Software" To: "'Access Developers discussion and problem solving'" Cc: Subject: [AccessD] Changing Default Printer Dear List: Slightly different request for changing printers to the one I had a few day ago: Is there an easy way to save the current windows default printer and change to a user pre-selected printer (name stored in an local options table)? This is for a distributable app so there's no way to know what the installed printers are. The program needs to print to a PDF file. So the user has to have a PDF printer installed. They pre-select it through a combo box on a control panel loaded with all the installed printer names and the printer name is saved in a local table. The app then runs at night without user intervention triggered by windows scheduler. So when it runs these reports, I need it to change the windows default printer to whatever printer they select. And then change it back after I'm done printing. MTIA Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com Paul Hartland paul.hartland at fsmail.net 07730 523179 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.8/941 - Release Date: 8/7/2007 4:06 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com Paul Hartland paul.hartland at fsmail.net 07730 523179 From markamatte at hotmail.com Wed Aug 8 10:01:51 2007 From: markamatte at hotmail.com (Mark A Matte) Date: Wed, 08 Aug 2007 15:01:51 +0000 Subject: [AccessD] OT: Pics from JC Conference In-Reply-To: <20070807212033.21B90BBFD@smtp-auth.no-ip.com> Message-ID: Yes...to Jim I believe. >From: "jwcolby" >Reply-To: Access Developers discussion and problem >solving >To: "'Access Developers discussion and problem >solving'" >Subject: Re: [AccessD] OT: Pics from JC Conference >Date: Tue, 7 Aug 2007 17:20:30 -0400 > >Did any pics get sent to dba? > > >John W. Colby >Colby Consulting >www.ColbyConsulting.com >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte >Sent: Tuesday, August 07, 2007 4:52 PM >To: accessd at databaseadvisors.com >Subject: [AccessD] OT: Pics from JC Conference > >Just curious if the pics from the latest conference are on the site >somewhere? > >Thanks, > >Mark A. Matte > >_________________________________________________________________ >Messenger Cafi  open for fun 24/7. Hot games, cool activities served >daily. > >Visit now. http://cafemessenger.com?ocid=TXT_TAGHM_AugHMtagline > > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Tease your brain--play Clink! Win cool prizes! http://club.live.com/clink.aspx?icid=clink_hotmailtextlink2 From cfoust at infostatsystems.com Wed Aug 8 10:07:58 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 8 Aug 2007 08:07:58 -0700 Subject: [AccessD] Changing Default Printer In-Reply-To: <002901c7d9c7$69d981d0$0301a8c0@HAL9005> References: <24526825.198961186562389733.JavaMail.www@wwinf3202> <002901c7d9c7$69d981d0$0301a8c0@HAL9005> Message-ID: A2002 was the first version to have a printer object. I have to tell you, though, that we tried it and went back to API calls as more consistent and reliable. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, August 08, 2007 7:21 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Changing Default Printer What version of Access has that Printer object? And that code would go into the report in the load or open event? The code I found that I posted yesterday works in A2K3, it's real short, but does it at the OS level, which is probably more sketchy than doing it inside Access itself. What to you think? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of paul.hartland at fsmail.net Sent: Wednesday, August 08, 2007 1:40 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Changing Default Printer Importance: High Rocky, Not the neatest code in the world, but works for me: Dim prnPrinter As Printer Dim strDeviceName As String Dim bolFoundPrinter As Boolean strDeviceName = Printer.DeviceName ' Store current default printer bolFoundPrinter = False For Each prnPrinter In Printers If (prnPrinter.DeviceName = "NewPrinterName") Then Set Printer = prnPrinter bolFoundPrinter = True ' DO WHAT YOU WANT HERE TO PRINT Exit For End If Next ' Change back to original default printer For Each prnPrinter In Printers If (prnPrinter.DeviceName = strDeviceName) Then Set Printer = prnPrinter Exit For End If Next this is in VB6, so I assume should work in VBA for Access Message Received: Aug 07 2007, 08:49 PM From: "Rocky Smolin at Beach Access Software" To: "'Access Developers discussion and problem solving'" Cc: Subject: [AccessD] Changing Default Printer Dear List: Slightly different request for changing printers to the one I had a few day ago: Is there an easy way to save the current windows default printer and change to a user pre-selected printer (name stored in an local options table)? This is for a distributable app so there's no way to know what the installed printers are. The program needs to print to a PDF file. So the user has to have a PDF printer installed. They pre-select it through a combo box on a control panel loaded with all the installed printer names and the printer name is saved in a local table. The app then runs at night without user intervention triggered by windows scheduler. So when it runs these reports, I need it to change the windows default printer to whatever printer they select. And then change it back after I'm done printing. MTIA Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com Paul Hartland paul.hartland at fsmail.net 07730 523179 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.8/941 - Release Date: 8/7/2007 4:06 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Wed Aug 8 10:09:27 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 8 Aug 2007 08:09:27 -0700 Subject: [AccessD] OT: Pics from JC Conference In-Reply-To: <001801c7d9c7$e3ca3e30$8abea8c0@XPS> References: <006801c7d92b$e9e1d0e0$0301a8c0@HAL9005> <001801c7d9c7$e3ca3e30$8abea8c0@XPS> Message-ID: I grew up in the area and go back to visit a friend there fairly often. I still haven't figured out what people do for a living, though! LOL Charlotte -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Wednesday, August 08, 2007 7:25 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Pics from JC Conference << San Luis Obispo!>> Nice place. I was there last year for an Experts-Exchange conference. Stayed down the coast just a bit. Really enjoyed the couple of days there and the drive up/down the coast to LA. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, August 07, 2007 5:15 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Pics from JC Conference WHICH latest conference?? Dian and I had our own mini-meeting last month in San Luis Obispo! Had a great couple of hours getting acquainted and didn't talk software so's you'd notice. LOL Charlotte -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Tuesday, August 07, 2007 1:52 PM To: accessd at databaseadvisors.com Subject: [AccessD] OT: Pics from JC Conference Just curious if the pics from the latest conference are on the site somewhere? Thanks, Mark A. Matte _________________________________________________________________ Messenger Caf? - open for fun 24/7. Hot games, cool activities served daily. Visit now. http://cafemessenger.com?ocid=TXT_TAGHM_AugHMtagline -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ewaldt at gdls.com Wed Aug 8 10:22:40 2007 From: ewaldt at gdls.com (ewaldt at gdls.com) Date: Wed, 8 Aug 2007 11:22:40 -0400 Subject: [AccessD] Question on order within a union query In-Reply-To: Message-ID: Thanks, Gustav. I thought of adding a field to each of them, but in some cases it's a query based on a query based on a query, and tracking down to find and change originals and then adapting each of the subsequent puppies seemed too subject to error. Your solution is much nicer. I'm going to switch to that one, but I had settled on a different solution: Instead of UNIONing them all, l append them all, in the correct order, to a table (after first clearing it out, of course), and then use the table. That works fine, but I like your solution better. Thanks, again. Thomas F. Ewald Stryker Mass Properties General Dynamics Land Systems Subject: Re: [AccessD] Question on order within a union query Hi Tom Yes, include in each of the sections of the union query an expression to sort on, like: SELECT 1 AS SortID, ... UNION ALL SELECT 2 AS SortID, ... Then Order By SortID as the first field and those fields, you currently sort on, as the next field(s). /gustav This is an e-mail from General Dynamics Land Systems. It is for the intended recipient only and may contain confidential and privileged information. No one else may read, print, store, copy, forward or act in reliance on it or its attachments. If you are not the intended recipient, please return this message to the sender and delete the message and any attachments from your computer. Your cooperation is appreciated. From ewaldt at gdls.com Wed Aug 8 10:30:20 2007 From: ewaldt at gdls.com (ewaldt at gdls.com) Date: Wed, 8 Aug 2007 11:30:20 -0400 Subject: [AccessD] Correctly Closing Excel In-Reply-To: Message-ID: In running the code below, I find that Excel does not completely exit, as evidenced by Task Manager/Processes. I've either neglected something, or I've done something out of order. Could someone tell me my mistake, please? Thanks. I've been struggling with this for a while now. Thomas F. Ewald Stryker Mass Properties General Dynamics Land Systems --------------------------------------------------------------- Sub PrepData() Dim xlApp As Excel.Application Dim xlWB As Excel.Workbook Set xlApp = CreateObject("Excel.Application") 'Open Excel workbook Set xlWB = xlApp.Workbooks.Open(strFileName) 'opens file DoCmd.SetWarnings False 'Prep Excel workbook PrepExcel 'Empty Clipboard before closing workbook xlApp.CutCopyMode = False 'Shut down Excel xlWB.Close savechanges:=True Set xlWB = Nothing xlApp.Quit Set xlApp = Nothing DoCmd.SetWarnings True End Sub --------------------------------------------------------------------- In case it's the PrepExcel sub that's causing the problem, here it is: --------------------------------------------------------------------- Sub PrepExcel() Dim intNewRow As Integer Dim oCell As Object Sheets.Add Sheets("Sheet1").Name = "ToImport" Sheets("ToImport").Select 'Copy only rows where column B = "A" intNewRow = 1 For Each oCell In Sheets("GDLS-SHC").Range("B1:B200") If oCell.Formula = "A" Then oCell.EntireRow.Copy ActiveSheet.Paste Destination:=Worksheets("ToImport").Range("A" & intNewRow) intNewRow = intNewRow + 1 End If Next oCell For Each oCell In Sheets("GDLS-C").Range("B1:B200") If oCell.Formula = "A" Then oCell.EntireRow.Copy ActiveSheet.Paste Destination:=Worksheets("ToImport").Range("A" & intNewRow) intNewRow = intNewRow + 1 End If Next oCell 'Check for non-numeric in Pounds and Grams intNewRow = intNewRow - 1 For Each oCell In Sheets("ToImport").Range("C1:D" & intNewRow) If Not IsNumeric(oCell.Formula) Then oCell.Formula = 0 End If Next oCell For Each oCell In Sheets("ToImport").Range("C1:C" & intNewRow) oCell.Formula = oCell.Formula + Range("D" & oCell.Row).Formula * 2.205 / 1000 Next oCell End Sub ---------------------------------------------------------- Thomas F. Ewald Stryker Mass Properties General Dynamics Land Systems This is an e-mail from General Dynamics Land Systems. It is for the intended recipient only and may contain confidential and privileged information. No one else may read, print, store, copy, forward or act in reliance on it or its attachments. If you are not the intended recipient, please return this message to the sender and delete the message and any attachments from your computer. Your cooperation is appreciated. From rockysmolin at bchacc.com Wed Aug 8 10:43:31 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Wed, 8 Aug 2007 08:43:31 -0700 Subject: [AccessD] Correctly Closing Excel In-Reply-To: Message-ID: <003401c7d9d2$dfac9ea0$0301a8c0@HAL9005> Do you set any other object in PrepExcel that might be left open? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of ewaldt at gdls.com Sent: Wednesday, August 08, 2007 8:30 AM To: accessd at databaseadvisors.com Subject: [AccessD] Correctly Closing Excel In running the code below, I find that Excel does not completely exit, as evidenced by Task Manager/Processes. I've either neglected something, or I've done something out of order. Could someone tell me my mistake, please? Thanks. I've been struggling with this for a while now. Thomas F. Ewald Stryker Mass Properties General Dynamics Land Systems --------------------------------------------------------------- Sub PrepData() Dim xlApp As Excel.Application Dim xlWB As Excel.Workbook Set xlApp = CreateObject("Excel.Application") 'Open Excel workbook Set xlWB = xlApp.Workbooks.Open(strFileName) 'opens file DoCmd.SetWarnings False 'Prep Excel workbook PrepExcel 'Empty Clipboard before closing workbook xlApp.CutCopyMode = False 'Shut down Excel xlWB.Close savechanges:=True Set xlWB = Nothing xlApp.Quit Set xlApp = Nothing DoCmd.SetWarnings True End Sub --------------------------------------------------------------------- In case it's the PrepExcel sub that's causing the problem, here it is: --------------------------------------------------------------------- Sub PrepExcel() Dim intNewRow As Integer Dim oCell As Object Sheets.Add Sheets("Sheet1").Name = "ToImport" Sheets("ToImport").Select 'Copy only rows where column B = "A" intNewRow = 1 For Each oCell In Sheets("GDLS-SHC").Range("B1:B200") If oCell.Formula = "A" Then oCell.EntireRow.Copy ActiveSheet.Paste Destination:=Worksheets("ToImport").Range("A" & intNewRow) intNewRow = intNewRow + 1 End If Next oCell For Each oCell In Sheets("GDLS-C").Range("B1:B200") If oCell.Formula = "A" Then oCell.EntireRow.Copy ActiveSheet.Paste Destination:=Worksheets("ToImport").Range("A" & intNewRow) intNewRow = intNewRow + 1 End If Next oCell 'Check for non-numeric in Pounds and Grams intNewRow = intNewRow - 1 For Each oCell In Sheets("ToImport").Range("C1:D" & intNewRow) If Not IsNumeric(oCell.Formula) Then oCell.Formula = 0 End If Next oCell For Each oCell In Sheets("ToImport").Range("C1:C" & intNewRow) oCell.Formula = oCell.Formula + Range("D" & oCell.Row).Formula * 2.205 / 1000 Next oCell End Sub ---------------------------------------------------------- Thomas F. Ewald Stryker Mass Properties General Dynamics Land Systems This is an e-mail from General Dynamics Land Systems. It is for the intended recipient only and may contain confidential and privileged information. No one else may read, print, store, copy, forward or act in reliance on it or its attachments. If you are not the intended recipient, please return this message to the sender and delete the message and any attachments from your computer. Your cooperation is appreciated. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.8/941 - Release Date: 8/7/2007 4:06 PM From rockysmolin at bchacc.com Wed Aug 8 10:45:25 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Wed, 8 Aug 2007 08:45:25 -0700 Subject: [AccessD] Changing Default Printer In-Reply-To: Message-ID: <003501c7d9d3$2382f3e0$0301a8c0@HAL9005> Uh-oh. What problems did you have with the Printer object? Is that the same as using Application.Printer? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, August 08, 2007 8:08 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Changing Default Printer A2002 was the first version to have a printer object. I have to tell you, though, that we tried it and went back to API calls as more consistent and reliable. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, August 08, 2007 7:21 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Changing Default Printer What version of Access has that Printer object? And that code would go into the report in the load or open event? The code I found that I posted yesterday works in A2K3, it's real short, but does it at the OS level, which is probably more sketchy than doing it inside Access itself. What to you think? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of paul.hartland at fsmail.net Sent: Wednesday, August 08, 2007 1:40 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Changing Default Printer Importance: High Rocky, Not the neatest code in the world, but works for me: Dim prnPrinter As Printer Dim strDeviceName As String Dim bolFoundPrinter As Boolean strDeviceName = Printer.DeviceName ' Store current default printer bolFoundPrinter = False For Each prnPrinter In Printers If (prnPrinter.DeviceName = "NewPrinterName") Then Set Printer = prnPrinter bolFoundPrinter = True ' DO WHAT YOU WANT HERE TO PRINT Exit For End If Next ' Change back to original default printer For Each prnPrinter In Printers If (prnPrinter.DeviceName = strDeviceName) Then Set Printer = prnPrinter Exit For End If Next this is in VB6, so I assume should work in VBA for Access Message Received: Aug 07 2007, 08:49 PM From: "Rocky Smolin at Beach Access Software" To: "'Access Developers discussion and problem solving'" Cc: Subject: [AccessD] Changing Default Printer Dear List: Slightly different request for changing printers to the one I had a few day ago: Is there an easy way to save the current windows default printer and change to a user pre-selected printer (name stored in an local options table)? This is for a distributable app so there's no way to know what the installed printers are. The program needs to print to a PDF file. So the user has to have a PDF printer installed. They pre-select it through a combo box on a control panel loaded with all the installed printer names and the printer name is saved in a local table. The app then runs at night without user intervention triggered by windows scheduler. So when it runs these reports, I need it to change the windows default printer to whatever printer they select. And then change it back after I'm done printing. MTIA Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com Paul Hartland paul.hartland at fsmail.net 07730 523179 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.8/941 - Release Date: 8/7/2007 4:06 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.8/941 - Release Date: 8/7/2007 4:06 PM From cfoust at infostatsystems.com Wed Aug 8 10:52:25 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 8 Aug 2007 08:52:25 -0700 Subject: [AccessD] Changing Default Printer In-Reply-To: <003501c7d9d3$2382f3e0$0301a8c0@HAL9005> References: <003501c7d9d3$2382f3e0$0301a8c0@HAL9005> Message-ID: OY!! After all this time I don't recall. I know I wrote printer object based code to replace all our old code to set page size properly and then after testing it a bit, I threw it out and went back to the original code. I don't think it was a problem with selecting the printer, it was trying to manipulate the page settings that gave us problems. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, August 08, 2007 8:45 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Changing Default Printer Uh-oh. What problems did you have with the Printer object? Is that the same as using Application.Printer? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, August 08, 2007 8:08 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Changing Default Printer A2002 was the first version to have a printer object. I have to tell you, though, that we tried it and went back to API calls as more consistent and reliable. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, August 08, 2007 7:21 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Changing Default Printer What version of Access has that Printer object? And that code would go into the report in the load or open event? The code I found that I posted yesterday works in A2K3, it's real short, but does it at the OS level, which is probably more sketchy than doing it inside Access itself. What to you think? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of paul.hartland at fsmail.net Sent: Wednesday, August 08, 2007 1:40 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Changing Default Printer Importance: High Rocky, Not the neatest code in the world, but works for me: Dim prnPrinter As Printer Dim strDeviceName As String Dim bolFoundPrinter As Boolean strDeviceName = Printer.DeviceName ' Store current default printer bolFoundPrinter = False For Each prnPrinter In Printers If (prnPrinter.DeviceName = "NewPrinterName") Then Set Printer = prnPrinter bolFoundPrinter = True ' DO WHAT YOU WANT HERE TO PRINT Exit For End If Next ' Change back to original default printer For Each prnPrinter In Printers If (prnPrinter.DeviceName = strDeviceName) Then Set Printer = prnPrinter Exit For End If Next this is in VB6, so I assume should work in VBA for Access Message Received: Aug 07 2007, 08:49 PM From: "Rocky Smolin at Beach Access Software" To: "'Access Developers discussion and problem solving'" Cc: Subject: [AccessD] Changing Default Printer Dear List: Slightly different request for changing printers to the one I had a few day ago: Is there an easy way to save the current windows default printer and change to a user pre-selected printer (name stored in an local options table)? This is for a distributable app so there's no way to know what the installed printers are. The program needs to print to a PDF file. So the user has to have a PDF printer installed. They pre-select it through a combo box on a control panel loaded with all the installed printer names and the printer name is saved in a local table. The app then runs at night without user intervention triggered by windows scheduler. So when it runs these reports, I need it to change the windows default printer to whatever printer they select. And then change it back after I'm done printing. MTIA Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com Paul Hartland paul.hartland at fsmail.net 07730 523179 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.8/941 - Release Date: 8/7/2007 4:06 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.8/941 - Release Date: 8/7/2007 4:06 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Wed Aug 8 11:08:41 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Wed, 8 Aug 2007 09:08:41 -0700 Subject: [AccessD] Changing Default Printer In-Reply-To: Message-ID: <004c01c7d9d6$636cc550$0301a8c0@HAL9005> Well, that won't be a problem for my app. Al I want to do it have the user switch to a PDF printer for reports which will then be attached to emails. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, August 08, 2007 8:52 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Changing Default Printer OY!! After all this time I don't recall. I know I wrote printer object based code to replace all our old code to set page size properly and then after testing it a bit, I threw it out and went back to the original code. I don't think it was a problem with selecting the printer, it was trying to manipulate the page settings that gave us problems. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, August 08, 2007 8:45 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Changing Default Printer Uh-oh. What problems did you have with the Printer object? Is that the same as using Application.Printer? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, August 08, 2007 8:08 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Changing Default Printer A2002 was the first version to have a printer object. I have to tell you, though, that we tried it and went back to API calls as more consistent and reliable. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, August 08, 2007 7:21 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Changing Default Printer What version of Access has that Printer object? And that code would go into the report in the load or open event? The code I found that I posted yesterday works in A2K3, it's real short, but does it at the OS level, which is probably more sketchy than doing it inside Access itself. What to you think? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of paul.hartland at fsmail.net Sent: Wednesday, August 08, 2007 1:40 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Changing Default Printer Importance: High Rocky, Not the neatest code in the world, but works for me: Dim prnPrinter As Printer Dim strDeviceName As String Dim bolFoundPrinter As Boolean strDeviceName = Printer.DeviceName ' Store current default printer bolFoundPrinter = False For Each prnPrinter In Printers If (prnPrinter.DeviceName = "NewPrinterName") Then Set Printer = prnPrinter bolFoundPrinter = True ' DO WHAT YOU WANT HERE TO PRINT Exit For End If Next ' Change back to original default printer For Each prnPrinter In Printers If (prnPrinter.DeviceName = strDeviceName) Then Set Printer = prnPrinter Exit For End If Next this is in VB6, so I assume should work in VBA for Access Message Received: Aug 07 2007, 08:49 PM From: "Rocky Smolin at Beach Access Software" To: "'Access Developers discussion and problem solving'" Cc: Subject: [AccessD] Changing Default Printer Dear List: Slightly different request for changing printers to the one I had a few day ago: Is there an easy way to save the current windows default printer and change to a user pre-selected printer (name stored in an local options table)? This is for a distributable app so there's no way to know what the installed printers are. The program needs to print to a PDF file. So the user has to have a PDF printer installed. They pre-select it through a combo box on a control panel loaded with all the installed printer names and the printer name is saved in a local table. The app then runs at night without user intervention triggered by windows scheduler. So when it runs these reports, I need it to change the windows default printer to whatever printer they select. And then change it back after I'm done printing. MTIA Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com Paul Hartland paul.hartland at fsmail.net 07730 523179 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.8/941 - Release Date: 8/7/2007 4:06 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.8/941 - Release Date: 8/7/2007 4:06 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.8/941 - Release Date: 8/7/2007 4:06 PM From cfoust at infostatsystems.com Wed Aug 8 12:23:20 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 8 Aug 2007 10:23:20 -0700 Subject: [AccessD] Changing Default Printer In-Reply-To: <004c01c7d9d6$636cc550$0301a8c0@HAL9005> References: <004c01c7d9d6$636cc550$0301a8c0@HAL9005> Message-ID: Um ... Is this PDF printer something you provide in your app? We've found that we needed to include an installer for our clients to reinstall their PDF printer when it went sideways, and we ran into problems if a full version of Adobe Acrobat was installed on the same machine. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, August 08, 2007 9:09 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Changing Default Printer Well, that won't be a problem for my app. Al I want to do it have the user switch to a PDF printer for reports which will then be attached to emails. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, August 08, 2007 8:52 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Changing Default Printer OY!! After all this time I don't recall. I know I wrote printer object based code to replace all our old code to set page size properly and then after testing it a bit, I threw it out and went back to the original code. I don't think it was a problem with selecting the printer, it was trying to manipulate the page settings that gave us problems. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, August 08, 2007 8:45 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Changing Default Printer Uh-oh. What problems did you have with the Printer object? Is that the same as using Application.Printer? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, August 08, 2007 8:08 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Changing Default Printer A2002 was the first version to have a printer object. I have to tell you, though, that we tried it and went back to API calls as more consistent and reliable. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, August 08, 2007 7:21 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Changing Default Printer What version of Access has that Printer object? And that code would go into the report in the load or open event? The code I found that I posted yesterday works in A2K3, it's real short, but does it at the OS level, which is probably more sketchy than doing it inside Access itself. What to you think? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of paul.hartland at fsmail.net Sent: Wednesday, August 08, 2007 1:40 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Changing Default Printer Importance: High Rocky, Not the neatest code in the world, but works for me: Dim prnPrinter As Printer Dim strDeviceName As String Dim bolFoundPrinter As Boolean strDeviceName = Printer.DeviceName ' Store current default printer bolFoundPrinter = False For Each prnPrinter In Printers If (prnPrinter.DeviceName = "NewPrinterName") Then Set Printer = prnPrinter bolFoundPrinter = True ' DO WHAT YOU WANT HERE TO PRINT Exit For End If Next ' Change back to original default printer For Each prnPrinter In Printers If (prnPrinter.DeviceName = strDeviceName) Then Set Printer = prnPrinter Exit For End If Next this is in VB6, so I assume should work in VBA for Access Message Received: Aug 07 2007, 08:49 PM From: "Rocky Smolin at Beach Access Software" To: "'Access Developers discussion and problem solving'" Cc: Subject: [AccessD] Changing Default Printer Dear List: Slightly different request for changing printers to the one I had a few day ago: Is there an easy way to save the current windows default printer and change to a user pre-selected printer (name stored in an local options table)? This is for a distributable app so there's no way to know what the installed printers are. The program needs to print to a PDF file. So the user has to have a PDF printer installed. They pre-select it through a combo box on a control panel loaded with all the installed printer names and the printer name is saved in a local table. The app then runs at night without user intervention triggered by windows scheduler. So when it runs these reports, I need it to change the windows default printer to whatever printer they select. And then change it back after I'm done printing. MTIA Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com Paul Hartland paul.hartland at fsmail.net 07730 523179 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.8/941 - Release Date: 8/7/2007 4:06 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.8/941 - Release Date: 8/7/2007 4:06 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.8/941 - Release Date: 8/7/2007 4:06 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Wed Aug 8 12:35:22 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Wed, 8 Aug 2007 10:35:22 -0700 Subject: [AccessD] Changing Default Printer In-Reply-To: Message-ID: <005601c7d9e2$7fa87050$0301a8c0@HAL9005> This is a work in progress so I don't have precise answers yet. But, the plan is to have the user install whatever PDF printer they like . In the control panel of the Automated Email System there's a combo box with all of the installed printers. They pick their PDF printer and it's saved in a local options table. So they'll be providing their own PDF printer. Which might finesse the problem you had. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, August 08, 2007 10:23 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Changing Default Printer Um ... Is this PDF printer something you provide in your app? We've found that we needed to include an installer for our clients to reinstall their PDF printer when it went sideways, and we ran into problems if a full version of Adobe Acrobat was installed on the same machine. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, August 08, 2007 9:09 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Changing Default Printer Well, that won't be a problem for my app. Al I want to do it have the user switch to a PDF printer for reports which will then be attached to emails. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, August 08, 2007 8:52 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Changing Default Printer OY!! After all this time I don't recall. I know I wrote printer object based code to replace all our old code to set page size properly and then after testing it a bit, I threw it out and went back to the original code. I don't think it was a problem with selecting the printer, it was trying to manipulate the page settings that gave us problems. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, August 08, 2007 8:45 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Changing Default Printer Uh-oh. What problems did you have with the Printer object? Is that the same as using Application.Printer? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, August 08, 2007 8:08 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Changing Default Printer A2002 was the first version to have a printer object. I have to tell you, though, that we tried it and went back to API calls as more consistent and reliable. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, August 08, 2007 7:21 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Changing Default Printer What version of Access has that Printer object? And that code would go into the report in the load or open event? The code I found that I posted yesterday works in A2K3, it's real short, but does it at the OS level, which is probably more sketchy than doing it inside Access itself. What to you think? Rocky From cfoust at infostatsystems.com Wed Aug 8 12:41:08 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 8 Aug 2007 10:41:08 -0700 Subject: [AccessD] Changing Default Printer In-Reply-To: <005601c7d9e2$7fa87050$0301a8c0@HAL9005> References: <005601c7d9e2$7fa87050$0301a8c0@HAL9005> Message-ID: On the other hand, it may cause you more problems. If you are using generic code to print to PDF, you won't be able to control page size, orientation, or anything else. Nor will you be able to create it with a useful name, which may not be what your user needs. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, August 08, 2007 10:35 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Changing Default Printer This is a work in progress so I don't have precise answers yet. But, the plan is to have the user install whatever PDF printer they like . In the control panel of the Automated Email System there's a combo box with all of the installed printers. They pick their PDF printer and it's saved in a local options table. So they'll be providing their own PDF printer. Which might finesse the problem you had. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, August 08, 2007 10:23 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Changing Default Printer Um ... Is this PDF printer something you provide in your app? We've found that we needed to include an installer for our clients to reinstall their PDF printer when it went sideways, and we ran into problems if a full version of Adobe Acrobat was installed on the same machine. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, August 08, 2007 9:09 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Changing Default Printer Well, that won't be a problem for my app. Al I want to do it have the user switch to a PDF printer for reports which will then be attached to emails. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, August 08, 2007 8:52 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Changing Default Printer OY!! After all this time I don't recall. I know I wrote printer object based code to replace all our old code to set page size properly and then after testing it a bit, I threw it out and went back to the original code. I don't think it was a problem with selecting the printer, it was trying to manipulate the page settings that gave us problems. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, August 08, 2007 8:45 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Changing Default Printer Uh-oh. What problems did you have with the Printer object? Is that the same as using Application.Printer? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, August 08, 2007 8:08 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Changing Default Printer A2002 was the first version to have a printer object. I have to tell you, though, that we tried it and went back to API calls as more consistent and reliable. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, August 08, 2007 7:21 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Changing Default Printer What version of Access has that Printer object? And that code would go into the report in the load or open event? The code I found that I posted yesterday works in A2K3, it's real short, but does it at the OS level, which is probably more sketchy than doing it inside Access itself. What to you think? Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Wed Aug 8 12:54:22 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Wed, 8 Aug 2007 10:54:22 -0700 Subject: [AccessD] Changing Default Printer In-Reply-To: Message-ID: <006601c7d9e5$26efdae0$0301a8c0@HAL9005> Any good alternatives that you know of? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, August 08, 2007 10:41 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Changing Default Printer On the other hand, it may cause you more problems. If you are using generic code to print to PDF, you won't be able to control page size, orientation, or anything else. Nor will you be able to create it with a useful name, which may not be what your user needs. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, August 08, 2007 10:35 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Changing Default Printer This is a work in progress so I don't have precise answers yet. But, the plan is to have the user install whatever PDF printer they like . In the control panel of the Automated Email System there's a combo box with all of the installed printers. They pick their PDF printer and it's saved in a local options table. So they'll be providing their own PDF printer. Which might finesse the problem you had. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, August 08, 2007 10:23 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Changing Default Printer Um ... Is this PDF printer something you provide in your app? We've found that we needed to include an installer for our clients to reinstall their PDF printer when it went sideways, and we ran into problems if a full version of Adobe Acrobat was installed on the same machine. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, August 08, 2007 9:09 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Changing Default Printer Well, that won't be a problem for my app. Al I want to do it have the user switch to a PDF printer for reports which will then be attached to emails. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, August 08, 2007 8:52 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Changing Default Printer OY!! After all this time I don't recall. I know I wrote printer object based code to replace all our old code to set page size properly and then after testing it a bit, I threw it out and went back to the original code. I don't think it was a problem with selecting the printer, it was trying to manipulate the page settings that gave us problems. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, August 08, 2007 8:45 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Changing Default Printer Uh-oh. What problems did you have with the Printer object? Is that the same as using Application.Printer? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, August 08, 2007 8:08 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Changing Default Printer A2002 was the first version to have a printer object. I have to tell you, though, that we tried it and went back to API calls as more consistent and reliable. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, August 08, 2007 7:21 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Changing Default Printer What version of Access has that Printer object? And that code would go into the report in the load or open event? The code I found that I posted yesterday works in A2K3, it's real short, but does it at the OS level, which is probably more sketchy than doing it inside Access itself. What to you think? Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.8/941 - Release Date: 8/7/2007 4:06 PM From cfoust at infostatsystems.com Wed Aug 8 12:59:59 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 8 Aug 2007 10:59:59 -0700 Subject: [AccessD] Changing Default Printer In-Reply-To: <006601c7d9e5$26efdae0$0301a8c0@HAL9005> References: <006601c7d9e5$26efdae0$0301a8c0@HAL9005> Message-ID: The alternatives (we used Amyuni) require coding and then installation on the target machine. I'm not sure you would be any better off, especially if you need to get this working fast. On the other hand, several of the PDF printers you can license on the web include VBA sample code to get you started. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, August 08, 2007 10:54 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Changing Default Printer Any good alternatives that you know of? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, August 08, 2007 10:41 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Changing Default Printer On the other hand, it may cause you more problems. If you are using generic code to print to PDF, you won't be able to control page size, orientation, or anything else. Nor will you be able to create it with a useful name, which may not be what your user needs. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, August 08, 2007 10:35 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Changing Default Printer This is a work in progress so I don't have precise answers yet. But, the plan is to have the user install whatever PDF printer they like . In the control panel of the Automated Email System there's a combo box with all of the installed printers. They pick their PDF printer and it's saved in a local options table. So they'll be providing their own PDF printer. Which might finesse the problem you had. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, August 08, 2007 10:23 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Changing Default Printer Um ... Is this PDF printer something you provide in your app? We've found that we needed to include an installer for our clients to reinstall their PDF printer when it went sideways, and we ran into problems if a full version of Adobe Acrobat was installed on the same machine. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, August 08, 2007 9:09 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Changing Default Printer Well, that won't be a problem for my app. Al I want to do it have the user switch to a PDF printer for reports which will then be attached to emails. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, August 08, 2007 8:52 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Changing Default Printer OY!! After all this time I don't recall. I know I wrote printer object based code to replace all our old code to set page size properly and then after testing it a bit, I threw it out and went back to the original code. I don't think it was a problem with selecting the printer, it was trying to manipulate the page settings that gave us problems. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, August 08, 2007 8:45 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Changing Default Printer Uh-oh. What problems did you have with the Printer object? Is that the same as using Application.Printer? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, August 08, 2007 8:08 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Changing Default Printer A2002 was the first version to have a printer object. I have to tell you, though, that we tried it and went back to API calls as more consistent and reliable. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, August 08, 2007 7:21 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Changing Default Printer What version of Access has that Printer object? And that code would go into the report in the load or open event? The code I found that I posted yesterday works in A2K3, it's real short, but does it at the OS level, which is probably more sketchy than doing it inside Access itself. What to you think? Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.8/941 - Release Date: 8/7/2007 4:06 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Wed Aug 8 13:13:31 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 08 Aug 2007 20:13:31 +0200 Subject: [AccessD] Question on order within a union query Message-ID: Hi Thomas Never underestimate the power of a temp table! The total time to build the report may even be shorter. /gustav >>> ewaldt at gdls.com 08-08-2007 17:22 >>> Thanks, Gustav. I thought of adding a field to each of them, but in some cases it's a query based on a query based on a query, and tracking down to find and change originals and then adapting each of the subsequent puppies seemed too subject to error. Your solution is much nicer. I'm going to switch to that one, but I had settled on a different solution: Instead of UNIONing them all, l append them all, in the correct order, to a table (after first clearing it out, of course), and then use the table. That works fine, but I like your solution better. Thanks, again. Thomas F. Ewald Stryker Mass Properties General Dynamics Land Systems Subject: Re: [AccessD] Question on order within a union query Hi Tom Yes, include in each of the sections of the union query an expression to sort on, like: SELECT 1 AS SortID, ... UNION ALL SELECT 2 AS SortID, ... Then Order By SortID as the first field and those fields, you currently sort on, as the next field(s). /gustav From Gustav at cactus.dk Wed Aug 8 13:19:23 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 08 Aug 2007 20:19:23 +0200 Subject: [AccessD] Correctly Closing Excel Message-ID: Hi Thomas Declare your cell objects as Range and use Worksheet for Sheet. Set all object to Nothing before exiting the sub. Browse the archive for numerous examples on handling Excel from within Access VBA. /gustav >>> ewaldt at gdls.com 08-08-2007 17:30 >>> In running the code below, I find that Excel does not completely exit, as evidenced by Task Manager/Processes. I've either neglected something, or I've done something out of order. Could someone tell me my mistake, please? Thanks. I've been struggling with this for a while now. Thomas F. Ewald Stryker Mass Properties General Dynamics Land Systems --------------------------------------------------------------- Sub PrepData() Dim xlApp As Excel.Application Dim xlWB As Excel.Workbook Set xlApp = CreateObject("Excel.Application") 'Open Excel workbook Set xlWB = xlApp.Workbooks.Open(strFileName) 'opens file DoCmd.SetWarnings False 'Prep Excel workbook PrepExcel 'Empty Clipboard before closing workbook xlApp.CutCopyMode = False 'Shut down Excel xlWB.Close savechanges:=True Set xlWB = Nothing xlApp.Quit Set xlApp = Nothing DoCmd.SetWarnings True End Sub --------------------------------------------------------------------- In case it's the PrepExcel sub that's causing the problem, here it is: --------------------------------------------------------------------- Sub PrepExcel() Dim intNewRow As Integer Dim oCell As Object Sheets.Add Sheets("Sheet1").Name = "ToImport" Sheets("ToImport").Select 'Copy only rows where column B = "A" intNewRow = 1 For Each oCell In Sheets("GDLS-SHC").Range("B1:B200") If oCell.Formula = "A" Then oCell.EntireRow.Copy ActiveSheet.Paste Destination:=Worksheets("ToImport").Range("A" & intNewRow) intNewRow = intNewRow + 1 End If Next oCell For Each oCell In Sheets("GDLS-C").Range("B1:B200") If oCell.Formula = "A" Then oCell.EntireRow.Copy ActiveSheet.Paste Destination:=Worksheets("ToImport").Range("A" & intNewRow) intNewRow = intNewRow + 1 End If Next oCell 'Check for non-numeric in Pounds and Grams intNewRow = intNewRow - 1 For Each oCell In Sheets("ToImport").Range("C1:D" & intNewRow) If Not IsNumeric(oCell.Formula) Then oCell.Formula = 0 End If Next oCell For Each oCell In Sheets("ToImport").Range("C1:C" & intNewRow) oCell.Formula = oCell.Formula + Range("D" & oCell.Row).Formula * 2.205 / 1000 Next oCell End Sub ---------------------------------------------------------- Thomas F. Ewald Stryker Mass Properties General Dynamics Land Systems From rockysmolin at bchacc.com Wed Aug 8 13:22:02 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Wed, 8 Aug 2007 11:22:02 -0700 Subject: [AccessD] Changing Default Printer In-Reply-To: Message-ID: <007201c7d9e9$04a02540$0301a8c0@HAL9005> Do you know if Adobe has an object model that can be manipulated through code? So that, for example, you could create a file name or direct the PDF file to a specific folder? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, August 08, 2007 11:00 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Changing Default Printer The alternatives (we used Amyuni) require coding and then installation on the target machine. I'm not sure you would be any better off, especially if you need to get this working fast. On the other hand, several of the PDF printers you can license on the web include VBA sample code to get you started. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, August 08, 2007 10:54 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Changing Default Printer Any good alternatives that you know of? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, August 08, 2007 10:41 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Changing Default Printer On the other hand, it may cause you more problems. If you are using generic code to print to PDF, you won't be able to control page size, orientation, or anything else. Nor will you be able to create it with a useful name, which may not be what your user needs. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, August 08, 2007 10:35 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Changing Default Printer This is a work in progress so I don't have precise answers yet. But, the plan is to have the user install whatever PDF printer they like . In the control panel of the Automated Email System there's a combo box with all of the installed printers. They pick their PDF printer and it's saved in a local options table. So they'll be providing their own PDF printer. Which might finesse the problem you had. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, August 08, 2007 10:23 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Changing Default Printer Um ... Is this PDF printer something you provide in your app? We've found that we needed to include an installer for our clients to reinstall their PDF printer when it went sideways, and we ran into problems if a full version of Adobe Acrobat was installed on the same machine. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, August 08, 2007 9:09 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Changing Default Printer Well, that won't be a problem for my app. Al I want to do it have the user switch to a PDF printer for reports which will then be attached to emails. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, August 08, 2007 8:52 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Changing Default Printer OY!! After all this time I don't recall. I know I wrote printer object based code to replace all our old code to set page size properly and then after testing it a bit, I threw it out and went back to the original code. I don't think it was a problem with selecting the printer, it was trying to manipulate the page settings that gave us problems. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, August 08, 2007 8:45 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Changing Default Printer Uh-oh. What problems did you have with the Printer object? Is that the same as using Application.Printer? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, August 08, 2007 8:08 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Changing Default Printer A2002 was the first version to have a printer object. I have to tell you, though, that we tried it and went back to API calls as more consistent and reliable. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, August 08, 2007 7:21 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Changing Default Printer What version of Access has that Printer object? And that code would go into the report in the load or open event? The code I found that I posted yesterday works in A2K3, it's real short, but does it at the OS level, which is probably more sketchy than doing it inside Access itself. What to you think? Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.8/941 - Release Date: 8/7/2007 4:06 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.8/941 - Release Date: 8/7/2007 4:06 PM From cfoust at infostatsystems.com Wed Aug 8 13:41:28 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 8 Aug 2007 11:41:28 -0700 Subject: [AccessD] Changing Default Printer In-Reply-To: <007201c7d9e9$04a02540$0301a8c0@HAL9005> References: <007201c7d9e9$04a02540$0301a8c0@HAL9005> Message-ID: Adobe has an API, but I believe you'd need the product on the target machine for that to do you any good. Charlotte -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, August 08, 2007 11:22 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Changing Default Printer Do you know if Adobe has an object model that can be manipulated through code? So that, for example, you could create a file name or direct the PDF file to a specific folder? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, August 08, 2007 11:00 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Changing Default Printer The alternatives (we used Amyuni) require coding and then installation on the target machine. I'm not sure you would be any better off, especially if you need to get this working fast. On the other hand, several of the PDF printers you can license on the web include VBA sample code to get you started. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, August 08, 2007 10:54 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Changing Default Printer Any good alternatives that you know of? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, August 08, 2007 10:41 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Changing Default Printer On the other hand, it may cause you more problems. If you are using generic code to print to PDF, you won't be able to control page size, orientation, or anything else. Nor will you be able to create it with a useful name, which may not be what your user needs. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, August 08, 2007 10:35 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Changing Default Printer This is a work in progress so I don't have precise answers yet. But, the plan is to have the user install whatever PDF printer they like . In the control panel of the Automated Email System there's a combo box with all of the installed printers. They pick their PDF printer and it's saved in a local options table. So they'll be providing their own PDF printer. Which might finesse the problem you had. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, August 08, 2007 10:23 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Changing Default Printer Um ... Is this PDF printer something you provide in your app? We've found that we needed to include an installer for our clients to reinstall their PDF printer when it went sideways, and we ran into problems if a full version of Adobe Acrobat was installed on the same machine. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, August 08, 2007 9:09 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Changing Default Printer Well, that won't be a problem for my app. Al I want to do it have the user switch to a PDF printer for reports which will then be attached to emails. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, August 08, 2007 8:52 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Changing Default Printer OY!! After all this time I don't recall. I know I wrote printer object based code to replace all our old code to set page size properly and then after testing it a bit, I threw it out and went back to the original code. I don't think it was a problem with selecting the printer, it was trying to manipulate the page settings that gave us problems. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, August 08, 2007 8:45 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Changing Default Printer Uh-oh. What problems did you have with the Printer object? Is that the same as using Application.Printer? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, August 08, 2007 8:08 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Changing Default Printer A2002 was the first version to have a printer object. I have to tell you, though, that we tried it and went back to API calls as more consistent and reliable. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, August 08, 2007 7:21 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Changing Default Printer What version of Access has that Printer object? And that code would go into the report in the load or open event? The code I found that I posted yesterday works in A2K3, it's real short, but does it at the OS level, which is probably more sketchy than doing it inside Access itself. What to you think? Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.8/941 - Release Date: 8/7/2007 4:06 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.8/941 - Release Date: 8/7/2007 4:06 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dw-murphy at cox.net Wed Aug 8 13:44:12 2007 From: dw-murphy at cox.net (Doug Murphy) Date: Wed, 8 Aug 2007 11:44:12 -0700 Subject: [AccessD] Changing Default Printer In-Reply-To: <007201c7d9e9$04a02540$0301a8c0@HAL9005> Message-ID: <003001c7d9ec$1ce46d70$0200a8c0@murphy3234aaf1> Rocky, There is no object model that I know of. There is vb code on the Adobe site and on the web but each file is saved to a setting in the registry, so if you want to have each file saved to a unique name and folder location you have to set that in the registry. I can dig out the code I use if you want it. Send off line. Doug -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, August 08, 2007 11:22 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Changing Default Printer Do you know if Adobe has an object model that can be manipulated through code? So that, for example, you could create a file name or direct the PDF file to a specific folder? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, August 08, 2007 11:00 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Changing Default Printer The alternatives (we used Amyuni) require coding and then installation on the target machine. I'm not sure you would be any better off, especially if you need to get this working fast. On the other hand, several of the PDF printers you can license on the web include VBA sample code to get you started. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, August 08, 2007 10:54 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Changing Default Printer Any good alternatives that you know of? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, August 08, 2007 10:41 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Changing Default Printer On the other hand, it may cause you more problems. If you are using generic code to print to PDF, you won't be able to control page size, orientation, or anything else. Nor will you be able to create it with a useful name, which may not be what your user needs. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, August 08, 2007 10:35 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Changing Default Printer This is a work in progress so I don't have precise answers yet. But, the plan is to have the user install whatever PDF printer they like . In the control panel of the Automated Email System there's a combo box with all of the installed printers. They pick their PDF printer and it's saved in a local options table. So they'll be providing their own PDF printer. Which might finesse the problem you had. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, August 08, 2007 10:23 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Changing Default Printer Um ... Is this PDF printer something you provide in your app? We've found that we needed to include an installer for our clients to reinstall their PDF printer when it went sideways, and we ran into problems if a full version of Adobe Acrobat was installed on the same machine. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, August 08, 2007 9:09 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Changing Default Printer Well, that won't be a problem for my app. Al I want to do it have the user switch to a PDF printer for reports which will then be attached to emails. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, August 08, 2007 8:52 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Changing Default Printer OY!! After all this time I don't recall. I know I wrote printer object based code to replace all our old code to set page size properly and then after testing it a bit, I threw it out and went back to the original code. I don't think it was a problem with selecting the printer, it was trying to manipulate the page settings that gave us problems. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, August 08, 2007 8:45 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Changing Default Printer Uh-oh. What problems did you have with the Printer object? Is that the same as using Application.Printer? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, August 08, 2007 8:08 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Changing Default Printer A2002 was the first version to have a printer object. I have to tell you, though, that we tried it and went back to API calls as more consistent and reliable. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, August 08, 2007 7:21 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Changing Default Printer What version of Access has that Printer object? And that code would go into the report in the load or open event? The code I found that I posted yesterday works in A2K3, it's real short, but does it at the OS level, which is probably more sketchy than doing it inside Access itself. What to you think? Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.8/941 - Release Date: 8/7/2007 4:06 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.8/941 - Release Date: 8/7/2007 4:06 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From nd500_lo at charter.net Wed Aug 8 15:15:55 2007 From: nd500_lo at charter.net (Dian) Date: Wed, 8 Aug 2007 13:15:55 -0700 Subject: [AccessD] OT: Pics from JC Conference In-Reply-To: <001801c7d9c7$e3ca3e30$8abea8c0@XPS> References: <006801c7d92b$e9e1d0e0$0301a8c0@HAL9005> <001801c7d9c7$e3ca3e30$8abea8c0@XPS> Message-ID: <000601c7d9f8$ed1b3ad0$6400a8c0@dsunit1> We didn't take any pics, though, Charlotte...but, should we share our code word to make sure we connected with the right person? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Wednesday, August 08, 2007 7:25 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Pics from JC Conference << San Luis Obispo!>> Nice place. I was there last year for an Experts-Exchange conference. Stayed down the coast just a bit. Really enjoyed the couple of days there and the drive up/down the coast to LA. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, August 07, 2007 5:15 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Pics from JC Conference WHICH latest conference?? Dian and I had our own mini-meeting last month in San Luis Obispo! Had a great couple of hours getting acquainted and didn't talk software so's you'd notice. LOL Charlotte -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Tuesday, August 07, 2007 1:52 PM To: accessd at databaseadvisors.com Subject: [AccessD] OT: Pics from JC Conference Just curious if the pics from the latest conference are on the site somewhere? Thanks, Mark A. Matte _________________________________________________________________ Messenger Caf? - open for fun 24/7. Hot games, cool activities served daily. Visit now. http://cafemessenger.com?ocid=TXT_TAGHM_AugHMtagline -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dwaters at usinternet.com Wed Aug 8 15:22:02 2007 From: dwaters at usinternet.com (Dan Waters) Date: Wed, 8 Aug 2007 15:22:02 -0500 Subject: [AccessD] Hyperlink to .chm help file Message-ID: <005501c7d9f9$c8f8ef70$0200a8c0@danwaters> I want to set up a command button so that it's hyperlink address points to a .chm help file. However, a recent MS security update makes this difficult. Has anyone figured out how to make this work? Thanks! Dan Waters From rockysmolin at bchacc.com Wed Aug 8 15:33:00 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Wed, 8 Aug 2007 13:33:00 -0700 Subject: [AccessD] Changing Default Printer In-Reply-To: <003001c7d9ec$1ce46d70$0200a8c0@murphy3234aaf1> Message-ID: <009401c7d9fb$50bfe340$0301a8c0@HAL9005> Doug: I'd appreciate seeing that. Adobe is standard so the client may standardize on it. Thanks and regards, Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Murphy Sent: Wednesday, August 08, 2007 11:44 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Changing Default Printer Rocky, There is no object model that I know of. There is vb code on the Adobe site and on the web but each file is saved to a setting in the registry, so if you want to have each file saved to a unique name and folder location you have to set that in the registry. I can dig out the code I use if you want it. Send off line. Doug -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, August 08, 2007 11:22 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Changing Default Printer Do you know if Adobe has an object model that can be manipulated through code? So that, for example, you could create a file name or direct the PDF file to a specific folder? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, August 08, 2007 11:00 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Changing Default Printer The alternatives (we used Amyuni) require coding and then installation on the target machine. I'm not sure you would be any better off, especially if you need to get this working fast. On the other hand, several of the PDF printers you can license on the web include VBA sample code to get you started. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, August 08, 2007 10:54 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Changing Default Printer Any good alternatives that you know of? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, August 08, 2007 10:41 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Changing Default Printer On the other hand, it may cause you more problems. If you are using generic code to print to PDF, you won't be able to control page size, orientation, or anything else. Nor will you be able to create it with a useful name, which may not be what your user needs. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, August 08, 2007 10:35 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Changing Default Printer This is a work in progress so I don't have precise answers yet. But, the plan is to have the user install whatever PDF printer they like . In the control panel of the Automated Email System there's a combo box with all of the installed printers. They pick their PDF printer and it's saved in a local options table. So they'll be providing their own PDF printer. Which might finesse the problem you had. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, August 08, 2007 10:23 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Changing Default Printer Um ... Is this PDF printer something you provide in your app? We've found that we needed to include an installer for our clients to reinstall their PDF printer when it went sideways, and we ran into problems if a full version of Adobe Acrobat was installed on the same machine. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, August 08, 2007 9:09 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Changing Default Printer Well, that won't be a problem for my app. Al I want to do it have the user switch to a PDF printer for reports which will then be attached to emails. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, August 08, 2007 8:52 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Changing Default Printer OY!! After all this time I don't recall. I know I wrote printer object based code to replace all our old code to set page size properly and then after testing it a bit, I threw it out and went back to the original code. I don't think it was a problem with selecting the printer, it was trying to manipulate the page settings that gave us problems. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, August 08, 2007 8:45 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Changing Default Printer Uh-oh. What problems did you have with the Printer object? Is that the same as using Application.Printer? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, August 08, 2007 8:08 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Changing Default Printer A2002 was the first version to have a printer object. I have to tell you, though, that we tried it and went back to API calls as more consistent and reliable. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, August 08, 2007 7:21 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Changing Default Printer What version of Access has that Printer object? And that code would go into the report in the load or open event? The code I found that I posted yesterday works in A2K3, it's real short, but does it at the OS level, which is probably more sketchy than doing it inside Access itself. What to you think? Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.8/941 - Release Date: 8/7/2007 4:06 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.8/941 - Release Date: 8/7/2007 4:06 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.8/941 - Release Date: 8/7/2007 4:06 PM From Donald.A.McGillivray at sprint.com Wed Aug 8 15:55:00 2007 From: Donald.A.McGillivray at sprint.com (McGillivray, Don [IT]) Date: Wed, 8 Aug 2007 15:55:00 -0500 Subject: [AccessD] Changing Default Printer In-Reply-To: <009401c7d9fb$50bfe340$0301a8c0@HAL9005> References: <003001c7d9ec$1ce46d70$0200a8c0@murphy3234aaf1> <009401c7d9fb$50bfe340$0301a8c0@HAL9005> Message-ID: Rocky, Lebans has code to convert a report to PDF that might do what you want. http://www.lebans.com/reporttopdf.htm Don -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, August 08, 2007 1:33 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Changing Default Printer Doug: I'd appreciate seeing that. Adobe is standard so the client may standardize on it. Thanks and regards, Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Murphy Sent: Wednesday, August 08, 2007 11:44 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Changing Default Printer Rocky, There is no object model that I know of. There is vb code on the Adobe site and on the web but each file is saved to a setting in the registry, so if you want to have each file saved to a unique name and folder location you have to set that in the registry. I can dig out the code I use if you want it. Send off line. Doug -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, August 08, 2007 11:22 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Changing Default Printer Do you know if Adobe has an object model that can be manipulated through code? So that, for example, you could create a file name or direct the PDF file to a specific folder? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, August 08, 2007 11:00 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Changing Default Printer The alternatives (we used Amyuni) require coding and then installation on the target machine. I'm not sure you would be any better off, especially if you need to get this working fast. On the other hand, several of the PDF printers you can license on the web include VBA sample code to get you started. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, August 08, 2007 10:54 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Changing Default Printer Any good alternatives that you know of? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, August 08, 2007 10:41 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Changing Default Printer On the other hand, it may cause you more problems. If you are using generic code to print to PDF, you won't be able to control page size, orientation, or anything else. Nor will you be able to create it with a useful name, which may not be what your user needs. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, August 08, 2007 10:35 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Changing Default Printer This is a work in progress so I don't have precise answers yet. But, the plan is to have the user install whatever PDF printer they like . In the control panel of the Automated Email System there's a combo box with all of the installed printers. They pick their PDF printer and it's saved in a local options table. So they'll be providing their own PDF printer. Which might finesse the problem you had. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, August 08, 2007 10:23 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Changing Default Printer Um ... Is this PDF printer something you provide in your app? We've found that we needed to include an installer for our clients to reinstall their PDF printer when it went sideways, and we ran into problems if a full version of Adobe Acrobat was installed on the same machine. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, August 08, 2007 9:09 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Changing Default Printer Well, that won't be a problem for my app. Al I want to do it have the user switch to a PDF printer for reports which will then be attached to emails. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, August 08, 2007 8:52 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Changing Default Printer OY!! After all this time I don't recall. I know I wrote printer object based code to replace all our old code to set page size properly and then after testing it a bit, I threw it out and went back to the original code. I don't think it was a problem with selecting the printer, it was trying to manipulate the page settings that gave us problems. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, August 08, 2007 8:45 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Changing Default Printer Uh-oh. What problems did you have with the Printer object? Is that the same as using Application.Printer? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, August 08, 2007 8:08 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Changing Default Printer A2002 was the first version to have a printer object. I have to tell you, though, that we tried it and went back to API calls as more consistent and reliable. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, August 08, 2007 7:21 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Changing Default Printer What version of Access has that Printer object? And that code would go into the report in the load or open event? The code I found that I posted yesterday works in A2K3, it's real short, but does it at the OS level, which is probably more sketchy than doing it inside Access itself. What to you think? Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.8/941 - Release Date: 8/7/2007 4:06 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.8/941 - Release Date: 8/7/2007 4:06 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.8/941 - Release Date: 8/7/2007 4:06 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From markamatte at hotmail.com Wed Aug 8 15:57:27 2007 From: markamatte at hotmail.com (Mark A Matte) Date: Wed, 08 Aug 2007 20:57:27 +0000 Subject: [AccessD] SQL Speed In-Reply-To: <009401c7d9fb$50bfe340$0301a8c0@HAL9005> Message-ID: Hello All, I am involved in a project that will be web based. The database will either be access or SQL Server. The question is: I need to run a bunch (maybe 10K) of SQL statements againts a single table...or flat file, whatever is best, containing about 4K rows. The results of each will be appended to a second table, or emailed instantly (ahh...idea...good place for a JC style Class). The SQL statements themselves will be stored in a table. Does anyone have any ideas/suggestions about approach? I will need ALL of the SQLs to run in less than 5 minutes. I know 1 runs in a fraction of a second...I just don't know what that fraction is to calculate time needed. Being there are so few rows involved...but so many SQL statements...and speed is an issue...will there be a signicant advantage using SQL Server or Access? I'm thinking of having the SQLs in a table and looping through and executing each...I just don't know if this is the best approach? Thanks, Mark A. Matte _________________________________________________________________ Booking a flight? Know when to buy with airfare predictions on MSN Travel. http://travel.msn.com/Articles/aboutfarecast.aspx&ocid=T001MSN25A07001 From wdhindman at dejpolsystems.com Wed Aug 8 16:09:44 2007 From: wdhindman at dejpolsystems.com (William Hindman) Date: Wed, 8 Aug 2007 17:09:44 -0400 Subject: [AccessD] Changing Default Printer References: <009401c7d9fb$50bfe340$0301a8c0@HAL9005> Message-ID: <005f01c7da00$72287e20$0c10a8c0@jisshowsbs.local> ...not once he sees their prices. William Hindman ----- Original Message ----- From: "Rocky Smolin at Beach Access Software" To: "'Access Developers discussion and problem solving'" Sent: Wednesday, August 08, 2007 4:33 PM Subject: Re: [AccessD] Changing Default Printer > Doug: > > I'd appreciate seeing that. Adobe is standard so the client may > standardize > on it. > > Thanks and regards, > > Rocky > > > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Murphy > Sent: Wednesday, August 08, 2007 11:44 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Changing Default Printer > > Rocky, > > There is no object model that I know of. There is vb code on the Adobe > site > and on the web but each file is saved to a setting in the registry, so if > you want to have each file saved to a unique name and folder location you > have to set that in the registry. I can dig out the code I use if you want > it. Send off line. > > Doug > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at > Beach Access Software > Sent: Wednesday, August 08, 2007 11:22 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Changing Default Printer > > Do you know if Adobe has an object model that can be manipulated through > code? So that, for example, you could create a file name or direct the > PDF > file to a specific folder? > > Rocky > > > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust > Sent: Wednesday, August 08, 2007 11:00 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Changing Default Printer > > The alternatives (we used Amyuni) require coding and then installation on > the target machine. I'm not sure you would be any better off, especially > if > you need to get this working fast. On the other hand, several of the PDF > printers you can license on the web include VBA sample code to get you > started. > > Charlotte Foust > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at > Beach Access Software > Sent: Wednesday, August 08, 2007 10:54 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Changing Default Printer > > Any good alternatives that you know of? > > Rocky > > > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust > Sent: Wednesday, August 08, 2007 10:41 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Changing Default Printer > > On the other hand, it may cause you more problems. If you are using > generic > code to print to PDF, you won't be able to control page size, orientation, > or anything else. Nor will you be able to create it with a useful name, > which may not be what your user needs. > > Charlotte Foust > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at > Beach Access Software > Sent: Wednesday, August 08, 2007 10:35 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Changing Default Printer > > This is a work in progress so I don't have precise answers yet. But, the > plan is to have the user install whatever PDF printer they like . > In the control panel of the Automated Email System there's a combo box > with > all of the installed printers. They pick their PDF printer and it's saved > in a local options table. So they'll be providing their own PDF printer. > Which might finesse the problem you had. > > Rocky > > > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust > Sent: Wednesday, August 08, 2007 10:23 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Changing Default Printer > > Um ... Is this PDF printer something you provide in your app? We've found > that we needed to include an installer for our clients to reinstall their > PDF printer when it went sideways, and we ran into problems if a full > version of Adobe Acrobat was installed on the same machine. > > Charlotte Foust > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at > Beach Access Software > Sent: Wednesday, August 08, 2007 9:09 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Changing Default Printer > > Well, that won't be a problem for my app. Al I want to do it have the > user > switch to a PDF printer for reports which will then be attached to emails. > > > Rocky > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust > Sent: Wednesday, August 08, 2007 8:52 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Changing Default Printer > > OY!! After all this time I don't recall. I know I wrote printer object > based code to replace all our old code to set page size properly and then > after testing it a bit, I threw it out and went back to the original code. > I don't think it was a problem with selecting the printer, it was trying > to > manipulate the page settings that gave us problems. > > Charlotte Foust > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at > Beach Access Software > Sent: Wednesday, August 08, 2007 8:45 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Changing Default Printer > > Uh-oh. What problems did you have with the Printer object? Is that the > same as using Application.Printer? > > Rocky > > > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust > Sent: Wednesday, August 08, 2007 8:08 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Changing Default Printer > > A2002 was the first version to have a printer object. I have to tell you, > though, that we tried it and went back to API calls as more consistent and > reliable. > > Charlotte Foust > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at > Beach Access Software > Sent: Wednesday, August 08, 2007 7:21 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Changing Default Printer > > What version of Access has that Printer object? And that code would go > into > the report in the load or open event? The code I found that I posted > yesterday works in A2K3, it's real short, but does it at the OS level, > which > is probably more sketchy than doing it inside Access itself. What to you > think? > > Rocky > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.476 / Virus Database: 269.11.8/941 - Release Date: 8/7/2007 > 4:06 PM > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.476 / Virus Database: 269.11.8/941 - Release Date: 8/7/2007 > 4:06 PM > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.476 / Virus Database: 269.11.8/941 - Release Date: 8/7/2007 > 4:06 PM > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From rockysmolin at bchacc.com Wed Aug 8 16:14:17 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Wed, 8 Aug 2007 14:14:17 -0700 Subject: [AccessD] Changing Default Printer In-Reply-To: Message-ID: <009a01c7da01$144f1ce0$0301a8c0@HAL9005> That looks very promising. Thanks. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of McGillivray, Don [IT] Sent: Wednesday, August 08, 2007 1:55 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Changing Default Printer Rocky, Lebans has code to convert a report to PDF that might do what you want. http://www.lebans.com/reporttopdf.htm Don -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, August 08, 2007 1:33 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Changing Default Printer Doug: I'd appreciate seeing that. Adobe is standard so the client may standardize on it. Thanks and regards, Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Murphy Sent: Wednesday, August 08, 2007 11:44 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Changing Default Printer Rocky, There is no object model that I know of. There is vb code on the Adobe site and on the web but each file is saved to a setting in the registry, so if you want to have each file saved to a unique name and folder location you have to set that in the registry. I can dig out the code I use if you want it. Send off line. Doug -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, August 08, 2007 11:22 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Changing Default Printer Do you know if Adobe has an object model that can be manipulated through code? So that, for example, you could create a file name or direct the PDF file to a specific folder? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, August 08, 2007 11:00 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Changing Default Printer The alternatives (we used Amyuni) require coding and then installation on the target machine. I'm not sure you would be any better off, especially if you need to get this working fast. On the other hand, several of the PDF printers you can license on the web include VBA sample code to get you started. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, August 08, 2007 10:54 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Changing Default Printer Any good alternatives that you know of? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, August 08, 2007 10:41 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Changing Default Printer On the other hand, it may cause you more problems. If you are using generic code to print to PDF, you won't be able to control page size, orientation, or anything else. Nor will you be able to create it with a useful name, which may not be what your user needs. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, August 08, 2007 10:35 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Changing Default Printer This is a work in progress so I don't have precise answers yet. But, the plan is to have the user install whatever PDF printer they like . In the control panel of the Automated Email System there's a combo box with all of the installed printers. They pick their PDF printer and it's saved in a local options table. So they'll be providing their own PDF printer. Which might finesse the problem you had. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, August 08, 2007 10:23 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Changing Default Printer Um ... Is this PDF printer something you provide in your app? We've found that we needed to include an installer for our clients to reinstall their PDF printer when it went sideways, and we ran into problems if a full version of Adobe Acrobat was installed on the same machine. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, August 08, 2007 9:09 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Changing Default Printer Well, that won't be a problem for my app. Al I want to do it have the user switch to a PDF printer for reports which will then be attached to emails. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, August 08, 2007 8:52 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Changing Default Printer OY!! After all this time I don't recall. I know I wrote printer object based code to replace all our old code to set page size properly and then after testing it a bit, I threw it out and went back to the original code. I don't think it was a problem with selecting the printer, it was trying to manipulate the page settings that gave us problems. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, August 08, 2007 8:45 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Changing Default Printer Uh-oh. What problems did you have with the Printer object? Is that the same as using Application.Printer? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, August 08, 2007 8:08 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Changing Default Printer A2002 was the first version to have a printer object. I have to tell you, though, that we tried it and went back to API calls as more consistent and reliable. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, August 08, 2007 7:21 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Changing Default Printer What version of Access has that Printer object? And that code would go into the report in the load or open event? The code I found that I posted yesterday works in A2K3, it's real short, but does it at the OS level, which is probably more sketchy than doing it inside Access itself. What to you think? Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.8/941 - Release Date: 8/7/2007 4:06 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.8/941 - Release Date: 8/7/2007 4:06 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.8/941 - Release Date: 8/7/2007 4:06 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.8/941 - Release Date: 8/7/2007 4:06 PM From martyconnelly at shaw.ca Wed Aug 8 17:06:40 2007 From: martyconnelly at shaw.ca (MartyConnelly) Date: Wed, 08 Aug 2007 15:06:40 -0700 Subject: [AccessD] Hyperlink to .chm help file In-Reply-To: <005501c7d9f9$c8f8ef70$0200a8c0@danwaters> References: <005501c7d9f9$c8f8ef70$0200a8c0@danwaters> Message-ID: <46BA3E70.1040909@shaw.ca> Try ShellExecute API with name of file 'http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/shell/reference/functions/shellexecute.asp 'API STUFF ==================================================================== Private Declare Function ShellExecute Lib "shell32.dll" Alias "ShellExecuteA" _ (ByVal hwnd As Long, ByVal lpOperation As String, ByVal lpFile As String, _ ByVal lpParameters As String, ByVal lpDirectory As String, ByVal nShowCmd _ As Long) As Long Private Const SW_SHOWNORMAL = 1 Private Const ERROR_FILE_NOT_FOUND = 2& Private Const ERROR_PATH_NOT_FOUND = 3& Private Const ERROR_BAD_FORMAT = 11& Private Const SE_ERR_ACCESSDENIED = 5 Private Const SE_ERR_ASSOCINCOMPLETE = 27 Private Const SE_ERR_DDEBUSY = 30 Private Const SE_ERR_DDEFAIL = 29 Private Const SE_ERR_DDETIMEOUT = 28 Private Const SE_ERR_DLLNOTFOUND = 32 Private Const SE_ERR_FNF = 2 Private Const SE_ERR_NOASSOC = 31 Private Const SE_ERR_OOM = 8 Private Const SE_ERR_PNF = 3 Private Const SE_ERR_SHARE = 26 'strProgram is the name of a program to run, or a file to open 'EX: calc.exe or c:\test.doc or http:\\www.microsoft.com Public Sub RunProgram(strProgram As String) Dim lRet As Long ' Get the return value ' Execute the API call lRet = ShellExecute(vbNull, "", strProgram, "", "", SW_SHOWNORMAL) ' If ShellExecute works it will return a number greate than 32 ' Otherwise call our ReportError function to see what went wrong If lRet <= 32 Then ReportShellExecuteError (lRet) End If End Sub Private Sub ReportShellExecuteError(lErrNum As Long) Dim strErr As String Select Case lErrNum Case ERROR_FILE_NOT_FOUND strErr = "The specified file was not found." Case ERROR_PATH_NOT_FOUND strErr = "The specified path was not found." Case ERROR_BAD_FORMAT strErr = "The .exe file is invalid (non-Win32? .exe or error in .exe image)." Case SE_ERR_ACCESSDENIED strErr = "The operating system denied access to the specified file. " Case SE_ERR_ASSOCINCOMPLETE strErr = "The file name association is incomplete or invalid." Case SE_ERR_DDEBUSY strErr = "The DDE transaction could not be completed because other DDE transactions were being processed." Case SE_ERR_DDEFAIL strErr = "The DDE transaction failed." Case SE_ERR_DDETIMEOUT strErr = "The DDE transaction could not be completed because the request timed out." Case SE_ERR_DLLNOTFOUND strErr = "The specified dynamic-link library was not found. " Case SE_ERR_FNF strErr = "The specified file was not found. " Case SE_ERR_NOASSOC strErr = "There is no application associated with the given file name extension. This error will also be returned if you attempt to print a file that is not printable." Case SE_ERR_OOM strErr = "There was not enough memory to complete the operation." Case SE_ERR_PNF strErr = "The specified path was not found." Case SE_ERR_SHARE strErr = "A sharing violation occurred." End Select MsgBox strErr, vbExclamation, "Error running program" End Sub Dan Waters wrote: >I want to set up a command button so that it's hyperlink address points to a >.chm help file. However, a recent MS security update makes this difficult. > >Has anyone figured out how to make this work? > >Thanks! >Dan Waters > > > > > -- Marty Connelly Victoria, B.C. Canada From cfoust at infostatsystems.com Wed Aug 8 17:14:57 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 8 Aug 2007 15:14:57 -0700 Subject: [AccessD] OT: Pics from JC Conference In-Reply-To: <000601c7d9f8$ed1b3ad0$6400a8c0@dsunit1> References: <006801c7d92b$e9e1d0e0$0301a8c0@HAL9005><001801c7d9c7$e3ca3e30$8abea8c0@XPS> <000601c7d9f8$ed1b3ad0$6400a8c0@dsunit1> Message-ID: ROTFL I don't know if they're ready for that, Dian! LOL Charlotte -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dian Sent: Wednesday, August 08, 2007 1:16 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Pics from JC Conference We didn't take any pics, though, Charlotte...but, should we share our code word to make sure we connected with the right person? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Wednesday, August 08, 2007 7:25 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Pics from JC Conference << San Luis Obispo!>> Nice place. I was there last year for an Experts-Exchange conference. Stayed down the coast just a bit. Really enjoyed the couple of days there and the drive up/down the coast to LA. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, August 07, 2007 5:15 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Pics from JC Conference WHICH latest conference?? Dian and I had our own mini-meeting last month in San Luis Obispo! Had a great couple of hours getting acquainted and didn't talk software so's you'd notice. LOL Charlotte -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Tuesday, August 07, 2007 1:52 PM To: accessd at databaseadvisors.com Subject: [AccessD] OT: Pics from JC Conference Just curious if the pics from the latest conference are on the site somewhere? Thanks, Mark A. Matte _________________________________________________________________ Messenger Caf? - open for fun 24/7. Hot games, cool activities served daily. Visit now. http://cafemessenger.com?ocid=TXT_TAGHM_AugHMtagline -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From fahooper at trapo.com Wed Aug 8 17:57:22 2007 From: fahooper at trapo.com (Fred Hooper) Date: Wed, 8 Aug 2007 18:57:22 -0400 Subject: [AccessD] SQL Speed In-Reply-To: Message-ID: <005301c7da0f$7b015d00$af15c048@fredxp> Hi Mark, I once wrote an application that updated an Excel file with the results of running 5K cross tabs. These were constructed in Access and returned ADO recordsets which I placed in the Excel file. As I recall, it took 20 minutes running against a 5M row SQL Server table. An even faster way (that I didn't think of then) would be to make a pass-through query that uses a (probably one line) file to control its results. You could then update that file and run a query that appends the results of the pass-through query to your table. This way you do as much with SQL as possible. Overall, it sounds doable and fun. Fred -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Wednesday, August 08, 2007 4:57 PM To: accessd at databaseadvisors.com Subject: [AccessD] SQL Speed Hello All, I am involved in a project that will be web based. The database will either be access or SQL Server. The question is: I need to run a bunch (maybe 10K) of SQL statements againts a single table...or flat file, whatever is best, containing about 4K rows. The results of each will be appended to a second table, or emailed instantly (ahh...idea...good place for a JC style Class). The SQL statements themselves will be stored in a table. Does anyone have any ideas/suggestions about approach? I will need ALL of the SQLs to run in less than 5 minutes. I know 1 runs in a fraction of a second...I just don't know what that fraction is to calculate time needed. Being there are so few rows involved...but so many SQL statements...and speed is an issue...will there be a signicant advantage using SQL Server or Access? I'm thinking of having the SQLs in a table and looping through and executing each...I just don't know if this is the best approach? Thanks, Mark A. Matte _________________________________________________________________ Booking a flight? Know when to buy with airfare predictions on MSN Travel. http://travel.msn.com/Articles/aboutfarecast.aspx&ocid=T001MSN25A07001 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Wed Aug 8 18:07:23 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Wed, 8 Aug 2007 16:07:23 -0700 Subject: [AccessD] PDF Add-in for A2007 Message-ID: <00c101c7da10$e159a930$0301a8c0@HAL9005> Dear List: Has anyone heard about an MS PDF function that can be added to Access 2007? TIA Rocky From nd500_lo at charter.net Wed Aug 8 18:21:20 2007 From: nd500_lo at charter.net (Dian) Date: Wed, 8 Aug 2007 16:21:20 -0700 Subject: [AccessD] OT: Pics from JC Conference In-Reply-To: References: <006801c7d92b$e9e1d0e0$0301a8c0@HAL9005><001801c7d9c7$e3ca3e30$8abea8c0@XPS><000601c7d9f8$ed1b3ad0$6400a8c0@dsunit1> Message-ID: <000001c7da12$d43e7d00$6400a8c0@dsunit1> Tomorrow...for Friday humor? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, August 08, 2007 3:15 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Pics from JC Conference ROTFL I don't know if they're ready for that, Dian! LOL Charlotte -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dian Sent: Wednesday, August 08, 2007 1:16 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Pics from JC Conference We didn't take any pics, though, Charlotte...but, should we share our code word to make sure we connected with the right person? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Wednesday, August 08, 2007 7:25 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Pics from JC Conference << San Luis Obispo!>> Nice place. I was there last year for an Experts-Exchange conference. Stayed down the coast just a bit. Really enjoyed the couple of days there and the drive up/down the coast to LA. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, August 07, 2007 5:15 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Pics from JC Conference WHICH latest conference?? Dian and I had our own mini-meeting last month in San Luis Obispo! Had a great couple of hours getting acquainted and didn't talk software so's you'd notice. LOL Charlotte -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Tuesday, August 07, 2007 1:52 PM To: accessd at databaseadvisors.com Subject: [AccessD] OT: Pics from JC Conference Just curious if the pics from the latest conference are on the site somewhere? Thanks, Mark A. Matte _________________________________________________________________ Messenger Caf? - open for fun 24/7. Hot games, cool activities served daily. Visit now. http://cafemessenger.com?ocid=TXT_TAGHM_AugHMtagline -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 8 19:09:54 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 8 Aug 2007 17:09:54 -0700 Subject: [AccessD] PDF Add-in for A2007 In-Reply-To: <00c101c7da10$e159a930$0301a8c0@HAL9005> References: <00c101c7da10$e159a930$0301a8c0@HAL9005> Message-ID: Doesn't 2007 support PDF output directly? Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, August 08, 2007 4:07 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] PDF Add-in for A2007 Dear List: Has anyone heard about an MS PDF function that can be added to Access 2007? TIA Rocky -- 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 8 19:10:39 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 8 Aug 2007 17:10:39 -0700 Subject: [AccessD] OT: Pics from JC Conference In-Reply-To: <000001c7da12$d43e7d00$6400a8c0@dsunit1> References: <006801c7d92b$e9e1d0e0$0301a8c0@HAL9005><001801c7d9c7$e3ca3e30$8abea8c0@XPS><000601c7d9f8$ed1b3ad0$6400a8c0@dsunit1> <000001c7da12$d43e7d00$6400a8c0@dsunit1> Message-ID: Tomorrow is Thursday in Northern California, let's save it for Friday. Charlotte -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dian Sent: Wednesday, August 08, 2007 4:21 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Pics from JC Conference Tomorrow...for Friday humor? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, August 08, 2007 3:15 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Pics from JC Conference ROTFL I don't know if they're ready for that, Dian! LOL Charlotte -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dian Sent: Wednesday, August 08, 2007 1:16 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Pics from JC Conference We didn't take any pics, though, Charlotte...but, should we share our code word to make sure we connected with the right person? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Wednesday, August 08, 2007 7:25 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Pics from JC Conference << San Luis Obispo!>> Nice place. I was there last year for an Experts-Exchange conference. Stayed down the coast just a bit. Really enjoyed the couple of days there and the drive up/down the coast to LA. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, August 07, 2007 5:15 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Pics from JC Conference WHICH latest conference?? Dian and I had our own mini-meeting last month in San Luis Obispo! Had a great couple of hours getting acquainted and didn't talk software so's you'd notice. LOL Charlotte -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Tuesday, August 07, 2007 1:52 PM To: accessd at databaseadvisors.com Subject: [AccessD] OT: Pics from JC Conference Just curious if the pics from the latest conference are on the site somewhere? Thanks, Mark A. Matte _________________________________________________________________ Messenger Caf? - open for fun 24/7. Hot games, cool activities served daily. Visit now. http://cafemessenger.com?ocid=TXT_TAGHM_AugHMtagline -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From fuller.artful at gmail.com Wed Aug 8 19:30:41 2007 From: fuller.artful at gmail.com (Arthur Fuller) Date: Wed, 8 Aug 2007 20:30:41 -0400 Subject: [AccessD] SQL Speed In-Reply-To: References: <009401c7d9fb$50bfe340$0301a8c0@HAL9005> Message-ID: <29f585dd0708081730q15d044d1yf6db5fcf712aca94@mail.gmail.com> If I were using SQL Server, I would write one sproc foreach SQL statement and then write a wrapper sproc that calls each one of them in turn. For testing purposes, I would probably "batch" them into several wrapper sprocs, say each calling 1000 of the "child" sprocs, so I could get an idea what's taking too much time, and optimize there. The outermost sproc could call the middle sprocs that each call 1000 of the inner sprocs. hth, Arthur On 8/8/07, Mark A Matte wrote: > > Hello All, > > I am involved in a project that will be web based. The database will > either > be access or SQL Server. > > The question is: I need to run a bunch (maybe 10K) of SQL statements > againts a single table...or flat file, whatever is best, containing about > 4K > rows. The results of each will be appended to a second table, or emailed > instantly (ahh...idea...good place for a JC style Class). The SQL > statements themselves will be stored in a table. > > Does anyone have any ideas/suggestions about approach? I will need ALL of > the SQLs to run in less than 5 minutes. I know 1 runs in a fraction of a > second...I just don't know what that fraction is to calculate time needed. > > Being there are so few rows involved...but so many SQL statements...and > speed is an issue...will there be a signicant advantage using SQL Server > or > Access? > > I'm thinking of having the SQLs in a table and looping through and > executing > each...I just don't know if this is the best approach? > > Thanks, > > Mark A. Matte > > _________________________________________________________________ > Booking a flight? Know when to buy with airfare predictions on MSN Travel. > http://travel.msn.com/Articles/aboutfarecast.aspx&ocid=T001MSN25A07001 > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From miscellany at mvps.org Wed Aug 8 19:34:36 2007 From: miscellany at mvps.org (Steve Schapel) Date: Thu, 09 Aug 2007 12:34:36 +1200 Subject: [AccessD] PDF Add-in for A2007 In-Reply-To: References: <00c101c7da10$e159a930$0301a8c0@HAL9005> Message-ID: <46BA611C.1010401@mvps.org> That was the original intention, Charlotte. Then Microsoft buckled under a silly threat from Adobe, and pulled it from the final release. Now you have to explicitly download and install an add-in from Microsoft's download site, before the Save As PDF option will work. Regards Steve Charlotte Foust wrote: > Doesn't 2007 support PDF output directly? > From nd500_lo at charter.net Wed Aug 8 23:21:26 2007 From: nd500_lo at charter.net (Dian) Date: Wed, 8 Aug 2007 21:21:26 -0700 Subject: [AccessD] OT: Pics from JC Conference In-Reply-To: References: <006801c7d92b$e9e1d0e0$0301a8c0@HAL9005><001801c7d9c7$e3ca3e30$8abea8c0@XPS><000601c7d9f8$ed1b3ad0$6400a8c0@dsunit1><000001c7da12$d43e7d00$6400a8c0@dsunit1> Message-ID: <000001c7da3c$c0c705b0$6400a8c0@dsunit1> I'm retired...what do I know... -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, August 08, 2007 5:11 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Pics from JC Conference Tomorrow is Thursday in Northern California, let's save it for Friday. Charlotte -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dian Sent: Wednesday, August 08, 2007 4:21 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Pics from JC Conference Tomorrow...for Friday humor? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, August 08, 2007 3:15 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Pics from JC Conference ROTFL I don't know if they're ready for that, Dian! LOL Charlotte -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dian Sent: Wednesday, August 08, 2007 1:16 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Pics from JC Conference We didn't take any pics, though, Charlotte...but, should we share our code word to make sure we connected with the right person? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Wednesday, August 08, 2007 7:25 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Pics from JC Conference << San Luis Obispo!>> Nice place. I was there last year for an Experts-Exchange conference. Stayed down the coast just a bit. Really enjoyed the couple of days there and the drive up/down the coast to LA. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, August 07, 2007 5:15 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Pics from JC Conference WHICH latest conference?? Dian and I had our own mini-meeting last month in San Luis Obispo! Had a great couple of hours getting acquainted and didn't talk software so's you'd notice. LOL Charlotte -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Tuesday, August 07, 2007 1:52 PM To: accessd at databaseadvisors.com Subject: [AccessD] OT: Pics from JC Conference Just curious if the pics from the latest conference are on the site somewhere? Thanks, Mark A. Matte _________________________________________________________________ Messenger Caf? - open for fun 24/7. Hot games, cool activities served daily. Visit now. http://cafemessenger.com?ocid=TXT_TAGHM_AugHMtagline -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Thu Aug 9 00:15:43 2007 From: accessd at shaw.ca (Jim Lawrence) Date: Wed, 08 Aug 2007 22:15:43 -0700 Subject: [AccessD] SQL Speed In-Reply-To: Message-ID: <0JMH001WGQDF2NX2@l-daemon> Well, you have probably already thought of this, but any queries that can run on the SQL server as pre-compiled stored procedures will give superior performance. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Wednesday, August 08, 2007 1:57 PM To: accessd at databaseadvisors.com Subject: [AccessD] SQL Speed Hello All, I am involved in a project that will be web based. The database will either be access or SQL Server. The question is: I need to run a bunch (maybe 10K) of SQL statements againts a single table...or flat file, whatever is best, containing about 4K rows. The results of each will be appended to a second table, or emailed instantly (ahh...idea...good place for a JC style Class). The SQL statements themselves will be stored in a table. Does anyone have any ideas/suggestions about approach? I will need ALL of the SQLs to run in less than 5 minutes. I know 1 runs in a fraction of a second...I just don't know what that fraction is to calculate time needed. Being there are so few rows involved...but so many SQL statements...and speed is an issue...will there be a signicant advantage using SQL Server or Access? I'm thinking of having the SQLs in a table and looping through and executing each...I just don't know if this is the best approach? Thanks, Mark A. Matte _________________________________________________________________ Booking a flight? Know when to buy with airfare predictions on MSN Travel. http://travel.msn.com/Articles/aboutfarecast.aspx&ocid=T001MSN25A07001 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From wdhindman at dejpolsystems.com Thu Aug 9 00:51:50 2007 From: wdhindman at dejpolsystems.com (William Hindman) Date: Thu, 9 Aug 2007 01:51:50 -0400 Subject: [AccessD] OT: Pics from JC Conference References: <006801c7d92b$e9e1d0e0$0301a8c0@HAL9005><001801c7d9c7$e3ca3e30$8abea8c0@XPS><000601c7d9f8$ed1b3ad0$6400a8c0@dsunit1><000001c7da12$d43e7d00$6400a8c0@dsunit1> <000001c7da3c$c0c705b0$6400a8c0@dsunit1> Message-ID: <000d01c7da49$6204fbb0$517a6c4c@jisshowsbs.local> ...I've been retired since '94 ...but I still know what day it is :)))) William Hindman ----- Original Message ----- From: "Dian" To: "'Access Developers discussion and problem solving'" Sent: Thursday, August 09, 2007 12:21 AM Subject: Re: [AccessD] OT: Pics from JC Conference I'm retired...what do I know... -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, August 08, 2007 5:11 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Pics from JC Conference Tomorrow is Thursday in Northern California, let's save it for Friday. Charlotte -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dian Sent: Wednesday, August 08, 2007 4:21 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Pics from JC Conference Tomorrow...for Friday humor? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, August 08, 2007 3:15 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Pics from JC Conference ROTFL I don't know if they're ready for that, Dian! LOL Charlotte -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dian Sent: Wednesday, August 08, 2007 1:16 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Pics from JC Conference We didn't take any pics, though, Charlotte...but, should we share our code word to make sure we connected with the right person? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Wednesday, August 08, 2007 7:25 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Pics from JC Conference << San Luis Obispo!>> Nice place. I was there last year for an Experts-Exchange conference. Stayed down the coast just a bit. Really enjoyed the couple of days there and the drive up/down the coast to LA. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, August 07, 2007 5:15 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Pics from JC Conference WHICH latest conference?? Dian and I had our own mini-meeting last month in San Luis Obispo! Had a great couple of hours getting acquainted and didn't talk software so's you'd notice. LOL Charlotte -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Tuesday, August 07, 2007 1:52 PM To: accessd at databaseadvisors.com Subject: [AccessD] OT: Pics from JC Conference Just curious if the pics from the latest conference are on the site somewhere? Thanks, Mark A. Matte _________________________________________________________________ Messenger Caf? - open for fun 24/7. Hot games, cool activities served daily. Visit now. http://cafemessenger.com?ocid=TXT_TAGHM_AugHMtagline -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From michael at ddisolutions.com.au Thu Aug 9 00:59:21 2007 From: michael at ddisolutions.com.au (Michael Maddison) Date: Thu, 9 Aug 2007 15:59:21 +1000 Subject: [AccessD] SQL Speed References: <0JMH001WGQDF2NX2@l-daemon> Message-ID: <59A61174B1F5B54B97FD4ADDE71E7D01289BB1@ddi-01.DDI.local> Hi Jim, Have you tested this? I have, 'any queries that can run on the SQL server as pre-compiled stored procedures will give superior performance' is too broad a statement. In most instance a sql statement that has a cached exec plan is exactly as fast as a sproc (that has a cached plan). cheers Michael M -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, 9 August 2007 3:16 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] SQL Speed Well, you have probably already thought of this, but any queries that can run on the SQL server as pre-compiled stored procedures will give superior performance. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Wednesday, August 08, 2007 1:57 PM To: accessd at databaseadvisors.com Subject: [AccessD] SQL Speed Hello All, I am involved in a project that will be web based. The database will either be access or SQL Server. The question is: I need to run a bunch (maybe 10K) of SQL statements againts a single table...or flat file, whatever is best, containing about 4K rows. The results of each will be appended to a second table, or emailed instantly (ahh...idea...good place for a JC style Class). The SQL statements themselves will be stored in a table. Does anyone have any ideas/suggestions about approach? I will need ALL of the SQLs to run in less than 5 minutes. I know 1 runs in a fraction of a second...I just don't know what that fraction is to calculate time needed. Being there are so few rows involved...but so many SQL statements...and speed is an issue...will there be a signicant advantage using SQL Server or Access? I'm thinking of having the SQLs in a table and looping through and executing each...I just don't know if this is the best approach? Thanks, Mark A. Matte _________________________________________________________________ Booking a flight? Know when to buy with airfare predictions on MSN Travel. http://travel.msn.com/Articles/aboutfarecast.aspx&ocid=T001MSN25A07001 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Thu Aug 9 04:31:48 2007 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Thu, 9 Aug 2007 11:31:48 +0200 (CEST) Subject: [AccessD] Changing Default Printer Message-ID: <2796665.2546611186651908556.JavaMail.www@wwinf3006> As discussed yesterday, I have found a problem in my code for setting default printers. It doesn't always change back. Someone (can't remember) suggested using API calls, has anyone got the code for this ? Thanks in advance for any help. Paul Hartland paul.hartland at fsmail.net 07730 523179 From iggy at nanaimo.ark.com Thu Aug 9 06:40:26 2007 From: iggy at nanaimo.ark.com (Tony Septav) Date: Thu, 09 Aug 2007 04:40:26 -0700 Subject: [AccessD] Changing Default Printer Message-ID: <46BAFD2A.2060301@nanaimo.ark.com> Hey Rocky That is the beauty of Leban's convert a report to PDF, no need to worry about changing printers. From andy at minstersystems.co.uk Thu Aug 9 09:05:19 2007 From: andy at minstersystems.co.uk (Andy Lacey) Date: Thu, 9 Aug 2007 15:05:19 +0100 Subject: [AccessD] Changing Default Printer In-Reply-To: <003001c7d9ec$1ce46d70$0200a8c0@murphy3234aaf1> Message-ID: <017e01c7da8e$51c56290$f5df0651@minster33c3r25> FWIW I overcome this by adding code to rename the file once it exists. Don't need to manipulate the registry that way. Once you've dictated what filename Adobe creates you put code to delete that filename at the start of your routine (if it exists off course) then after the PDF creation you have a timing loop that exits once the file exists and, once it's there, code that renames the file to anything you like. -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Murphy > Sent: 08 August 2007 19:44 > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Changing Default Printer > > > Rocky, > > There is no object model that I know of. There is vb code on > the Adobe site and on the web but each file is saved to a > setting in the registry, so if you want to have each file > saved to a unique name and folder location you have to set > that in the registry. I can dig out the code I use if you > want it. Send off line. > > Doug > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Rocky Smolin at Beach Access Software > Sent: Wednesday, August 08, 2007 11:22 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Changing Default Printer > > Do you know if Adobe has an object model that can be > manipulated through code? So that, for example, you could > create a file name or direct the PDF file to a specific folder? > > Rocky > > > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Charlotte Foust > Sent: Wednesday, August 08, 2007 11:00 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Changing Default Printer > > The alternatives (we used Amyuni) require coding and then > installation on the target machine. I'm not sure you would > be any better off, especially if you need to get this working > fast. On the other hand, several of the PDF printers you can > license on the web include VBA sample code to get you started. > > Charlotte Foust > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Rocky Smolin at Beach Access Software > Sent: Wednesday, August 08, 2007 10:54 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Changing Default Printer > > Any good alternatives that you know of? > > Rocky > > > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Charlotte Foust > Sent: Wednesday, August 08, 2007 10:41 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Changing Default Printer > > On the other hand, it may cause you more problems. If you > are using generic code to print to PDF, you won't be able to > control page size, orientation, or anything else. Nor will > you be able to create it with a useful name, which may not be > what your user needs. > > Charlotte Foust > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Rocky Smolin at Beach Access Software > Sent: Wednesday, August 08, 2007 10:35 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Changing Default Printer > > This is a work in progress so I don't have precise answers > yet. But, the plan is to have the user install whatever PDF > printer they like . In the control panel of the Automated > Email System there's a combo box with all of the installed > printers. They pick their PDF printer and it's saved in a > local options table. So they'll be providing their own PDF > printer. Which might finesse the problem you had. > > Rocky > > > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Charlotte Foust > Sent: Wednesday, August 08, 2007 10:23 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Changing Default Printer > > Um ... Is this PDF printer something you provide in your app? > We've found that we needed to include an installer for our > clients to reinstall their PDF printer when it went sideways, > and we ran into problems if a full version of Adobe Acrobat > was installed on the same machine. > > Charlotte Foust > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Rocky Smolin at Beach Access Software > Sent: Wednesday, August 08, 2007 9:09 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Changing Default Printer > > Well, that won't be a problem for my app. Al I want to do it > have the user switch to a PDF printer for reports which will > then be attached to emails. > > > Rocky > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Charlotte Foust > Sent: Wednesday, August 08, 2007 8:52 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Changing Default Printer > > OY!! After all this time I don't recall. I know I wrote > printer object based code to replace all our old code to set > page size properly and then after testing it a bit, I threw > it out and went back to the original code. I don't think it > was a problem with selecting the printer, it was trying to > manipulate the page settings that gave us problems. > > Charlotte Foust > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Rocky Smolin at Beach Access Software > Sent: Wednesday, August 08, 2007 8:45 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Changing Default Printer > > Uh-oh. What problems did you have with the Printer object? > Is that the same as using Application.Printer? > > Rocky > > > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Charlotte Foust > Sent: Wednesday, August 08, 2007 8:08 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Changing Default Printer > > A2002 was the first version to have a printer object. I have > to tell you, though, that we tried it and went back to API > calls as more consistent and reliable. > > Charlotte Foust > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Rocky Smolin at Beach Access Software > Sent: Wednesday, August 08, 2007 7:21 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Changing Default Printer > > What version of Access has that Printer object? And that > code would go into the report in the load or open event? The > code I found that I posted yesterday works in A2K3, it's real > short, but does it at the OS level, which is probably more > sketchy than doing it inside Access itself. What to you think? > > Rocky > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.476 / Virus Database: 269.11.8/941 - Release > Date: 8/7/2007 4:06 PM > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.476 / Virus Database: 269.11.8/941 - Release > Date: 8/7/2007 4:06 PM > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From rockysmolin at bchacc.com Thu Aug 9 10:20:11 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Thu, 9 Aug 2007 08:20:11 -0700 Subject: [AccessD] Changing Default Printer In-Reply-To: <017e01c7da8e$51c56290$f5df0651@minster33c3r25> Message-ID: <004701c7da98$c7a1c3a0$0301a8c0@HAL9005> Clever. I can use that unless we move to A2007 which would get around the whole problem by using the Report To PDF add-in. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey Sent: Thursday, August 09, 2007 7:05 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Changing Default Printer FWIW I overcome this by adding code to rename the file once it exists. Don't need to manipulate the registry that way. Once you've dictated what filename Adobe creates you put code to delete that filename at the start of your routine (if it exists off course) then after the PDF creation you have a timing loop that exits once the file exists and, once it's there, code that renames the file to anything you like. -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Murphy > Sent: 08 August 2007 19:44 > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Changing Default Printer > > > Rocky, > > There is no object model that I know of. There is vb code on the > Adobe site and on the web but each file is saved to a setting in the > registry, so if you want to have each file saved to a unique name and > folder location you have to set that in the registry. I can dig out > the code I use if you want it. Send off line. > > Doug > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky > Smolin at Beach Access Software > Sent: Wednesday, August 08, 2007 11:22 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Changing Default Printer > > Do you know if Adobe has an object model that can be manipulated > through code? So that, for example, you could create a file name or > direct the PDF file to a specific folder? > > Rocky > > > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte > Foust > Sent: Wednesday, August 08, 2007 11:00 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Changing Default Printer > > The alternatives (we used Amyuni) require coding and then installation > on the target machine. I'm not sure you would be any better off, > especially if you need to get this working fast. On the other hand, > several of the PDF printers you can license on the web include VBA > sample code to get you started. > > Charlotte Foust > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky > Smolin at Beach Access Software > Sent: Wednesday, August 08, 2007 10:54 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Changing Default Printer > > Any good alternatives that you know of? > > Rocky > > > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte > Foust > Sent: Wednesday, August 08, 2007 10:41 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Changing Default Printer > > On the other hand, it may cause you more problems. If you are using > generic code to print to PDF, you won't be able to control page size, > orientation, or anything else. Nor will you be able to create it with > a useful name, which may not be what your user needs. > > Charlotte Foust > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky > Smolin at Beach Access Software > Sent: Wednesday, August 08, 2007 10:35 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Changing Default Printer > > This is a work in progress so I don't have precise answers yet. But, > the plan is to have the user install whatever PDF printer they like . > In the control panel of the Automated Email System there's a combo box > with all of the installed printers. They pick their PDF printer and > it's saved in a local options table. So they'll be providing their > own PDF printer. Which might finesse the problem you had. > > Rocky > > > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte > Foust > Sent: Wednesday, August 08, 2007 10:23 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Changing Default Printer > > Um ... Is this PDF printer something you provide in your app? > We've found that we needed to include an installer for our clients to > reinstall their PDF printer when it went sideways, and we ran into > problems if a full version of Adobe Acrobat was installed on the same > machine. > > Charlotte Foust > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky > Smolin at Beach Access Software > Sent: Wednesday, August 08, 2007 9:09 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Changing Default Printer > > Well, that won't be a problem for my app. Al I want to do it have the > user switch to a PDF printer for reports which will then be attached > to emails. > > > Rocky > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte > Foust > Sent: Wednesday, August 08, 2007 8:52 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Changing Default Printer > > OY!! After all this time I don't recall. I know I wrote printer > object based code to replace all our old code to set page size > properly and then after testing it a bit, I threw it out and went back > to the original code. I don't think it was a problem with selecting > the printer, it was trying to manipulate the page settings that gave > us problems. > > Charlotte Foust > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky > Smolin at Beach Access Software > Sent: Wednesday, August 08, 2007 8:45 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Changing Default Printer > > Uh-oh. What problems did you have with the Printer object? > Is that the same as using Application.Printer? > > Rocky > > > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte > Foust > Sent: Wednesday, August 08, 2007 8:08 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Changing Default Printer > > A2002 was the first version to have a printer object. I have to tell > you, though, that we tried it and went back to API calls as more > consistent and reliable. > > Charlotte Foust > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky > Smolin at Beach Access Software > Sent: Wednesday, August 08, 2007 7:21 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Changing Default Printer > > What version of Access has that Printer object? And that code would > go into the report in the load or open event? The code I found that I > posted yesterday works in A2K3, it's real short, but does it at the OS > level, which is probably more sketchy than doing it inside Access > itself. What to you think? > > Rocky > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.476 / Virus Database: 269.11.8/941 - Release > Date: 8/7/2007 4:06 PM > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.476 / Virus Database: 269.11.8/941 - Release > Date: 8/7/2007 4:06 PM > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.10/943 - Release Date: 8/8/2007 5:38 PM From cfoust at infostatsystems.com Thu Aug 9 10:18:53 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 9 Aug 2007 08:18:53 -0700 Subject: [AccessD] PDF Add-in for A2007 In-Reply-To: <46BA611C.1010401@mvps.org> References: <00c101c7da10$e159a930$0301a8c0@HAL9005> <46BA611C.1010401@mvps.org> Message-ID: Aha! I knew it was something like that. I haven't really worked with 2007 so I hadn't realized the absence of PDF. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Schapel Sent: Wednesday, August 08, 2007 5:35 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] PDF Add-in for A2007 That was the original intention, Charlotte. Then Microsoft buckled under a silly threat from Adobe, and pulled it from the final release. Now you have to explicitly download and install an add-in from Microsoft's download site, before the Save As PDF option will work. Regards Steve Charlotte Foust wrote: > Doesn't 2007 support PDF output directly? > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dw-murphy at cox.net Thu Aug 9 10:40:04 2007 From: dw-murphy at cox.net (Doug Murphy) Date: Thu, 9 Aug 2007 08:40:04 -0700 Subject: [AccessD] Changing Default Printer In-Reply-To: <017e01c7da8e$51c56290$f5df0651@minster33c3r25> Message-ID: <002601c7da9b$8e52de10$0200a8c0@murphy3234aaf1> I like it! Gets around a few other issues of trying to get Acrobat to put files where you want with code generated names. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey Sent: Thursday, August 09, 2007 7:05 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Changing Default Printer FWIW I overcome this by adding code to rename the file once it exists. Don't need to manipulate the registry that way. Once you've dictated what filename Adobe creates you put code to delete that filename at the start of your routine (if it exists off course) then after the PDF creation you have a timing loop that exits once the file exists and, once it's there, code that renames the file to anything you like. -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Murphy > Sent: 08 August 2007 19:44 > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Changing Default Printer > > > Rocky, > > There is no object model that I know of. There is vb code on the > Adobe site and on the web but each file is saved to a setting in the > registry, so if you want to have each file saved to a unique name and > folder location you have to set that in the registry. I can dig out > the code I use if you want it. Send off line. > > Doug > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky > Smolin at Beach Access Software > Sent: Wednesday, August 08, 2007 11:22 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Changing Default Printer > > Do you know if Adobe has an object model that can be manipulated > through code? So that, for example, you could create a file name or > direct the PDF file to a specific folder? > > Rocky > > > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte > Foust > Sent: Wednesday, August 08, 2007 11:00 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Changing Default Printer > > The alternatives (we used Amyuni) require coding and then installation > on the target machine. I'm not sure you would be any better off, > especially if you need to get this working fast. On the other hand, > several of the PDF printers you can license on the web include VBA > sample code to get you started. > > Charlotte Foust > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky > Smolin at Beach Access Software > Sent: Wednesday, August 08, 2007 10:54 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Changing Default Printer > > Any good alternatives that you know of? > > Rocky > > > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte > Foust > Sent: Wednesday, August 08, 2007 10:41 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Changing Default Printer > > On the other hand, it may cause you more problems. If you are using > generic code to print to PDF, you won't be able to control page size, > orientation, or anything else. Nor will you be able to create it with > a useful name, which may not be what your user needs. > > Charlotte Foust > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky > Smolin at Beach Access Software > Sent: Wednesday, August 08, 2007 10:35 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Changing Default Printer > > This is a work in progress so I don't have precise answers yet. But, > the plan is to have the user install whatever PDF printer they like . > In the control panel of the Automated Email System there's a combo box > with all of the installed printers. They pick their PDF printer and > it's saved in a local options table. So they'll be providing their > own PDF printer. Which might finesse the problem you had. > > Rocky > > > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte > Foust > Sent: Wednesday, August 08, 2007 10:23 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Changing Default Printer > > Um ... Is this PDF printer something you provide in your app? > We've found that we needed to include an installer for our clients to > reinstall their PDF printer when it went sideways, and we ran into > problems if a full version of Adobe Acrobat was installed on the same > machine. > > Charlotte Foust > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky > Smolin at Beach Access Software > Sent: Wednesday, August 08, 2007 9:09 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Changing Default Printer > > Well, that won't be a problem for my app. Al I want to do it have the > user switch to a PDF printer for reports which will then be attached > to emails. > > > Rocky > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte > Foust > Sent: Wednesday, August 08, 2007 8:52 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Changing Default Printer > > OY!! After all this time I don't recall. I know I wrote printer > object based code to replace all our old code to set page size > properly and then after testing it a bit, I threw it out and went back > to the original code. I don't think it was a problem with selecting > the printer, it was trying to manipulate the page settings that gave > us problems. > > Charlotte Foust > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky > Smolin at Beach Access Software > Sent: Wednesday, August 08, 2007 8:45 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Changing Default Printer > > Uh-oh. What problems did you have with the Printer object? > Is that the same as using Application.Printer? > > Rocky > > > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte > Foust > Sent: Wednesday, August 08, 2007 8:08 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Changing Default Printer > > A2002 was the first version to have a printer object. I have to tell > you, though, that we tried it and went back to API calls as more > consistent and reliable. > > Charlotte Foust > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky > Smolin at Beach Access Software > Sent: Wednesday, August 08, 2007 7:21 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Changing Default Printer > > What version of Access has that Printer object? And that code would > go into the report in the load or open event? The code I found that I > posted yesterday works in A2K3, it's real short, but does it at the OS > level, which is probably more sketchy than doing it inside Access > itself. What to you think? > > Rocky > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.476 / Virus Database: 269.11.8/941 - Release > Date: 8/7/2007 4:06 PM > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.476 / Virus Database: 269.11.8/941 - Release > Date: 8/7/2007 4:06 PM > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Thu Aug 9 10:58:10 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Thu, 9 Aug 2007 08:58:10 -0700 Subject: [AccessD] More Questions Message-ID: <007d01c7da9e$16059120$0301a8c0@HAL9005> 1) Is Jet noticeably slower in A2K7 than A2K3? 2) Has anybody seen or had any problems with A2K7 run-time? MTIA Rocky From jimdettman at verizon.net Thu Aug 9 11:58:17 2007 From: jimdettman at verizon.net (Jim Dettman) Date: Thu, 09 Aug 2007 12:58:17 -0400 Subject: [AccessD] Changing Default Printer In-Reply-To: <017e01c7da8e$51c56290$f5df0651@minster33c3r25> References: <003001c7d9ec$1ce46d70$0200a8c0@murphy3234aaf1> <017e01c7da8e$51c56290$f5df0651@minster33c3r25> Message-ID: <000301c7daa6$7c234120$8abea8c0@XPS> Andy, If your saying what I think your saying, then the only problem with that is if you have multiple apps running at the same time, a file can get over written. To get around that, the file name generated on the disk must be unique or you need a semaphore to lock the resource (ie. a printer set to print to disk) until your done with it . This is especially true when you have automated jobs running on a tight cycle. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey Sent: Thursday, August 09, 2007 10:05 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Changing Default Printer FWIW I overcome this by adding code to rename the file once it exists. Don't need to manipulate the registry that way. Once you've dictated what filename Adobe creates you put code to delete that filename at the start of your routine (if it exists off course) then after the PDF creation you have a timing loop that exits once the file exists and, once it's there, code that renames the file to anything you like. -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Murphy > Sent: 08 August 2007 19:44 > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Changing Default Printer > > > Rocky, > > There is no object model that I know of. There is vb code on > the Adobe site and on the web but each file is saved to a > setting in the registry, so if you want to have each file > saved to a unique name and folder location you have to set > that in the registry. I can dig out the code I use if you > want it. Send off line. > > Doug > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Rocky Smolin at Beach Access Software > Sent: Wednesday, August 08, 2007 11:22 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Changing Default Printer > > Do you know if Adobe has an object model that can be > manipulated through code? So that, for example, you could > create a file name or direct the PDF file to a specific folder? > > Rocky > > > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Charlotte Foust > Sent: Wednesday, August 08, 2007 11:00 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Changing Default Printer > > The alternatives (we used Amyuni) require coding and then > installation on the target machine. I'm not sure you would > be any better off, especially if you need to get this working > fast. On the other hand, several of the PDF printers you can > license on the web include VBA sample code to get you started. > > Charlotte Foust > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Rocky Smolin at Beach Access Software > Sent: Wednesday, August 08, 2007 10:54 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Changing Default Printer > > Any good alternatives that you know of? > > Rocky > > > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Charlotte Foust > Sent: Wednesday, August 08, 2007 10:41 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Changing Default Printer > > On the other hand, it may cause you more problems. If you > are using generic code to print to PDF, you won't be able to > control page size, orientation, or anything else. Nor will > you be able to create it with a useful name, which may not be > what your user needs. > > Charlotte Foust > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Rocky Smolin at Beach Access Software > Sent: Wednesday, August 08, 2007 10:35 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Changing Default Printer > > This is a work in progress so I don't have precise answers > yet. But, the plan is to have the user install whatever PDF > printer they like . In the control panel of the Automated > Email System there's a combo box with all of the installed > printers. They pick their PDF printer and it's saved in a > local options table. So they'll be providing their own PDF > printer. Which might finesse the problem you had. > > Rocky > > > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Charlotte Foust > Sent: Wednesday, August 08, 2007 10:23 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Changing Default Printer > > Um ... Is this PDF printer something you provide in your app? > We've found that we needed to include an installer for our > clients to reinstall their PDF printer when it went sideways, > and we ran into problems if a full version of Adobe Acrobat > was installed on the same machine. > > Charlotte Foust > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Rocky Smolin at Beach Access Software > Sent: Wednesday, August 08, 2007 9:09 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Changing Default Printer > > Well, that won't be a problem for my app. Al I want to do it > have the user switch to a PDF printer for reports which will > then be attached to emails. > > > Rocky > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Charlotte Foust > Sent: Wednesday, August 08, 2007 8:52 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Changing Default Printer > > OY!! After all this time I don't recall. I know I wrote > printer object based code to replace all our old code to set > page size properly and then after testing it a bit, I threw > it out and went back to the original code. I don't think it > was a problem with selecting the printer, it was trying to > manipulate the page settings that gave us problems. > > Charlotte Foust > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Rocky Smolin at Beach Access Software > Sent: Wednesday, August 08, 2007 8:45 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Changing Default Printer > > Uh-oh. What problems did you have with the Printer object? > Is that the same as using Application.Printer? > > Rocky > > > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Charlotte Foust > Sent: Wednesday, August 08, 2007 8:08 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Changing Default Printer > > A2002 was the first version to have a printer object. I have > to tell you, though, that we tried it and went back to API > calls as more consistent and reliable. > > Charlotte Foust > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Rocky Smolin at Beach Access Software > Sent: Wednesday, August 08, 2007 7:21 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Changing Default Printer > > What version of Access has that Printer object? And that > code would go into the report in the load or open event? The > code I found that I posted yesterday works in A2K3, it's real > short, but does it at the OS level, which is probably more > sketchy than doing it inside Access itself. What to you think? > > Rocky > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.476 / Virus Database: 269.11.8/941 - Release > Date: 8/7/2007 4:06 PM > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.476 / Virus Database: 269.11.8/941 - Release > Date: 8/7/2007 4:06 PM > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From markamatte at hotmail.com Thu Aug 9 12:27:51 2007 From: markamatte at hotmail.com (Mark A Matte) Date: Thu, 09 Aug 2007 17:27:51 +0000 Subject: [AccessD] SQL Speed Message-ID: Thanks to All for your responses...(everything discussed below is currently in A2K) I'm at the beginning of this and appreciate any ideas...This program has been running 24/7 for the last 3 years...but only runs 1 SQL statement. It runs the statement, loops through the results and concatenates the results, and then emails the results (for these tests we are going to forget about the email part and just store the results in a separate table). Last night I put a loop on this and ran it 10K times. It took just under 2 minutes. To make it more realistic, (the 10k SQL statements will all be different, but very similar) I removed the SQL from the code and placed it in a memo field in another table (tblSQL). Next, I modified the code so now it first pulls all records form tblSQL (I added 10k rows...but all the same SQL statement)...then for each of these records...it does the stuff I outlined above. Again, it ran in just under 2 minutes. I need this to be as fast as possible, and I don't know what a realistic time is. I apparently can do 10K in less than 2 minutes, but is this good, bad, average? Any thoughts/ideas? Thanks, Mark A. Matte >From: Jim Lawrence >Reply-To: Access Developers discussion and problem >solving >To: "'Access Developers discussion and problem >solving'" >Subject: Re: [AccessD] SQL Speed >Date: Wed, 08 Aug 2007 22:15:43 -0700 > >Well, you have probably already thought of this, but any queries that can >run on the SQL server as pre-compiled stored procedures will give superior >performance. > >Jim > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte >Sent: Wednesday, August 08, 2007 1:57 PM >To: accessd at databaseadvisors.com >Subject: [AccessD] SQL Speed > >Hello All, > >I am involved in a project that will be web based. The database will >either > >be access or SQL Server. > >The question is: I need to run a bunch (maybe 10K) of SQL statements >againts a single table...or flat file, whatever is best, containing about >4K > >rows. The results of each will be appended to a second table, or emailed >instantly (ahh...idea...good place for a JC style Class). The SQL >statements themselves will be stored in a table. > >Does anyone have any ideas/suggestions about approach? I will need ALL of >the SQLs to run in less than 5 minutes. I know 1 runs in a fraction of a >second...I just don't know what that fraction is to calculate time needed. > >Being there are so few rows involved...but so many SQL statements...and >speed is an issue...will there be a signicant advantage using SQL Server or >Access? > >I'm thinking of having the SQLs in a table and looping through and >executing > >each...I just don't know if this is the best approach? > >Thanks, > >Mark A. Matte > >_________________________________________________________________ >Booking a flight? Know when to buy with airfare predictions on MSN Travel. >http://travel.msn.com/Articles/aboutfarecast.aspx&ocid=T001MSN25A07001 > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Tease your brain--play Clink! Win cool prizes! http://club.live.com/clink.aspx?icid=clink_hotmailtextlink2 From rockysmolin at bchacc.com Thu Aug 9 12:45:51 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Thu, 9 Aug 2007 10:45:51 -0700 Subject: [AccessD] Access 2007 run time on same machine with 2003 Message-ID: <008e01c7daad$21294a60$0301a8c0@HAL9005> Dear List: Does anyone know of any problems running an A2K7 run-time on the same machine where A2K3 is installed? MTIA Rocky From dw-murphy at cox.net Thu Aug 9 14:11:16 2007 From: dw-murphy at cox.net (Doug Murphy) Date: Thu, 9 Aug 2007 12:11:16 -0700 Subject: [AccessD] Access 2007 run time on same machine with 2003 In-Reply-To: <008e01c7daad$21294a60$0301a8c0@HAL9005> Message-ID: <004801c7dab9$0f5e6d40$0200a8c0@murphy3234aaf1> There are some issues as I recollect. I know we had to purchase a modified Access 2002 runtime install script to make our runtime coexist with Access 2007. Take a look at the Sagekey software knowledge base. Doug -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Thursday, August 09, 2007 10:46 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Access 2007 run time on same machine with 2003 Dear List: Does anyone know of any problems running an A2K7 run-time on the same machine where A2K3 is installed? MTIA Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accma at sympatico.ca Thu Aug 9 14:18:51 2007 From: accma at sympatico.ca (Annie Courchesne, CMA) Date: Thu, 9 Aug 2007 15:18:51 -0400 Subject: [AccessD] WindowLeft Property Message-ID: Hi Everyone, Thanks a lot for all the great tips about performance. It help me greatly on my project. I'm working on a another small project that I thought would be faily simple... bu tI'm stopped by this weird bug. I've developped this application at home on my Access 2003 but using Access 2000 files. This application runs well at home. But when I put it on the computers at work (they have Access 2000), it stops because it does not recognize the me.WindowLeft property. I thought this property was available in A2000. And why gives us at all the opportunity to write a DB in 2003 with 2000 files if it cannot be run on A2000? Anyways, I looked at the reference and none is missing. This property is not crucial to the application, but it sure make one part look nice. Before I got to work on a workaroung, I thought I'ld check with you guys to see if anyone ever had this problem and how it was resolved. Thanks! Annie Courchesne, CMA From cfoust at infostatsystems.com Thu Aug 9 14:36:55 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 9 Aug 2007 12:36:55 -0700 Subject: [AccessD] Access 2007 run time on same machine with 2003 In-Reply-To: <004801c7dab9$0f5e6d40$0200a8c0@murphy3234aaf1> References: <008e01c7daad$21294a60$0301a8c0@HAL9005> <004801c7dab9$0f5e6d40$0200a8c0@murphy3234aaf1> Message-ID: We had to modify our runtime script to make 2002 coexist with 2003! Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Murphy Sent: Thursday, August 09, 2007 12:11 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access 2007 run time on same machine with 2003 There are some issues as I recollect. I know we had to purchase a modified Access 2002 runtime install script to make our runtime coexist with Access 2007. Take a look at the Sagekey software knowledge base. Doug -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Thursday, August 09, 2007 10:46 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Access 2007 run time on same machine with 2003 Dear List: Does anyone know of any problems running an A2K7 run-time on the same machine where A2K3 is installed? MTIA Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Thu Aug 9 14:40:25 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 9 Aug 2007 12:40:25 -0700 Subject: [AccessD] WindowLeft Property In-Reply-To: References: Message-ID: Each Access version brings new features that are not backward compatible with prior versions when run in them. The support for prior formats is so you can run an Access 2000 app in 2003 or have front ends from each version link to a 2000 backend. It doesn't mean anything you create from the later version will run in the earlier version. I've never heard of the WindowLeft property, and I programmed at LOT in 2000 and 2002, so it must have been introduced in 2003. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Annie Courchesne, CMA Sent: Thursday, August 09, 2007 12:19 PM To: accessd at databaseadvisors.com Subject: [AccessD] WindowLeft Property Hi Everyone, Thanks a lot for all the great tips about performance. It help me greatly on my project. I'm working on a another small project that I thought would be faily simple... bu tI'm stopped by this weird bug. I've developped this application at home on my Access 2003 but using Access 2000 files. This application runs well at home. But when I put it on the computers at work (they have Access 2000), it stops because it does not recognize the me.WindowLeft property. I thought this property was available in A2000. And why gives us at all the opportunity to write a DB in 2003 with 2000 files if it cannot be run on A2000? Anyways, I looked at the reference and none is missing. This property is not crucial to the application, but it sure make one part look nice. Before I got to work on a workaroung, I thought I'ld check with you guys to see if anyone ever had this problem and how it was resolved. Thanks! Annie Courchesne, CMA From rockysmolin at bchacc.com Thu Aug 9 15:40:09 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Thu, 9 Aug 2007 13:40:09 -0700 Subject: [AccessD] Access 2007 run time on same machine with 2003 In-Reply-To: <004801c7dab9$0f5e6d40$0200a8c0@murphy3234aaf1> Message-ID: <00d101c7dac5$7a61f100$0301a8c0@HAL9005> Well, maybe I'll dodge that bullet. Because the client wants to send an A2007 run-time and is worried about users who have A2003 installed and installing the A2007 run-time might hose their 2003 apps. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Murphy Sent: Thursday, August 09, 2007 12:11 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access 2007 run time on same machine with 2003 There are some issues as I recollect. I know we had to purchase a modified Access 2002 runtime install script to make our runtime coexist with Access 2007. Take a look at the Sagekey software knowledge base. Doug -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Thursday, August 09, 2007 10:46 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Access 2007 run time on same machine with 2003 Dear List: Does anyone know of any problems running an A2K7 run-time on the same machine where A2K3 is installed? MTIA Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.10/943 - Release Date: 8/8/2007 5:38 PM From markamatte at hotmail.com Thu Aug 9 15:53:45 2007 From: markamatte at hotmail.com (Mark A Matte) Date: Thu, 09 Aug 2007 20:53:45 +0000 Subject: [AccessD] WindowLeft Property In-Reply-To: Message-ID: Annie, In reading your email, and researching me.windowleft, I'm assuming you are moving forms or reports around on the screen. 'WINDOWLEFT' returns an Integer indicating the screen position in twips of the left edge of a form or report relative to the left edge of the Microsoft Access window. In A2K this feature is not available...although I think a simple workaround would be to use something like mycontrol.top and mycontrol.left...both of these also return an integer in TWIPS...and make the necessarly setting changes this way. Hope it helps...and if my assumptions are wrong (happens often), let me know. Mark A. Matte >From: "Charlotte Foust" >Reply-To: Access Developers discussion and problem >solving >To: "Access Developers discussion and problem >solving" >Subject: Re: [AccessD] WindowLeft Property >Date: Thu, 9 Aug 2007 12:40:25 -0700 > >Each Access version brings new features that are not backward compatible >with prior versions when run in them. The support for prior formats is >so you can run an Access 2000 app in 2003 or have front ends from each >version link to a 2000 backend. It doesn't mean anything you create >from the later version will run in the earlier version. I've never >heard of the WindowLeft property, and I programmed at LOT in 2000 and >2002, so it must have been introduced in 2003. > >Charlotte Foust > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Annie >Courchesne, CMA >Sent: Thursday, August 09, 2007 12:19 PM >To: accessd at databaseadvisors.com >Subject: [AccessD] WindowLeft Property > >Hi Everyone, > >Thanks a lot for all the great tips about performance. It help me >greatly on my project. > >I'm working on a another small project that I thought would be faily >simple... bu tI'm stopped by this weird bug. > >I've developped this application at home on my Access 2003 but using >Access 2000 files. This application runs well at home. But when I put >it on the computers at work (they have Access 2000), it stops because it >does not recognize the me.WindowLeft property. I thought this property >was available in A2000. And why gives us at all the opportunity to >write a DB in 2003 with 2000 files if it cannot be run on A2000? > >Anyways, I looked at the reference and none is missing. > >This property is not crucial to the application, but it sure make one >part look nice. Before I got to work on a workaroung, I thought I'ld >check with you guys to see if anyone ever had this problem and how it >was resolved. > >Thanks! > > > >Annie Courchesne, CMA > > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ More photos, more messages, more storage?get 2GB with Windows Live Hotmail. http://imagine-windowslive.com/hotmail/?locale=en-us&ocid=TXT_TAGHM_migration_HM_mini_2G_0507 From galeper at gmail.com Thu Aug 9 17:19:32 2007 From: galeper at gmail.com (Gale Perez) Date: Thu, 9 Aug 2007 15:19:32 -0700 Subject: [AccessD] Update Query: Remove Hyphens in Phone Number Message-ID: <5b2621db0708091519y499aa9adncaa66d26e67ce421@mail.gmail.com> Hi! I'm creating a new phone number field with a phone number input mask, to replace a text field with actual hyphens in the numbers. Has anyone done an update query which copy the digits only from the old field to the new field (or which would just strip them and leave the digits in the current field)? Thank you, Gale From cfoust at infostatsystems.com Thu Aug 9 17:30:27 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 9 Aug 2007 15:30:27 -0700 Subject: [AccessD] Update Query: Remove Hyphens in Phone Number In-Reply-To: <5b2621db0708091519y499aa9adncaa66d26e67ce421@mail.gmail.com> References: <5b2621db0708091519y499aa9adncaa66d26e67ce421@mail.gmail.com> Message-ID: Just use the replace function to replace any instance of "-" with "". Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gale Perez Sent: Thursday, August 09, 2007 3:20 PM To: accessd at databaseadvisors.com Subject: [AccessD] Update Query: Remove Hyphens in Phone Number Hi! I'm creating a new phone number field with a phone number input mask, to replace a text field with actual hyphens in the numbers. Has anyone done an update query which copy the digits only from the old field to the new field (or which would just strip them and leave the digits in the current field)? Thank you, Gale -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dw-murphy at cox.net Thu Aug 9 17:41:03 2007 From: dw-murphy at cox.net (Doug Murphy) Date: Thu, 9 Aug 2007 15:41:03 -0700 Subject: [AccessD] Access 2007 run time on same machine with 2003 In-Reply-To: <00d101c7dac5$7a61f100$0301a8c0@HAL9005> Message-ID: <006e01c7dad6$5e0e7210$0200a8c0@murphy3234aaf1> Rocky, This is an excerpt from the alert that Sagekey sent out. --------------------------------- In January 2007 Microsoft released Vista and Access 2007. Both products are significantly different from Microsoft's previously released versions and this is going to affect how successful your current Access Runtime installations are with these products. How much Vista will affect your Access Runtime installation will depend upon the complexity of your application. Access 2007 on the other hand won't co-exist well with previous runtimes, triggering an MSI repair that can take up to 5 minutes to complete, followed by a forced reboot. ------------------------------------ It indicates that there are issues with older runtimes and 2007 so I wouldn't be surprised if the 2007 runtime didn't interact with older versions. I'd do some research on what to expect, or a lot of testing before installing 2007 on a bunch of customers computers. Doug -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Thursday, August 09, 2007 1:40 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access 2007 run time on same machine with 2003 Well, maybe I'll dodge that bullet. Because the client wants to send an A2007 run-time and is worried about users who have A2003 installed and installing the A2007 run-time might hose their 2003 apps. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Murphy Sent: Thursday, August 09, 2007 12:11 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access 2007 run time on same machine with 2003 There are some issues as I recollect. I know we had to purchase a modified Access 2002 runtime install script to make our runtime coexist with Access 2007. Take a look at the Sagekey software knowledge base. Doug -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Thursday, August 09, 2007 10:46 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Access 2007 run time on same machine with 2003 Dear List: Does anyone know of any problems running an A2K7 run-time on the same machine where A2K3 is installed? MTIA Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.10/943 - Release Date: 8/8/2007 5:38 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accma at sympatico.ca Thu Aug 9 18:14:25 2007 From: accma at sympatico.ca (Annie Courchesne, CMA) Date: Thu, 9 Aug 2007 19:14:25 -0400 Subject: [AccessD] WindowLeft Property In-Reply-To: References: Message-ID: <000301c7dadb$07362370$6800a8c0@anniec> Hi Charlotte, I was so sure that I had seen this property somewhere... but I must have been wrong. Thanks for the info! Annie Courchesne, CMA -----Message d'origine----- De?: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] De la part de Charlotte Foust Envoy??: 9 ao?t 2007 15:40 ??: Access Developers discussion and problem solving Objet?: Re: [AccessD] WindowLeft Property Each Access version brings new features that are not backward compatible with prior versions when run in them. The support for prior formats is so you can run an Access 2000 app in 2003 or have front ends from each version link to a 2000 backend. It doesn't mean anything you create from the later version will run in the earlier version. I've never heard of the WindowLeft property, and I programmed at LOT in 2000 and 2002, so it must have been introduced in 2003. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Annie Courchesne, CMA Sent: Thursday, August 09, 2007 12:19 PM To: accessd at databaseadvisors.com Subject: [AccessD] WindowLeft Property Hi Everyone, Thanks a lot for all the great tips about performance. It help me greatly on my project. I'm working on a another small project that I thought would be faily simple... bu tI'm stopped by this weird bug. I've developped this application at home on my Access 2003 but using Access 2000 files. This application runs well at home. But when I put it on the computers at work (they have Access 2000), it stops because it does not recognize the me.WindowLeft property. I thought this property was available in A2000. And why gives us at all the opportunity to write a DB in 2003 with 2000 files if it cannot be run on A2000? Anyways, I looked at the reference and none is missing. This property is not crucial to the application, but it sure make one part look nice. Before I got to work on a workaroung, I thought I'ld check with you guys to see if anyone ever had this problem and how it was resolved. Thanks! Annie Courchesne, CMA -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accma at sympatico.ca Thu Aug 9 18:14:59 2007 From: accma at sympatico.ca (Annie Courchesne, CMA) Date: Thu, 9 Aug 2007 19:14:59 -0400 Subject: [AccessD] WindowLeft Property In-Reply-To: References: Message-ID: <000401c7dadb$1b96a920$6800a8c0@anniec> Hi Mark, Thanks for the info... I'll try that... Annie Courchesne, CMA -----Message d'origine----- De?: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] De la part de Mark A Matte Envoy??: 9 ao?t 2007 16:54 ??: accessd at databaseadvisors.com Objet?: Re: [AccessD] WindowLeft Property Annie, In reading your email, and researching me.windowleft, I'm assuming you are moving forms or reports around on the screen. 'WINDOWLEFT' returns an Integer indicating the screen position in twips of the left edge of a form or report relative to the left edge of the Microsoft Access window. In A2K this feature is not available...although I think a simple workaround would be to use something like mycontrol.top and mycontrol.left...both of these also return an integer in TWIPS...and make the necessarly setting changes this way. Hope it helps...and if my assumptions are wrong (happens often), let me know. Mark A. Matte >From: "Charlotte Foust" >Reply-To: Access Developers discussion and problem >solving >To: "Access Developers discussion and problem >solving" >Subject: Re: [AccessD] WindowLeft Property >Date: Thu, 9 Aug 2007 12:40:25 -0700 > >Each Access version brings new features that are not backward compatible >with prior versions when run in them. The support for prior formats is >so you can run an Access 2000 app in 2003 or have front ends from each >version link to a 2000 backend. It doesn't mean anything you create >from the later version will run in the earlier version. I've never >heard of the WindowLeft property, and I programmed at LOT in 2000 and >2002, so it must have been introduced in 2003. > >Charlotte Foust > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Annie >Courchesne, CMA >Sent: Thursday, August 09, 2007 12:19 PM >To: accessd at databaseadvisors.com >Subject: [AccessD] WindowLeft Property > >Hi Everyone, > >Thanks a lot for all the great tips about performance. It help me >greatly on my project. > >I'm working on a another small project that I thought would be faily >simple... bu tI'm stopped by this weird bug. > >I've developped this application at home on my Access 2003 but using >Access 2000 files. This application runs well at home. But when I put >it on the computers at work (they have Access 2000), it stops because it >does not recognize the me.WindowLeft property. I thought this property >was available in A2000. And why gives us at all the opportunity to >write a DB in 2003 with 2000 files if it cannot be run on A2000? > >Anyways, I looked at the reference and none is missing. > >This property is not crucial to the application, but it sure make one >part look nice. Before I got to work on a workaroung, I thought I'ld >check with you guys to see if anyone ever had this problem and how it >was resolved. > >Thanks! > > > >Annie Courchesne, CMA > > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ More photos, more messages, more storageget 2GB with Windows Live Hotmail. http://imagine-windowslive.com/hotmail/?locale=en-us&ocid=TXT_TAGHM_migratio n_HM_mini_2G_0507 From accma at sympatico.ca Thu Aug 9 18:16:09 2007 From: accma at sympatico.ca (Annie Courchesne, CMA) Date: Thu, 9 Aug 2007 19:16:09 -0400 Subject: [AccessD] A2003 developer Message-ID: <000501c7dadb$456ec9d0$6800a8c0@anniec> Hi, Anyone know where I can get buy Access 2003 developper to turn my application to runtime ? Looks like it's only Access 2007 that is available everywhere I look. Thanks! Annie Courchesne, CMA From cfoust at infostatsystems.com Thu Aug 9 18:32:55 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 9 Aug 2007 16:32:55 -0700 Subject: [AccessD] A2003 developer In-Reply-To: <000501c7dadb$456ec9d0$6800a8c0@anniec> References: <000501c7dadb$456ec9d0$6800a8c0@anniec> Message-ID: Check the archives on this one. The 2003 runtime was available with the VSTO for 2003, which isn't free. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Annie Courchesne, CMA Sent: Thursday, August 09, 2007 4:16 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] A2003 developer Hi, Anyone know where I can get buy Access 2003 developper to turn my application to runtime ? Looks like it's only Access 2007 that is available everywhere I look. Thanks! Annie Courchesne, CMA -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accma at sympatico.ca Thu Aug 9 18:54:31 2007 From: accma at sympatico.ca (Annie Courchesne, CMA) Date: Thu, 9 Aug 2007 19:54:31 -0400 Subject: [AccessD] A2003 developer In-Reply-To: References: <000501c7dadb$456ec9d0$6800a8c0@anniec> Message-ID: <000a01c7dae0$a147b870$6800a8c0@anniec> Hi Charlotte, I did not know that, thanks. Do you know if there's a place where I can still buy it? Annie Courchesne, CMA -----Message d'origine----- De?: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] De la part de Charlotte Foust Envoy??: 9 ao?t 2007 19:33 ??: Access Developers discussion and problem solving Objet?: Re: [AccessD] A2003 developer Check the archives on this one. The 2003 runtime was available with the VSTO for 2003, which isn't free. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Annie Courchesne, CMA Sent: Thursday, August 09, 2007 4:16 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] A2003 developer Hi, Anyone know where I can get buy Access 2003 developper to turn my application to runtime ? Looks like it's only Access 2007 that is available everywhere I look. Thanks! Annie Courchesne, CMA -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Thu Aug 9 18:55:58 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Thu, 9 Aug 2007 16:55:58 -0700 Subject: [AccessD] Access 2007 run time on same machine with 2003 In-Reply-To: <006e01c7dad6$5e0e7210$0200a8c0@murphy3234aaf1> Message-ID: <00de01c7dae0$d535f0c0$0301a8c0@HAL9005> "a lot of testing before installing 2007 on a bunch" Do you mean installing 2007 runtimes? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Murphy Sent: Thursday, August 09, 2007 3:41 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access 2007 run time on same machine with 2003 Rocky, This is an excerpt from the alert that Sagekey sent out. --------------------------------- In January 2007 Microsoft released Vista and Access 2007. Both products are significantly different from Microsoft's previously released versions and this is going to affect how successful your current Access Runtime installations are with these products. How much Vista will affect your Access Runtime installation will depend upon the complexity of your application. Access 2007 on the other hand won't co-exist well with previous runtimes, triggering an MSI repair that can take up to 5 minutes to complete, followed by a forced reboot. ------------------------------------ It indicates that there are issues with older runtimes and 2007 so I wouldn't be surprised if the 2007 runtime didn't interact with older versions. I'd do some research on what to expect, or a lot of testing before installing 2007 on a bunch of customers computers. Doug -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Thursday, August 09, 2007 1:40 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access 2007 run time on same machine with 2003 Well, maybe I'll dodge that bullet. Because the client wants to send an A2007 run-time and is worried about users who have A2003 installed and installing the A2007 run-time might hose their 2003 apps. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Murphy Sent: Thursday, August 09, 2007 12:11 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access 2007 run time on same machine with 2003 There are some issues as I recollect. I know we had to purchase a modified Access 2002 runtime install script to make our runtime coexist with Access 2007. Take a look at the Sagekey software knowledge base. Doug -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Thursday, August 09, 2007 10:46 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Access 2007 run time on same machine with 2003 Dear List: Does anyone know of any problems running an A2K7 run-time on the same machine where A2K3 is installed? MTIA Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.10/943 - Release Date: 8/8/2007 5:38 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.10/943 - Release Date: 8/8/2007 5:38 PM From accessd at shaw.ca Thu Aug 9 19:05:25 2007 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 09 Aug 2007 17:05:25 -0700 Subject: [AccessD] SQL Speed In-Reply-To: <59A61174B1F5B54B97FD4ADDE71E7D01289BB1@ddi-01.DDI.local> Message-ID: <0JMJ00LU86O60TO1@l-daemon> Hi Michael: As a matter of fact I have. As long as variables and not values are used and the procedure are allowed to compile the performance is superior. When do they get compiled... first time they are used and then they remain cached until they time-out. If for example you have an 'Add record' SP the first time used it is compiled and cache and then every other user that request this procedure enjoys almost instantaneous access. If the SQL code is in fact uploaded first, then compiled before use the performance is going slower let alone the obvious security risks. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Michael Maddison Sent: Wednesday, August 08, 2007 10:59 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] SQL Speed Hi Jim, Have you tested this? I have, 'any queries that can run on the SQL server as pre-compiled stored procedures will give superior performance' is too broad a statement. In most instance a sql statement that has a cached exec plan is exactly as fast as a sproc (that has a cached plan). cheers Michael M -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, 9 August 2007 3:16 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] SQL Speed Well, you have probably already thought of this, but any queries that can run on the SQL server as pre-compiled stored procedures will give superior performance. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Wednesday, August 08, 2007 1:57 PM To: accessd at databaseadvisors.com Subject: [AccessD] SQL Speed Hello All, I am involved in a project that will be web based. The database will either be access or SQL Server. The question is: I need to run a bunch (maybe 10K) of SQL statements againts a single table...or flat file, whatever is best, containing about 4K rows. The results of each will be appended to a second table, or emailed instantly (ahh...idea...good place for a JC style Class). The SQL statements themselves will be stored in a table. Does anyone have any ideas/suggestions about approach? I will need ALL of the SQLs to run in less than 5 minutes. I know 1 runs in a fraction of a second...I just don't know what that fraction is to calculate time needed. Being there are so few rows involved...but so many SQL statements...and speed is an issue...will there be a signicant advantage using SQL Server or Access? I'm thinking of having the SQLs in a table and looping through and executing each...I just don't know if this is the best approach? Thanks, Mark A. Matte _________________________________________________________________ Booking a flight? Know when to buy with airfare predictions on MSN Travel. http://travel.msn.com/Articles/aboutfarecast.aspx&ocid=T001MSN25A07001 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dw-murphy at cox.net Thu Aug 9 19:14:42 2007 From: dw-murphy at cox.net (Doug Murphy) Date: Thu, 9 Aug 2007 17:14:42 -0700 Subject: [AccessD] Access 2007 run time on same machine with 2003 In-Reply-To: <00de01c7dae0$d535f0c0$0301a8c0@HAL9005> Message-ID: <007201c7dae3$733b83a0$0200a8c0@murphy3234aaf1> My concern when distributing a product to customers with unknown computer configurations, software installations, Office versions, etc is that I won't screw up their systems. I have a test set up with different versions of windows and different installations of Office that I run our installations through to try and insure we don't have any conflicts or worse yet creat a problem for the client. This is also why we spent the $ to buy the Sagekey scripts and then update them when MS came out with Vista and Office 2007. I think you were attending the Users group when one of the members created an install that overwrote some main windows dlls mistakenly. Made the package available for download and screwed up a bunch of computers. Cost him lots of $. My response was to your statement that you might dodge the bullet. I am pretty conservative when distributing applications. Doug -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Thursday, August 09, 2007 4:56 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access 2007 run time on same machine with 2003 "a lot of testing before installing 2007 on a bunch" Do you mean installing 2007 runtimes? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Murphy Sent: Thursday, August 09, 2007 3:41 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access 2007 run time on same machine with 2003 Rocky, This is an excerpt from the alert that Sagekey sent out. --------------------------------- In January 2007 Microsoft released Vista and Access 2007. Both products are significantly different from Microsoft's previously released versions and this is going to affect how successful your current Access Runtime installations are with these products. How much Vista will affect your Access Runtime installation will depend upon the complexity of your application. Access 2007 on the other hand won't co-exist well with previous runtimes, triggering an MSI repair that can take up to 5 minutes to complete, followed by a forced reboot. ------------------------------------ It indicates that there are issues with older runtimes and 2007 so I wouldn't be surprised if the 2007 runtime didn't interact with older versions. I'd do some research on what to expect, or a lot of testing before installing 2007 on a bunch of customers computers. Doug -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Thursday, August 09, 2007 1:40 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access 2007 run time on same machine with 2003 Well, maybe I'll dodge that bullet. Because the client wants to send an A2007 run-time and is worried about users who have A2003 installed and installing the A2007 run-time might hose their 2003 apps. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Murphy Sent: Thursday, August 09, 2007 12:11 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access 2007 run time on same machine with 2003 There are some issues as I recollect. I know we had to purchase a modified Access 2002 runtime install script to make our runtime coexist with Access 2007. Take a look at the Sagekey software knowledge base. Doug -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Thursday, August 09, 2007 10:46 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Access 2007 run time on same machine with 2003 Dear List: Does anyone know of any problems running an A2K7 run-time on the same machine where A2K3 is installed? MTIA Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.10/943 - Release Date: 8/8/2007 5:38 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.10/943 - Release Date: 8/8/2007 5:38 PM -- 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 9 19:16:11 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 9 Aug 2007 17:16:11 -0700 Subject: [AccessD] A2003 developer In-Reply-To: <000a01c7dae0$a147b870$6800a8c0@anniec> References: <000501c7dadb$456ec9d0$6800a8c0@anniec> <000a01c7dae0$a147b870$6800a8c0@anniec> Message-ID: You'd have to try the net and see if it's available. Alternatively, I believe the 2007 tools include the runtime license for the prior versions. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Annie Courchesne, CMA Sent: Thursday, August 09, 2007 4:55 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] A2003 developer Hi Charlotte, I did not know that, thanks. Do you know if there's a place where I can still buy it? Annie Courchesne, CMA -----Message d'origine----- De?: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] De la part de Charlotte Foust Envoy??: 9 ao?t 2007 19:33 ??: Access Developers discussion and problem solving Objet?: Re: [AccessD] A2003 developer Check the archives on this one. The 2003 runtime was available with the VSTO for 2003, which isn't free. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Annie Courchesne, CMA Sent: Thursday, August 09, 2007 4:16 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] A2003 developer Hi, Anyone know where I can get buy Access 2003 developper to turn my application to runtime ? Looks like it's only Access 2007 that is available everywhere I look. Thanks! Annie Courchesne, CMA -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Thu Aug 9 19:20:38 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Thu, 9 Aug 2007 17:20:38 -0700 Subject: [AccessD] A2003 developer In-Reply-To: <000501c7dadb$456ec9d0$6800a8c0@anniec> Message-ID: <00e801c7dae4$4778b480$0301a8c0@HAL9005> And where do we get the cheapest O2007 or even just A2007? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Annie Courchesne, CMA Sent: Thursday, August 09, 2007 4:16 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] A2003 developer Hi, Anyone know where I can get buy Access 2003 developper to turn my application to runtime ? Looks like it's only Access 2007 that is available everywhere I look. Thanks! Annie Courchesne, CMA -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.10/943 - Release Date: 8/8/2007 5:38 PM From rockysmolin at bchacc.com Thu Aug 9 19:22:59 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Thu, 9 Aug 2007 17:22:59 -0700 Subject: [AccessD] A2007 from Dell(!) Message-ID: <00e901c7dae4$9b9b66c0$0301a8c0@HAL9005> The A2007 upgrade is available for DELL(! who knew) for $99. Does it play well with )2003 on the same box? Will it replace A2003 or will it let you install A2007 and leave your A2003 alone? TIA Rocky From rockysmolin at bchacc.com Thu Aug 9 19:28:38 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Thu, 9 Aug 2007 17:28:38 -0700 Subject: [AccessD] Access 2007 run time on same machine with 2003 In-Reply-To: <007201c7dae3$733b83a0$0200a8c0@murphy3234aaf1> Message-ID: <00ea01c7dae5$65528020$0301a8c0@HAL9005> Thanks Doug. That's why I'm a big fan of obsolete technology. It works. The client and I are trying to decide whether to standardize on A2007 for the development of his product. There are some distinct advantages. Or standardize on something earlier - right now it's compatible with A2000. Not sure we need to go back that far however. The target market for this product is *likely* to have Office Pro but not for certain. So we're considering a run-time version as well. However, since the product t will be selling for 5 figures, it might be reasonable to require the end user to have Access - some version of it. Opinions, anyone? TIA Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Murphy Sent: Thursday, August 09, 2007 5:15 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access 2007 run time on same machine with 2003 My concern when distributing a product to customers with unknown computer configurations, software installations, Office versions, etc is that I won't screw up their systems. I have a test set up with different versions of windows and different installations of Office that I run our installations through to try and insure we don't have any conflicts or worse yet creat a problem for the client. This is also why we spent the $ to buy the Sagekey scripts and then update them when MS came out with Vista and Office 2007. I think you were attending the Users group when one of the members created an install that overwrote some main windows dlls mistakenly. Made the package available for download and screwed up a bunch of computers. Cost him lots of $. My response was to your statement that you might dodge the bullet. I am pretty conservative when distributing applications. Doug -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Thursday, August 09, 2007 4:56 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access 2007 run time on same machine with 2003 "a lot of testing before installing 2007 on a bunch" Do you mean installing 2007 runtimes? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Murphy Sent: Thursday, August 09, 2007 3:41 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access 2007 run time on same machine with 2003 Rocky, This is an excerpt from the alert that Sagekey sent out. --------------------------------- In January 2007 Microsoft released Vista and Access 2007. Both products are significantly different from Microsoft's previously released versions and this is going to affect how successful your current Access Runtime installations are with these products. How much Vista will affect your Access Runtime installation will depend upon the complexity of your application. Access 2007 on the other hand won't co-exist well with previous runtimes, triggering an MSI repair that can take up to 5 minutes to complete, followed by a forced reboot. ------------------------------------ It indicates that there are issues with older runtimes and 2007 so I wouldn't be surprised if the 2007 runtime didn't interact with older versions. I'd do some research on what to expect, or a lot of testing before installing 2007 on a bunch of customers computers. Doug -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Thursday, August 09, 2007 1:40 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access 2007 run time on same machine with 2003 Well, maybe I'll dodge that bullet. Because the client wants to send an A2007 run-time and is worried about users who have A2003 installed and installing the A2007 run-time might hose their 2003 apps. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Murphy Sent: Thursday, August 09, 2007 12:11 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access 2007 run time on same machine with 2003 There are some issues as I recollect. I know we had to purchase a modified Access 2002 runtime install script to make our runtime coexist with Access 2007. Take a look at the Sagekey software knowledge base. Doug -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Thursday, August 09, 2007 10:46 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Access 2007 run time on same machine with 2003 Dear List: Does anyone know of any problems running an A2K7 run-time on the same machine where A2K3 is installed? MTIA Rocky From cfoust at infostatsystems.com Thu Aug 9 19:42:49 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 9 Aug 2007 17:42:49 -0700 Subject: [AccessD] A2007 from Dell(!) In-Reply-To: <00e901c7dae4$9b9b66c0$0301a8c0@HAL9005> References: <00e901c7dae4$9b9b66c0$0301a8c0@HAL9005> Message-ID: You can install it on the same machine and tell the installer to leave 2003 alone. The problem is that each of these beasts wants to be the boss. So if you open a db in 2003 and then open it in 2007, you get a long (is 5 minutes long enough?) reconfiguration for 2007. If you open it in 2003 after opening in 2007, you'll get its installer rerunning, although not as long as the 2007 monster does. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Thursday, August 09, 2007 5:23 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] A2007 from Dell(!) The A2007 upgrade is available for DELL(! who knew) for $99. Does it play well with )2003 on the same box? Will it replace A2003 or will it let you install A2007 and leave your A2003 alone? TIA Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Thu Aug 9 20:31:16 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Thu, 9 Aug 2007 18:31:16 -0700 Subject: [AccessD] A2007 from Dell(!) In-Reply-To: Message-ID: <00f401c7daee$25607ae0$0301a8c0@HAL9005> That blows. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, August 09, 2007 5:43 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] A2007 from Dell(!) You can install it on the same machine and tell the installer to leave 2003 alone. The problem is that each of these beasts wants to be the boss. So if you open a db in 2003 and then open it in 2007, you get a long (is 5 minutes long enough?) reconfiguration for 2007. If you open it in 2003 after opening in 2007, you'll get its installer rerunning, although not as long as the 2007 monster does. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Thursday, August 09, 2007 5:23 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] A2007 from Dell(!) The A2007 upgrade is available for DELL(! who knew) for $99. Does it play well with )2003 on the same box? Will it replace A2003 or will it let you install A2007 and leave your A2003 alone? TIA Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.10/943 - Release Date: 8/8/2007 5:38 PM From drboz at pacbell.net Thu Aug 9 20:37:52 2007 From: drboz at pacbell.net (Don Bozarth) Date: Thu, 9 Aug 2007 18:37:52 -0700 Subject: [AccessD] A2007 from Dell(!) References: <00f401c7daee$25607ae0$0301a8c0@HAL9005> Message-ID: <00bb01c7daef$12ae24f0$6501a8c0@don> That's Microsoft. Don B. ----- Original Message ----- From: "Rocky Smolin at Beach Access Software" To: "'Access Developers discussion and problem solving'" Sent: Thursday, August 09, 2007 6:31 PM Subject: Re: [AccessD] A2007 from Dell(!) > That blows. > > Rocky > > > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust > Sent: Thursday, August 09, 2007 5:43 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] A2007 from Dell(!) > > You can install it on the same machine and tell the installer to leave > 2003 alone. The problem is that each of these beasts wants to be the > boss. > So if you open a db in 2003 and then open it in 2007, you get a long (is 5 > minutes long enough?) reconfiguration for 2007. If you open it in 2003 > after opening in 2007, you'll get its installer rerunning, although not as > long as the 2007 monster does. > > Charlotte Foust > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at > Beach Access Software > Sent: Thursday, August 09, 2007 5:23 PM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] A2007 from Dell(!) > > The A2007 upgrade is available for DELL(! who knew) for $99. Does it play > well with )2003 on the same box? Will it replace A2003 or will it let you > install A2007 and leave your A2003 alone? > > TIA > > Rocky > > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.476 / Virus Database: 269.11.10/943 - Release Date: 8/8/2007 > 5:38 PM > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Thu Aug 9 21:06:03 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 9 Aug 2007 22:06:03 -0400 Subject: [AccessD] YYYYMMDD string to date Message-ID: <20070810020605.7F604BD66@smtp-auth.no-ip.com> Is there a neat way to change a string date in YYYYMMDD format to a date? I can write a function to parse the pieces etc but wondered if there is just something built in to Access that will do it. Cdate() does not like it. John W. Colby Colby Consulting www.ColbyConsulting.com From carbonnb at gmail.com Thu Aug 9 21:18:22 2007 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Thu, 9 Aug 2007 22:18:22 -0400 Subject: [AccessD] OT: Pics from JC Conference In-Reply-To: <000d01c7da49$6204fbb0$517a6c4c@jisshowsbs.local> References: <006801c7d92b$e9e1d0e0$0301a8c0@HAL9005> <001801c7d9c7$e3ca3e30$8abea8c0@XPS> <000601c7d9f8$ed1b3ad0$6400a8c0@dsunit1> <000001c7da12$d43e7d00$6400a8c0@dsunit1> <000001c7da3c$c0c705b0$6400a8c0@dsunit1> <000d01c7da49$6204fbb0$517a6c4c@jisshowsbs.local> Message-ID: On 8/9/07, William Hindman wrote: > ...I've been retired since '94 ...but I still know what day it is :)))) I'm on vacation for a couple of weeks!! I don't CARE what day it is :) -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" From wdhindman at dejpolsystems.com Thu Aug 9 21:35:20 2007 From: wdhindman at dejpolsystems.com (William Hindman) Date: Thu, 9 Aug 2007 22:35:20 -0400 Subject: [AccessD] A2007 from Dell(!) References: <00f401c7daee$25607ae0$0301a8c0@HAL9005> Message-ID: <006301c7daf7$19280960$517a6c4c@jisshowsbs.local> ...use VM software ...MS has a free one that works as does VMWare ...that way you can switch fairly easily without any interference ...btw, I buy the upgrade but do a clean install with it ...I've never had an upgrade of Office that didn't leave a lot of crap floating around to cause future problems. William Hindman ----- Original Message ----- From: "Rocky Smolin at Beach Access Software" To: "'Access Developers discussion and problem solving'" Sent: Thursday, August 09, 2007 9:31 PM Subject: Re: [AccessD] A2007 from Dell(!) > That blows. > > Rocky > > > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust > Sent: Thursday, August 09, 2007 5:43 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] A2007 from Dell(!) > > You can install it on the same machine and tell the installer to leave > 2003 alone. The problem is that each of these beasts wants to be the > boss. > So if you open a db in 2003 and then open it in 2007, you get a long (is 5 > minutes long enough?) reconfiguration for 2007. If you open it in 2003 > after opening in 2007, you'll get its installer rerunning, although not as > long as the 2007 monster does. > > Charlotte Foust > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at > Beach Access Software > Sent: Thursday, August 09, 2007 5:23 PM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] A2007 from Dell(!) > > The A2007 upgrade is available for DELL(! who knew) for $99. Does it play > well with )2003 on the same box? Will it replace A2003 or will it let you > install A2007 and leave your A2003 alone? > > TIA > > Rocky > > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.476 / Virus Database: 269.11.10/943 - Release Date: 8/8/2007 > 5:38 PM > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From mmattys at rochester.rr.com Thu Aug 9 21:54:04 2007 From: mmattys at rochester.rr.com (Michael R Mattys) Date: Thu, 9 Aug 2007 22:54:04 -0400 Subject: [AccessD] YYYYMMDD string to date References: <20070810020605.7F604BD66@smtp-auth.no-ip.com> Message-ID: <003201c7daf9$bc0f7530$0202a8c0@Laptop> Hi John, This seems to work: CDate(Format("20070119","####-##-##")) Michael R. Mattys MapPoint & Access Dev www.mattysconsulting.com ----- Original Message ----- From: "jwcolby" To: "'Access Developers discussion and problem solving'" Sent: Thursday, August 09, 2007 10:06 PM Subject: [AccessD] YYYYMMDD string to date > Is there a neat way to change a string date in YYYYMMDD format to a date? > I > can write a function to parse the pieces etc but wondered if there is just > something built in to Access that will do it. Cdate() does not like it. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Thu Aug 9 22:07:43 2007 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 10 Aug 2007 13:07:43 +1000 Subject: [AccessD] YYYYMMDD string to date In-Reply-To: <003201c7daf9$bc0f7530$0202a8c0@Laptop> References: <20070810020605.7F604BD66@smtp-auth.no-ip.com>, <003201c7daf9$bc0f7530$0202a8c0@Laptop> Message-ID: <46BBD67F.29640.F98AB0@stuart.lexacorp.com.pg> Neat! On 9 Aug 2007 at 22:54, Michael R Mattys wrote: > Hi John, > > This seems to work: > CDate(Format("20070119","####-##-##")) > > Michael R. Mattys > MapPoint & Access Dev > www.mattysconsulting.com > > ----- Original Message ----- > From: "jwcolby" > To: "'Access Developers discussion and problem solving'" > > Sent: Thursday, August 09, 2007 10:06 PM > Subject: [AccessD] YYYYMMDD string to date > > > > Is there a neat way to change a string date in YYYYMMDD format to a date? > > I > > can write a function to parse the pieces etc but wondered if there is just > > something built in to Access that will do it. Cdate() does not like it. > > > > John W. Colby > > Colby Consulting > > www.ColbyConsulting.com > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From miscellany at mvps.org Thu Aug 9 22:19:16 2007 From: miscellany at mvps.org (Steve Schapel) Date: Fri, 10 Aug 2007 15:19:16 +1200 Subject: [AccessD] A2007 from Dell(!) In-Reply-To: <00bb01c7daef$12ae24f0$6501a8c0@don> References: <00f401c7daee$25607ae0$0301a8c0@HAL9005> <00bb01c7daef$12ae24f0$6501a8c0@don> Message-ID: <46BBD934.4070306@mvps.org> Not sure what your implication is here, Don. If you mean how incredible it is that Microsoft provide at all for side by side installation of different versions of the same program, then I would agree with you. If you are talking about the extreme lengths that Microsoft go to to maximise version compatibility (including backward compatibility), to a degree unheard of in most other parts of the software industry, I would agree with you. Of course, the requirement for users to have more than one version of the same application installed side by side is a very unusual one. And the technicalities of switching versions on the fly are complex and difficult. In fact, that small group of computer users who call themselves Access developers probably want this facility in greater numbers than anyone else. So I say, let's count our lucky stars. Regards Steve Don Bozarth wrote: > That's Microsoft. From andy at minstersystems.co.uk Fri Aug 10 01:38:12 2007 From: andy at minstersystems.co.uk (Andy Lacey) Date: Fri, 10 Aug 2007 07:38:12 +0100 Subject: [AccessD] Changing Default Printer In-Reply-To: <000301c7daa6$7c234120$8abea8c0@XPS> Message-ID: <01ac01c7db19$09a3e5f0$f5df0651@minster33c3r25> Jim I can see you'd have such problems in that environment. Happily I don't so haven't been faced with them. -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman > Sent: 09 August 2007 17:58 > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Changing Default Printer > > > Andy, > > If your saying what I think your saying, then the only > problem with that is if you have multiple apps running at the > same time, a file can get over written. > > To get around that, the file name generated on the disk > must be unique or you need a semaphore to lock the resource > (ie. a printer set to print to > disk) until your done with it . This is especially true when > you have automated jobs running on a tight cycle. > > Jim. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey > Sent: Thursday, August 09, 2007 10:05 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Changing Default Printer > > FWIW I overcome this by adding code to rename the file once > it exists. Don't need to manipulate the registry that way. > Once you've dictated what filename Adobe creates you put code > to delete that filename at the start of your routine (if it > exists off course) then after the PDF creation you have a > timing loop that exits once the file exists and, once it's > there, code that renames the file to anything you like. > > -- Andy Lacey > http://www.minstersystems.co.uk > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Doug Murphy > > Sent: 08 August 2007 19:44 > > To: 'Access Developers discussion and problem solving' > > Subject: Re: [AccessD] Changing Default Printer > > > > > > Rocky, > > > > There is no object model that I know of. There is vb code on the > > Adobe site and on the web but each file is saved to a > setting in the > > registry, so if you want to have each file saved to a > unique name and > > folder location you have to set that in the registry. I can dig out > > the code I use if you want it. Send off line. > > > > Doug > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky > > Smolin at Beach Access Software > > Sent: Wednesday, August 08, 2007 11:22 AM > > To: 'Access Developers discussion and problem solving' > > Subject: Re: [AccessD] Changing Default Printer > > > > Do you know if Adobe has an object model that can be manipulated > > through code? So that, for example, you could create a > file name or > > direct the PDF file to a specific folder? > > > > Rocky > > > > > > > > > > > > > > > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Charlotte > > Foust > > Sent: Wednesday, August 08, 2007 11:00 AM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Changing Default Printer > > > > The alternatives (we used Amyuni) require coding and then > installation > > on the target machine. I'm not sure you would be any better off, > > especially if you need to get this working fast. On the > other hand, > > several of the PDF printers you can license on the web include VBA > > sample code to get you started. > > > > Charlotte Foust > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky > > Smolin at Beach Access Software > > Sent: Wednesday, August 08, 2007 10:54 AM > > To: 'Access Developers discussion and problem solving' > > Subject: Re: [AccessD] Changing Default Printer > > > > Any good alternatives that you know of? > > > > Rocky > > > > > > > > > > > > > > > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Charlotte > > Foust > > Sent: Wednesday, August 08, 2007 10:41 AM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Changing Default Printer > > > > On the other hand, it may cause you more problems. If you > are using > > generic code to print to PDF, you won't be able to control > page size, > > orientation, or anything else. Nor will you be able to > create it with > > a useful name, which may not be what your user needs. > > > > Charlotte Foust > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky > > Smolin at Beach Access Software > > Sent: Wednesday, August 08, 2007 10:35 AM > > To: 'Access Developers discussion and problem solving' > > Subject: Re: [AccessD] Changing Default Printer > > > > This is a work in progress so I don't have precise answers > yet. But, > > the plan is to have the user install whatever PDF printer > they like . > > In the control panel of the Automated Email System there's > a combo box > > with all of the installed printers. They pick their PDF > printer and > > it's saved in a local options table. So they'll be providing their > > own PDF printer. Which might finesse the problem you had. > > > > Rocky > > > > > > > > > > > > > > > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Charlotte > > Foust > > Sent: Wednesday, August 08, 2007 10:23 AM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Changing Default Printer > > > > Um ... Is this PDF printer something you provide in your > app? We've > > found that we needed to include an installer for our clients to > > reinstall their PDF printer when it went sideways, and we ran into > > problems if a full version of Adobe Acrobat was installed > on the same > > machine. > > > > Charlotte Foust > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky > > Smolin at Beach Access Software > > Sent: Wednesday, August 08, 2007 9:09 AM > > To: 'Access Developers discussion and problem solving' > > Subject: Re: [AccessD] Changing Default Printer > > > > Well, that won't be a problem for my app. Al I want to do > it have the > > user switch to a PDF printer for reports which will then be > attached > > to emails. > > > > > > Rocky > > > > > > > > > > > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Charlotte > > Foust > > Sent: Wednesday, August 08, 2007 8:52 AM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Changing Default Printer > > > > OY!! After all this time I don't recall. I know I wrote printer > > object based code to replace all our old code to set page size > > properly and then after testing it a bit, I threw it out > and went back > > to the original code. I don't think it was a problem with selecting > > the printer, it was trying to manipulate the page settings > that gave > > us problems. > > > > Charlotte Foust > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky > > Smolin at Beach Access Software > > Sent: Wednesday, August 08, 2007 8:45 AM > > To: 'Access Developers discussion and problem solving' > > Subject: Re: [AccessD] Changing Default Printer > > > > Uh-oh. What problems did you have with the Printer object? Is that > > the same as using Application.Printer? > > > > Rocky > > > > > > > > > > > > > > > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Charlotte > > Foust > > Sent: Wednesday, August 08, 2007 8:08 AM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Changing Default Printer > > > > A2002 was the first version to have a printer object. I > have to tell > > you, though, that we tried it and went back to API calls as more > > consistent and reliable. > > > > Charlotte Foust > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky > > Smolin at Beach Access Software > > Sent: Wednesday, August 08, 2007 7:21 AM > > To: 'Access Developers discussion and problem solving' > > Subject: Re: [AccessD] Changing Default Printer > > > > What version of Access has that Printer object? And that > code would > > go into the report in the load or open event? The code I > found that I > > posted yesterday works in A2K3, it's real short, but does > it at the OS > > level, which is probably more sketchy than doing it inside Access > > itself. What to you think? > > > > Rocky > > > > > > > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > No virus found in this incoming message. > > Checked by AVG Free Edition. > > Version: 7.5.476 / Virus Database: 269.11.8/941 - Release > > Date: 8/7/2007 4:06 PM > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > No virus found in this incoming message. > > Checked by AVG Free Edition. > > Version: 7.5.476 / Virus Database: 269.11.8/941 - Release > > Date: 8/7/2007 4:06 PM > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From rbgajewski at adelphia.net Fri Aug 10 05:12:49 2007 From: rbgajewski at adelphia.net (Bob Gajewski) Date: Fri, 10 Aug 2007 06:12:49 -0400 Subject: [AccessD] Problem with A2003 Report caption *SOLVED* In-Reply-To: <010e01c7d85b$771cd3f0$8757a27a@pcadt> References: <20070801123650.4227B4F5DC@smtp.nildram.co.uk><004301c7d4b4$496e84d0$0301a8c0@HAL9005> <001201c7d7eb$c71113a0$6400a8c0@DCYN3T81> <010e01c7d85b$771cd3f0$8757a27a@pcadt> Message-ID: <004b01c7db37$01bd5ce0$6400a8c0@DCYN3T81> A.D. That worked perfectly! Many thanks, Bob Gajewski -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of A.D.TEJPAL Sent: Monday, August 06, 2007 14:55 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Problem with A2003 Report caption Bob, You can try passing the caption string as report's OpenArgs as follows: DoCmd.OpenReport strReportName, _ acViewPreview, , strWhere, , strReportCaption Code in report's open event would be: Private Sub Report_Open(Cancel As Integer) Me.Caption = Me.OpenArgs End Sub Best wishes, A.D.Tejpal --------------- ----- Original Message ----- From: Bob Gajewski To: 'Access Developers discussion and problem solving' Sent: Monday, August 06, 2007 11:06 Subject: [AccessD] Problem with A2003 Report caption Hi Folks I am running into a problem with a new report. I am using a form to select record types and a date range, and passing the parameters to the report. Everything is working perfectly and as expected *EXCEPT* that my report caption does not print on the first page. It's there from Page 2 through the end, regardless of how many pages. My form code sample is below. I have confirmed that the value of "frmDateRange" just prior to the OpenReport is "1". On the actual report, the unbound text field for the report title has a control source of "=[Caption]". If anyone has any ideas on how to fix this, or can at least point me in the right direction, I will be truly grateful. Thanks ! Bob Gajewski CODE SAMPLE (frmMembersResponses) ================================= Private Sub cmdGenerateReport_Click() On Error GoTo Err_cmdGenerateReport_Click Dim strReportName As String, strWhere As String strReportName = "rptMembersResponse" strWhere = "" ' Set strWhere for Date Range If Not IsNull(Me!dteDateRangeSelectFrom) Or Me!dteDateRangeSelectFrom <> "" Then If IsNull(strWhere) Or strWhere = "" Then strWhere = "([IncidentDate] >= #" & Me!dteDateRangeSelectFrom & "#)" Else strWhere = "(" & strWhere & ") And ([IncidentDate] >= #" & Me!dteDateRangeSelectFrom & "#)" End If End If If Not IsNull(Me!dteDateRangeSelectTo) Or Me!dteDateRangeSelectTo <> "" Then If IsNull(strWhere) Or strWhere = "" Then strWhere = "([IncidentDate] <= #" & Me!dteDateRangeSelectTo & "#)" Else strWhere = "(" & strWhere & ") And ([IncidentDate] <= #" & Me!dteDateRangeSelectTo & "#)" End If End If ' Print report Dim rpt As Report, strReportCaption As String If IsNull(strWhere) Or strWhere = "" Then Select Case frmDateRange Case 1 strReportCaption = "Member Responses for Call Year " & Format([dteDateRangeSelectFrom], "MM/DD/YYYY") & " - " & Format([dteDateRangeSelectTo], "MM/DD/YYYY") Case 2 strReportCaption = "Member Responses for Calendar Year " & DatePart("yyyy", [dteDateRangeSelectFrom]) Case 3 strReportCaption = "Member Responses for " & Format([dteDateRangeSelectFrom], "MM/DD/YYYY") & " - " & Format([dteDateRangeSelectTo], "MM/DD/YYYY") Case Else strReportCaption = "Member Responses" End Select Else Select Case frmDateRange Case 1 strReportCaption = "Selected Member Responses for Call Year " & Format([dteDateRangeSelectFrom], "MM/DD/YYYY") & " - " & Format([dteDateRangeSelectTo], "MM/DD/YYYY") Case 2 strReportCaption = "Selected Member Responses for Calendar Year " & DatePart("yyyy", [dteDateRangeSelectFrom]) Case 3 strReportCaption = "Selected Member Responses for " & Format([dteDateRangeSelectFrom], "MM/DD/YYYY") & " - " & Format([dteDateRangeSelectTo], "MM/DD/YYYY") Case Else strReportCaption = "Selected Member Responses" End Select End If MsgBox ("The value of 'strReportCaption' is " & strReportCaption & ".") DoCmd.OpenReport strReportName, acViewPreview, , strWhere Set rpt = Reports(strReportName) rpt.OrderByOn = True rpt.OrderBy = strSortOrder rpt.Caption = strReportCaption -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.6/938 - Release Date: 08/05/2007 16:16 PM No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.11/944 - Release Date: 08/09/2007 14:44 PM From Gustav at cactus.dk Fri Aug 10 06:52:30 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 10 Aug 2007 13:52:30 +0200 Subject: [AccessD] YYYYMMDD string to date Message-ID: Hi John Parsing is about 5 times faster than using CDate(Format(...)): datDate = DateSerial(Left(strDate, 4), Mid(strDate, 5, 2), Right(strDate, 2)) /gustav >>> jwcolby at colbyconsulting.com 10-08-2007 04:06 >>> Is there a neat way to change a string date in YYYYMMDD format to a date? I can write a function to parse the pieces etc but wondered if there is just something built in to Access that will do it. Cdate() does not like it. John W. Colby Colby Consulting www.ColbyConsulting.com From adtp at airtelbroadband.in Fri Aug 10 07:03:57 2007 From: adtp at airtelbroadband.in (A.D.TEJPAL) Date: Fri, 10 Aug 2007 17:33:57 +0530 Subject: [AccessD] Problem with A2003 Report caption *SOLVED* References: <20070801123650.4227B4F5DC@smtp.nildram.co.uk><004301c7d4b4$496e 84d0$0301a8c0@HAL9005><001201c7d7eb$c71113a0$6400a8c0@DCYN3T81><010e01c7d85 b$771cd3f0$8757a27a@pcadt> <004b01c7db37$01bd5ce0$6400a8c0@DCYN3T81> Message-ID: <005701c7db46$a449eb90$0a57a27a@pcadt> You are most welcome Bob! A.D.Tejpal --------------- ----- Original Message ----- From: Bob Gajewski To: 'Access Developers discussion and problem solving' Sent: Friday, August 10, 2007 15:42 Subject: Re: [AccessD] Problem with A2003 Report caption *SOLVED* A.D. That worked perfectly! Many thanks, Bob Gajewski -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of A.D.TEJPAL Sent: Monday, August 06, 2007 14:55 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Problem with A2003 Report caption Bob, You can try passing the caption string as report's OpenArgs as follows: DoCmd.OpenReport strReportName, _ acViewPreview, , strWhere, , strReportCaption Code in report's open event would be: Private Sub Report_Open(Cancel As Integer) Me.Caption = Me.OpenArgs End Sub Best wishes, A.D.Tejpal --------------- ----- Original Message ----- From: Bob Gajewski To: 'Access Developers discussion and problem solving' Sent: Monday, August 06, 2007 11:06 Subject: [AccessD] Problem with A2003 Report caption Hi Folks I am running into a problem with a new report. I am using a form to select record types and a date range, and passing the parameters to the report. Everything is working perfectly and as expected *EXCEPT* that my report caption does not print on the first page. It's there from Page 2 through the end, regardless of how many pages. My form code sample is below. I have confirmed that the value of "frmDateRange" just prior to the OpenReport is "1". On the actual report, the unbound text field for the report title has a control source of "=[Caption]". If anyone has any ideas on how to fix this, or can at least point me in the right direction, I will be truly grateful. Thanks ! Bob Gajewski CODE SAMPLE (frmMembersResponses) ================================= Private Sub cmdGenerateReport_Click() On Error GoTo Err_cmdGenerateReport_Click Dim strReportName As String, strWhere As String strReportName = "rptMembersResponse" strWhere = "" ' Set strWhere for Date Range If Not IsNull(Me!dteDateRangeSelectFrom) Or Me!dteDateRangeSelectFrom <> "" Then If IsNull(strWhere) Or strWhere = "" Then strWhere = "([IncidentDate] >= #" & Me!dteDateRangeSelectFrom & "#)" Else strWhere = "(" & strWhere & ") And ([IncidentDate] >= #" & Me!dteDateRangeSelectFrom & "#)" End If End If If Not IsNull(Me!dteDateRangeSelectTo) Or Me!dteDateRangeSelectTo <> "" Then If IsNull(strWhere) Or strWhere = "" Then strWhere = "([IncidentDate] <= #" & Me!dteDateRangeSelectTo & "#)" Else strWhere = "(" & strWhere & ") And ([IncidentDate] <= #" & Me!dteDateRangeSelectTo & "#)" End If End If ' Print report Dim rpt As Report, strReportCaption As String If IsNull(strWhere) Or strWhere = "" Then Select Case frmDateRange Case 1 strReportCaption = "Member Responses for Call Year " & Format([dteDateRangeSelectFrom], "MM/DD/YYYY") & " - " & Format([dteDateRangeSelectTo], "MM/DD/YYYY") Case 2 strReportCaption = "Member Responses for Calendar Year " & DatePart("yyyy", [dteDateRangeSelectFrom]) Case 3 strReportCaption = "Member Responses for " & Format([dteDateRangeSelectFrom], "MM/DD/YYYY") & " - " & Format([dteDateRangeSelectTo], "MM/DD/YYYY") Case Else strReportCaption = "Member Responses" End Select Else Select Case frmDateRange Case 1 strReportCaption = "Selected Member Responses for Call Year " & Format([dteDateRangeSelectFrom], "MM/DD/YYYY") & " - " & Format([dteDateRangeSelectTo], "MM/DD/YYYY") Case 2 strReportCaption = "Selected Member Responses for Calendar Year " & DatePart("yyyy", [dteDateRangeSelectFrom]) Case 3 strReportCaption = "Selected Member Responses for " & Format([dteDateRangeSelectFrom], "MM/DD/YYYY") & " - " & Format([dteDateRangeSelectTo], "MM/DD/YYYY") Case Else strReportCaption = "Selected Member Responses" End Select End If MsgBox ("The value of 'strReportCaption' is " & strReportCaption & ".") DoCmd.OpenReport strReportName, acViewPreview, , strWhere Set rpt = Reports(strReportName) rpt.OrderByOn = True rpt.OrderBy = strSortOrder rpt.Caption = strReportCaption From phpons at gmail.com Fri Aug 10 07:08:53 2007 From: phpons at gmail.com (philippe pons) Date: Fri, 10 Aug 2007 14:08:53 +0200 Subject: [AccessD] How to create a form with the VBA Extensibility Library Message-ID: <57144ced0708100508pad23879i3d76520183e149b4@mail.gmail.com> Hi all, I just discovered the capabilities of this library that allows to programmaticaly control the VBE. I can now create a new class module with: Application.VBE.ActiveVBProject.VBComponents.Add (vbext_ct_ClassModule) or a standard module using the vbext_ct_StdModule constante. But I can't find how to create a new Form! There is a vbext_ct_MSForm constante, but it creates a UserForm, very similar to the ones used in Excel, not an Acces Form. Do you know if it is possible, and how to do that? TIA, Philippe From robert at webedb.com Fri Aug 10 08:00:54 2007 From: robert at webedb.com (Robert L. Stewart) Date: Fri, 10 Aug 2007 08:00:54 -0500 Subject: [AccessD] A2007 from Dell(!) In-Reply-To: References: Message-ID: <200708101305.l7AD5qLf009931@databaseadvisors.com> Rocky, I have 97, 2000, 2002 2003, and 2007 installed on the same computer. I have no problems with it except for the "installing" process when I switch between versions. FYI, I have also had a client that I had to convert to 2007 accdb format because the 2003 mdb kept corrupting. Robert At 07:44 PM 8/9/2007, you wrote: >Date: Thu, 9 Aug 2007 17:22:59 -0700 >From: "Rocky Smolin at Beach Access Software" >Subject: [AccessD] A2007 from Dell(!) >To: "'Access Developers discussion and problem solving'" > >Message-ID: <00e901c7dae4$9b9b66c0$0301a8c0 at HAL9005> >Content-Type: text/plain; charset="us-ascii" > >The A2007 upgrade is available for DELL(! who knew) for $99. Does it play >well with )2003 on the same box? Will it replace A2003 or will it let you >install A2007 and leave your A2003 alone? > >TIA > >Rocky From robert at webedb.com Fri Aug 10 08:02:59 2007 From: robert at webedb.com (Robert L. Stewart) Date: Fri, 10 Aug 2007 08:02:59 -0500 Subject: [AccessD] Access 2007 run time on same machine with 2003 In-Reply-To: References: Message-ID: <200708101305.l7AD5qLp009930@databaseadvisors.com> Rocky, Actually, for that kind of money, your install script should detect and "compatible" version of Access. And, if it is not there, install the runtime. Robert At 07:44 PM 8/9/2007, you wrote: >Date: Thu, 9 Aug 2007 17:28:38 -0700 >From: "Rocky Smolin at Beach Access Software" >Subject: Re: [AccessD] Access 2007 run time on same machine with 2003 >To: "'Access Developers discussion and problem solving'" > >Cc: 'Jack Stone' >Message-ID: <00ea01c7dae5$65528020$0301a8c0 at HAL9005> >Content-Type: text/plain; charset="us-ascii" > >Thanks Doug. That's why I'm a big fan of obsolete technology. It works. > >The client and I are trying to decide whether to standardize on A2007 for >the development of his product. There are some distinct advantages. Or >standardize on something earlier - right now it's compatible with A2000. >Not sure we need to go back that far however. > >The target market for this product is *likely* to have Office Pro but not >for certain. So we're considering a run-time version as well. > >However, since the product t will be selling for 5 figures, it might be >reasonable to require the end user to have Access - some version of it. > >Opinions, anyone? > >TIA > >Rocky From jwcolby at colbyconsulting.com Fri Aug 10 08:25:54 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 10 Aug 2007 09:25:54 -0400 Subject: [AccessD] How to create a form with the VBA Extensibility Library In-Reply-To: <57144ced0708100508pad23879i3d76520183e149b4@mail.gmail.com> Message-ID: <20070810132557.3DCAEBF8F@smtp-auth.no-ip.com> How did you SAVE the module once created? John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of philippe pons Sent: Friday, August 10, 2007 8:09 AM To: accessd at databaseadvisors.com Subject: [AccessD] How to create a form with the VBA Extensibility Library Hi all, I just discovered the capabilities of this library that allows to programmaticaly control the VBE. I can now create a new class module with: Application.VBE.ActiveVBProject.VBComponents.Add (vbext_ct_ClassModule) or a standard module using the vbext_ct_StdModule constante. But I can't find how to create a new Form! There is a vbext_ct_MSForm constante, but it creates a UserForm, very similar to the ones used in Excel, not an Acces Form. Do you know if it is possible, and how to do that? TIA, Philippe -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Fri Aug 10 08:26:54 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 10 Aug 2007 09:26:54 -0400 Subject: [AccessD] YYYYMMDD string to date In-Reply-To: Message-ID: <20070810132657.42CE2BBFC@smtp-auth.no-ip.com> And about as easy to do, since the left/mid/right is what I used anyway. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, August 10, 2007 7:53 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] YYYYMMDD string to date Hi John Parsing is about 5 times faster than using CDate(Format(...)): datDate = DateSerial(Left(strDate, 4), Mid(strDate, 5, 2), Right(strDate, 2)) /gustav >>> jwcolby at colbyconsulting.com 10-08-2007 04:06 >>> Is there a neat way to change a string date in YYYYMMDD format to a date? I can write a function to parse the pieces etc but wondered if there is just something built in to Access that will do it. Cdate() does not like it. John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From phpons at gmail.com Fri Aug 10 08:51:10 2007 From: phpons at gmail.com (philippe pons) Date: Fri, 10 Aug 2007 15:51:10 +0200 Subject: [AccessD] How to create a form with the VBA Extensibility Library In-Reply-To: <20070810132557.3DCAEBF8F@smtp-auth.no-ip.com> References: <57144ced0708100508pad23879i3d76520183e149b4@mail.gmail.com> <20070810132557.3DCAEBF8F@smtp-auth.no-ip.com> Message-ID: <57144ced0708100651r53584be1u36886f79d041cff0@mail.gmail.com> The same way as when the module is added "by hand": you click on Save. I don't know if there is a programmatic way of doing that! 2007/8/10, jwcolby : > > How did you SAVE the module once created? > > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of philippe pons > Sent: Friday, August 10, 2007 8:09 AM > To: accessd at databaseadvisors.com > Subject: [AccessD] How to create a form with the VBA Extensibility Library > > Hi all, > > I just discovered the capabilities of this library that allows to > programmaticaly control the VBE. > I can now create a new class module with: > Application.VBE.ActiveVBProject.VBComponents.Add (vbext_ct_ClassModule) > > or a standard module using the vbext_ct_StdModule constante. > > But I can't find how to create a new Form! > There is a vbext_ct_MSForm constante, but it creates a UserForm, very > similar to the ones used in Excel, not an Acces Form. > > Do you know if it is possible, and how to do that? > > TIA, > > Philippe > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jwcolby at colbyconsulting.com Fri Aug 10 08:58:49 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 10 Aug 2007 09:58:49 -0400 Subject: [AccessD] How to create a form with the VBA ExtensibilityLibrary In-Reply-To: <57144ced0708100651r53584be1u36886f79d041cff0@mail.gmail.com> Message-ID: <20070810135852.DBA8ABFB8@smtp-auth.no-ip.com> That is what I was after. I have delved into that stuff before and never found a way to programmatically save. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of philippe pons Sent: Friday, August 10, 2007 9:51 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] How to create a form with the VBA ExtensibilityLibrary The same way as when the module is added "by hand": you click on Save. I don't know if there is a programmatic way of doing that! 2007/8/10, jwcolby : > > How did you SAVE the module once created? > > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of philippe > pons > Sent: Friday, August 10, 2007 8:09 AM > To: accessd at databaseadvisors.com > Subject: [AccessD] How to create a form with the VBA Extensibility > Library > > Hi all, > > I just discovered the capabilities of this library that allows to > programmaticaly control the VBE. > I can now create a new class module with: > Application.VBE.ActiveVBProject.VBComponents.Add > (vbext_ct_ClassModule) > > or a standard module using the vbext_ct_StdModule constante. > > But I can't find how to create a new Form! > There is a vbext_ct_MSForm constante, but it creates a UserForm, very > similar to the ones used in Excel, not an Acces Form. > > Do you know if it is possible, and how to do that? > > TIA, > > Philippe > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Fri Aug 10 09:06:11 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 10 Aug 2007 16:06:11 +0200 Subject: [AccessD] OT Friday: Comodo AntiSpam Message-ID: Hi JC et al JC has sent this out, so now you cannot get to him directly. Aside the good intentions behind doing so, this will cause a lot of trouble, and I don't say too much if I - as a general warning - mention that the consensus between system people is, that as tempting these challenge-response system my seem, they represent a bad idea because the negative impact outweighs the positive. If you or your client run a mail server, I can strongly recommend SpamBunker: http://www.aimconsulting.ch/Spambunker/sbk-strategy.asp which is not free but cheap, and is superior to the common mail filtering systems. Thus, it requires no "learning", no maintenance, it works from the minute it is installed, and it handles massive amount of spam and/or mail even on modest hardware. We operate it here where we went from about 4000 spam mails per day to a handful per week after we had been under a week long attack with constantly 20 connections and more than 16000 connections per day. As a result we now promote this to our clients with serious spam troubles. /gustav --- >>> 10-08-2007 13:58 >>> Hi, it's jwcolby. I finally decided I'd had enough of junk mail, and installed a fantastic application that gets rid of it all. Unfortunately, you are not yet in my trusted senders list!! The only way I'll get your emails is if you follow the steps outlined below: Here's all you have to do: 1. Press Reply 2. In the body of the reply, type in my AntiSpam Passcode contained in the graphical attachment. 3. Press Send When I receive this reply, I will know that it was really you that sent me the email and not a computerized spammer. I will then be able to receive all your mail. This authentication will be done only once. Thank you & have a great day, jwcolby ------------------------------------------------------------------------------------------------ You are receiving this messages in response to your email to jwcolby at colbyconsulting.com, a Comodo AntiSpam user. Our Passcode Authentication Technology requires senders to verify themselves before their mail is delivered. You will only need to do this once. Comodo AntiSpam is completely free. Experience a 100% spam free inbox for yourself by visiting www.comodo.com X-Comodo-AntiSpamRFA (jwcolby at colbyconsulting.com) From jwcolby at colbyconsulting.com Fri Aug 10 09:24:50 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 10 Aug 2007 10:24:50 -0400 Subject: [AccessD] OT Friday: Comodo AntiSpam In-Reply-To: Message-ID: <20070810142453.923B3BFEC@smtp-auth.no-ip.com> Gustav, As soon as I pick you up on the control panel I "allow" your email so in fact you do not have to respond. Your email as well as every one else on the list that has popped up so far is now coming right through because I manually "allowed" you to. Either way, you respond or I allow, it only has to be done one time and then it works just fine. I have not had time yet to evaluate the full impact, but I am a small company, with a small number of regular correspondents (with the exception of this list). I can appreciate the "challenge / response sucks" mentality but I don't have a mail server under my control. I use the pop server that comes with my web site. This works at the client level and so I am trying it. My apologies for any inconvenience. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, August 10, 2007 10:06 AM To: accessd at databaseadvisors.com Subject: [AccessD] OT Friday: Comodo AntiSpam Hi JC et al JC has sent this out, so now you cannot get to him directly. Aside the good intentions behind doing so, this will cause a lot of trouble, and I don't say too much if I - as a general warning - mention that the consensus between system people is, that as tempting these challenge-response system my seem, they represent a bad idea because the negative impact outweighs the positive. If you or your client run a mail server, I can strongly recommend SpamBunker: http://www.aimconsulting.ch/Spambunker/sbk-strategy.asp which is not free but cheap, and is superior to the common mail filtering systems. Thus, it requires no "learning", no maintenance, it works from the minute it is installed, and it handles massive amount of spam and/or mail even on modest hardware. We operate it here where we went from about 4000 spam mails per day to a handful per week after we had been under a week long attack with constantly 20 connections and more than 16000 connections per day. As a result we now promote this to our clients with serious spam troubles. /gustav --- >>> 10-08-2007 13:58 >>> Hi, it's jwcolby. I finally decided I'd had enough of junk mail, and installed a fantastic application that gets rid of it all. Unfortunately, you are not yet in my trusted senders list!! The only way I'll get your emails is if you follow the steps outlined below: Here's all you have to do: 1. Press Reply 2. In the body of the reply, type in my AntiSpam Passcode contained in the graphical attachment. 3. Press Send When I receive this reply, I will know that it was really you that sent me the email and not a computerized spammer. I will then be able to receive all your mail. This authentication will be done only once. Thank you & have a great day, jwcolby ---------------------------------------------------------------------------- -------------------- You are receiving this messages in response to your email to jwcolby at colbyconsulting.com, a Comodo AntiSpam user. Our Passcode Authentication Technology requires senders to verify themselves before their mail is delivered. You will only need to do this once. Comodo AntiSpam is completely free. Experience a 100% spam free inbox for yourself by visiting www.comodo.com X-Comodo-AntiSpamRFA (jwcolby at colbyconsulting.com) -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From wdhindman at dejpolsystems.com Fri Aug 10 09:39:40 2007 From: wdhindman at dejpolsystems.com (William Hindman) Date: Fri, 10 Aug 2007 10:39:40 -0400 Subject: [AccessD] OT Friday: Comodo AntiSpam References: <20070810142453.923B3BFEC@smtp-auth.no-ip.com> Message-ID: <005c01c7db5c$48f8d650$0c10a8c0@jisshowsbs.local> ...what happens when a new, potential client e-mails you? ...I'm with Gustav, the initial e-mail gave me a negative reaction ...but then, like you, I'm dependent on my ISP's filtering and its far from perfect so I'm open to anything that helps ...question is of course, does this really help or hinder in the long run? William Hindman ----- Original Message ----- From: "jwcolby" To: "'Access Developers discussion and problem solving'" Sent: Friday, August 10, 2007 10:24 AM Subject: Re: [AccessD] OT Friday: Comodo AntiSpam > Gustav, > > As soon as I pick you up on the control panel I "allow" your email so in > fact you do not have to respond. Your email as well as every one else on > the list that has popped up so far is now coming right through because I > manually "allowed" you to. Either way, you respond or I allow, it only > has > to be done one time and then it works just fine. > > I have not had time yet to evaluate the full impact, but I am a small > company, with a small number of regular correspondents (with the exception > of this list). > > I can appreciate the "challenge / response sucks" mentality but I don't > have > a mail server under my control. I use the pop server that comes with my > web > site. This works at the client level and so I am trying it. > > My apologies for any inconvenience. > > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock > Sent: Friday, August 10, 2007 10:06 AM > To: accessd at databaseadvisors.com > Subject: [AccessD] OT Friday: Comodo AntiSpam > > Hi JC et al > > JC has sent this out, so now you cannot get to him directly. Aside the > good > intentions behind doing so, this will cause a lot of trouble, and I don't > say too much if I - as a general warning - mention that the consensus > between system people is, that as tempting these challenge-response system > my seem, they represent a bad idea because the negative impact outweighs > the > positive. > > If you or your client run a mail server, I can strongly recommend > SpamBunker: > > http://www.aimconsulting.ch/Spambunker/sbk-strategy.asp > > which is not free but cheap, and is superior to the common mail filtering > systems. Thus, it requires no "learning", no maintenance, it works from > the > minute it is installed, and it handles massive amount of spam and/or mail > even on modest hardware. We operate it here where we went from about 4000 > spam mails per day to a handful per week after we had been under a week > long > attack with constantly 20 connections and more than 16000 connections per > day. > > As a result we now promote this to our clients with serious spam troubles. > > /gustav > > --- >>>> 10-08-2007 13:58 >>> > Hi, it's jwcolby. > I finally decided I'd had enough of junk mail, and installed a fantastic > application that gets rid of it all. > Unfortunately, you are not yet in my trusted senders list!! The only way > I'll get your emails is if you follow the steps outlined below: > > Here's all you have to do: > > 1. Press Reply > 2. In the body of the reply, type in my AntiSpam Passcode contained in the > graphical attachment. > 3. Press Send > > When I receive this reply, I will know that it was really you that sent me > the email and not a computerized spammer. I will then be able to receive > all > your mail. This authentication will be done only once. > > Thank you & have a great day, > jwcolby > > ---------------------------------------------------------------------------- > -------------------- > You are receiving this messages in response to your email to > jwcolby at colbyconsulting.com, a Comodo AntiSpam user. > Our Passcode Authentication Technology requires senders to verify > themselves > before their mail is delivered. You will only need to do this once. > > > Comodo AntiSpam is completely free. Experience a 100% spam free inbox for > yourself by visiting www.comodo.com > > X-Comodo-AntiSpamRFA (jwcolby at 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 actebs at actebs.com.au Fri Aug 10 09:40:14 2007 From: actebs at actebs.com.au (ACTEBS) Date: Sat, 11 Aug 2007 00:40:14 +1000 Subject: [AccessD] OT Friday: Comodo AntiSpam In-Reply-To: Message-ID: <005001c7db5c$5cb41b50$0d08a8c0@carltonone.local> Hey Guys, Don't mean to be difficult, but this is the best Firewall/Spam/Proxy/Anti-Virus etc server software available I feel: www.efw.it Best part it's free and released under GPL. Works on old hardware and protects your network from all the various nasties. The biggest bonus is it speeds up your internet connection immeasurably and frees up your PC and/or server from having to run all that bloat ware like spam filters and the like. If you don't need as many features you can also try: www.ipcop.org I love the Open Source world, they are Gods! Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Saturday, 11 August 2007 12:06 AM To: accessd at databaseadvisors.com Subject: [AccessD] OT Friday: Comodo AntiSpam Hi JC et al JC has sent this out, so now you cannot get to him directly. Aside the good intentions behind doing so, this will cause a lot of trouble, and I don't say too much if I - as a general warning - mention that the consensus between system people is, that as tempting these challenge-response system my seem, they represent a bad idea because the negative impact outweighs the positive. If you or your client run a mail server, I can strongly recommend SpamBunker: http://www.aimconsulting.ch/Spambunker/sbk-strategy.asp which is not free but cheap, and is superior to the common mail filtering systems. Thus, it requires no "learning", no maintenance, it works from the minute it is installed, and it handles massive amount of spam and/or mail even on modest hardware. We operate it here where we went from about 4000 spam mails per day to a handful per week after we had been under a week long attack with constantly 20 connections and more than 16000 connections per day. As a result we now promote this to our clients with serious spam troubles. /gustav --- >>> 10-08-2007 13:58 >>> Hi, it's jwcolby. I finally decided I'd had enough of junk mail, and installed a fantastic application that gets rid of it all. Unfortunately, you are not yet in my trusted senders list!! The only way I'll get your emails is if you follow the steps outlined below: Here's all you have to do: 1. Press Reply 2. In the body of the reply, type in my AntiSpam Passcode contained in the graphical attachment. 3. Press Send When I receive this reply, I will know that it was really you that sent me the email and not a computerized spammer. I will then be able to receive all your mail. This authentication will be done only once. Thank you & have a great day, jwcolby ---------------------------------------------------------------------------- -------------------- You are receiving this messages in response to your email to jwcolby at colbyconsulting.com, a Comodo AntiSpam user. Our Passcode Authentication Technology requires senders to verify themselves before their mail is delivered. You will only need to do this once. Comodo AntiSpam is completely free. Experience a 100% spam free inbox for yourself by visiting www.comodo.com X-Comodo-AntiSpamRFA (jwcolby at colbyconsulting.com) -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at verizon.net Fri Aug 10 09:40:51 2007 From: jimdettman at verizon.net (Jim Dettman) Date: Fri, 10 Aug 2007 10:40:51 -0400 Subject: [AccessD] How to create a form with the VBA Extensibility Library In-Reply-To: <57144ced0708100508pad23879i3d76520183e149b4@mail.gmail.com> References: <57144ced0708100508pad23879i3d76520183e149b4@mail.gmail.com> Message-ID: <012f01c7db5c$73f3f330$8abea8c0@XPS> Philippe, You don't create it through the VBE, but through Access with the CreateForm() function and then set the forms HasModule property to True. Access will then add the class module to the VBA project. JimD. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of philippe pons Sent: Friday, August 10, 2007 8:09 AM To: accessd at databaseadvisors.com Subject: [AccessD] How to create a form with the VBA Extensibility Library Hi all, I just discovered the capabilities of this library that allows to programmaticaly control the VBE. I can now create a new class module with: Application.VBE.ActiveVBProject.VBComponents.Add (vbext_ct_ClassModule) or a standard module using the vbext_ct_StdModule constante. But I can't find how to create a new Form! There is a vbext_ct_MSForm constante, but it creates a UserForm, very similar to the ones used in Excel, not an Acces Form. Do you know if it is possible, and how to do that? TIA, Philippe -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Fri Aug 10 09:46:51 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 10 Aug 2007 16:46:51 +0200 Subject: [AccessD] OT Friday: Comodo AntiSpam Message-ID: Thanks John It is right that your options are limited when using a hosted mail server. However, most hosts provide basic spamfilters if you prefer so - did you check that out? Further, if you have a fixed IP address I can recommend running your own mail server. One of the very best, hMailServer, is free and open-source and runs on Windows: http://www.hmailserver.com/ Support from the forum and the developer is excellent, and setup is piece of cake if you know just a little about the Internet mail mechanics. /gustav >>> jwcolby at colbyconsulting.com 10-08-2007 16:24 >>> Gustav, As soon as I pick you up on the control panel I "allow" your email so in fact you do not have to respond. Your email as well as every one else on the list that has popped up so far is now coming right through because I manually "allowed" you to. Either way, you respond or I allow, it only has to be done one time and then it works just fine. I have not had time yet to evaluate the full impact, but I am a small company, with a small number of regular correspondents (with the exception of this list). I can appreciate the "challenge / response sucks" mentality but I don't have a mail server under my control. I use the pop server that comes with my web site. This works at the client level and so I am trying it. My apologies for any inconvenience. John W. Colby Colby Consulting www.ColbyConsulting.com From cfoust at infostatsystems.com Fri Aug 10 09:55:31 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 10 Aug 2007 07:55:31 -0700 Subject: [AccessD] How to create a form with the VBA ExtensibilityLibrary In-Reply-To: <20070810132557.3DCAEBF8F@smtp-auth.no-ip.com> References: <57144ced0708100508pad23879i3d76520183e149b4@mail.gmail.com> <20070810132557.3DCAEBF8F@smtp-auth.no-ip.com> Message-ID: John, I used to do a lot of code building in code in Access 97. I can probably dig some old code out for you if you're interested. Inheriting from a class is a better approach for the latest versions. Charlotte -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Friday, August 10, 2007 6:26 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] How to create a form with the VBA ExtensibilityLibrary How did you SAVE the module once created? John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of philippe pons Sent: Friday, August 10, 2007 8:09 AM To: accessd at databaseadvisors.com Subject: [AccessD] How to create a form with the VBA Extensibility Library Hi all, I just discovered the capabilities of this library that allows to programmaticaly control the VBE. I can now create a new class module with: Application.VBE.ActiveVBProject.VBComponents.Add (vbext_ct_ClassModule) or a standard module using the vbext_ct_StdModule constante. But I can't find how to create a new Form! There is a vbext_ct_MSForm constante, but it creates a UserForm, very similar to the ones used in Excel, not an Acces Form. Do you know if it is possible, and how to do that? TIA, Philippe -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Fri Aug 10 10:00:40 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 10 Aug 2007 08:00:40 -0700 Subject: [AccessD] OT: Secret Password Message-ID: OK, it's finally Friday, even in Central California! When Dian and I met in San Luis Obispo, we wanted to be able to recognize one another or at least find each other. Dian came up with a brilliant suggestion for a name to use at Appleby's when we met. Any guesses? Charlotte From mmattys at rochester.rr.com Fri Aug 10 10:16:55 2007 From: mmattys at rochester.rr.com (Michael R Mattys) Date: Fri, 10 Aug 2007 11:16:55 -0400 Subject: [AccessD] OT: Secret Password References: Message-ID: <007501c7db61$7db6a160$0202a8c0@Laptop> Hmm ... How 'bout "Primary Key Debating Team" Michael R. Mattys MapPoint & Access Dev www.mattysconsulting.com ----- Original Message ----- From: "Charlotte Foust" To: Sent: Friday, August 10, 2007 11:00 AM Subject: [AccessD] OT: Secret Password > OK, it's finally Friday, even in Central California! When Dian and I > met in San Luis Obispo, we wanted to be able to recognize one another or > at least find each other. Dian came up with a brilliant suggestion for > a name to use at Appleby's when we met. Any guesses? > > Charlotte > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Fri Aug 10 10:22:19 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 10 Aug 2007 08:22:19 -0700 Subject: [AccessD] OT: Secret Password In-Reply-To: <007501c7db61$7db6a160$0202a8c0@Laptop> References: <007501c7db61$7db6a160$0202a8c0@Laptop> Message-ID: ROTFL Now why didn't WE think of that?? Charlotte -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Michael R Mattys Sent: Friday, August 10, 2007 8:17 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Secret Password Hmm ... How 'bout "Primary Key Debating Team" Michael R. Mattys MapPoint & Access Dev www.mattysconsulting.com ----- Original Message ----- From: "Charlotte Foust" To: Sent: Friday, August 10, 2007 11:00 AM Subject: [AccessD] OT: Secret Password > OK, it's finally Friday, even in Central California! When Dian and I > met in San Luis Obispo, we wanted to be able to recognize one another or > at least find each other. Dian came up with a brilliant suggestion for > a name to use at Appleby's when we met. Any guesses? > > Charlotte > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Fri Aug 10 10:28:56 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Fri, 10 Aug 2007 08:28:56 -0700 Subject: [AccessD] A2007 from Dell(!) In-Reply-To: <200708101305.l7AD5qLf009931@databaseadvisors.com> Message-ID: <002401c7db63$2ab2e1c0$0301a8c0@HAL9005> How long does your 'reinstall' take when you switch? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Robert L. Stewart Sent: Friday, August 10, 2007 6:01 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] A2007 from Dell(!) Rocky, I have 97, 2000, 2002 2003, and 2007 installed on the same computer. I have no problems with it except for the "installing" process when I switch between versions. FYI, I have also had a client that I had to convert to 2007 accdb format because the 2003 mdb kept corrupting. Robert At 07:44 PM 8/9/2007, you wrote: >Date: Thu, 9 Aug 2007 17:22:59 -0700 >From: "Rocky Smolin at Beach Access Software" >Subject: [AccessD] A2007 from Dell(!) >To: "'Access Developers discussion and problem solving'" > >Message-ID: <00e901c7dae4$9b9b66c0$0301a8c0 at HAL9005> >Content-Type: text/plain; charset="us-ascii" > >The A2007 upgrade is available for DELL(! who knew) for $99. Does it >play well with )2003 on the same box? Will it replace A2003 or will it >let you install A2007 and leave your A2003 alone? > >TIA > >Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.11/944 - Release Date: 8/9/2007 2:44 PM From phpons at gmail.com Fri Aug 10 10:30:20 2007 From: phpons at gmail.com (philippe pons) Date: Fri, 10 Aug 2007 17:30:20 +0200 Subject: [AccessD] How to create a form with the VBA ExtensibilityLibrary In-Reply-To: References: <57144ced0708100508pad23879i3d76520183e149b4@mail.gmail.com> <20070810132557.3DCAEBF8F@smtp-auth.no-ip.com> Message-ID: <57144ced0708100830p36b1ab5di5f1b779cf5ccc35@mail.gmail.com> Jim, CreateForm does not seem to be useful for me, as I want to make a simple copy ofa template form. However, I just found that: DoCmd.CopyObject, "frmNew", acForm, "frmTemplate" do the job I want. Thanks again, Philippe 2007/8/10, Charlotte Foust : > > John, > > I used to do a lot of code building in code in Access 97. I can > probably dig some old code out for you if you're interested. Inheriting > from a class is a better approach for the latest versions. > > Charlotte > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Friday, August 10, 2007 6:26 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] How to create a form with the VBA > ExtensibilityLibrary > > How did you SAVE the module once created? > > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of philippe pons > Sent: Friday, August 10, 2007 8:09 AM > To: accessd at databaseadvisors.com > Subject: [AccessD] How to create a form with the VBA Extensibility > Library > > Hi all, > > I just discovered the capabilities of this library that allows to > programmaticaly control the VBE. > I can now create a new class module with: > Application.VBE.ActiveVBProject.VBComponents.Add (vbext_ct_ClassModule) > > or a standard module using the vbext_ct_StdModule constante. > > But I can't find how to create a new Form! > There is a vbext_ct_MSForm constante, but it creates a UserForm, very > similar to the ones used in Excel, not an Acces Form. > > Do you know if it is possible, and how to do that? > > TIA, > > Philippe > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From cfoust at infostatsystems.com Fri Aug 10 11:26:42 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 10 Aug 2007 09:26:42 -0700 Subject: [AccessD] OT: Secret Password In-Reply-To: <007501c7db61$7db6a160$0202a8c0@Laptop> References: <007501c7db61$7db6a160$0202a8c0@Laptop> Message-ID: Oh, come on! Is that the only guess? Maybe we'll have to drag it out until next Friday .... Charlotte -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Michael R Mattys Sent: Friday, August 10, 2007 8:17 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Secret Password Hmm ... How 'bout "Primary Key Debating Team" Michael R. Mattys MapPoint & Access Dev www.mattysconsulting.com ----- Original Message ----- From: "Charlotte Foust" To: Sent: Friday, August 10, 2007 11:00 AM Subject: [AccessD] OT: Secret Password > OK, it's finally Friday, even in Central California! When Dian and I > met in San Luis Obispo, we wanted to be able to recognize one another or > at least find each other. Dian came up with a brilliant suggestion for > a name to use at Appleby's when we met. Any guesses? > > Charlotte > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mikedorism at verizon.net Fri Aug 10 11:52:32 2007 From: mikedorism at verizon.net (Doris Manning) Date: Fri, 10 Aug 2007 12:52:32 -0400 Subject: [AccessD] OT: Secret Password In-Reply-To: References: <007501c7db61$7db6a160$0202a8c0@Laptop> Message-ID: <000001c7db6e$d94742c0$2f01a8c0@Kermit> AccessD? Doris Manning Database Administrator Hargrove Inc. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, August 10, 2007 12:27 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Secret Password Oh, come on! Is that the only guess? Maybe we'll have to drag it out until next Friday .... Charlotte -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Michael R Mattys Sent: Friday, August 10, 2007 8:17 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Secret Password Hmm ... How 'bout "Primary Key Debating Team" Michael R. Mattys MapPoint & Access Dev www.mattysconsulting.com ----- Original Message ----- From: "Charlotte Foust" To: Sent: Friday, August 10, 2007 11:00 AM Subject: [AccessD] OT: Secret Password > OK, it's finally Friday, even in Central California! When Dian and I > met in San Luis Obispo, we wanted to be able to recognize one another or > at least find each other. Dian came up with a brilliant suggestion for > a name to use at Appleby's when we met. Any guesses? > > Charlotte > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Fri Aug 10 11:54:47 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 10 Aug 2007 09:54:47 -0700 Subject: [AccessD] OT: Secret Password In-Reply-To: <000001c7db6e$d94742c0$2f01a8c0@Kermit> References: <007501c7db61$7db6a160$0202a8c0@Laptop> <000001c7db6e$d94742c0$2f01a8c0@Kermit> Message-ID: Nope! -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doris Manning Sent: Friday, August 10, 2007 9:53 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Secret Password AccessD? Doris Manning Database Administrator Hargrove Inc. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, August 10, 2007 12:27 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Secret Password Oh, come on! Is that the only guess? Maybe we'll have to drag it out until next Friday .... Charlotte -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Michael R Mattys Sent: Friday, August 10, 2007 8:17 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Secret Password Hmm ... How 'bout "Primary Key Debating Team" Michael R. Mattys MapPoint & Access Dev www.mattysconsulting.com ----- Original Message ----- From: "Charlotte Foust" To: Sent: Friday, August 10, 2007 11:00 AM Subject: [AccessD] OT: Secret Password > OK, it's finally Friday, even in Central California! When Dian and I > met in San Luis Obispo, we wanted to be able to recognize one another or > at least find each other. Dian came up with a brilliant suggestion for > a name to use at Appleby's when we met. Any guesses? > > Charlotte > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From fuller.artful at gmail.com Fri Aug 10 11:57:15 2007 From: fuller.artful at gmail.com (Arthur Fuller) Date: Fri, 10 Aug 2007 12:57:15 -0400 Subject: [AccessD] OT: Secret Password In-Reply-To: <000001c7db6e$d94742c0$2f01a8c0@Kermit> References: <007501c7db61$7db6a160$0202a8c0@Laptop> <000001c7db6e$d94742c0$2f01a8c0@Kermit> Message-ID: <29f585dd0708100957w3dcf75cauf212ed35d364ff24@mail.gmail.com> Colby? On 8/10/07, Doris Manning wrote: > > AccessD? > > Doris Manning > Database Administrator > Hargrove Inc. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust > Sent: Friday, August 10, 2007 12:27 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] OT: Secret Password > > Oh, come on! Is that the only guess? Maybe we'll have to drag it out > until next Friday .... > > Charlotte > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Michael R > Mattys > Sent: Friday, August 10, 2007 8:17 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] OT: Secret Password > > Hmm ... How 'bout "Primary Key Debating Team" > > Michael R. Mattys > MapPoint & Access Dev > www.mattysconsulting.com > > ----- Original Message ----- > From: "Charlotte Foust" > To: > Sent: Friday, August 10, 2007 11:00 AM > Subject: [AccessD] OT: Secret Password > > > > OK, it's finally Friday, even in Central California! When Dian and I > > met in San Luis Obispo, we wanted to be able to recognize one another > or > > at least find each other. Dian came up with a brilliant suggestion > for > > a name to use at Appleby's when we met. Any guesses? > > > > Charlotte > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From dw-murphy at cox.net Fri Aug 10 11:59:20 2007 From: dw-murphy at cox.net (Doug Murphy) Date: Fri, 10 Aug 2007 09:59:20 -0700 Subject: [AccessD] A2007 from Dell(!) In-Reply-To: <002401c7db63$2ab2e1c0$0301a8c0@HAL9005> Message-ID: <002c01c7db6f$cb5b4e80$0200a8c0@murphy3234aaf1> For a developer I would recommend using virtual machines as William suggested. That is the way I work with Office 2007. I have played a little with Virtual PC 2003 and VM ware. From my limited experience VM Ware seems to be the way to go even though you have to pay for it. For a product I'd go with a run time with it's own installer built around Sagekey scripts. Their new scripts get rid of the reinstall problem with Access 2007. For what its worth. Doug -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Friday, August 10, 2007 8:29 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] A2007 from Dell(!) How long does your 'reinstall' take when you switch? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Robert L. Stewart Sent: Friday, August 10, 2007 6:01 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] A2007 from Dell(!) Rocky, I have 97, 2000, 2002 2003, and 2007 installed on the same computer. I have no problems with it except for the "installing" process when I switch between versions. FYI, I have also had a client that I had to convert to 2007 accdb format because the 2003 mdb kept corrupting. Robert At 07:44 PM 8/9/2007, you wrote: >Date: Thu, 9 Aug 2007 17:22:59 -0700 >From: "Rocky Smolin at Beach Access Software" >Subject: [AccessD] A2007 from Dell(!) >To: "'Access Developers discussion and problem solving'" > >Message-ID: <00e901c7dae4$9b9b66c0$0301a8c0 at HAL9005> >Content-Type: text/plain; charset="us-ascii" > >The A2007 upgrade is available for DELL(! who knew) for $99. Does it >play well with )2003 on the same box? Will it replace A2003 or will it >let you install A2007 and leave your A2003 alone? > >TIA > >Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.11/944 - Release Date: 8/9/2007 2:44 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Fri Aug 10 12:02:25 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 10 Aug 2007 10:02:25 -0700 Subject: [AccessD] OT: Secret Password In-Reply-To: <29f585dd0708100957w3dcf75cauf212ed35d364ff24@mail.gmail.com> References: <007501c7db61$7db6a160$0202a8c0@Laptop><000001c7db6e$d94742c0$2f01a8c0@Kermit> <29f585dd0708100957w3dcf75cauf212ed35d364ff24@mail.gmail.com> Message-ID: WooHoo! Colby it is! How does it feel to be a secret password, JC?? LOL Charlotte -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Friday, August 10, 2007 9:57 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Secret Password Colby? On 8/10/07, Doris Manning wrote: > > AccessD? > > Doris Manning > Database Administrator > Hargrove Inc. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte > Foust > Sent: Friday, August 10, 2007 12:27 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] OT: Secret Password > > Oh, come on! Is that the only guess? Maybe we'll have to drag it out > until next Friday .... > > Charlotte > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Michael R > Mattys > Sent: Friday, August 10, 2007 8:17 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] OT: Secret Password > > Hmm ... How 'bout "Primary Key Debating Team" > > Michael R. Mattys > MapPoint & Access Dev > www.mattysconsulting.com > > ----- Original Message ----- > From: "Charlotte Foust" > To: > Sent: Friday, August 10, 2007 11:00 AM > Subject: [AccessD] OT: Secret Password > > > > OK, it's finally Friday, even in Central California! When Dian and > > I met in San Luis Obispo, we wanted to be able to recognize one > > another > or > > at least find each other. Dian came up with a brilliant suggestion > for > > a name to use at Appleby's when we met. Any guesses? > > > > Charlotte > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From markamatte at hotmail.com Fri Aug 10 12:05:06 2007 From: markamatte at hotmail.com (Mark A Matte) Date: Fri, 10 Aug 2007 17:05:06 +0000 Subject: [AccessD] OT: Secret Password Message-ID: Colby Nemesis Johns Thorn Unbound Queens >From: "Charlotte Foust" >Reply-To: Access Developers discussion and problem >solving >To: "Access Developers discussion and problem >solving" >Subject: Re: [AccessD] OT: Secret Password >Date: Fri, 10 Aug 2007 09:54:47 -0700 > >Nope! > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doris Manning >Sent: Friday, August 10, 2007 9:53 AM >To: 'Access Developers discussion and problem solving' >Subject: Re: [AccessD] OT: Secret Password > >AccessD? > >Doris Manning >Database Administrator >Hargrove Inc. > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte >Foust >Sent: Friday, August 10, 2007 12:27 PM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] OT: Secret Password > >Oh, come on! Is that the only guess? Maybe we'll have to drag it out >until next Friday .... > >Charlotte > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Michael R >Mattys >Sent: Friday, August 10, 2007 8:17 AM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] OT: Secret Password > >Hmm ... How 'bout "Primary Key Debating Team" > >Michael R. Mattys >MapPoint & Access Dev >www.mattysconsulting.com > >----- Original Message ----- >From: "Charlotte Foust" >To: >Sent: Friday, August 10, 2007 11:00 AM >Subject: [AccessD] OT: Secret Password > > > > OK, it's finally Friday, even in Central California! When Dian and I > > met in San Luis Obispo, we wanted to be able to recognize one another >or > > at least find each other. Dian came up with a brilliant suggestion >for > > a name to use at Appleby's when we met. Any guesses? > > > > Charlotte > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Find a local pizza place, movie theater, and more?.then map the best route! http://maps.live.com/default.aspx?v=2&ss=yp.bars~yp.pizza~yp.movie%20theater&cp=42.358996~-71.056691&style=r&lvl=13&tilt=-90&dir=0&alt=-1000&scene=950607&encType=1&FORM=MGAC01 From robert at webedb.com Fri Aug 10 12:08:37 2007 From: robert at webedb.com (Robert L. Stewart) Date: Fri, 10 Aug 2007 12:08:37 -0500 Subject: [AccessD] A2007 from Dell(!) In-Reply-To: References: Message-ID: <200708101710.l7AHAl22004153@databaseadvisors.com> Like someone else mentioned, it varies with the version. Longer with 2007. At 12:00 PM 8/10/2007, you wrote: >Date: Fri, 10 Aug 2007 08:28:56 -0700 >From: "Rocky Smolin at Beach Access Software" >Subject: Re: [AccessD] A2007 from Dell(!) >To: "'Access Developers discussion and problem solving'" > >Message-ID: <002401c7db63$2ab2e1c0$0301a8c0 at HAL9005> >Content-Type: text/plain; charset="us-ascii" > >How long does your 'reinstall' take when you switch? > >Rocky From eric.starkenburg at home.nl Fri Aug 10 12:11:12 2007 From: eric.starkenburg at home.nl (Eric Starkenburg) Date: Fri, 10 Aug 2007 19:11:12 +0200 Subject: [AccessD] OT: Secret Password In-Reply-To: <29f585dd0708100957w3dcf75cauf212ed35d364ff24@mail.gmail.com> References: <007501c7db61$7db6a160$0202a8c0@Laptop><000001c7db6e$d94742c0$2f01a8c0@Kermit> <29f585dd0708100957w3dcf75cauf212ed35d364ff24@mail.gmail.com> Message-ID: <000601c7db71$73b1fba0$0201a8c0@PC2M> Macintosh? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Friday, August 10, 2007 6:57 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Secret Password Colby? On 8/10/07, Doris Manning wrote: > > AccessD? > > Doris Manning > Database Administrator > Hargrove Inc. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust > Sent: Friday, August 10, 2007 12:27 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] OT: Secret Password > > Oh, come on! Is that the only guess? Maybe we'll have to drag it out > until next Friday .... > > Charlotte > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Michael R > Mattys > Sent: Friday, August 10, 2007 8:17 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] OT: Secret Password > > Hmm ... How 'bout "Primary Key Debating Team" > > Michael R. Mattys > MapPoint & Access Dev > www.mattysconsulting.com > > ----- Original Message ----- > From: "Charlotte Foust" > To: > Sent: Friday, August 10, 2007 11:00 AM > Subject: [AccessD] OT: Secret Password > > > > OK, it's finally Friday, even in Central California! When Dian and I > > met in San Luis Obispo, we wanted to be able to recognize one another > or > > at least find each other. Dian came up with a brilliant suggestion > for > > a name to use at Appleby's when we met. Any guesses? > > > > Charlotte > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Fri Aug 10 12:13:26 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 10 Aug 2007 10:13:26 -0700 Subject: [AccessD] OT: Secret Password In-Reply-To: <000601c7db71$73b1fba0$0201a8c0@PC2M> References: <007501c7db61$7db6a160$0202a8c0@Laptop><000001c7db6e$d94742c0$2f01a8c0@Kermit><29f585dd0708100957w3dcf75cauf212ed35d364ff24@mail.gmail.com> <000601c7db71$73b1fba0$0201a8c0@PC2M> Message-ID: That's NOT funny!! Charlotte -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Eric Starkenburg Sent: Friday, August 10, 2007 10:11 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Secret Password Macintosh? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Friday, August 10, 2007 6:57 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Secret Password Colby? On 8/10/07, Doris Manning wrote: > > AccessD? > > Doris Manning > Database Administrator > Hargrove Inc. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte > Foust > Sent: Friday, August 10, 2007 12:27 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] OT: Secret Password > > Oh, come on! Is that the only guess? Maybe we'll have to drag it out > until next Friday .... > > Charlotte > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Michael R > Mattys > Sent: Friday, August 10, 2007 8:17 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] OT: Secret Password > > Hmm ... How 'bout "Primary Key Debating Team" > > Michael R. Mattys > MapPoint & Access Dev > www.mattysconsulting.com > > ----- Original Message ----- > From: "Charlotte Foust" > To: > Sent: Friday, August 10, 2007 11:00 AM > Subject: [AccessD] OT: Secret Password > > > > OK, it's finally Friday, even in Central California! When Dian and > > I met in San Luis Obispo, we wanted to be able to recognize one > > another > or > > at least find each other. Dian came up with a brilliant suggestion > for > > a name to use at Appleby's when we met. Any guesses? > > > > Charlotte > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Lambert.Heenan at AIG.com Fri Aug 10 12:20:20 2007 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Fri, 10 Aug 2007 13:20:20 -0400 Subject: [AccessD] OT Friday: Comodo AntiSpam Message-ID: <34C8A2AB1EF3564CB0D64DB6AFFDD5C208ED6DE1@XLIVMBX35bkup.aig.com> I get my (home) mail from a POP3 server too, and while my ISP does offer some Spam filtering, it's not up to much. *However* I long ago set up my Gmail account to go retrieve my POP3 mail for me. I get to see all my mail in one place, and Gmail's SPAM filter works a treat. If you need to you can also set up your mail client to retrieve your mail from your Gmail inbox via POP and have the best of both worlds. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Friday, August 10, 2007 10:25 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT Friday: Comodo AntiSpam Gustav, As soon as I pick you up on the control panel I "allow" your email so in fact you do not have to respond. Your email as well as every one else on the list that has popped up so far is now coming right through because I manually "allowed" you to. Either way, you respond or I allow, it only has to be done one time and then it works just fine. I have not had time yet to evaluate the full impact, but I am a small company, with a small number of regular correspondents (with the exception of this list). I can appreciate the "challenge / response sucks" mentality but I don't have a mail server under my control. I use the pop server that comes with my web site. This works at the client level and so I am trying it. My apologies for any inconvenience. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, August 10, 2007 10:06 AM To: accessd at databaseadvisors.com Subject: [AccessD] OT Friday: Comodo AntiSpam Hi JC et al JC has sent this out, so now you cannot get to him directly. Aside the good intentions behind doing so, this will cause a lot of trouble, and I don't say too much if I - as a general warning - mention that the consensus between system people is, that as tempting these challenge-response system my seem, they represent a bad idea because the negative impact outweighs the positive. If you or your client run a mail server, I can strongly recommend SpamBunker: http://www.aimconsulting.ch/Spambunker/sbk-strategy.asp which is not free but cheap, and is superior to the common mail filtering systems. Thus, it requires no "learning", no maintenance, it works from the minute it is installed, and it handles massive amount of spam and/or mail even on modest hardware. We operate it here where we went from about 4000 spam mails per day to a handful per week after we had been under a week long attack with constantly 20 connections and more than 16000 connections per day. As a result we now promote this to our clients with serious spam troubles. /gustav --- >>> 10-08-2007 13:58 >>> Hi, it's jwcolby. I finally decided I'd had enough of junk mail, and installed a fantastic application that gets rid of it all. Unfortunately, you are not yet in my trusted senders list!! The only way I'll get your emails is if you follow the steps outlined below: Here's all you have to do: 1. Press Reply 2. In the body of the reply, type in my AntiSpam Passcode contained in the graphical attachment. 3. Press Send When I receive this reply, I will know that it was really you that sent me the email and not a computerized spammer. I will then be able to receive all your mail. This authentication will be done only once. Thank you & have a great day, jwcolby ---------------------------------------------------------------------------- -------------------- You are receiving this messages in response to your email to jwcolby at colbyconsulting.com, a Comodo AntiSpam user. Our Passcode Authentication Technology requires senders to verify themselves before their mail is delivered. You will only need to do this once. Comodo AntiSpam is completely free. Experience a 100% spam free inbox for yourself by visiting www.comodo.com X-Comodo-AntiSpamRFA (jwcolby at 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 eric.starkenburg at home.nl Fri Aug 10 12:22:46 2007 From: eric.starkenburg at home.nl (Eric Starkenburg) Date: Fri, 10 Aug 2007 19:22:46 +0200 Subject: [AccessD] OT: Secret Password In-Reply-To: References: <007501c7db61$7db6a160$0202a8c0@Laptop><000001c7db6e$d94742c0$2f01a8c0@Kermit><29f585dd0708100957w3dcf75cauf212ed35d364ff24@mail.gmail.com><000601c7db71$73b1fba0$0201a8c0@PC2M> Message-ID: <001601c7db73$11d14d80$0201a8c0@PC2M> :P -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, August 10, 2007 7:13 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Secret Password That's NOT funny!! Charlotte -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Eric Starkenburg Sent: Friday, August 10, 2007 10:11 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Secret Password Macintosh? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Friday, August 10, 2007 6:57 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Secret Password Colby? On 8/10/07, Doris Manning wrote: > > AccessD? > > Doris Manning > Database Administrator > Hargrove Inc. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte > Foust > Sent: Friday, August 10, 2007 12:27 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] OT: Secret Password > > Oh, come on! Is that the only guess? Maybe we'll have to drag it out > until next Friday .... > > Charlotte > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Michael R > Mattys > Sent: Friday, August 10, 2007 8:17 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] OT: Secret Password > > Hmm ... How 'bout "Primary Key Debating Team" > > Michael R. Mattys > MapPoint & Access Dev > www.mattysconsulting.com > > ----- Original Message ----- > From: "Charlotte Foust" > To: > Sent: Friday, August 10, 2007 11:00 AM > Subject: [AccessD] OT: Secret Password > > > > OK, it's finally Friday, even in Central California! When Dian and > > I met in San Luis Obispo, we wanted to be able to recognize one > > another > or > > at least find each other. Dian came up with a brilliant suggestion > for > > a name to use at Appleby's when we met. Any guesses? > > > > Charlotte > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 10 12:41:07 2007 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 10 Aug 2007 10:41:07 -0700 Subject: [AccessD] OT Friday: Comodo AntiSpam In-Reply-To: Message-ID: <0JMK00BG1JL8L350@l-daemon> Gustav: Another possibility is to use an old 'beater' box and run a Linux solution on it... Like: http://www.mailscanner.info/. It would use the same configuration that is recommended with the 'Spambunker' solution. Even with an appropriate contribution it can also be very inexpensive. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, August 10, 2007 7:06 AM To: accessd at databaseadvisors.com Subject: [AccessD] OT Friday: Comodo AntiSpam Hi JC et al JC has sent this out, so now you cannot get to him directly. Aside the good intentions behind doing so, this will cause a lot of trouble, and I don't say too much if I - as a general warning - mention that the consensus between system people is, that as tempting these challenge-response system my seem, they represent a bad idea because the negative impact outweighs the positive. If you or your client run a mail server, I can strongly recommend SpamBunker: http://www.aimconsulting.ch/Spambunker/sbk-strategy.asp which is not free but cheap, and is superior to the common mail filtering systems. Thus, it requires no "learning", no maintenance, it works from the minute it is installed, and it handles massive amount of spam and/or mail even on modest hardware. We operate it here where we went from about 4000 spam mails per day to a handful per week after we had been under a week long attack with constantly 20 connections and more than 16000 connections per day. As a result we now promote this to our clients with serious spam troubles. /gustav --- >>> 10-08-2007 13:58 >>> Hi, it's jwcolby. I finally decided I'd had enough of junk mail, and installed a fantastic application that gets rid of it all. Unfortunately, you are not yet in my trusted senders list!! The only way I'll get your emails is if you follow the steps outlined below: Here's all you have to do: 1. Press Reply 2. In the body of the reply, type in my AntiSpam Passcode contained in the graphical attachment. 3. Press Send When I receive this reply, I will know that it was really you that sent me the email and not a computerized spammer. I will then be able to receive all your mail. This authentication will be done only once. Thank you & have a great day, jwcolby ---------------------------------------------------------------------------- -------------------- You are receiving this messages in response to your email to jwcolby at colbyconsulting.com, a Comodo AntiSpam user. Our Passcode Authentication Technology requires senders to verify themselves before their mail is delivered. You will only need to do this once. Comodo AntiSpam is completely free. Experience a 100% spam free inbox for yourself by visiting www.comodo.com X-Comodo-AntiSpamRFA (jwcolby at colbyconsulting.com) -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From fuller.artful at gmail.com Fri Aug 10 12:50:53 2007 From: fuller.artful at gmail.com (Arthur Fuller) Date: Fri, 10 Aug 2007 13:50:53 -0400 Subject: [AccessD] OT: Secret Password In-Reply-To: References: <007501c7db61$7db6a160$0202a8c0@Laptop> <000001c7db6e$d94742c0$2f01a8c0@Kermit> <29f585dd0708100957w3dcf75cauf212ed35d364ff24@mail.gmail.com> Message-ID: <29f585dd0708101050h10294e3cp97344fb6f18e32b5@mail.gmail.com> It's a gift. I am exceptional at cracking passwords. LOL. On 8/10/07, Charlotte Foust wrote: > > WooHoo! Colby it is! How does it feel to be a secret password, JC?? > LOL > > Charlotte > From nd500_lo at charter.net Fri Aug 10 12:58:20 2007 From: nd500_lo at charter.net (Dian) Date: Fri, 10 Aug 2007 10:58:20 -0700 Subject: [AccessD] OT: Secret Password In-Reply-To: References: <007501c7db61$7db6a160$0202a8c0@Laptop> Message-ID: <000f01c7db78$09c878c0$6400a8c0@dsunit1> Actually, Charlotte...it is "warmer"... -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, August 10, 2007 8:22 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Secret Password ROTFL Now why didn't WE think of that?? Charlotte -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Michael R Mattys Sent: Friday, August 10, 2007 8:17 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Secret Password Hmm ... How 'bout "Primary Key Debating Team" Michael R. Mattys MapPoint & Access Dev www.mattysconsulting.com ----- Original Message ----- From: "Charlotte Foust" To: Sent: Friday, August 10, 2007 11:00 AM Subject: [AccessD] OT: Secret Password > OK, it's finally Friday, even in Central California! When Dian and I > met in San Luis Obispo, we wanted to be able to recognize one another or > at least find each other. Dian came up with a brilliant suggestion for > a name to use at Appleby's when we met. Any guesses? > > Charlotte > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From nd500_lo at charter.net Fri Aug 10 12:59:24 2007 From: nd500_lo at charter.net (Dian) Date: Fri, 10 Aug 2007 10:59:24 -0700 Subject: [AccessD] OT: Secret Password In-Reply-To: References: <007501c7db61$7db6a160$0202a8c0@Laptop><000001c7db6e$d94742c0$2f01a8c0@Kermit><29f585dd0708100957w3dcf75cauf212ed35d364ff24@mail.gmail.com> Message-ID: <001001c7db78$300ac880$6400a8c0@dsunit1> That's Arthur for ya! Congratulations! -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, August 10, 2007 10:02 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Secret Password WooHoo! Colby it is! How does it feel to be a secret password, JC?? LOL Charlotte -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Friday, August 10, 2007 9:57 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Secret Password Colby? On 8/10/07, Doris Manning wrote: > > AccessD? > > Doris Manning > Database Administrator > Hargrove Inc. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte > Foust > Sent: Friday, August 10, 2007 12:27 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] OT: Secret Password > > Oh, come on! Is that the only guess? Maybe we'll have to drag it out > until next Friday .... > > Charlotte > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Michael R > Mattys > Sent: Friday, August 10, 2007 8:17 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] OT: Secret Password > > Hmm ... How 'bout "Primary Key Debating Team" > > Michael R. Mattys > MapPoint & Access Dev > www.mattysconsulting.com > > ----- Original Message ----- > From: "Charlotte Foust" > To: > Sent: Friday, August 10, 2007 11:00 AM > Subject: [AccessD] OT: Secret Password > > > > OK, it's finally Friday, even in Central California! When Dian and > > I met in San Luis Obispo, we wanted to be able to recognize one > > another > or > > at least find each other. Dian came up with a brilliant suggestion > for > > a name to use at Appleby's when we met. Any guesses? > > > > Charlotte > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Fri Aug 10 13:12:14 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 10 Aug 2007 20:12:14 +0200 Subject: [AccessD] OT Friday: Comodo AntiSpam Message-ID: Hi Jim Well, not exactly. This is one of many setups using SpamAssassin which downloads _all_ mail including spam, reads and "learns" from it and maintains a large database. That process is CPU dependant which means it will choke under heavy load. That will not happen with SpamBunker which monitors the communication from the sending SMTP server and only downloads good mail. Thus, spam is not even downloaded, and it can easily with modest hardware keep more than 100 connections alive. Also, it causes _no_ "false positives" which frees you from one more boring task. For a small setup not under attack, SpamAssassin on a decent machine will do a fine job. /gustav >>> accessd at shaw.ca 10-08-2007 19:41 >>> Gustav: Another possibility is to use an old 'beater' box and run a Linux solution on it... Like: http://www.mailscanner.info/. It would use the same configuration that is recommended with the 'Spambunker' solution. Even with an appropriate contribution it can also be very inexpensive. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, August 10, 2007 7:06 AM To: accessd at databaseadvisors.com Subject: [AccessD] OT Friday: Comodo AntiSpam Hi JC et al JC has sent this out, so now you cannot get to him directly. Aside the good intentions behind doing so, this will cause a lot of trouble, and I don't say too much if I - as a general warning - mention that the consensus between system people is, that as tempting these challenge-response system my seem, they represent a bad idea because the negative impact outweighs the positive. If you or your client run a mail server, I can strongly recommend SpamBunker: http://www.aimconsulting.ch/Spambunker/sbk-strategy.asp which is not free but cheap, and is superior to the common mail filtering systems. Thus, it requires no "learning", no maintenance, it works from the minute it is installed, and it handles massive amount of spam and/or mail even on modest hardware. We operate it here where we went from about 4000 spam mails per day to a handful per week after we had been under a week long attack with constantly 20 connections and more than 16000 connections per day. As a result we now promote this to our clients with serious spam troubles. /gustav From accessd at shaw.ca Fri Aug 10 15:45:14 2007 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 10 Aug 2007 13:45:14 -0700 Subject: [AccessD] OT Friday: Comodo AntiSpam In-Reply-To: Message-ID: <0JMK003J3S43C180@l-daemon> Gustav; Very interesting....Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, August 10, 2007 11:12 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] OT Friday: Comodo AntiSpam Hi Jim Well, not exactly. This is one of many setups using SpamAssassin which downloads _all_ mail including spam, reads and "learns" from it and maintains a large database. That process is CPU dependant which means it will choke under heavy load. That will not happen with SpamBunker which monitors the communication from the sending SMTP server and only downloads good mail. Thus, spam is not even downloaded, and it can easily with modest hardware keep more than 100 connections alive. Also, it causes _no_ "false positives" which frees you from one more boring task. For a small setup not under attack, SpamAssassin on a decent machine will do a fine job. /gustav >>> accessd at shaw.ca 10-08-2007 19:41 >>> Gustav: Another possibility is to use an old 'beater' box and run a Linux solution on it... Like: http://www.mailscanner.info/. It would use the same configuration that is recommended with the 'Spambunker' solution. Even with an appropriate contribution it can also be very inexpensive. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, August 10, 2007 7:06 AM To: accessd at databaseadvisors.com Subject: [AccessD] OT Friday: Comodo AntiSpam Hi JC et al JC has sent this out, so now you cannot get to him directly. Aside the good intentions behind doing so, this will cause a lot of trouble, and I don't say too much if I - as a general warning - mention that the consensus between system people is, that as tempting these challenge-response system my seem, they represent a bad idea because the negative impact outweighs the positive. If you or your client run a mail server, I can strongly recommend SpamBunker: http://www.aimconsulting.ch/Spambunker/sbk-strategy.asp which is not free but cheap, and is superior to the common mail filtering systems. Thus, it requires no "learning", no maintenance, it works from the minute it is installed, and it handles massive amount of spam and/or mail even on modest hardware. We operate it here where we went from about 4000 spam mails per day to a handful per week after we had been under a week long attack with constantly 20 connections and more than 16000 connections per day. As a result we now promote this to our clients with serious spam troubles. /gustav -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Fri Aug 10 16:34:54 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 10 Aug 2007 17:34:54 -0400 Subject: [AccessD] OT: Secret Password In-Reply-To: Message-ID: <20070810213457.B03B2BD15@smtp-auth.no-ip.com> Old Fogies? John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, August 10, 2007 12:27 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Secret Password Oh, come on! Is that the only guess? Maybe we'll have to drag it out until next Friday .... Charlotte -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Michael R Mattys Sent: Friday, August 10, 2007 8:17 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Secret Password Hmm ... How 'bout "Primary Key Debating Team" Michael R. Mattys MapPoint & Access Dev www.mattysconsulting.com ----- Original Message ----- From: "Charlotte Foust" To: Sent: Friday, August 10, 2007 11:00 AM Subject: [AccessD] OT: Secret Password > OK, it's finally Friday, even in Central California! When Dian and I > met in San Luis Obispo, we wanted to be able to recognize one another or > at least find each other. Dian came up with a brilliant suggestion for > a name to use at Appleby's when we met. Any guesses? > > Charlotte > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Fri Aug 10 16:36:17 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 10 Aug 2007 17:36:17 -0400 Subject: [AccessD] OT: Secret Password In-Reply-To: Message-ID: <20070810213623.1FDE0BD2C@smtp-auth.no-ip.com> ROTFLMAO. I have always felt a bit like a secret password. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, August 10, 2007 1:02 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Secret Password WooHoo! Colby it is! How does it feel to be a secret password, JC?? LOL Charlotte -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Friday, August 10, 2007 9:57 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Secret Password Colby? On 8/10/07, Doris Manning wrote: > > AccessD? > > Doris Manning > Database Administrator > Hargrove Inc. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte > Foust > Sent: Friday, August 10, 2007 12:27 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] OT: Secret Password > > Oh, come on! Is that the only guess? Maybe we'll have to drag it out > until next Friday .... > > Charlotte > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Michael R > Mattys > Sent: Friday, August 10, 2007 8:17 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] OT: Secret Password > > Hmm ... How 'bout "Primary Key Debating Team" > > Michael R. Mattys > MapPoint & Access Dev > www.mattysconsulting.com > > ----- Original Message ----- > From: "Charlotte Foust" > To: > Sent: Friday, August 10, 2007 11:00 AM > Subject: [AccessD] OT: Secret Password > > > > OK, it's finally Friday, even in Central California! When Dian and > > I met in San Luis Obispo, we wanted to be able to recognize one > > another > or > > at least find each other. Dian came up with a brilliant suggestion > for > > a name to use at Appleby's when we met. Any guesses? > > > > Charlotte > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Fri Aug 10 16:36:38 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 10 Aug 2007 17:36:38 -0400 Subject: [AccessD] OT: Secret Password In-Reply-To: Message-ID: <20070810213647.7532ABCEA@smtp-auth.no-ip.com> ROTFL. Good ones all! John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Friday, August 10, 2007 1:05 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] OT: Secret Password Colby Nemesis Johns Thorn Unbound Queens >From: "Charlotte Foust" >Reply-To: Access Developers discussion and problem >solving >To: "Access Developers discussion and problem >solving" >Subject: Re: [AccessD] OT: Secret Password >Date: Fri, 10 Aug 2007 09:54:47 -0700 > >Nope! > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doris >Manning >Sent: Friday, August 10, 2007 9:53 AM >To: 'Access Developers discussion and problem solving' >Subject: Re: [AccessD] OT: Secret Password > >AccessD? > >Doris Manning >Database Administrator >Hargrove Inc. > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte >Foust >Sent: Friday, August 10, 2007 12:27 PM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] OT: Secret Password > >Oh, come on! Is that the only guess? Maybe we'll have to drag it out >until next Friday .... > >Charlotte > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Michael R >Mattys >Sent: Friday, August 10, 2007 8:17 AM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] OT: Secret Password > >Hmm ... How 'bout "Primary Key Debating Team" > >Michael R. Mattys >MapPoint & Access Dev >www.mattysconsulting.com > >----- Original Message ----- >From: "Charlotte Foust" >To: >Sent: Friday, August 10, 2007 11:00 AM >Subject: [AccessD] OT: Secret Password > > > > OK, it's finally Friday, even in Central California! When Dian and > > I met in San Luis Obispo, we wanted to be able to recognize one > > another >or > > at least find each other. Dian came up with a brilliant suggestion >for > > a name to use at Appleby's when we met. Any guesses? > > > > Charlotte > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Find a local pizza place, movie theater, and more.then map the best route! http://maps.live.com/default.aspx?v=2&ss=yp.bars~yp.pizza~yp.movie%20theater &cp=42.358996~-71.056691&style=r&lvl=13&tilt=-90&dir=0&alt=-1000&scene=95060 7&encType=1&FORM=MGAC01 From jwcolby at colbyconsulting.com Fri Aug 10 16:41:00 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 10 Aug 2007 17:41:00 -0400 Subject: [AccessD] OT Friday: Comodo AntiSpam In-Reply-To: Message-ID: <20070810214104.6CBCDBD30@smtp-auth.no-ip.com> I do not have a fixed IP, although I use No-IP to translate my IP to a fixed "named address", which works quite well. I also know nothing about mail servers nor all the rest. I have so much to do that I cringe at the thought of piling anything more on my plate. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, August 10, 2007 10:47 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] OT Friday: Comodo AntiSpam Thanks John It is right that your options are limited when using a hosted mail server. However, most hosts provide basic spamfilters if you prefer so - did you check that out? Further, if you have a fixed IP address I can recommend running your own mail server. One of the very best, hMailServer, is free and open-source and runs on Windows: http://www.hmailserver.com/ Support from the forum and the developer is excellent, and setup is piece of cake if you know just a little about the Internet mail mechanics. /gustav >>> jwcolby at colbyconsulting.com 10-08-2007 16:24 >>> Gustav, As soon as I pick you up on the control panel I "allow" your email so in fact you do not have to respond. Your email as well as every one else on the list that has popped up so far is now coming right through because I manually "allowed" you to. Either way, you respond or I allow, it only has to be done one time and then it works just fine. I have not had time yet to evaluate the full impact, but I am a small company, with a small number of regular correspondents (with the exception of this list). I can appreciate the "challenge / response sucks" mentality but I don't have a mail server under my control. I use the pop server that comes with my web site. This works at the client level and so I am trying it. My apologies for any inconvenience. John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From miscellany at mvps.org Fri Aug 10 18:44:54 2007 From: miscellany at mvps.org (Steve Schapel) Date: Sat, 11 Aug 2007 11:44:54 +1200 Subject: [AccessD] A2007 from Dell(!) In-Reply-To: <200708101710.l7AHAl22004153@databaseadvisors.com> References: <200708101710.l7AHAl22004153@databaseadvisors.com> Message-ID: <46BCF876.9060505@mvps.org> Robert L. Stewart wrote: > Longer with 2007. I think we will see an improvement to this problem at some point. Regards Steve From miscellany at mvps.org Fri Aug 10 18:50:10 2007 From: miscellany at mvps.org (Steve Schapel) Date: Sat, 11 Aug 2007 11:50:10 +1200 Subject: [AccessD] OT Friday: Comodo AntiSpam In-Reply-To: References: Message-ID: <46BCF9B2.5080409@mvps.org> Someone may be interested in this critique: http://linuxmafia.com/faq/Mail/challenge-response.html Regards Steve Gustav Brock wrote: > Hi JC et al > > JC has sent this out, so now you cannot get to him directly. Aside > the good intentions behind doing so, this will cause a lot of > trouble, and I don't say too much if I - as a general warning - > mention that the consensus between system people is, that as tempting > these challenge-response system my seem, they represent a bad idea > because the negative impact outweighs the positive. > > If you or your client run a mail server, I can strongly recommend > SpamBunker: > > http://www.aimconsulting.ch/Spambunker/sbk-strategy.asp > > which is not free but cheap, and is superior to the common mail > filtering systems. Thus, it requires no "learning", no maintenance, > it works from the minute it is installed, and it handles massive > amount of spam and/or mail even on modest hardware. We operate it > here where we went from about 4000 spam mails per day to a handful > per week after we had been under a week long attack with constantly > 20 connections and more than 16000 connections per day. > > As a result we now promote this to our clients with serious spam > troubles. > From martyconnelly at shaw.ca Fri Aug 10 19:09:02 2007 From: martyconnelly at shaw.ca (MartyConnelly) Date: Fri, 10 Aug 2007 17:09:02 -0700 Subject: [AccessD] Access 2007 run time on same machine with 2003 In-Reply-To: <200708101305.l7AD5qLp009930@databaseadvisors.com> References: <200708101305.l7AD5qLp009930@databaseadvisors.com> Message-ID: <46BCFE1E.1090803@shaw.ca> There is a requestable hotfix for Access 2007 runtimes using ADP and certain types of Reports. Robert L. Stewart wrote: >Rocky, > >Actually, for that kind of money, your install script should >detect and "compatible" version of Access. And, if it is not >there, install the runtime. > >Robert > >At 07:44 PM 8/9/2007, you wrote: > > >>Date: Thu, 9 Aug 2007 17:28:38 -0700 >>From: "Rocky Smolin at Beach Access Software" >>Subject: Re: [AccessD] Access 2007 run time on same machine with 2003 >>To: "'Access Developers discussion and problem solving'" >> >>Cc: 'Jack Stone' >>Message-ID: <00ea01c7dae5$65528020$0301a8c0 at HAL9005> >>Content-Type: text/plain; charset="us-ascii" >> >>Thanks Doug. That's why I'm a big fan of obsolete technology. It works. >> >>The client and I are trying to decide whether to standardize on A2007 for >>the development of his product. There are some distinct advantages. Or >>standardize on something earlier - right now it's compatible with A2000. >>Not sure we need to go back that far however. >> >>The target market for this product is *likely* to have Office Pro but not >>for certain. So we're considering a run-time version as well. >> >>However, since the product t will be selling for 5 figures, it might be >>reasonable to require the end user to have Access - some version of it. >> >>Opinions, anyone? >> >>TIA >> >>Rocky >> >> > > > > -- Marty Connelly Victoria, B.C. Canada From jwcolby at colbyconsulting.com Fri Aug 10 21:04:05 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 10 Aug 2007 22:04:05 -0400 Subject: [AccessD] OT Friday: Comodo AntiSpam In-Reply-To: <46BCF9B2.5080409@mvps.org> Message-ID: <20070811020409.3AB81BD04@smtp-auth.no-ip.com> I find it amusing that anyone takes the time to generate a 10 page "why CR is bad", the basis of many of which is "it should punish the spammer", as if ANYONE has a way to do that. My personally opinion is that hunting down and colbyizing a handful of them VERY publicly would be the only effective deterrent but that won't be happening either. Additionally, so far I have never had email delivered to me because someone spoofed my email address as the sender of spam and a CR system was bouncing it back to me. Given that my name is on the spam lists (I get spam) THAT argument isn't keeping me up at night. I did not design the wonky system that allows spammers to spoof senders and I can not do anything about others doing so. In the meantime, I have at most 100 people in my address books, all of which have already been picked up (automatically) by the system. The rest are trickling in and I am manually dealing with them. Within a single week all of my regular emails will be handled. I used a Bayesian filter with outlook and tried to do so again but it wouldn't install. When it worked, it worked fairly well (98% rate) but had false positives and false negatives, few but still there. Having 2% hiding in the 100 is almost worse than 50%. You have to look at each one to find the 2 in 100 that you need to recover. THAT is as much of a PITA as just hitting the delete key 50 times a day. There are a million systems out there for handling spam, none of them perfect. I have tried about 500,000 of them so far, I know none of them are perfect. Of course if any of you fine folks wants to volunteer to set up and maintain an email server / AntiSpam system on my server machine, or install your favorite variation of Linux and your favorite variation of anti spam, please take my invitation to do so. I do have a beater box (not even so beater) and I will give you remote access to the box in order to do your thing. Of course YOU will be responsible for all maintenance for the rest of your life. I have real work to do unfortunately. In the meantime, I will be trying this one for awhile. I have had to respond to a handful of such "response required" from a handful of people I have emailed, and I did so, no biggie. I can see that some think it is a poor idea but such is life. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Schapel Sent: Friday, August 10, 2007 7:50 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT Friday: Comodo AntiSpam Someone may be interested in this critique: http://linuxmafia.com/faq/Mail/challenge-response.html Regards Steve Gustav Brock wrote: > Hi JC et al > > JC has sent this out, so now you cannot get to him directly. Aside the > good intentions behind doing so, this will cause a lot of trouble, and > I don't say too much if I - as a general warning - mention that the > consensus between system people is, that as tempting these > challenge-response system my seem, they represent a bad idea because > the negative impact outweighs the positive. > > If you or your client run a mail server, I can strongly recommend > SpamBunker: > > http://www.aimconsulting.ch/Spambunker/sbk-strategy.asp > > which is not free but cheap, and is superior to the common mail > filtering systems. Thus, it requires no "learning", no maintenance, it > works from the minute it is installed, and it handles massive amount > of spam and/or mail even on modest hardware. We operate it here where > we went from about 4000 spam mails per day to a handful per week after > we had been under a week long attack with constantly 20 connections > and more than 16000 connections per day. > > As a result we now promote this to our clients with serious spam > troubles. > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From miscellany at mvps.org Fri Aug 10 21:09:49 2007 From: miscellany at mvps.org (Steve Schapel) Date: Sat, 11 Aug 2007 14:09:49 +1200 Subject: [AccessD] OT Friday: Comodo AntiSpam In-Reply-To: <34C8A2AB1EF3564CB0D64DB6AFFDD5C208ED6DE1@XLIVMBX35bkup.aig.com> References: <34C8A2AB1EF3564CB0D64DB6AFFDD5C208ED6DE1@XLIVMBX35bkup.aig.com> Message-ID: <46BD1A6D.7010601@mvps.org> Lambert, Thank you very much. This is a very cool idea. In fact, I have heard of it before, but didn't act on it so far because on an antipathy for Google. But the spammers drove me to it, and, prompted by your post here, I have just set up a gmail account. I then simply set it up so email to my main email address gets forwarded to the gmail address, and my email client retrieves the email from the gmail. Sweet. Everything works exactly as it did before, my normal email address is being used to send and receive, but the spam is being scrubbed out en route, courtesy of Gmail's spam filter. I hope I'm not crowing too soon, because I have only just done it, but so far it looks good. (Only reservation is that a test mail I sent from another of my own email accounts got trashed as spam by Gmail, so I obviously can't trust myself!) Anyway, thanks again, I'm hoping this will mean less pain in my daily life! :-) Regards Steve Heenan, Lambert wrote: > I get my (home) mail from a POP3 server too, and while my ISP does offer > some Spam filtering, it's not up to much. > > *However* I long ago set up my Gmail account to go retrieve my POP3 mail for > me. I get to see all my mail in one place, and Gmail's SPAM filter works a > treat. If you need to you can also set up your mail client to retrieve your > mail from your Gmail inbox via POP and have the best of both worlds. From miscellany at mvps.org Fri Aug 10 21:40:35 2007 From: miscellany at mvps.org (Steve Schapel) Date: Sat, 11 Aug 2007 14:40:35 +1200 Subject: [AccessD] OT Friday: Comodo AntiSpam In-Reply-To: <20070811020409.3AB81BD04@smtp-auth.no-ip.com> References: <20070811020409.3AB81BD04@smtp-auth.no-ip.com> Message-ID: <46BD21A3.7080208@mvps.org> Good for you, John. I will be interested to hear how it works out for you. When I got your email asking for my self-validation, I thought it was an idea with a lot of merit. I still do. But, since then, I have looked at it a bit more closely, and see that Comodo has been around for quite a long time. So the fact that this is my first contact with the concept, answers my question about whether the idea will catch on! :-) For myself, almost all of the emails I send are to people I know, and most of the legitimate email I receive is from people I know. For those new people who are emailing me for the first time, it does not seem to be too onerous a request to have an automated system ask them to validate themselves before I accept their first email. On the other hand, I can see how a lot of people would find it irritating. Oh well... In the meantime, see my reply to Lambert elsewhere in this thread, about getting Gmail to launder the mail for you. I found this very quick and easy to set up. Possibly *too* effective though, I'lll have to wait and see - even this very post from you that I'm replying to was spam-dunked by Gmail, and I had to fish it out of the bin. Regards Steve P.S. I have been around this forum only a relatively short amount of time, so don't know the full meaning of the term, but was nonetheless amused by the word "colbyizing". :-) I assume getting colbyized takes different forms in different situations? jwcolby wrote: > I find it amusing that anyone takes the time to generate a 10 page "why CR > is bad", the basis of many of which is "it should punish the spammer", as if > ANYONE has a way to do that. My personally opinion is that hunting down and > colbyizing a handful of them VERY publicly would be the only effective > deterrent but that won't be happening either. > > Additionally, so far I have never had email delivered to me because someone > spoofed my email address as the sender of spam and a CR system was bouncing > it back to me. Given that my name is on the spam lists (I get spam) THAT > argument isn't keeping me up at night. I did not design the wonky system > that allows spammers to spoof senders and I can not do anything about others > doing so. > > In the meantime, I have at most 100 people in my address books, all of which > have already been picked up (automatically) by the system. The rest are > trickling in and I am manually dealing with them. Within a single week all > of my regular emails will be handled. > > I used a Bayesian filter with outlook and tried to do so again but it > wouldn't install. When it worked, it worked fairly well (98% rate) but had > false positives and false negatives, few but still there. Having 2% hiding > in the 100 is almost worse than 50%. You have to look at each one to find > the 2 in 100 that you need to recover. THAT is as much of a PITA as just > hitting the delete key 50 times a day. > > There are a million systems out there for handling spam, none of them > perfect. I have tried about 500,000 of them so far, I know none of them are > perfect. > > Of course if any of you fine folks wants to volunteer to set up and maintain > an email server / AntiSpam system on my server machine, or install your > favorite variation of Linux and your favorite variation of anti spam, please > take my invitation to do so. I do have a beater box (not even so beater) > and I will give you remote access to the box in order to do your thing. Of > course YOU will be responsible for all maintenance for the rest of your > life. I have real work to do unfortunately. > > In the meantime, I will be trying this one for awhile. I have had to > respond to a handful of such "response required" from a handful of people I > have emailed, and I did so, no biggie. I can see that some think it is a > poor idea but such is life. From jwcolby at colbyconsulting.com Fri Aug 10 23:42:09 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 11 Aug 2007 00:42:09 -0400 Subject: [AccessD] OT Friday: Comodo AntiSpam In-Reply-To: <46BD21A3.7080208@mvps.org> Message-ID: <20070811044214.2C951BD29@smtp-auth.no-ip.com> Steve, >P.S. I have been around this forum only a relatively short amount of time, so don't know the full meaning of the term, but was nonetheless amused by the word "colbyizing". :-) I assume getting colbyized takes different forms in different situations? LOL. I have been around this board since the early days (1997). At that time I lived in Puebla Mexico and the Shining Path guerrilla movement was being "handled" by the Peru military by picking up thousands of people and disappearing them, often by (allegedly) flying them far out over the Pacific ocean and pushing them out the door of the airplane from about 20K feet up, without a parachute. At that time I was a little more ... Uhh... Hmm... How to say this... Militant? So I would make statements like "if any client of mine is found working directly in the tables... 20K feet, out the door without a parachute". I think it was William Hindman who coined the phrase "colbyize" to replace "20K feet, out the door without a parachute". ;-) Lately I have mellowed a bit (no, REALLY!!!). Now I just poke Charlotte with a stick every now and again. I am trying several of the Comodo products. I LOVE their software firewall!!! I run that on all of my systems and for the first time EVER have managed to have trusted zones where I could actually see and use the shares on every system, every time. Their AV is still in beta but I am trying it out as well. I just installed their Anti-Spam a few days ago. Something's gotta give on the spam front. I have looked and tried this and that and NOTHING has worked really well to this point. I am reading that the newest stuff is even getting around the Bayesian filters. I can't verify that since I can't get SpamBayes to run for whatever reason (I used it for a looong time). As for the Gmail thing, my biggest issue with that is Gmail itself. I have read sources I believe who say that Google archives EVERYTHING, PERMANENTLY - Google searches, as well as Gmail. I use Google for searches and simply avoid them when it is time to search for ways to kill my wife and such. ;-) My mail I want to have a delete button on. I am not doing anything illegal but I just am uncomfortable with being archived forever by a third party for their own purposes. Say what you will, this CR system does work, at least from my perspective. >From the instant I installed it NO spam has come through. ATM I am going through my quarantine database to manually allow those email addresses / domains I need through. Again it is quick and easy, one time, click "allow" and voila it is allowed. And yea, there are nutcases everywhere. Some will hiss and spit and refuse to answer and oh well. Mostly those kinds of people just get on my nerves anyway so I am probably better off without their email. If I lose some email from the fringes and ALL my spam... Hmm... Kind of a clear cut win. Someday, when Internet II comes out and this spam nonsense is behind us, well, CR won't be necessary any more anyway. And who knows whether it will really work long term, but I have to do something, and nothing else I have done worked all that well, so for today I try this. And yes, I will take the time to respond to CR messages (If I want to talk to you ;-). John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Schapel Sent: Friday, August 10, 2007 10:41 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT Friday: Comodo AntiSpam Good for you, John. I will be interested to hear how it works out for you. When I got your email asking for my self-validation, I thought it was an idea with a lot of merit. I still do. But, since then, I have looked at it a bit more closely, and see that Comodo has been around for quite a long time. So the fact that this is my first contact with the concept, answers my question about whether the idea will catch on! :-) For myself, almost all of the emails I send are to people I know, and most of the legitimate email I receive is from people I know. For those new people who are emailing me for the first time, it does not seem to be too onerous a request to have an automated system ask them to validate themselves before I accept their first email. On the other hand, I can see how a lot of people would find it irritating. Oh well... In the meantime, see my reply to Lambert elsewhere in this thread, about getting Gmail to launder the mail for you. I found this very quick and easy to set up. Possibly *too* effective though, I'lll have to wait and see - even this very post from you that I'm replying to was spam-dunked by Gmail, and I had to fish it out of the bin. Regards Steve From max at sherman.org.uk Sat Aug 11 02:14:39 2007 From: max at sherman.org.uk (Max Sherman) Date: Sat, 11 Aug 2007 08:14:39 +0100 Subject: [AccessD] OT Friday: Comodo AntiSpam In-Reply-To: <20070811044214.2C951BD29@smtp-auth.no-ip.com> References: <46BD21A3.7080208@mvps.org> <20070811044214.2C951BD29@smtp-auth.no-ip.com> Message-ID: <001501c7dbe7$493bc290$8119fea9@LTVM> Hi John, Following your write-up, I have now installed Comodo as well. Like you I have tried many such programs over time and have not found any which are ideal. Comodo sounds good and will see how it goes. Regards Max Sherman -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Saturday, August 11, 2007 5:42 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT Friday: Comodo AntiSpam Steve, >P.S. I have been around this forum only a relatively short amount of >time, so don't know the full meaning of the term, but was nonetheless amused by the word "colbyizing". :-) I assume getting colbyized takes different forms in different situations? LOL. I have been around this board since the early days (1997). At that time I lived in Puebla Mexico and the Shining Path guerrilla movement was being "handled" by the Peru military by picking up thousands of people and disappearing them, often by (allegedly) flying them far out over the Pacific ocean and pushing them out the door of the airplane from about 20K feet up, without a parachute. At that time I was a little more ... Uhh... Hmm... How to say this... Militant? So I would make statements like "if any client of mine is found working directly in the tables... 20K feet, out the door without a parachute". I think it was William Hindman who coined the phrase "colbyize" to replace "20K feet, out the door without a parachute". ;-) Lately I have mellowed a bit (no, REALLY!!!). Now I just poke Charlotte with a stick every now and again. I am trying several of the Comodo products. I LOVE their software firewall!!! I run that on all of my systems and for the first time EVER have managed to have trusted zones where I could actually see and use the shares on every system, every time. Their AV is still in beta but I am trying it out as well. I just installed their Anti-Spam a few days ago. Something's gotta give on the spam front. I have looked and tried this and that and NOTHING has worked really well to this point. I am reading that the newest stuff is even getting around the Bayesian filters. I can't verify that since I can't get SpamBayes to run for whatever reason (I used it for a looong time). As for the Gmail thing, my biggest issue with that is Gmail itself. I have read sources I believe who say that Google archives EVERYTHING, PERMANENTLY - Google searches, as well as Gmail. I use Google for searches and simply avoid them when it is time to search for ways to kill my wife and such. ;-) My mail I want to have a delete button on. I am not doing anything illegal but I just am uncomfortable with being archived forever by a third party for their own purposes. Say what you will, this CR system does work, at least from my perspective. >From the instant I installed it NO spam has come through. ATM I am >going through my quarantine database to manually allow those email addresses / domains I need through. Again it is quick and easy, one time, click "allow" and voila it is allowed. And yea, there are nutcases everywhere. Some will hiss and spit and refuse to answer and oh well. Mostly those kinds of people just get on my nerves anyway so I am probably better off without their email. If I lose some email from the fringes and ALL my spam... Hmm... Kind of a clear cut win. Someday, when Internet II comes out and this spam nonsense is behind us, well, CR won't be necessary any more anyway. And who knows whether it will really work long term, but I have to do something, and nothing else I have done worked all that well, so for today I try this. And yes, I will take the time to respond to CR messages (If I want to talk to you ;-). John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Schapel Sent: Friday, August 10, 2007 10:41 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT Friday: Comodo AntiSpam Good for you, John. I will be interested to hear how it works out for you. When I got your email asking for my self-validation, I thought it was an idea with a lot of merit. I still do. But, since then, I have looked at it a bit more closely, and see that Comodo has been around for quite a long time. So the fact that this is my first contact with the concept, answers my question about whether the idea will catch on! :-) For myself, almost all of the emails I send are to people I know, and most of the legitimate email I receive is from people I know. For those new people who are emailing me for the first time, it does not seem to be too onerous a request to have an automated system ask them to validate themselves before I accept their first email. On the other hand, I can see how a lot of people would find it irritating. Oh well... In the meantime, see my reply to Lambert elsewhere in this thread, about getting Gmail to launder the mail for you. I found this very quick and easy to set up. Possibly *too* effective though, I'lll have to wait and see - even this very post from you that I'm replying to was spam-dunked by Gmail, and I had to fish it out of the bin. Regards Steve -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From carbonnb at gmail.com Sat Aug 11 07:01:27 2007 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Sat, 11 Aug 2007 08:01:27 -0400 Subject: [AccessD] OT Friday: Comodo AntiSpam In-Reply-To: <005c01c7db5c$48f8d650$0c10a8c0@jisshowsbs.local> References: <20070810142453.923B3BFEC@smtp-auth.no-ip.com> <005c01c7db5c$48f8d650$0c10a8c0@jisshowsbs.local> Message-ID: On 8/10/07, William Hindman wrote: > ...I'm with Gustav, the initial e-mail gave me a negative reaction ...but > then, like you, I'm dependent on my ISP's filtering and its far from perfect > so I'm open to anything that helps ...question is of course, does this > really help or hinder in the long run? Hinder. IMO. They are at best a waste of time and at worst a waste of time and resources. On some of the lists I belong to, if anyone got a C/R request you'd be tossed unceremoniously to the curb and banned for life. Not to mention the fact the extra waste of bandwidth that it uses by sending them and the spoofed addresses. I know in a later e-mail JC says that he never has received and blow back from a spoofed address, but I got 7 since 1 am Friday night to 8 am Sat morning. That's 1 an hour of spoofed email blowback that is readily apparent. I haven't bothered to look at 55 that I got as bounces from the DBA mailinglist and see which were real bounces and which were blowback. Most likely more than 1/4 of them are blow back from spoofed addresses. Not trivial. I know there are zealots out there, but C/R systems puts the onus on the sender for the recipients spam filtering. I don't know about the rest of the world but I don't have enough time to do my stuff as it is let alone someone elses. -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" From carbonnb at gmail.com Sat Aug 11 07:07:39 2007 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Sat, 11 Aug 2007 08:07:39 -0400 Subject: [AccessD] OT Friday: Comodo AntiSpam In-Reply-To: <20070811020409.3AB81BD04@smtp-auth.no-ip.com> References: <46BCF9B2.5080409@mvps.org> <20070811020409.3AB81BD04@smtp-auth.no-ip.com> Message-ID: On 8/10/07, jwcolby wrote: > I used a Bayesian filter with outlook and tried to do so again but it > wouldn't install. When it worked, it worked fairly well (98% rate) but had > false positives and false negatives, few but still there. Having 2% hiding > in the 100 is almost worse than 50%. You have to look at each one to find > the 2 in 100 that you need to recover. THAT is as much of a PITA as just > hitting the delete key 50 times a day. Yea, but how long does it take you? I get on the order of 300+ a day and it takes me less than a minute to go through the list. > There are a million systems out there for handling spam, none of them > perfect. I have tried about 500,000 of them so far, I know none of them are > perfect. Nope, you're right. But some are less perfect than others. > In the meantime, I will be trying this one for awhile. I have had to > respond to a handful of such "response required" from a handful of people I > have emailed, and I did so, no biggie. I can see that some think it is a > poor idea but such is life. Actually most e-mail systems administrators think it is a horrible idea and the inventor of it should be drawn an quartered on a pile of spam. I think they would appreciate a poor idea. I'm talking about mail admins from Roadrunner, Hotmail, Time/Warner, Nortel. Not small name players by any stretch of the imagination. -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" From carbonnb at gmail.com Sat Aug 11 07:19:59 2007 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Sat, 11 Aug 2007 08:19:59 -0400 Subject: [AccessD] OT Friday: Comodo AntiSpam In-Reply-To: <20070811020409.3AB81BD04@smtp-auth.no-ip.com> References: <46BCF9B2.5080409@mvps.org> <20070811020409.3AB81BD04@smtp-auth.no-ip.com> Message-ID: On 8/10/07, jwcolby wrote: > I find it amusing that anyone takes the time to generate a 10 page "why CR > is bad", the basis of many of which is "it should punish the spammer", as if > ANYONE has a way to do that. My personally opinion is that hunting down and > colbyizing a handful of them VERY publicly would be the only effective > deterrent but that won't be happening either. I can send anyone that wants, a discussion of C/R systems and why they are bad from Spam-L, a spam fighting mailing list. The guys there are, for the most part, professional e-mail admins and spam fighters. Yes, there are some very strongly opinionated people there, but well, since we don't have any like that here, you'll have to deal with it :) -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" From lembit.dbamail at t-online.de Sat Aug 11 07:31:53 2007 From: lembit.dbamail at t-online.de (Lembit Soobik) Date: Sat, 11 Aug 2007 14:31:53 +0200 Subject: [AccessD] OT Friday: Comodo AntiSpam References: <20070811044214.2C951BD29@smtp-auth.no-ip.com> Message-ID: <000601c7dc13$99a2ef70$1800a8c0@s1800> John, I have the same concerns about Google. Storing everything permanently will let someone after x years draw false conclusions about you without you yourself knowing even. (BTW, this mail will be stored permanently, since there are AccessD members with Gmail) So please keep us posted (maybe better on dba-Tech, however) thank you Lembit ----- Original Message ----- From: "jwcolby" To: "'Access Developers discussion and problem solving'" Sent: Saturday, August 11, 2007 6:42 AM Subject: Re: [AccessD] OT Friday: Comodo AntiSpam ..... > > As for the Gmail thing, my biggest issue with that is Gmail itself. I > have > read sources I believe who say that Google archives EVERYTHING, > PERMANENTLY > - Google searches, as well as Gmail. I use Google for searches and simply > avoid them when it is time to search for ways to kill my wife and such. > ;-) > My mail I want to have a delete button on. I am not doing anything > illegal > but I just am uncomfortable with being archived forever by a third party > for > their own purposes. > From jwcolby at colbyconsulting.com Sat Aug 11 09:07:13 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 11 Aug 2007 10:07:13 -0400 Subject: [AccessD] OT Friday: Comodo AntiSpam In-Reply-To: Message-ID: <20070811140718.80343BF02@smtp-auth.no-ip.com> Bryan, >Yea, but how long does it take you? It takes exactly as long as it does to hit delete which is my point. What good does it do to move all the emails off to a spam folder, hide a couple out of 100 that are real, and then force me to go through the list of 100 looking for the good ones? I might as well just leave the spam in the in box and hit delete on each one. Spam by it's nature is pretty easy to recognize for a human. There is a pattern quickly recognized. A PDF attachment (delete), a picture of a software product (delete), a pattern of text about a pump n dump - delete. On the other hand, buried in amongst the 100 spams, a few non spams are NOT so easy to find. You have to look at specific things (the subject or the To) and you have to then click a button to move it back to the inbox. I know quite well that the Bayesian guys are RABID about Bayesian stuff and how well it works, and yea, a 98% rate is pretty good, but not good enough. I know that anti- CR guys are PARTICULARLY rabid about CR. Oh well. >From the Anti-web page: >Even where used, C-R systems are readily bypassed by spammers. Not so far on my system. >The 'FROM:' header of e-mail can be, and routinely is, spoofed. It offers no degree of authentication or evidence of identity. That is not what I use. I use VALID emails from my contact book and real email that I receive. You can spoof all you want with email addresses I don't know and they are all rejected. >C-R uses the "From:" header (with implementation-specific variations) as an authentication key. While a given key is going to have a relatively low likelihood of being cleared by a given user, there are keys that will have a high likelihood of being cleared. Off the top of my head, @microsoft.com, @aol.com, @ebay.com, @*.gov, and other major commercial, financial, and governmental institutions, would be likely to be cleared by a large number of users. Similar "social engineering" tactics are already used by spammers. Social engineering tricks work on newbees, not likely to use a CR system anyway since they are suffering along on (and PAYING FOR) the pathetic systems pushed on them by Norton and such. >C-R moves you back to square one of the fact that SMTP can't provide authentication of e-mail headers. I don't have to validate every email that comes in, only those that I approve. Unless those just happen to be spoofed in someone's spam email, those I don't approve are filtered out. At least so far. >By contrast, systems that utilize multiple metrics - sender, header integrity, content, context, Bayesian analysis - provide a broader, deeper, richer set of metrics on which to gauge spam. While such filters may incorporate the 'From:' header, they do so in context of additional data for stronger validation. Yes, and they then bury their false positives in amongst piles of real spam. >The intent of a practical anti-spam system is not to ensure, at all costs, that no spam should darken the reader's inbox at any cost. If that's the goal, then unplugging your computer is the simplest fix. That is ONLY because most systems cannot provide 100% effectiveness. You may DAMN WELL KNOW that if they could boast 100% effectiveness, they would! >C-R systems in practice achieve an unacceptably high false-positive rate (non-spam treated as spam), and may in fact be highly susceptible to false-negatives (spam treated as non-spam) via spoofing. Hasn't happened so far, on either count. The moon may in fact fall from orbit tomorrow, but I shan't spend my life worrying about it. >Effective spam management tools should place the burden either on the spammer THIS ONE I LOVE!!! Which of ALL of the systems touted by anyone here on the list does that? If that were possible (Blue frog did in fact do that) they would be driven out of business. Spammers are still in business, so we see how far this one gets. >Welcome to spamcop! OH GREAT, now we are recommending BLACK LISTS. >3. Privacy violation. Simply stupid. This one simply isn't happening. >A C-R system is essentially an outsourced whitelist system. The database is on MY system, not outsourced. >One commonplace piece of advice for avoiding spam is to not respond to opt-out, AKA e-mail validation testing, requests. And I LOVE THIS ONE AS WELL... First the rabids declare that some poor innocent is going to get 47 bajillion emails from me because "of course, all the spammers spoof their headers", and then turn right around and tell me that "I am going to validate my self to the spammers because they DON'T spoof the headers, but rather use the responses to test that they got a hit. WHICH ONE IS IT? One way or another, nothing else works so what's a guy to do. I do respond positively to CR messages if I care about the mail. I have (so far) received EXACTLY ONE - from a cousin working for Intel and yes, I responded so that I could talk to him. Boy, that cost me all of... A few seconds out of my life. I must say I was PISSED about having to spend those few seconds to be able to talk to my cousin, but what's a guy to do? IOW, propose a system that works and I will certainly try it. But DON'T tell me that "no, nothing works but please don't use CR". If it in fact fails from all of the deep dark failings predicted by the rabid anti-CR folks then guess what, I will stop using it too, just as I stopped using all the other things that didn't work. In the mean time... John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bryan Carbonnell Sent: Saturday, August 11, 2007 8:08 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT Friday: Comodo AntiSpam On 8/10/07, jwcolby wrote: > I used a Bayesian filter with outlook and tried to do so again but it > wouldn't install. When it worked, it worked fairly well (98% rate) > but had false positives and false negatives, few but still there. > Having 2% hiding in the 100 is almost worse than 50%. You have to > look at each one to find the 2 in 100 that you need to recover. THAT > is as much of a PITA as just hitting the delete key 50 times a day. Yea, but how long does it take you? I get on the order of 300+ a day and it takes me less than a minute to go through the list. > There are a million systems out there for handling spam, none of them > perfect. I have tried about 500,000 of them so far, I know none of > them are perfect. Nope, you're right. But some are less perfect than others. > In the meantime, I will be trying this one for awhile. I have had to > respond to a handful of such "response required" from a handful of > people I have emailed, and I did so, no biggie. I can see that some > think it is a poor idea but such is life. Actually most e-mail systems administrators think it is a horrible idea and the inventor of it should be drawn an quartered on a pile of spam. I think they would appreciate a poor idea. I'm talking about mail admins from Roadrunner, Hotmail, Time/Warner, Nortel. Not small name players by any stretch of the imagination. -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Sat Aug 11 09:40:49 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Sat, 11 Aug 2007 07:40:49 -0700 Subject: [AccessD] OT Friday: Comodo AntiSpam In-Reply-To: <20070811140718.80343BF02@smtp-auth.no-ip.com> Message-ID: <000f01c7dc25$9c8c9cb0$0301a8c0@HAL9005> How does CR handle the problem of people making inquiries about my products and service from my web site? I don't think I'd want them to have to go through the CR thing. BTW, I feel kind of out of the loop on this since I never get that much spam - maybe 5-10 a day. Outlook seems to be real good at routing the spam to my junk folder. Very rarely does a legit email show up there. And a couple times a week it misses a spam and it ends up in my inbox. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Saturday, August 11, 2007 7:07 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT Friday: Comodo AntiSpam Bryan, >Yea, but how long does it take you? It takes exactly as long as it does to hit delete which is my point. What good does it do to move all the emails off to a spam folder, hide a couple out of 100 that are real, and then force me to go through the list of 100 looking for the good ones? I might as well just leave the spam in the in box and hit delete on each one. Spam by it's nature is pretty easy to recognize for a human. There is a pattern quickly recognized. A PDF attachment (delete), a picture of a software product (delete), a pattern of text about a pump n dump - delete. On the other hand, buried in amongst the 100 spams, a few non spams are NOT so easy to find. You have to look at specific things (the subject or the To) and you have to then click a button to move it back to the inbox. I know quite well that the Bayesian guys are RABID about Bayesian stuff and how well it works, and yea, a 98% rate is pretty good, but not good enough. I know that anti- CR guys are PARTICULARLY rabid about CR. Oh well. >From the Anti-web page: >Even where used, C-R systems are readily bypassed by spammers. Not so far on my system. >The 'FROM:' header of e-mail can be, and routinely is, spoofed. It >offers no degree of authentication or evidence of identity. That is not what I use. I use VALID emails from my contact book and real email that I receive. You can spoof all you want with email addresses I don't know and they are all rejected. >C-R uses the "From:" header (with implementation-specific variations) >as an authentication key. While a given key is going to have a relatively low likelihood of being cleared by a given user, there are keys that will have a high likelihood of being cleared. Off the top of my head, @microsoft.com, @aol.com, @ebay.com, @*.gov, and other major commercial, financial, and governmental institutions, would be likely to be cleared by a large number of users. Similar "social engineering" tactics are already used by spammers. Social engineering tricks work on newbees, not likely to use a CR system anyway since they are suffering along on (and PAYING FOR) the pathetic systems pushed on them by Norton and such. >C-R moves you back to square one of the fact that SMTP can't provide authentication of e-mail headers. I don't have to validate every email that comes in, only those that I approve. Unless those just happen to be spoofed in someone's spam email, those I don't approve are filtered out. At least so far. >By contrast, systems that utilize multiple metrics - sender, header integrity, content, context, Bayesian analysis - provide a broader, deeper, richer set of metrics on which to gauge spam. While such filters may incorporate the 'From:' header, they do so in context of additional data for stronger validation. Yes, and they then bury their false positives in amongst piles of real spam. >The intent of a practical anti-spam system is not to ensure, at all >costs, that no spam should darken the reader's inbox at any cost. If that's the goal, then unplugging your computer is the simplest fix. That is ONLY because most systems cannot provide 100% effectiveness. You may DAMN WELL KNOW that if they could boast 100% effectiveness, they would! >C-R systems in practice achieve an unacceptably high false-positive >rate (non-spam treated as spam), and may in fact be highly susceptible to false-negatives (spam treated as non-spam) via spoofing. Hasn't happened so far, on either count. The moon may in fact fall from orbit tomorrow, but I shan't spend my life worrying about it. >Effective spam management tools should place the burden either on the spammer THIS ONE I LOVE!!! Which of ALL of the systems touted by anyone here on the list does that? If that were possible (Blue frog did in fact do that) they would be driven out of business. Spammers are still in business, so we see how far this one gets. >Welcome to spamcop! OH GREAT, now we are recommending BLACK LISTS. >3. Privacy violation. Simply stupid. This one simply isn't happening. >A C-R system is essentially an outsourced whitelist system. The database is on MY system, not outsourced. >One commonplace piece of advice for avoiding spam is to not respond to opt-out, AKA e-mail validation testing, requests. And I LOVE THIS ONE AS WELL... First the rabids declare that some poor innocent is going to get 47 bajillion emails from me because "of course, all the spammers spoof their headers", and then turn right around and tell me that "I am going to validate my self to the spammers because they DON'T spoof the headers, but rather use the responses to test that they got a hit. WHICH ONE IS IT? One way or another, nothing else works so what's a guy to do. I do respond positively to CR messages if I care about the mail. I have (so far) received EXACTLY ONE - from a cousin working for Intel and yes, I responded so that I could talk to him. Boy, that cost me all of... A few seconds out of my life. I must say I was PISSED about having to spend those few seconds to be able to talk to my cousin, but what's a guy to do? IOW, propose a system that works and I will certainly try it. But DON'T tell me that "no, nothing works but please don't use CR". If it in fact fails from all of the deep dark failings predicted by the rabid anti-CR folks then guess what, I will stop using it too, just as I stopped using all the other things that didn't work. In the mean time... John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bryan Carbonnell Sent: Saturday, August 11, 2007 8:08 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT Friday: Comodo AntiSpam On 8/10/07, jwcolby wrote: > I used a Bayesian filter with outlook and tried to do so again but it > wouldn't install. When it worked, it worked fairly well (98% rate) > but had false positives and false negatives, few but still there. > Having 2% hiding in the 100 is almost worse than 50%. You have to > look at each one to find the 2 in 100 that you need to recover. THAT > is as much of a PITA as just hitting the delete key 50 times a day. Yea, but how long does it take you? I get on the order of 300+ a day and it takes me less than a minute to go through the list. > There are a million systems out there for handling spam, none of them > perfect. I have tried about 500,000 of them so far, I know none of > them are perfect. Nope, you're right. But some are less perfect than others. > In the meantime, I will be trying this one for awhile. I have had to > respond to a handful of such "response required" from a handful of > people I have emailed, and I did so, no biggie. I can see that some > think it is a poor idea but such is life. Actually most e-mail systems administrators think it is a horrible idea and the inventor of it should be drawn an quartered on a pile of spam. I think they would appreciate a poor idea. I'm talking about mail admins from Roadrunner, Hotmail, Time/Warner, Nortel. Not small name players by any stretch of the imagination. -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.13/946 - Release Date: 8/10/2007 3:50 PM From robert at servicexp.com Sat Aug 11 11:41:41 2007 From: robert at servicexp.com (Robert) Date: Sat, 11 Aug 2007 12:41:41 -0400 Subject: [AccessD] Date From Month Name In-Reply-To: <20070811140718.80343BF02@smtp-auth.no-ip.com> References: <20070811140718.80343BF02@smtp-auth.no-ip.com> Message-ID: <000c01c7dc36$7fa59050$0801a8c0@roberts> I'm need some help with a date function.. I'm not 100% sure of my requirements but I do know that I need to find the 2nd day of the month of the current year derived solely on the Month name. The month name could be abbreviated or not. WBR Robert From carbonnb at gmail.com Sat Aug 11 11:57:07 2007 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Sat, 11 Aug 2007 12:57:07 -0400 Subject: [AccessD] OT Friday: Comodo AntiSpam In-Reply-To: <000f01c7dc25$9c8c9cb0$0301a8c0@HAL9005> References: <20070811140718.80343BF02@smtp-auth.no-ip.com> <000f01c7dc25$9c8c9cb0$0301a8c0@HAL9005> Message-ID: On 8/11/07, Rocky Smolin at Beach Access Software wrote: > How does CR handle the problem of people making inquiries about my products > and service from my web site? I don't think I'd want them to have to go > through the CR thing. The sender has to jump through hoops (reply to an e-mail, click a link, enter a pass phrase/code, etc one or more of the listed steps) to get their e-mail to you, or you have to go through the list of held posts and manually approve it. Be forewarned I know a LOT of people that will not, under any circumstances, reply to a CR system. The get summarily deleted. That's what I do. Even if you manually approve the e-mail to get through to you, you've already lost a lot or people. Now granted the places I hang out on the web are with a lot more technically savy (e-mail and mail servers) than Joe Average user. There are some that even set up rules to automatically delete the CRs sight unseen, so there are folks that would not even know their e-mails haven't gotten through. I'm not trying to make it sound like the sky is falling, but just telling you what I have seen and experienced personally. > BTW, I feel kind of out of the loop on this since I never get that much spam > - maybe 5-10 a day. Outlook seems to be real good at routing the spam to my > junk folder. Very rarely does a legit email show up there. And a couple > times a week it misses a spam and it ends up in my inbox. Hell, I can send some to you. I've already got all the pills and software I can handle. I am almost at my limit for pre-approved mortgages and loans too :) -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" From carbonnb at gmail.com Sat Aug 11 12:00:11 2007 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Sat, 11 Aug 2007 13:00:11 -0400 Subject: [AccessD] OT Friday: Comodo AntiSpam In-Reply-To: <20070811140718.80343BF02@smtp-auth.no-ip.com> References: <20070811140718.80343BF02@smtp-auth.no-ip.com> Message-ID: On 8/11/07, jwcolby wrote: > It takes exactly as long as it does to hit delete which is my point. What > good does it do to move all the emails off to a spam folder, hide a couple > out of 100 that are real, and then force me to go through the list of 100 > looking for the good ones? I might as well just leave the spam in the in > box and hit delete on each one. Well you are doing the same thing by going through the list of messages that get held by your CR system aren't you? > I know quite well that the Bayesian guys are RABID about Bayesian stuff and > how well it works, and yea, a 98% rate is pretty good, but not good enough. > I know that anti- > CR guys are PARTICULARLY rabid about CR. Oh well. Everybody is rabid about things John. Even you. > >From the Anti-web page: I was going to go through all these points you raise, but quite frankly I see your mind as being made up and nothing I can say, or the experts that deal with this day in or day out say will change your mind. I've said my peace and I'm outta here to enjoy my birthday. -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" From rockysmolin at bchacc.com Sat Aug 11 12:35:41 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Sat, 11 Aug 2007 10:35:41 -0700 Subject: [AccessD] Date From Month Name In-Reply-To: <000c01c7dc36$7fa59050$0801a8c0@roberts> Message-ID: <005e01c7dc3e$0a879810$0301a8c0@HAL9005> Are you looking for the day of the week? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Robert Sent: Saturday, August 11, 2007 9:42 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Date From Month Name I'm need some help with a date function.. I'm not 100% sure of my requirements but I do know that I need to find the 2nd day of the month of the current year derived solely on the Month name. The month name could be abbreviated or not. WBR Robert -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.13/946 - Release Date: 8/10/2007 3:50 PM From rockysmolin at bchacc.com Sat Aug 11 12:37:53 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Sat, 11 Aug 2007 10:37:53 -0700 Subject: [AccessD] OT Friday: Comodo AntiSpam In-Reply-To: Message-ID: <005f01c7dc3e$58afae60$0301a8c0@HAL9005> Now that you mention it, I've bailed on a couple of those CRs myself. Just wasn't interested enough in the message. I figure, if I get an email from them asking why I haven't responded, I'll tell them. It's like people who have caller ID and won't take your call if your number is blocked and you have to dial *82 or some such thing. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bryan Carbonnell Sent: Saturday, August 11, 2007 9:57 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT Friday: Comodo AntiSpam On 8/11/07, Rocky Smolin at Beach Access Software wrote: > How does CR handle the problem of people making inquiries about my > products and service from my web site? I don't think I'd want them to > have to go through the CR thing. The sender has to jump through hoops (reply to an e-mail, click a link, enter a pass phrase/code, etc one or more of the listed steps) to get their e-mail to you, or you have to go through the list of held posts and manually approve it. Be forewarned I know a LOT of people that will not, under any circumstances, reply to a CR system. The get summarily deleted. That's what I do. Even if you manually approve the e-mail to get through to you, you've already lost a lot or people. Now granted the places I hang out on the web are with a lot more technically savy (e-mail and mail servers) than Joe Average user. There are some that even set up rules to automatically delete the CRs sight unseen, so there are folks that would not even know their e-mails haven't gotten through. I'm not trying to make it sound like the sky is falling, but just telling you what I have seen and experienced personally. > BTW, I feel kind of out of the loop on this since I never get that > much spam > - maybe 5-10 a day. Outlook seems to be real good at routing the spam > to my junk folder. Very rarely does a legit email show up there. And > a couple times a week it misses a spam and it ends up in my inbox. Hell, I can send some to you. I've already got all the pills and software I can handle. I am almost at my limit for pre-approved mortgages and loans too :) -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.13/946 - Release Date: 8/10/2007 3:50 PM From miscellany at mvps.org Sat Aug 11 14:26:41 2007 From: miscellany at mvps.org (Steve Schapel) Date: Sun, 12 Aug 2007 07:26:41 +1200 Subject: [AccessD] Date From Month Name In-Reply-To: <000c01c7dc36$7fa59050$0801a8c0@roberts> References: <20070811140718.80343BF02@smtp-auth.no-ip.com> <000c01c7dc36$7fa59050$0801a8c0@roberts> Message-ID: <46BE0D71.6000303@mvps.org> Robert, Don't know if there is a more elegant way, but I think this will work... CDate(Year(Date()) & "- " & [YourMonth] & "-" & 2) Regards Steve Robert wrote: > > I'm need some help with a date function.. I'm not 100% sure of my > requirements but I do know that I need to find the 2nd day of the month of > the current year derived solely on the Month name. The month name could be > abbreviated or not. > > > WBR > Robert > > From robert at servicexp.com Sat Aug 11 16:25:15 2007 From: robert at servicexp.com (Robert) Date: Sat, 11 Aug 2007 17:25:15 -0400 Subject: [AccessD] Date From Month Name In-Reply-To: <46BE0D71.6000303@mvps.org> References: <20070811140718.80343BF02@smtp-auth.no-ip.com><000c01c7dc36$7fa59050$0801a8c0@roberts> <46BE0D71.6000303@mvps.org> Message-ID: <001001c7dc5e$1cd89120$0801a8c0@roberts> Steve, Thanks, I think yours is a bit better then mine.. CDate(Format(sMonth & "/" & 2 & "/" & Format(Date, "yyyy"))) Thanks Again!! WBR Robert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Schapel Sent: Saturday, August 11, 2007 3:27 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Date From Month Name Robert, Don't know if there is a more elegant way, but I think this will work... CDate(Year(Date()) & "- " & [YourMonth] & "-" & 2) Regards Steve Robert wrote: > > I'm need some help with a date function.. I'm not 100% sure of my > requirements but I do know that I need to find the 2nd day of the > month of the current year derived solely on the Month name. The month > name could be abbreviated or not. > > > WBR > Robert > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Sat Aug 11 17:10:34 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 11 Aug 2007 18:10:34 -0400 Subject: [AccessD] OT Friday: Comodo AntiSpam In-Reply-To: Message-ID: <20070811221035.99472BD92@smtp-auth.no-ip.com> Bryan, >Well you are doing the same thing by going through the list of messages that get held by your CR system aren't you? Yes, I am, but that is simply a "get up to speed week or two to manually handle all of the things that I know need to be handled. After that I will not do this. They get responded to or don't talk to me. >Everybody is rabid about things John. Even you. What? How in the WORLD can you say I AM RABID about ANYTHING? ;-) >I was going to go through all these points you raise, but quite frankly I see your mind as being made up and nothing I can say, or the experts that deal with this day in or day out say will change your mind. And quite frankly I see your mind is made up too. Brian, what you see is someone who has done the normal and even not so normal stuff which just didn't work. I have stated several times that my mind is NOT made up, I am watching to see whether this works or not, and if not it will be abandoned. Let me tell you something. In my mind the "anti-spam community" is a bunch of whining spineless jellyfish. The ONE and ONLY organization who actually did ANYTHING AT ALL in terms of hurting the spamming community was Blue Frog. Blue Frog was driven out of business buy a DOS attack BECAUSE THEY WERE MAKING A DIFFERENCE and the spineless jellyfish AS community did ABSOLUTELY NOTHING to assist them. Blue Frog making progress. I was a blue frog system and my spam actually did drop a LOT because the spammers were reaching agreements with Blue Frog to cleanse their lists. One specific criminal (and yes, they are all criminals) used a huge botnet to put Blue Frog out of business. And guess what the jellyfish did. Whimper and whine about how blue frog was hurting the innocents instead of hurting the spammers. As if ANYTHING that the jellyfish were doing hurt the spammers AT ALL and as if any criminal would train a huge botnet on any company FOR THE PURPOSE OF DRIVING THEM OUT OF BUSINESS unless they were being hurt by that company. Whine, whine whine. Brian, I like you, and I respect your opinion but I have ABSOLUTELY NO USE for the "anti-spam community". They have done almost NOTHING real. ALL OF THE WHINING responses to CR are (IMNSHO) just more examples of their uselessness. CR could work if the "anti-spam community" wanted to make it work. They don't, they just want to whine and protect their own (pretty much useless) AS methods and programs. I did not see anything in that entire list that could not be addressed if they wanted to address them. It is far easier to whine than to do the things required to make a REAL difference. So is my mind made up? YEA, in fact I am PISSED. There ARE technologies to do MANY THINGS. The experts can trace each bot back. A PITA but it can be done. There have been talks about installing programs on systems with holes that the spammers use to grab a bot but "whine whine whine we can't do that because whine whine whine". You will never make ANY difference until you a) close the holes that allow botnets and b) take away their bots, and c) whack em where it hurts. Whine whine whine. NONE of them have done ANY of these three things. Whine whine whine. In the meantime the headlines are quoting big names in the "anti-spam" community saying "the war is lost, the spammers have won." Whine, whine, whine. Make a difference or get out of my face. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bryan Carbonnell Sent: Saturday, August 11, 2007 1:00 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT Friday: Comodo AntiSpam On 8/11/07, jwcolby wrote: > It takes exactly as long as it does to hit delete which is my point. > What good does it do to move all the emails off to a spam folder, hide > a couple out of 100 that are real, and then force me to go through the > list of 100 looking for the good ones? I might as well just leave the > spam in the in box and hit delete on each one. Well you are doing the same thing by going through the list of messages that get held by your CR system aren't you? > I know quite well that the Bayesian guys are RABID about Bayesian > stuff and how well it works, and yea, a 98% rate is pretty good, but not good enough. > I know that anti- > CR guys are PARTICULARLY rabid about CR. Oh well. Everybody is rabid about things John. Even you. > >From the Anti-web page: I was going to go through all these points you raise, but quite frankly I see your mind as being made up and nothing I can say, or the experts that deal with this day in or day out say will change your mind. I've said my peace and I'm outta here to enjoy my birthday. -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Sat Aug 11 17:18:56 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 11 Aug 2007 18:18:56 -0400 Subject: [AccessD] OT Friday: Comodo AntiSpam In-Reply-To: <005f01c7dc3e$58afae60$0301a8c0@HAL9005> Message-ID: <20070811221857.BF7BFBBEF@smtp-auth.no-ip.com> Rocky, And the bottom line is that is a valid choice. If the person is not important to you why in the world would you even read their email WITHOUT a CR required? If the person you are calling wants you to do something to help him control the flood and you don't really care about talking to him, then don't talk to him. CR is all about "I need help here and if I am important enough to talk to, please help me out here. When I was growing up, my grandfather needed to put stucco on the outside of his barn. The whole community showed up to help. Now you won't even take 10 seconds to respond to a CR. Just goes to show how much community is worth to us these days eh? I have been a contributing member of this community for 10 years and you would think I had raped your daughter by the response when a CR request shows up in your inbox. Pretty sad really. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Saturday, August 11, 2007 1:38 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT Friday: Comodo AntiSpam Now that you mention it, I've bailed on a couple of those CRs myself. Just wasn't interested enough in the message. I figure, if I get an email from them asking why I haven't responded, I'll tell them. It's like people who have caller ID and won't take your call if your number is blocked and you have to dial *82 or some such thing. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bryan Carbonnell Sent: Saturday, August 11, 2007 9:57 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT Friday: Comodo AntiSpam On 8/11/07, Rocky Smolin at Beach Access Software wrote: > How does CR handle the problem of people making inquiries about my > products and service from my web site? I don't think I'd want them to > have to go through the CR thing. The sender has to jump through hoops (reply to an e-mail, click a link, enter a pass phrase/code, etc one or more of the listed steps) to get their e-mail to you, or you have to go through the list of held posts and manually approve it. Be forewarned I know a LOT of people that will not, under any circumstances, reply to a CR system. The get summarily deleted. That's what I do. Even if you manually approve the e-mail to get through to you, you've already lost a lot or people. Now granted the places I hang out on the web are with a lot more technically savy (e-mail and mail servers) than Joe Average user. There are some that even set up rules to automatically delete the CRs sight unseen, so there are folks that would not even know their e-mails haven't gotten through. I'm not trying to make it sound like the sky is falling, but just telling you what I have seen and experienced personally. > BTW, I feel kind of out of the loop on this since I never get that > much spam > - maybe 5-10 a day. Outlook seems to be real good at routing the spam > to my junk folder. Very rarely does a legit email show up there. And > a couple times a week it misses a spam and it ends up in my inbox. Hell, I can send some to you. I've already got all the pills and software I can handle. I am almost at my limit for pre-approved mortgages and loans too :) -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.13/946 - Release Date: 8/10/2007 3:50 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Sat Aug 11 18:08:00 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 11 Aug 2007 19:08:00 -0400 Subject: [AccessD] OT Friday: Comodo AntiSpam In-Reply-To: <20070811221857.BF7BFBBEF@smtp-auth.no-ip.com> Message-ID: <20070811230802.68F2DBC97@smtp-auth.no-ip.com> Rocky, And no, I was not responding to your response specifically. My apologies that it appears that way. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Saturday, August 11, 2007 6:19 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT Friday: Comodo AntiSpam Rocky, And the bottom line is that is a valid choice. If the person is not important to you why in the world would you even read their email WITHOUT a CR required? If the person you are calling wants you to do something to help him control the flood and you don't really care about talking to him, then don't talk to him. CR is all about "I need help here and if I am important enough to talk to, please help me out here. When I was growing up, my grandfather needed to put stucco on the outside of his barn. The whole community showed up to help. Now you won't even take 10 seconds to respond to a CR. Just goes to show how much community is worth to us these days eh? I have been a contributing member of this community for 10 years and you would think I had raped your daughter by the response when a CR request shows up in your inbox. Pretty sad really. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Saturday, August 11, 2007 1:38 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT Friday: Comodo AntiSpam Now that you mention it, I've bailed on a couple of those CRs myself. Just wasn't interested enough in the message. I figure, if I get an email from them asking why I haven't responded, I'll tell them. It's like people who have caller ID and won't take your call if your number is blocked and you have to dial *82 or some such thing. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bryan Carbonnell Sent: Saturday, August 11, 2007 9:57 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT Friday: Comodo AntiSpam On 8/11/07, Rocky Smolin at Beach Access Software wrote: > How does CR handle the problem of people making inquiries about my > products and service from my web site? I don't think I'd want them to > have to go through the CR thing. The sender has to jump through hoops (reply to an e-mail, click a link, enter a pass phrase/code, etc one or more of the listed steps) to get their e-mail to you, or you have to go through the list of held posts and manually approve it. Be forewarned I know a LOT of people that will not, under any circumstances, reply to a CR system. The get summarily deleted. That's what I do. Even if you manually approve the e-mail to get through to you, you've already lost a lot or people. Now granted the places I hang out on the web are with a lot more technically savy (e-mail and mail servers) than Joe Average user. There are some that even set up rules to automatically delete the CRs sight unseen, so there are folks that would not even know their e-mails haven't gotten through. I'm not trying to make it sound like the sky is falling, but just telling you what I have seen and experienced personally. > BTW, I feel kind of out of the loop on this since I never get that > much spam > - maybe 5-10 a day. Outlook seems to be real good at routing the spam > to my junk folder. Very rarely does a legit email show up there. And > a couple times a week it misses a spam and it ends up in my inbox. Hell, I can send some to you. I've already got all the pills and software I can handle. I am almost at my limit for pre-approved mortgages and loans too :) -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.13/946 - Release Date: 8/10/2007 3:50 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dw-murphy at cox.net Sat Aug 11 18:28:10 2007 From: dw-murphy at cox.net (Doug Murphy) Date: Sat, 11 Aug 2007 16:28:10 -0700 Subject: [AccessD] OT Friday: Comodo AntiSpam In-Reply-To: <34C8A2AB1EF3564CB0D64DB6AFFDD5C208ED6DE1@XLIVMBX35bkup.aig.com> Message-ID: <09a701c7dc6f$47c1c3f0$0200a8c0@murphy3234aaf1> Folks, I'll add my recent experience, i.e., today. I act as webmaster for an organization I belong to;( gratuitous plug www.sdfwa.org ) I have all the email directed to the organization, not specificly to one of the accounts we have set up for officers sent to the webmaster account which is forwarded to my email account. Today some one started sending spam spoofing random names at sdfwa.org as the sender. I started getting all the bounces. I got something like 500 messages in a couple of hours. I just redirected the club email to one of my Gmail accounts and it filtered all the bogus messages as spam. I am impressed. This works way better than any of the spam blocking programs I have tried. FWIW Doug -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert Sent: Friday, August 10, 2007 10:20 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT Friday: Comodo AntiSpam I get my (home) mail from a POP3 server too, and while my ISP does offer some Spam filtering, it's not up to much. *However* I long ago set up my Gmail account to go retrieve my POP3 mail for me. I get to see all my mail in one place, and Gmail's SPAM filter works a treat. If you need to you can also set up your mail client to retrieve your mail from your Gmail inbox via POP and have the best of both worlds. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Friday, August 10, 2007 10:25 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT Friday: Comodo AntiSpam Gustav, As soon as I pick you up on the control panel I "allow" your email so in fact you do not have to respond. Your email as well as every one else on the list that has popped up so far is now coming right through because I manually "allowed" you to. Either way, you respond or I allow, it only has to be done one time and then it works just fine. I have not had time yet to evaluate the full impact, but I am a small company, with a small number of regular correspondents (with the exception of this list). I can appreciate the "challenge / response sucks" mentality but I don't have a mail server under my control. I use the pop server that comes with my web site. This works at the client level and so I am trying it. My apologies for any inconvenience. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, August 10, 2007 10:06 AM To: accessd at databaseadvisors.com Subject: [AccessD] OT Friday: Comodo AntiSpam Hi JC et al JC has sent this out, so now you cannot get to him directly. Aside the good intentions behind doing so, this will cause a lot of trouble, and I don't say too much if I - as a general warning - mention that the consensus between system people is, that as tempting these challenge-response system my seem, they represent a bad idea because the negative impact outweighs the positive. If you or your client run a mail server, I can strongly recommend SpamBunker: http://www.aimconsulting.ch/Spambunker/sbk-strategy.asp which is not free but cheap, and is superior to the common mail filtering systems. Thus, it requires no "learning", no maintenance, it works from the minute it is installed, and it handles massive amount of spam and/or mail even on modest hardware. We operate it here where we went from about 4000 spam mails per day to a handful per week after we had been under a week long attack with constantly 20 connections and more than 16000 connections per day. As a result we now promote this to our clients with serious spam troubles. /gustav --- >>> 10-08-2007 13:58 >>> Hi, it's jwcolby. I finally decided I'd had enough of junk mail, and installed a fantastic application that gets rid of it all. Unfortunately, you are not yet in my trusted senders list!! The only way I'll get your emails is if you follow the steps outlined below: Here's all you have to do: 1. Press Reply 2. In the body of the reply, type in my AntiSpam Passcode contained in the graphical attachment. 3. Press Send When I receive this reply, I will know that it was really you that sent me the email and not a computerized spammer. I will then be able to receive all your mail. This authentication will be done only once. Thank you & have a great day, jwcolby ---------------------------------------------------------------------------- -------------------- You are receiving this messages in response to your email to jwcolby at colbyconsulting.com, a Comodo AntiSpam user. Our Passcode Authentication Technology requires senders to verify themselves before their mail is delivered. You will only need to do this once. Comodo AntiSpam is completely free. Experience a 100% spam free inbox for yourself by visiting www.comodo.com X-Comodo-AntiSpamRFA (jwcolby at 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 rockysmolin at bchacc.com Sat Aug 11 18:40:03 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Sat, 11 Aug 2007 16:40:03 -0700 Subject: [AccessD] OT Friday: Comodo AntiSpam In-Reply-To: <20070811230802.68F2DBC97@smtp-auth.no-ip.com> Message-ID: <008301c7dc70$f12f5f50$0301a8c0@HAL9005> Do you know (after 10 years) how hard it is to take offense at anything written in COLBY? :o) The CR that I ignore are the ones from people I don't want to email with. If someone like yourself makes a CR I do it. It takes 5 seconds and I'm hooked up. But more than reducing spam, I'm starting on a subtle program to reduce the number of emails altogether. Taking a higher level view (like the altitude from which you push people from your metaphorical airplane) - there's too GD much email, altogether. I'm drowning in content - from jokes to important tech news to current events to family trivia. I admire the guy who declared 'email bankruptcy' - Lessig. Except for his pledge to try to keep up in the future. Why? There is a psychological model - two axes labeled Important/Unimportant on the Y and Urgent/Not Urgent on the X. So you can visualize what's in each quadrant. Generally people spend too much time in the Urgent/Unimportant quadrant. That's where you find most of the email and internet content. Email and the 'net create what I call 'artificial urgency' a phenomenon IMO created by the FedEx marketing department. Mostly it does not absolutely positively have to be there overnight. But once you're on that track, everything gets accelerated and takes on an artificial urgency. And since it's the weekend maybe I can get away with the OT ramble. Moderators should all be at the beach. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Saturday, August 11, 2007 4:08 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT Friday: Comodo AntiSpam Rocky, And no, I was not responding to your response specifically. My apologies that it appears that way. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Saturday, August 11, 2007 6:19 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT Friday: Comodo AntiSpam Rocky, And the bottom line is that is a valid choice. If the person is not important to you why in the world would you even read their email WITHOUT a CR required? If the person you are calling wants you to do something to help him control the flood and you don't really care about talking to him, then don't talk to him. CR is all about "I need help here and if I am important enough to talk to, please help me out here. When I was growing up, my grandfather needed to put stucco on the outside of his barn. The whole community showed up to help. Now you won't even take 10 seconds to respond to a CR. Just goes to show how much community is worth to us these days eh? I have been a contributing member of this community for 10 years and you would think I had raped your daughter by the response when a CR request shows up in your inbox. Pretty sad really. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Saturday, August 11, 2007 1:38 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT Friday: Comodo AntiSpam Now that you mention it, I've bailed on a couple of those CRs myself. Just wasn't interested enough in the message. I figure, if I get an email from them asking why I haven't responded, I'll tell them. It's like people who have caller ID and won't take your call if your number is blocked and you have to dial *82 or some such thing. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bryan Carbonnell Sent: Saturday, August 11, 2007 9:57 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT Friday: Comodo AntiSpam On 8/11/07, Rocky Smolin at Beach Access Software wrote: > How does CR handle the problem of people making inquiries about my > products and service from my web site? I don't think I'd want them to > have to go through the CR thing. The sender has to jump through hoops (reply to an e-mail, click a link, enter a pass phrase/code, etc one or more of the listed steps) to get their e-mail to you, or you have to go through the list of held posts and manually approve it. Be forewarned I know a LOT of people that will not, under any circumstances, reply to a CR system. The get summarily deleted. That's what I do. Even if you manually approve the e-mail to get through to you, you've already lost a lot or people. Now granted the places I hang out on the web are with a lot more technically savy (e-mail and mail servers) than Joe Average user. There are some that even set up rules to automatically delete the CRs sight unseen, so there are folks that would not even know their e-mails haven't gotten through. I'm not trying to make it sound like the sky is falling, but just telling you what I have seen and experienced personally. > BTW, I feel kind of out of the loop on this since I never get that > much spam > - maybe 5-10 a day. Outlook seems to be real good at routing the spam > to my junk folder. Very rarely does a legit email show up there. And > a couple times a week it misses a spam and it ends up in my inbox. Hell, I can send some to you. I've already got all the pills and software I can handle. I am almost at my limit for pre-approved mortgages and loans too :) -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.13/946 - Release Date: 8/10/2007 3:50 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.13/946 - Release Date: 8/10/2007 3:50 PM From accessd at shaw.ca Sat Aug 11 18:50:32 2007 From: accessd at shaw.ca (Jim Lawrence) Date: Sat, 11 Aug 2007 16:50:32 -0700 Subject: [AccessD] OT Friday: Comodo AntiSpam In-Reply-To: <09a701c7dc6f$47c1c3f0$0200a8c0@murphy3234aaf1> Message-ID: <0JMM0039TVCSF5NA@l-daemon> Hi Doug: I have not tried it myself (My ISP is Shaw which has excellent Spam filters) but actually know of a company that uses Gmail spam filter for their company and I have heard of others who swear by Gmail. Excellent choice. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Murphy Sent: Saturday, August 11, 2007 4:28 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT Friday: Comodo AntiSpam Folks, I'll add my recent experience, i.e., today. I act as webmaster for an organization I belong to;( gratuitous plug www.sdfwa.org ) I have all the email directed to the organization, not specificly to one of the accounts we have set up for officers sent to the webmaster account which is forwarded to my email account. Today some one started sending spam spoofing random names at sdfwa.org as the sender. I started getting all the bounces. I got something like 500 messages in a couple of hours. I just redirected the club email to one of my Gmail accounts and it filtered all the bogus messages as spam. I am impressed. This works way better than any of the spam blocking programs I have tried. FWIW Doug -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert Sent: Friday, August 10, 2007 10:20 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT Friday: Comodo AntiSpam I get my (home) mail from a POP3 server too, and while my ISP does offer some Spam filtering, it's not up to much. *However* I long ago set up my Gmail account to go retrieve my POP3 mail for me. I get to see all my mail in one place, and Gmail's SPAM filter works a treat. If you need to you can also set up your mail client to retrieve your mail from your Gmail inbox via POP and have the best of both worlds. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Friday, August 10, 2007 10:25 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT Friday: Comodo AntiSpam Gustav, As soon as I pick you up on the control panel I "allow" your email so in fact you do not have to respond. Your email as well as every one else on the list that has popped up so far is now coming right through because I manually "allowed" you to. Either way, you respond or I allow, it only has to be done one time and then it works just fine. I have not had time yet to evaluate the full impact, but I am a small company, with a small number of regular correspondents (with the exception of this list). I can appreciate the "challenge / response sucks" mentality but I don't have a mail server under my control. I use the pop server that comes with my web site. This works at the client level and so I am trying it. My apologies for any inconvenience. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, August 10, 2007 10:06 AM To: accessd at databaseadvisors.com Subject: [AccessD] OT Friday: Comodo AntiSpam Hi JC et al JC has sent this out, so now you cannot get to him directly. Aside the good intentions behind doing so, this will cause a lot of trouble, and I don't say too much if I - as a general warning - mention that the consensus between system people is, that as tempting these challenge-response system my seem, they represent a bad idea because the negative impact outweighs the positive. If you or your client run a mail server, I can strongly recommend SpamBunker: http://www.aimconsulting.ch/Spambunker/sbk-strategy.asp which is not free but cheap, and is superior to the common mail filtering systems. Thus, it requires no "learning", no maintenance, it works from the minute it is installed, and it handles massive amount of spam and/or mail even on modest hardware. We operate it here where we went from about 4000 spam mails per day to a handful per week after we had been under a week long attack with constantly 20 connections and more than 16000 connections per day. As a result we now promote this to our clients with serious spam troubles. /gustav --- >>> 10-08-2007 13:58 >>> Hi, it's jwcolby. I finally decided I'd had enough of junk mail, and installed a fantastic application that gets rid of it all. Unfortunately, you are not yet in my trusted senders list!! The only way I'll get your emails is if you follow the steps outlined below: Here's all you have to do: 1. Press Reply 2. In the body of the reply, type in my AntiSpam Passcode contained in the graphical attachment. 3. Press Send When I receive this reply, I will know that it was really you that sent me the email and not a computerized spammer. I will then be able to receive all your mail. This authentication will be done only once. Thank you & have a great day, jwcolby ---------------------------------------------------------------------------- -------------------- You are receiving this messages in response to your email to jwcolby at colbyconsulting.com, a Comodo AntiSpam user. Our Passcode Authentication Technology requires senders to verify themselves before their mail is delivered. You will only need to do this once. Comodo AntiSpam is completely free. Experience a 100% spam free inbox for yourself by visiting www.comodo.com X-Comodo-AntiSpamRFA (jwcolby at 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 jwcolby at colbyconsulting.com Sat Aug 11 19:11:59 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 11 Aug 2007 20:11:59 -0400 Subject: [AccessD] OT Friday: Comodo AntiSpam In-Reply-To: <09a701c7dc6f$47c1c3f0$0200a8c0@murphy3234aaf1> Message-ID: <20070812001200.4C228BC63@smtp-auth.no-ip.com> What really needs to happen is to make the clients like Outlook etc be able to SEND with a specific email address / account, based on the address being sent to. Default to main but allow setting a specific address to do the send if desired. You can receive from all email addresses / accounts but the send is all from the same address / account (the default). You should also be able to set up different instances of the email client such that one instance pulls email from this email address / account while another instance pulls from another account. I have a handful of email accounts, jwcolby@, admin@ etc. The way things are they all just pour into the same client and I have to rely on filters to route them to specific sub folders inside of the main folder. This concept of using gmail as a filter is certainly intriguing, but unfortunately all the spam comes in on my jwcolby address which I do not want to expose to eternal archiving. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Murphy Sent: Saturday, August 11, 2007 7:28 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT Friday: Comodo AntiSpam Folks, I'll add my recent experience, i.e., today. I act as webmaster for an organization I belong to;( gratuitous plug www.sdfwa.org ) I have all the email directed to the organization, not specificly to one of the accounts we have set up for officers sent to the webmaster account which is forwarded to my email account. Today some one started sending spam spoofing random names at sdfwa.org as the sender. I started getting all the bounces. I got something like 500 messages in a couple of hours. I just redirected the club email to one of my Gmail accounts and it filtered all the bogus messages as spam. I am impressed. This works way better than any of the spam blocking programs I have tried. FWIW Doug -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert Sent: Friday, August 10, 2007 10:20 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT Friday: Comodo AntiSpam I get my (home) mail from a POP3 server too, and while my ISP does offer some Spam filtering, it's not up to much. *However* I long ago set up my Gmail account to go retrieve my POP3 mail for me. I get to see all my mail in one place, and Gmail's SPAM filter works a treat. If you need to you can also set up your mail client to retrieve your mail from your Gmail inbox via POP and have the best of both worlds. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Friday, August 10, 2007 10:25 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT Friday: Comodo AntiSpam Gustav, As soon as I pick you up on the control panel I "allow" your email so in fact you do not have to respond. Your email as well as every one else on the list that has popped up so far is now coming right through because I manually "allowed" you to. Either way, you respond or I allow, it only has to be done one time and then it works just fine. I have not had time yet to evaluate the full impact, but I am a small company, with a small number of regular correspondents (with the exception of this list). I can appreciate the "challenge / response sucks" mentality but I don't have a mail server under my control. I use the pop server that comes with my web site. This works at the client level and so I am trying it. My apologies for any inconvenience. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, August 10, 2007 10:06 AM To: accessd at databaseadvisors.com Subject: [AccessD] OT Friday: Comodo AntiSpam Hi JC et al JC has sent this out, so now you cannot get to him directly. Aside the good intentions behind doing so, this will cause a lot of trouble, and I don't say too much if I - as a general warning - mention that the consensus between system people is, that as tempting these challenge-response system my seem, they represent a bad idea because the negative impact outweighs the positive. If you or your client run a mail server, I can strongly recommend SpamBunker: http://www.aimconsulting.ch/Spambunker/sbk-strategy.asp which is not free but cheap, and is superior to the common mail filtering systems. Thus, it requires no "learning", no maintenance, it works from the minute it is installed, and it handles massive amount of spam and/or mail even on modest hardware. We operate it here where we went from about 4000 spam mails per day to a handful per week after we had been under a week long attack with constantly 20 connections and more than 16000 connections per day. As a result we now promote this to our clients with serious spam troubles. /gustav --- >>> 10-08-2007 13:58 >>> Hi, it's jwcolby. I finally decided I'd had enough of junk mail, and installed a fantastic application that gets rid of it all. Unfortunately, you are not yet in my trusted senders list!! The only way I'll get your emails is if you follow the steps outlined below: Here's all you have to do: 1. Press Reply 2. In the body of the reply, type in my AntiSpam Passcode contained in the graphical attachment. 3. Press Send When I receive this reply, I will know that it was really you that sent me the email and not a computerized spammer. I will then be able to receive all your mail. This authentication will be done only once. Thank you & have a great day, jwcolby ---------------------------------------------------------------------------- -------------------- You are receiving this messages in response to your email to jwcolby at colbyconsulting.com, a Comodo AntiSpam user. Our Passcode Authentication Technology requires senders to verify themselves before their mail is delivered. You will only need to do this once. Comodo AntiSpam is completely free. Experience a 100% spam free inbox for yourself by visiting www.comodo.com X-Comodo-AntiSpamRFA (jwcolby at 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 miscellany at mvps.org Sat Aug 11 19:23:22 2007 From: miscellany at mvps.org (Steve Schapel) Date: Sun, 12 Aug 2007 12:23:22 +1200 Subject: [AccessD] OT Friday: Comodo AntiSpam In-Reply-To: <20070812001200.4C228BC63@smtp-auth.no-ip.com> References: <20070812001200.4C228BC63@smtp-auth.no-ip.com> Message-ID: <46BE52FA.4090603@mvps.org> jwcolby wrote: > ... which I do not > want to expose to eternal archiving. I wonder how one could find out whether this eternal archiving charge is truth or folklore... Regards Steve From miscellany at mvps.org Sat Aug 11 19:32:06 2007 From: miscellany at mvps.org (Steve Schapel) Date: Sun, 12 Aug 2007 12:32:06 +1200 Subject: [AccessD] OT Friday: Comodo AntiSpam In-Reply-To: <0JMM0039TVCSF5NA@l-daemon> References: <0JMM0039TVCSF5NA@l-daemon> Message-ID: <46BE5506.3030309@mvps.org> My experience so far (22 hours :-) ) with scrubbing my email by routing it through Gmail, is a very high number of false positives, i.e. most of the legitimate email is being spam-dunked by Gmail. Regards Steve Jim Lawrence wrote: > I have not tried it myself (My ISP is Shaw which has excellent Spam filters) > but actually know of a company that uses Gmail spam filter for their company > and I have heard of others who swear by Gmail. > > Excellent choice. From jwcolby at colbyconsulting.com Sat Aug 11 20:08:57 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 11 Aug 2007 21:08:57 -0400 Subject: [AccessD] OT Friday: Comodo AntiSpam In-Reply-To: <46BE5506.3030309@mvps.org> Message-ID: <20070812010858.6869CBD32@smtp-auth.no-ip.com> Ouch. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Schapel Sent: Saturday, August 11, 2007 8:32 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT Friday: Comodo AntiSpam My experience so far (22 hours :-) ) with scrubbing my email by routing it through Gmail, is a very high number of false positives, i.e. most of the legitimate email is being spam-dunked by Gmail. Regards Steve Jim Lawrence wrote: > I have not tried it myself (My ISP is Shaw which has excellent Spam > filters) but actually know of a company that uses Gmail spam filter > for their company and I have heard of others who swear by Gmail. > > Excellent choice. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From carbonnb at gmail.com Sat Aug 11 21:52:12 2007 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Sat, 11 Aug 2007 22:52:12 -0400 Subject: [AccessD] OT Friday: Comodo AntiSpam In-Reply-To: <20070811221035.99472BD92@smtp-auth.no-ip.com> References: <20070811221035.99472BD92@smtp-auth.no-ip.com> Message-ID: On 8/11/07, jwcolby wrote: > Yes, I am, but that is simply a "get up to speed week or two to manually > handle all of the things that I know need to be handled. After that I will > not do this. They get responded to or don't talk to me. What about potential new customers? Are you willing to throw the baby out with the bath water? I can tell you that if *I* have to jump through too many hoops to deal with a company, I don't deal with them if I don't have to. Automated phone systems, not being able to deal with a real person, poor service, etc,etc. They don't get my business. A CR system is the same deal to me. > And quite frankly I see your mind is made up too. Has been for a very long time on CR systems. POS that passes your spam filtering onto me. > Brian, what you see is someone who has done the normal and even not so > normal stuff which just didn't work. I have stated several times that my > mind is NOT made up, I am watching to see whether this works or not, and if > not it will be abandoned. That's not what I get from reading your posts John. What I get is that you have no use for the opinions of the folks, nor the actual folks, that do anti-spam and mail server admining for a living. > Let me tell you something. In my mind the "anti-spam community" is a bunch > of whining spineless jellyfish. The ONE and ONLY organization who actually I can't and won't comment on anything that you have said about Blue Fish. never heard of them. Never dealt with them, never knew they existed. > Brian, I like you, and I respect your opinion Likewise John. > but I have ABSOLUTELY NO USE > for the "anti-spam community". Why is "anti-spam community in quotes? Who are you referring to? The folks the are the actual experts in the field or those that say they are? You need to be specific. I've got a ton of respect for the anti-spam community. They are doing what they can with their hands tied behind their backs. They have almost no legal ground to stand on. They have very little support form any gov't agency. The can-Spam act is a ****ing joke. It take a lot of hard work and dedication to deal with what they have to deal with on a day to day basis. > They have done almost NOTHING real. ALL OF > THE WHINING responses to CR are (IMNSHO) just more examples of their > uselessness. CR could work if the "anti-spam community" wanted to make it > work. They don't, they just want to whine and protect their own (pretty > much useless) AS methods and programs. I did not see anything in that > entire list that could not be addressed if they wanted to address them. You know what John, reading this paragraph make me thing that you are only reading they hype and drivel by people claiming to be experts. All the people I have respect for are not rabid in their approach. It's here is the good, here is the bad. here is why the good out weighs the bad. here is why the bad out weighs the good. No there is not a single place to tell the good guys from the bad guys. You have to do a LOT of reading and when you find someone who's opinion that you trust you need to listen to what they say. From that, you can then make informed decisions. > It is far easier to whine than to do the things required to make a REAL > difference. Such as? > So is my mind made up? YEA, in fact I am PISSED. There ARE technologies to > do MANY THINGS. The experts can trace each bot back. A PITA but it can be > done. There have been talks about installing programs on systems with holes > that the spammers use to grab a bot but "whine whine whine we can't do that > because whine whine whine". You will never make ANY difference until you a) > close the holes that allow botnets and b) take away their bots, and c) whack > em where it hurts. Whine whine whine. NONE of them have done ANY of these > three things. Whine whine whine. What would you like them to do John? The bots run on Windows typically. Well crap, you and I both know MS won't do anything to plug the holes because it'll make it more difficult for your grandparents and mine to get pics of their grand babies until there is a huge outcry from the security experts or they get threatened with public disclosure of the holes. > Make a difference or get out of my face. Such as? Here are typical stories I hear over and over again. SysAdmin block IP range because of spamming SysAdmin gets hauled on the carpet by CEO because he can't get e-mail from IP range because of the block. SysAdmin has to go and unblock the the IP range letting spam back into his system ISP SysAdmin block IP range because of spamming ISP SysAdmin gets complains from paying subscribers that they cannot get email from Joe Blow because of IP range is blocked. ISP SysAdmin has to go and unblock the the IP range letting spam back into his system Last one small time sysadmin implements new spam filtering. small time sysadmin gets email saying why can't I post to any of my mailing lists anymore? Did I do something wrong? small time sysadmin has to unimplement spam filtering to let long time posters back to thier mailing lists (Welcome back Rocky and Jon :) It's not that easy John. CR systems just add traffic and volume to an already over burdened system, while adding little to no benefit, IMO. -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" From carbonnb at gmail.com Sat Aug 11 21:59:06 2007 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Sat, 11 Aug 2007 22:59:06 -0400 Subject: [AccessD] OT Friday: Comodo AntiSpam In-Reply-To: <20070811221857.BF7BFBBEF@smtp-auth.no-ip.com> References: <005f01c7dc3e$58afae60$0301a8c0@HAL9005> <20070811221857.BF7BFBBEF@smtp-auth.no-ip.com> Message-ID: On 8/11/07, jwcolby wrote: > And the bottom line is that is a valid choice. If the person is not It certainly is. So is drinking yourself to death. But both are, IMO, poor choices to finding solutions to problems. > important to you why in the world would you even read their email WITHOUT a > CR required? Because if I'm running a business I do not want my customers to jump through hoops to deal with me. And if it is personal e-mail, I don't want my friend to have to jump through hoops to talk to me. > If the person you are calling wants you to do something to > help him control the flood and you don't really care about talking to him, > then don't talk to him. CR is all about "I need help here and if I am > important enough to talk to, please help me out here. What about the people that ask for help and have a CR system in place. They send me a request for help and I reply and they haven't bothered to whitelist me? Why should *I* jump through hoops to answer *THEIR* question *THEY ASKED ME*? > When I was growing up, my grandfather needed to put stucco on the outside of > his barn. The whole community showed up to help. I would help my neighbour out in a heart beat if they needed me. > Now you won't even take 10 seconds to respond to a CR. Nope. IMO, its the wrong fix for a problem. Just like I wouldn't restucco an entire barn if only one wall needed restuccoing. > Just goes to show how much community is > worth to us these days eh? I have been a contributing member of this > community for 10 years and you would think I had raped your daughter by the > response when a CR request shows up in your inbox. Pretty sad really. It's no worse than some of the comments that have passed back and forth about bound/unbound, Natural/Surrogate PKs, etc, etc. -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" From carbonnb at gmail.com Sat Aug 11 22:00:52 2007 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Sat, 11 Aug 2007 23:00:52 -0400 Subject: [AccessD] OT Friday: Comodo AntiSpam In-Reply-To: <008301c7dc70$f12f5f50$0301a8c0@HAL9005> References: <20070811230802.68F2DBC97@smtp-auth.no-ip.com> <008301c7dc70$f12f5f50$0301a8c0@HAL9005> Message-ID: On 8/11/07, Rocky Smolin at Beach Access Software wrote: > And since it's the weekend maybe I can get away with the OT ramble. > Moderators should all be at the beach. Good point. I think we should go over to tech. I'm going to copy Tech on all my relpies now :) Thanks for being such a good Mod Rocky. Wanna join? :) -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" From carbonnb at gmail.com Sat Aug 11 22:05:30 2007 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Sat, 11 Aug 2007 23:05:30 -0400 Subject: [AccessD] OT Friday: Comodo AntiSpam In-Reply-To: <20070812001200.4C228BC63@smtp-auth.no-ip.com> References: <09a701c7dc6f$47c1c3f0$0200a8c0@murphy3234aaf1> <20070812001200.4C228BC63@smtp-auth.no-ip.com> Message-ID: On 8/11/07, jwcolby wrote: > What really needs to happen is to make the clients like Outlook etc be able > to SEND with a specific email address / account, based on the address being > sent to. Default to main but allow setting a specific address to do the > send if desired. You can receive from all email addresses / accounts but > the send is all from the same address / account (the default). I'm sorry to have to say this, but use a better e-mail client. Pegasus Mail allows me to send as different Identities. I can even set it up so that if I am in a folder then replies and new mails are automatically from a specific e-mail address. Here is an example. All of my e-mail to listmaster at databaseadvisors.com gets filtered into a specific folder. When I reply to an e-mail in that folder, it automatically gets sent from my listmaster identity, which includes my e-mail address as listmaster at databaseadvisors.com. My personal bryan at carbonnell.ca account is the default but if I'm in that particular folder, listmaster gets used. And I've got a few other identitis that I use on a regular basis. -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" From carbonnb at gmail.com Sat Aug 11 22:07:11 2007 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Sat, 11 Aug 2007 23:07:11 -0400 Subject: [AccessD] OT Friday: Comodo AntiSpam In-Reply-To: <46BE5506.3030309@mvps.org> References: <0JMM0039TVCSF5NA@l-daemon> <46BE5506.3030309@mvps.org> Message-ID: On 8/11/07, Steve Schapel wrote: > My experience so far (22 hours :-) ) with scrubbing my email by routing > it through Gmail, is a very high number of false positives, i.e. most of > the legitimate email is being spam-dunked by Gmail. That will drop. I get maybe 5-10 false positives a week on a volume of well over 1500 good email. -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" From rockysmolin at bchacc.com Sun Aug 12 00:22:09 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Sat, 11 Aug 2007 22:22:09 -0700 Subject: [AccessD] OT Friday: Comodo AntiSpam In-Reply-To: Message-ID: <009d01c7dca0$bb9b6570$0301a8c0@HAL9005> Me? Mod? Heaven forfend! Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bryan Carbonnell Sent: Saturday, August 11, 2007 8:01 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT Friday: Comodo AntiSpam On 8/11/07, Rocky Smolin at Beach Access Software wrote: > And since it's the weekend maybe I can get away with the OT ramble. > Moderators should all be at the beach. Good point. I think we should go over to tech. I'm going to copy Tech on all my relpies now :) Thanks for being such a good Mod Rocky. Wanna join? :) -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.13/947 - Release Date: 8/11/2007 2:29 PM From gustav at cactus.dk Sun Aug 12 17:01:07 2007 From: gustav at cactus.dk (Gustav Brock) Date: Mon, 13 Aug 2007 00:01:07 +0200 Subject: [AccessD] Svar: Date From Month Name Message-ID: Hi Robert DateValue is good for such purposes: datDate = DateValue(strMonth & "/2") /gustav >>> robert at servicexp.com 11-08-07 18:41 >>> I'm need some help with a date function.. I'm not 100% sure of my requirements but I do know that I need to find the 2nd day of the month of the current year derived solely on the Month name. The month name could be abbreviated or not. WBR Robert From robert at servicexp.com Sun Aug 12 17:45:49 2007 From: robert at servicexp.com (Robert) Date: Sun, 12 Aug 2007 18:45:49 -0400 Subject: [AccessD] Svar: Date From Month Name In-Reply-To: References: Message-ID: <000001c7dd32$887b8c50$0801a8c0@roberts> Thank You Gustav! WBR Robert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Sunday, August 12, 2007 6:01 PM To: accessd at databaseadvisors.com Subject: [AccessD] Svar: Date From Month Name Hi Robert DateValue is good for such purposes: datDate = DateValue(strMonth & "/2") /gustav >>> robert at servicexp.com 11-08-07 18:41 >>> I'm need some help with a date function.. I'm not 100% sure of my requirements but I do know that I need to find the 2nd day of the month of the current year derived solely on the Month name. The month name could be abbreviated or not. WBR Robert -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From robert at servicexp.com Sun Aug 12 17:47:20 2007 From: robert at servicexp.com (Robert) Date: Sun, 12 Aug 2007 18:47:20 -0400 Subject: [AccessD] Word Inside Access Form? In-Reply-To: <009d01c7dca0$bb9b6570$0301a8c0@HAL9005> References: <009d01c7dca0$bb9b6570$0301a8c0@HAL9005> Message-ID: <000101c7dd32$be3cfe00$0801a8c0@roberts> Can this be done.. I'm looking for an internal word processor. WBR Robert From miscellany at mvps.org Sun Aug 12 18:01:13 2007 From: miscellany at mvps.org (Steve Schapel) Date: Mon, 13 Aug 2007 11:01:13 +1200 Subject: [AccessD] Word Inside Access Form? In-Reply-To: <000101c7dd32$be3cfe00$0801a8c0@roberts> References: <009d01c7dca0$bb9b6570$0301a8c0@HAL9005> <000101c7dd32$be3cfe00$0801a8c0@roberts> Message-ID: <46BF9139.3090507@mvps.org> Not sure if it's still available... You used to be able to get alphabet soup. Sorry, couldn't resist. What do you mean by internal? Regards Steve Robert wrote: > > Can this be done.. I'm looking for an internal word processor. From robert at servicexp.com Sun Aug 12 19:24:23 2007 From: robert at servicexp.com (Robert) Date: Sun, 12 Aug 2007 20:24:23 -0400 Subject: [AccessD] Word Inside Access Form? In-Reply-To: <46BF9139.3090507@mvps.org> References: <009d01c7dca0$bb9b6570$0301a8c0@HAL9005><000101c7dd32$be3cfe00$0801a8c0@roberts> <46BF9139.3090507@mvps.org> Message-ID: <000201c7dd40$4d471ce0$0801a8c0@roberts> Steve, Looking for a internal (inside Access / via a form) word/text processor that is seamless as possible. Much like a report writer but for text/documents.. I may have to use a third party control... WBR Robert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Schapel Sent: Sunday, August 12, 2007 7:01 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Word Inside Access Form? Not sure if it's still available... You used to be able to get alphabet soup. Sorry, couldn't resist. What do you mean by internal? Regards Steve Robert wrote: > > Can this be done.. I'm looking for an internal word processor. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From nd500_lo at charter.net Sun Aug 12 21:37:13 2007 From: nd500_lo at charter.net (Dian) Date: Sun, 12 Aug 2007 19:37:13 -0700 Subject: [AccessD] Word Inside Access Form? In-Reply-To: <000201c7dd40$4d471ce0$0801a8c0@roberts> References: <009d01c7dca0$bb9b6570$0301a8c0@HAL9005><000101c7dd32$be3cfe00$0801a8c0@roberts><46BF9139.3090507@mvps.org> <000201c7dd40$4d471ce0$0801a8c0@roberts> Message-ID: <000001c7dd52$db8e6eb0$6400a8c0@dsunit1> You can embed a Word document in an Access database...is that what you want to do? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Robert Sent: Sunday, August 12, 2007 5:24 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Word Inside Access Form? Steve, Looking for a internal (inside Access / via a form) word/text processor that is seamless as possible. Much like a report writer but for text/documents.. I may have to use a third party control... WBR Robert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Schapel Sent: Sunday, August 12, 2007 7:01 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Word Inside Access Form? Not sure if it's still available... You used to be able to get alphabet soup. Sorry, couldn't resist. What do you mean by internal? Regards Steve Robert wrote: > > Can this be done.. I'm looking for an internal word processor. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Sun Aug 12 22:22:26 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Sun, 12 Aug 2007 20:22:26 -0700 Subject: [AccessD] Running front end on server Message-ID: <010001c7dd59$2caa61e0$0301a8c0@HAL9005> Dear List: If you run the front end on a server, do you still need a copy of access on each client? And if not, is it still street legal? Rocky From stuart at lexacorp.com.pg Sun Aug 12 22:39:32 2007 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Mon, 13 Aug 2007 13:39:32 +1000 Subject: [AccessD] Running front end on server In-Reply-To: <010001c7dd59$2caa61e0$0301a8c0@HAL9005> References: <010001c7dd59$2caa61e0$0301a8c0@HAL9005> Message-ID: <46BFD274.29091.F37DBD@stuart.lexacorp.com.pg> On 12 Aug 2007 at 20:22, Rocky Smolin at Beach Access wrote: > > If you run the front end on a server, do you still need a copy of access on > each client? Yes. your FE is not an application (executable file), it's just a collection of objects and code which are called by an application (MSAccess.exe). You still need to run the application on the workstation and MSAccess.exe won't run unless it is installed with all the appropriate registry entries. From jwcolby at colbyconsulting.com Sun Aug 12 22:48:48 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sun, 12 Aug 2007 23:48:48 -0400 Subject: [AccessD] Running front end on server In-Reply-To: <010001c7dd59$2caa61e0$0301a8c0@HAL9005> Message-ID: <20070813034856.0A38EBD4E@smtp-auth.no-ip.com> Rocky, Running the FE on the server is possible of course, but one has to ask what you mean. To truly "run it" on the serve you would need remote desktop or the like. Otherwise the server just serves up pieces of the Fe, downloaded to and run on the workstation. This is pretty much the worst of all worlds for a bunch of reasons. Fes are notable for corrupting when run by several people at the same time. Changes can be made (sometimes) but shouldn't be etc. There is high network usage as forms and reports are downloaded to run on the workstation etc. Downloading the entire FE to the workstation gives each WS its own copy and does away with all of these problems. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Sunday, August 12, 2007 11:22 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Running front end on server Dear List: If you run the front end on a server, do you still need a copy of access on each client? And if not, is it still street legal? Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Sun Aug 12 23:07:25 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Sun, 12 Aug 2007 21:07:25 -0700 Subject: [AccessD] Running front end on server In-Reply-To: <20070813034856.0A38EBD4E@smtp-auth.no-ip.com> Message-ID: <011401c7dd5f$74fe8f60$0301a8c0@HAL9005> I think I've convinced the client that it's a bad idea. This should put the nail in the coffin. Besides, it's easy to make a run-time with the Wise/Sagekey combo and load that on each WS. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Sunday, August 12, 2007 8:49 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Running front end on server Rocky, Running the FE on the server is possible of course, but one has to ask what you mean. To truly "run it" on the serve you would need remote desktop or the like. Otherwise the server just serves up pieces of the Fe, downloaded to and run on the workstation. This is pretty much the worst of all worlds for a bunch of reasons. Fes are notable for corrupting when run by several people at the same time. Changes can be made (sometimes) but shouldn't be etc. There is high network usage as forms and reports are downloaded to run on the workstation etc. Downloading the entire FE to the workstation gives each WS its own copy and does away with all of these problems. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Sunday, August 12, 2007 11:22 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Running front end on server Dear List: If you run the front end on a server, do you still need a copy of access on each client? And if not, is it still street legal? Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.15/949 - Release Date: 8/12/2007 11:03 AM From andy at minstersystems.co.uk Mon Aug 13 02:22:37 2007 From: andy at minstersystems.co.uk (Andy Lacey) Date: Mon, 13 Aug 2007 08:22:37 +0100 Subject: [AccessD] OT Friday: Comodo AntiSpam In-Reply-To: Message-ID: <003f01c7dd7a$b9cf7d00$6d4b0c54@minster33c3r25> OK, mod back from beach (well cricket actually) and it's no longer even close to Friday, so please take any further discussion on this to dba-Tech and (as we always say) if you're not a member of dba-Tech please get signed up as it was established for exactly this sort of thread. Cheers folks -- 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 2007 04:01 > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] OT Friday: Comodo AntiSpam > > > On 8/11/07, Rocky Smolin at Beach Access Software > wrote: > > > And since it's the weekend maybe I can get away with the OT ramble. > > Moderators should all be at the beach. > > Good point. I think we should go over to tech. I'm going to > copy Tech on all my relpies now :) > > Thanks for being such a good Mod Rocky. Wanna join? :) > > -- > Bryan Carbonnell - carbonnb at gmail.com > Life's journey is not to arrive at the grave safely in a well > preserved body, but rather to skid in sideways, totally worn > out, shouting "What a great ride!" > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From Lambert.Heenan at AIG.com Mon Aug 13 08:28:33 2007 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Mon, 13 Aug 2007 08:28:33 -0500 Subject: [AccessD] OT Friday: Comodo AntiSpam Message-ID: <34C8A2AB1EF3564CB0D64DB6AFFDD5C208ED6DF7@XLIVMBX35bkup.aig.com> That's exactly how gMail works. Your reply is automatically from the address the message was sent to in the first place. Mail to different addresses can very easily be labeled as such automatically as they arrive, and it's just a single click to see all mail with a specific label. As for false positives, mentioned by Steve: I guess it just depends! I check my gMail spam folder every few days and I've never yet found a single item in there that I wanted to keep. And the delete button reads "Delete Forever" Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Saturday, August 11, 2007 8:12 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT Friday: Comodo AntiSpam What really needs to happen is to make the clients like Outlook etc be able to SEND with a specific email address / account, based on the address being sent to. Default to main but allow setting a specific address to do the send if desired. You can receive from all email addresses / accounts but the send is all from the same address / account (the default). You should also be able to set up different instances of the email client such that one instance pulls email from this email address / account while another instance pulls from another account. I have a handful of email accounts, jwcolby@, admin@ etc. The way things are they all just pour into the same client and I have to rely on filters to route them to specific sub folders inside of the main folder. This concept of using gmail as a filter is certainly intriguing, but unfortunately all the spam comes in on my jwcolby address which I do not want to expose to eternal archiving. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Murphy Sent: Saturday, August 11, 2007 7:28 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT Friday: Comodo AntiSpam Folks, I'll add my recent experience, i.e., today. I act as webmaster for an organization I belong to;( gratuitous plug www.sdfwa.org ) I have all the email directed to the organization, not specificly to one of the accounts we have set up for officers sent to the webmaster account which is forwarded to my email account. Today some one started sending spam spoofing random names at sdfwa.org as the sender. I started getting all the bounces. I got something like 500 messages in a couple of hours. I just redirected the club email to one of my Gmail accounts and it filtered all the bogus messages as spam. I am impressed. This works way better than any of the spam blocking programs I have tried. FWIW Doug -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert Sent: Friday, August 10, 2007 10:20 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT Friday: Comodo AntiSpam I get my (home) mail from a POP3 server too, and while my ISP does offer some Spam filtering, it's not up to much. *However* I long ago set up my Gmail account to go retrieve my POP3 mail for me. I get to see all my mail in one place, and Gmail's SPAM filter works a treat. If you need to you can also set up your mail client to retrieve your mail from your Gmail inbox via POP and have the best of both worlds. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Friday, August 10, 2007 10:25 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT Friday: Comodo AntiSpam Gustav, As soon as I pick you up on the control panel I "allow" your email so in fact you do not have to respond. Your email as well as every one else on the list that has popped up so far is now coming right through because I manually "allowed" you to. Either way, you respond or I allow, it only has to be done one time and then it works just fine. I have not had time yet to evaluate the full impact, but I am a small company, with a small number of regular correspondents (with the exception of this list). I can appreciate the "challenge / response sucks" mentality but I don't have a mail server under my control. I use the pop server that comes with my web site. This works at the client level and so I am trying it. My apologies for any inconvenience. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, August 10, 2007 10:06 AM To: accessd at databaseadvisors.com Subject: [AccessD] OT Friday: Comodo AntiSpam Hi JC et al JC has sent this out, so now you cannot get to him directly. Aside the good intentions behind doing so, this will cause a lot of trouble, and I don't say too much if I - as a general warning - mention that the consensus between system people is, that as tempting these challenge-response system my seem, they represent a bad idea because the negative impact outweighs the positive. If you or your client run a mail server, I can strongly recommend SpamBunker: http://www.aimconsulting.ch/Spambunker/sbk-strategy.asp which is not free but cheap, and is superior to the common mail filtering systems. Thus, it requires no "learning", no maintenance, it works from the minute it is installed, and it handles massive amount of spam and/or mail even on modest hardware. We operate it here where we went from about 4000 spam mails per day to a handful per week after we had been under a week long attack with constantly 20 connections and more than 16000 connections per day. As a result we now promote this to our clients with serious spam troubles. /gustav --- >>> 10-08-2007 13:58 >>> Hi, it's jwcolby. I finally decided I'd had enough of junk mail, and installed a fantastic application that gets rid of it all. Unfortunately, you are not yet in my trusted senders list!! The only way I'll get your emails is if you follow the steps outlined below: Here's all you have to do: 1. Press Reply 2. In the body of the reply, type in my AntiSpam Passcode contained in the graphical attachment. 3. Press Send When I receive this reply, I will know that it was really you that sent me the email and not a computerized spammer. I will then be able to receive all your mail. This authentication will be done only once. Thank you & have a great day, jwcolby ---------------------------------------------------------------------------- -------------------- You are receiving this messages in response to your email to jwcolby at colbyconsulting.com, a Comodo AntiSpam user. Our Passcode Authentication Technology requires senders to verify themselves before their mail is delivered. You will only need to do this once. Comodo AntiSpam is completely free. Experience a 100% spam free inbox for yourself by visiting www.comodo.com X-Comodo-AntiSpamRFA (jwcolby at 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 rockysmolin at bchacc.com Mon Aug 13 09:24:12 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Mon, 13 Aug 2007 07:24:12 -0700 Subject: [AccessD] test Message-ID: <000d01c7ddb5$9f5e6090$0301a8c0@HAL9005> Just testing From Chester_Kaup at kindermorgan.com Mon Aug 13 10:18:08 2007 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Mon, 13 Aug 2007 10:18:08 -0500 Subject: [AccessD] Delete Query Problem Message-ID: The following delete query asks specify the table you wish to delete records from. It looks the same to me as other delete queries I have created. Unique records is set to yes. DELETE [tbl Scaleup Forecast SU 8-08-2007].PID, [tbl Scaleup Forecast SU 8-08-2007].YearMth, [tbl Scale up Forecast SU 8-08-2007].[ForCO2Inj (HCPV/Yr)], [tbl Scaleup Forecast SU 8-08-2007].[ForWatInj (HCPV/Yr)], [tbl Scaleup Forecast SU 8-08-2007].CO2Days, [tbl Scaleup Forecast SU 8-08-2007].WatDays, [tbl Scaleup Forecast SU 8-08-2007].BOPD, [tbl Scaleup Forecast SU 8-08-2007].MCFCO2PD, [tbl Scaleup Forecast SU 8-08-2007].BWPD, [tbl Scaleup Forecast SU 8-08-2007].MCFHCPD, [tbl Scaleup Forecast SU 8-08-2007].BNGLPD, [tbl Scaleup Forecast SU 8-08-2007].MCFIPD, [tbl Scaleup Forecast SU 8-08-2007].BWIPD, [tbl Scaleup Forecast SU 8-08-2007].AcvtdWELL, [tbl Scaleup Forecast SU 8-08-2007].AcvtdPATT, [tbl Scaleup Forecast SU 8-08-2007].ActWELL, [tbl Scaleup Forecast SU 8-08-2007].ActPATT FROM [tbl Scaleup Forecast SU 8-08-2007] INNER JOIN [tbl Scaleup Recompletions] ON ([tbl Scaleup Forecast SU 8-08-2007].YearMth = [tbl Scaleup Recompletions].YearMth) AND ([tbl Scaleup Forecast SU 8-08-2007].PID = [tbl Scaleup Recompletions].SubPID) WHERE ((([tbl Scaleup Forecast SU 8-08-2007].PID)=[tbl Scaleup Recompletions]![SubPID]) AND (([tbl Scaleup Forecast SU 8-08-2007].YearMth)=[tbl Scaleup Recompletions]![YearMth])); Chester Kaup Engineering Technician Kinder Morgan CO2 Company, LLP Office (432) 688-3797 FAX (432) 688-3799 No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. From Chester_Kaup at kindermorgan.com Mon Aug 13 11:26:43 2007 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Mon, 13 Aug 2007 11:26:43 -0500 Subject: [AccessD] Delete Query Problem In-Reply-To: References: Message-ID: I solved the problem by using an asterisk (*) rather than the individual field names. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Monday, August 13, 2007 10:18 AM To: Access Developers discussion and problem solving Subject: [AccessD] Delete Query Problem The following delete query asks specify the table you wish to delete records from. It looks the same to me as other delete queries I have created. Unique records is set to yes. DELETE [tbl Scaleup Forecast SU 8-08-2007].PID, [tbl Scaleup Forecast SU 8-08-2007].YearMth, [tbl Scale up Forecast SU 8-08-2007].[ForCO2Inj (HCPV/Yr)], [tbl Scaleup Forecast SU 8-08-2007].[ForWatInj (HCPV/Yr)], [tbl Scaleup Forecast SU 8-08-2007].CO2Days, [tbl Scaleup Forecast SU 8-08-2007].WatDays, [tbl Scaleup Forecast SU 8-08-2007].BOPD, [tbl Scaleup Forecast SU 8-08-2007].MCFCO2PD, [tbl Scaleup Forecast SU 8-08-2007].BWPD, [tbl Scaleup Forecast SU 8-08-2007].MCFHCPD, [tbl Scaleup Forecast SU 8-08-2007].BNGLPD, [tbl Scaleup Forecast SU 8-08-2007].MCFIPD, [tbl Scaleup Forecast SU 8-08-2007].BWIPD, [tbl Scaleup Forecast SU 8-08-2007].AcvtdWELL, [tbl Scaleup Forecast SU 8-08-2007].AcvtdPATT, [tbl Scaleup Forecast SU 8-08-2007].ActWELL, [tbl Scaleup Forecast SU 8-08-2007].ActPATT FROM [tbl Scaleup Forecast SU 8-08-2007] INNER JOIN [tbl Scaleup Recompletions] ON ([tbl Scaleup Forecast SU 8-08-2007].YearMth = [tbl Scaleup Recompletions].YearMth) AND ([tbl Scaleup Forecast SU 8-08-2007].PID = [tbl Scaleup Recompletions].SubPID) WHERE ((([tbl Scaleup Forecast SU 8-08-2007].PID)=[tbl Scaleup Recompletions]![SubPID]) AND (([tbl Scaleup Forecast SU 8-08-2007].YearMth)=[tbl Scaleup Recompletions]![YearMth])); Chester Kaup Engineering Technician Kinder Morgan CO2 Company, LLP Office (432) 688-3797 FAX (432) 688-3799 No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Patricia.O'Connor at otda.state.ny.us Mon Aug 13 11:50:11 2007 From: Patricia.O'Connor at otda.state.ny.us (O'Connor, Patricia (OTDA)) Date: Mon, 13 Aug 2007 12:50:11 -0400 Subject: [AccessD] Long Time Format difference A97, A2k, A2k3 In-Reply-To: <703BDA18A87DFA4CB265A86F42E4178D0262511B@c2k3exchange.pgdp.corp.usec.com> References: <703BDA18A87DFA4CB265A86F42E4178D0262511B@c2k3exchange.pgdp.corp.usec.com> Message-ID: <01DBAB52E30A9A4AB3D94EF8029EDBE8021BAF61@EXCNYSM0A1AI.nysemail.nyenet> I am converting old A97 systems to A2k3. I have to go through A2k first. There is a section in my code where I take a flat file with a date and time in separate columns, I convert both and then combine them. For the time conversion I have been using "LONG TIME" I works fine for almost 9 years in A97. When I test it in A2k I get error 13 type mismatch with the time conversion. I checked it through the immediate window and see that A2k adds an extra colon : at the end of the number. I double checked the A97 and it comes out correctly. So I also checked A2k3 and it also adds the extra colon : If I use the "hh:nn:ss am/pm" then it does not add the extra colon. Has anyone else run into this problem? Does anyone know why M$ changed how this works? Thanks in advance Patti ------------------------------------------- Access 2k ?format(now(),"long Time") 12:50:35: PM ?format("14:57:44","long time") 02:57:44: PM ?format("10:57:44","long time") 10:57:44: AM ?format("11:57:44","hh:nn:ss am/pm") 11:57:44 am ?format("15:57:44","hh:nn:ss am/pm") 03:57:44 pm -------------------------------------------- Access 97 ?format(now(),"long Time") 12:49:54 PM ?format("15:57:44","long time") 03:57:44 PM ?format("11:57:44","long time") 11:57:44 AM ?format("11:57:44","hh:nn:ss am/pm") 11:57:44 am ?format("15:57:44","hh:nn:ss am/pm") 03:57:44 pm ----------------------------------------- Access 2003 ?format(now(),"long Time") 12:49:16: PM ?format("11:57:44","long time") 11:57:44: AM ?format("15:57:44","long time") 03:57:44: PM ?format("15:57:44","hh:nn:ss am/pm") 03:57:44 pm ?format("11:57:44","hh:nn:ss am/pm") 11:57:44 am Thanks ************************************************** * Patricia O'Connor * Associate Computer Programmer Analyst * OTDA - BDMA * (W) mailto:Patricia.O'Connor at otda.state.ny.us * (w) mailto:aa1160 at nysemail.state.ny.us ************************************************** -------------------------------------------------------- This e-mail, including any attachments, may be confidential, privileged or otherwise legally protected. It is intended only for the addressee. If you received this e-mail in error or from someone who was not authorized to send it to you, do not disseminate, copy or otherwise use this e-mail or its attachments. Please notify the sender immediately by reply e-mail and delete the e-mail from your system. From ewaldt at gdls.com Mon Aug 13 10:17:40 2007 From: ewaldt at gdls.com (ewaldt at gdls.com) Date: Mon, 13 Aug 2007 11:17:40 -0400 Subject: [AccessD] Highlighting a record in a form In-Reply-To: Message-ID: I'd prefer to do this in datasheet view, but I can use continuous form with the fields shown horizontally. Is there a way to simply tell Access to highlight the 5th record? Not every fifth record (although that would be okay, since there are only 8); just the fifth. The data comes from a table I create via a make table query, so I can control exactly what goes where. I need records 5 & 8 highlighted n the form. That's all. Seems easy, but I can't seem to get it. Feel free to make me feel even more stupid by suggesting an easy solution. TIA. Thomas F. Ewald Stryker Mass Properties General Dynamics Land Systems This is an e-mail from General Dynamics Land Systems. It is for the intended recipient only and may contain confidential and privileged information. No one else may read, print, store, copy, forward or act in reliance on it or its attachments. If you are not the intended recipient, please return this message to the sender and delete the message and any attachments from your computer. Your cooperation is appreciated. From ssharkins at gmail.com Mon Aug 13 15:07:37 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Mon, 13 Aug 2007 16:07:37 -0400 Subject: [AccessD] Enterprise Data Storage Message-ID: <00ce01c7dde5$9c76a920$048e01c7@SusanOne> Thought I'd ask again -- anyone have good/expert experience with SANS or NAS? Susan H. From ssharkins at gmail.com Mon Aug 13 15:22:19 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Mon, 13 Aug 2007 16:22:19 -0400 Subject: [AccessD] Highlighting a record in a form In-Reply-To: References: Message-ID: <01b401c7dde7$a717fee0$048e01c7@SusanOne> I'd prefer to do this in datasheet view, but I can use continuous form with the fields shown horizontally. Is there a way to simply tell Access to highlight the 5th record? Not every fifth record (although that would be okay, since there are only 8); just the fifth. The data comes from a table I create via a make table query, so I can control exactly what goes where. I need records 5 & 8 highlighted n the form. That's all. Seems easy, but I can't seem to get it. Feel free to make me feel even more stupid by suggesting an easy solution. =====Define "highlight" for us. Does it matter? Susan H. From dwaters at usinternet.com Mon Aug 13 15:34:27 2007 From: dwaters at usinternet.com (Dan Waters) Date: Mon, 13 Aug 2007 15:34:27 -0500 Subject: [AccessD] Highlighting a record in a form In-Reply-To: References: Message-ID: <006201c7dde9$584761a0$0200a8c0@danwaters> Hi Thomas, How about using Conditional Formatting? For each control in your continuous form, set conditional formatting to change the background color if say, [RecordID] = 5 Or [RecordID] = 8. You could also have different colors for row 5 and for row 8. HTH! Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of ewaldt at gdls.com Sent: Monday, August 13, 2007 10:18 AM To: accessd at databaseadvisors.com Subject: [AccessD] Highlighting a record in a form I'd prefer to do this in datasheet view, but I can use continuous form with the fields shown horizontally. Is there a way to simply tell Access to highlight the 5th record? Not every fifth record (although that would be okay, since there are only 8); just the fifth. The data comes from a table I create via a make table query, so I can control exactly what goes where. I need records 5 & 8 highlighted n the form. That's all. Seems easy, but I can't seem to get it. Feel free to make me feel even more stupid by suggesting an easy solution. TIA. Thomas F. Ewald Stryker Mass Properties General Dynamics Land Systems This is an e-mail from General Dynamics Land Systems. It is for the intended recipient only and may contain confidential and privileged information. No one else may read, print, store, copy, forward or act in reliance on it or its attachments. If you are not the intended recipient, please return this message to the sender and delete the message and any attachments from your computer. Your cooperation is appreciated. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Mon Aug 13 15:40:21 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Mon, 13 Aug 2007 13:40:21 -0700 Subject: [AccessD] Highlighting a record in a form In-Reply-To: Message-ID: <006501c7ddea$2b5142a0$0301a8c0@HAL9005> Can you add a sequence number to the table you make with the query and use conditional formatting in the form to change the background color of the bound text boxes if the sequence number = 5 or the sequence number = 8? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of ewaldt at gdls.com Sent: Monday, August 13, 2007 8:18 AM To: accessd at databaseadvisors.com Subject: [AccessD] Highlighting a record in a form I'd prefer to do this in datasheet view, but I can use continuous form with the fields shown horizontally. Is there a way to simply tell Access to highlight the 5th record? Not every fifth record (although that would be okay, since there are only 8); just the fifth. The data comes from a table I create via a make table query, so I can control exactly what goes where. I need records 5 & 8 highlighted n the form. That's all. Seems easy, but I can't seem to get it. Feel free to make me feel even more stupid by suggesting an easy solution. TIA. Thomas F. Ewald Stryker Mass Properties General Dynamics Land Systems This is an e-mail from General Dynamics Land Systems. It is for the intended recipient only and may contain confidential and privileged information. No one else may read, print, store, copy, forward or act in reliance on it or its attachments. If you are not the intended recipient, please return this message to the sender and delete the message and any attachments from your computer. Your cooperation is appreciated. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.15/949 - Release Date: 8/12/2007 11:03 AM From galeper at gmail.com Mon Aug 13 16:27:19 2007 From: galeper at gmail.com (Gale Perez) Date: Mon, 13 Aug 2007 14:27:19 -0700 Subject: [AccessD] Update Query: Remove Hyphens in Phone Number In-Reply-To: References: <5b2621db0708091519y499aa9adncaa66d26e67ce421@mail.gmail.com> Message-ID: <5b2621db0708131427v3ed203eeo3986dc29b80a7880@mail.gmail.com> Thank you, Charlotte (boy, do I feel foolish ... happens a lot these days)! Gale On 8/9/07, Charlotte Foust wrote: > > Just use the replace function to replace any instance of "-" with "". > > Charlotte Foust > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gale Perez > Sent: Thursday, August 09, 2007 3:20 PM > To: accessd at databaseadvisors.com > Subject: [AccessD] Update Query: Remove Hyphens in Phone Number > > Hi! > > I'm creating a new phone number field with a phone number input mask, to > replace a text field with actual hyphens in the numbers. Has anyone > done an update query which copy the digits only from the old field to > the new field (or which would just strip them and leave the digits in > the current field)? > > Thank you, > Gale > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 13 17:08:18 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 13 Aug 2007 15:08:18 -0700 Subject: [AccessD] Update Query: Remove Hyphens in Phone Number In-Reply-To: <5b2621db0708131427v3ed203eeo3986dc29b80a7880@mail.gmail.com> References: <5b2621db0708091519y499aa9adncaa66d26e67ce421@mail.gmail.com> <5b2621db0708131427v3ed203eeo3986dc29b80a7880@mail.gmail.com> Message-ID: LOL Welcome to the club! I've been feeling foolish for years! Charlotte -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gale Perez Sent: Monday, August 13, 2007 2:27 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Update Query: Remove Hyphens in Phone Number Thank you, Charlotte (boy, do I feel foolish ... happens a lot these days)! Gale On 8/9/07, Charlotte Foust wrote: > > Just use the replace function to replace any instance of "-" with "". > > Charlotte Foust > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gale Perez > Sent: Thursday, August 09, 2007 3:20 PM > To: accessd at databaseadvisors.com > Subject: [AccessD] Update Query: Remove Hyphens in Phone Number > > Hi! > > I'm creating a new phone number field with a phone number input mask, > to replace a text field with actual hyphens in the numbers. Has > anyone done an update query which copy the digits only from the old > field to the new field (or which would just strip them and leave the > digits in the current field)? > > Thank you, > Gale > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Mon Aug 13 18:22:59 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 13 Aug 2007 19:22:59 -0400 Subject: [AccessD] OT Friday: Comodo AntiSpam In-Reply-To: <34C8A2AB1EF3564CB0D64DB6AFFDD5C208ED6DF7@XLIVMBX35bkup.aig.com> Message-ID: <20070813232300.40D70BD9A@smtp-auth.no-ip.com> Lambert, >And the delete button reads "Delete Forever" Yea, I did a light Google and it seems that deleted email is indeed deleted. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert Sent: Monday, August 13, 2007 9:29 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT Friday: Comodo AntiSpam That's exactly how gMail works. Your reply is automatically from the address the message was sent to in the first place. Mail to different addresses can very easily be labeled as such automatically as they arrive, and it's just a single click to see all mail with a specific label. As for false positives, mentioned by Steve: I guess it just depends! I check my gMail spam folder every few days and I've never yet found a single item in there that I wanted to keep. And the delete button reads "Delete Forever" Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Saturday, August 11, 2007 8:12 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT Friday: Comodo AntiSpam What really needs to happen is to make the clients like Outlook etc be able to SEND with a specific email address / account, based on the address being sent to. Default to main but allow setting a specific address to do the send if desired. You can receive from all email addresses / accounts but the send is all from the same address / account (the default). You should also be able to set up different instances of the email client such that one instance pulls email from this email address / account while another instance pulls from another account. I have a handful of email accounts, jwcolby@, admin@ etc. The way things are they all just pour into the same client and I have to rely on filters to route them to specific sub folders inside of the main folder. This concept of using gmail as a filter is certainly intriguing, but unfortunately all the spam comes in on my jwcolby address which I do not want to expose to eternal archiving. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Murphy Sent: Saturday, August 11, 2007 7:28 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT Friday: Comodo AntiSpam Folks, I'll add my recent experience, i.e., today. I act as webmaster for an organization I belong to;( gratuitous plug www.sdfwa.org ) I have all the email directed to the organization, not specificly to one of the accounts we have set up for officers sent to the webmaster account which is forwarded to my email account. Today some one started sending spam spoofing random names at sdfwa.org as the sender. I started getting all the bounces. I got something like 500 messages in a couple of hours. I just redirected the club email to one of my Gmail accounts and it filtered all the bogus messages as spam. I am impressed. This works way better than any of the spam blocking programs I have tried. FWIW Doug -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert Sent: Friday, August 10, 2007 10:20 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT Friday: Comodo AntiSpam I get my (home) mail from a POP3 server too, and while my ISP does offer some Spam filtering, it's not up to much. *However* I long ago set up my Gmail account to go retrieve my POP3 mail for me. I get to see all my mail in one place, and Gmail's SPAM filter works a treat. If you need to you can also set up your mail client to retrieve your mail from your Gmail inbox via POP and have the best of both worlds. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Friday, August 10, 2007 10:25 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT Friday: Comodo AntiSpam Gustav, As soon as I pick you up on the control panel I "allow" your email so in fact you do not have to respond. Your email as well as every one else on the list that has popped up so far is now coming right through because I manually "allowed" you to. Either way, you respond or I allow, it only has to be done one time and then it works just fine. I have not had time yet to evaluate the full impact, but I am a small company, with a small number of regular correspondents (with the exception of this list). I can appreciate the "challenge / response sucks" mentality but I don't have a mail server under my control. I use the pop server that comes with my web site. This works at the client level and so I am trying it. My apologies for any inconvenience. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, August 10, 2007 10:06 AM To: accessd at databaseadvisors.com Subject: [AccessD] OT Friday: Comodo AntiSpam Hi JC et al JC has sent this out, so now you cannot get to him directly. Aside the good intentions behind doing so, this will cause a lot of trouble, and I don't say too much if I - as a general warning - mention that the consensus between system people is, that as tempting these challenge-response system my seem, they represent a bad idea because the negative impact outweighs the positive. If you or your client run a mail server, I can strongly recommend SpamBunker: http://www.aimconsulting.ch/Spambunker/sbk-strategy.asp which is not free but cheap, and is superior to the common mail filtering systems. Thus, it requires no "learning", no maintenance, it works from the minute it is installed, and it handles massive amount of spam and/or mail even on modest hardware. We operate it here where we went from about 4000 spam mails per day to a handful per week after we had been under a week long attack with constantly 20 connections and more than 16000 connections per day. As a result we now promote this to our clients with serious spam troubles. /gustav --- >>> 10-08-2007 13:58 >>> Hi, it's jwcolby. I finally decided I'd had enough of junk mail, and installed a fantastic application that gets rid of it all. Unfortunately, you are not yet in my trusted senders list!! The only way I'll get your emails is if you follow the steps outlined below: Here's all you have to do: 1. Press Reply 2. In the body of the reply, type in my AntiSpam Passcode contained in the graphical attachment. 3. Press Send When I receive this reply, I will know that it was really you that sent me the email and not a computerized spammer. I will then be able to receive all your mail. This authentication will be done only once. Thank you & have a great day, jwcolby ---------------------------------------------------------------------------- -------------------- You are receiving this messages in response to your email to jwcolby at colbyconsulting.com, a Comodo AntiSpam user. Our Passcode Authentication Technology requires senders to verify themselves before their mail is delivered. You will only need to do this once. Comodo AntiSpam is completely free. Experience a 100% spam free inbox for yourself by visiting www.comodo.com X-Comodo-AntiSpamRFA (jwcolby at colbyconsulting.com) -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From miscellany at mvps.org Mon Aug 13 21:13:16 2007 From: miscellany at mvps.org (Steve Schapel) Date: Tue, 14 Aug 2007 14:13:16 +1200 Subject: [AccessD] OT Friday: Comodo AntiSpam In-Reply-To: <34C8A2AB1EF3564CB0D64DB6AFFDD5C208ED6DF7@XLIVMBX35bkup.aig.com> References: <34C8A2AB1EF3564CB0D64DB6AFFDD5C208ED6DF7@XLIVMBX35bkup.aig.com> Message-ID: <46C10FBC.9050202@mvps.org> Thanks, Lambert. Just out of interest, I changed my setup from my main mail server forwarding the mail to Gmail, to getting Gmail to POP the mail from the other server. I don't know whether it is just circumstantial, but the false positives are no longer happening. Regards Steve Heenan, Lambert wrote: > As for false positives, mentioned by Steve: I guess it just depends! I > check my gMail spam folder every few days and I've never yet found a single > item in there that I wanted to keep. From newsgrps at dalyn.co.nz Mon Aug 13 21:38:36 2007 From: newsgrps at dalyn.co.nz (David Emerson) Date: Tue, 14 Aug 2007 14:38:36 +1200 Subject: [AccessD] Setting Combobox to Last Item Message-ID: <20070814023803.WITO26291.fep03.xtra.co.nz@Dalyn.dalyn.co.nz> I want to open a form and set a combo box to the last item in the list (the list is based on a table so the last item isn't static). On the Form open event I have: intFinModelCount = (basRunDataObject("SELECT FinModelID FROM dbo.tblFinModel", adCmdText).RecordCount) - 1 If intFinModelCount > 0 Then Me!cboFinModelDate = [Forms]![frmFinModel]![cboFinModelDate].[ItemData](intFinModelCount) 'Error here End If The error I get is 450 - Wrong number of arguments or invalid property assignment. Any pointers on where I might be wrong? Regards David Emerson Dalyn Software Ltd Wellington, New Zealand From stuart at lexacorp.com.pg Mon Aug 13 23:56:40 2007 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue, 14 Aug 2007 14:56:40 +1000 Subject: [AccessD] Long Time Format difference A97, A2k, A2k3 In-Reply-To: <01DBAB52E30A9A4AB3D94EF8029EDBE8021BAF61@EXCNYSM0A1AI.nysemail.nyenet> References: <703BDA18A87DFA4CB265A86F42E4178D0262511B@c2k3exchange.pgdp.corp.usec.com>, <01DBAB52E30A9A4AB3D94EF8029EDBE8021BAF61@EXCNYSM0A1AI.nysemail.nyenet> Message-ID: <46C13608.18211.66077CD@stuart.lexacorp.com.pg> Are you testing these on different machines? Sounds like the A97 is on one machine and the A2K, A2K3 are on a different one. "Long Time" etc formats are not specific to Access, they are determined by the Regional Settings in Windows. On 13 Aug 2007 at 12:50, O'Connor, Patricia (OTDA) wrote: > I am converting old A97 systems to A2k3. I have to go through A2k first. > > There is a section in my code where I take a flat file with a date and > time in separate columns, I convert both and then combine them. For the > time conversion I have been using "LONG TIME" I works fine for almost 9 > years in A97. When I test it in A2k I get error 13 type mismatch with > the time conversion. > > I checked it through the immediate window and see that A2k adds an extra > colon : at the end of the number. I double checked the A97 and it comes > out correctly. So I also checked A2k3 and it also adds the extra colon > : > > If I use the "hh:nn:ss am/pm" then it does not add the extra colon. > > Has anyone else run into this problem? Does anyone know why M$ changed > how this works? > > Thanks in advance > Patti > > ------------------------------------------- > Access 2k > > ?format(now(),"long Time") > 12:50:35: PM > ?format("14:57:44","long time") > 02:57:44: PM > ?format("10:57:44","long time") > 10:57:44: AM > ?format("11:57:44","hh:nn:ss am/pm") > 11:57:44 am > ?format("15:57:44","hh:nn:ss am/pm") > 03:57:44 pm > -------------------------------------------- > Access 97 > > ?format(now(),"long Time") > 12:49:54 PM > ?format("15:57:44","long time") > 03:57:44 PM > ?format("11:57:44","long time") > 11:57:44 AM > ?format("11:57:44","hh:nn:ss am/pm") > 11:57:44 am > ?format("15:57:44","hh:nn:ss am/pm") > 03:57:44 pm > ----------------------------------------- > Access 2003 > > ?format(now(),"long Time") > 12:49:16: PM > ?format("11:57:44","long time") > 11:57:44: AM > ?format("15:57:44","long time") > 03:57:44: PM > ?format("15:57:44","hh:nn:ss am/pm") > 03:57:44 pm > ?format("11:57:44","hh:nn:ss am/pm") > 11:57:44 am > > > Thanks > ************************************************** > * Patricia O'Connor > * Associate Computer Programmer Analyst > * OTDA - BDMA > * (W) mailto:Patricia.O'Connor at otda.state.ny.us > * (w) mailto:aa1160 at nysemail.state.ny.us > ************************************************** > -------------------------------------------------------- > This e-mail, including any attachments, may be confidential, privileged or otherwise legally protected. It is intended only for the addressee. If you received this e-mail in error or from someone who was not authorized to send it to you, do not disseminate, copy or otherwise use this e-mail or its attachments. Please notify the sender immediately by reply e-mail and delete the e-mail from your system. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From andy at minstersystems.co.uk Tue Aug 14 01:25:25 2007 From: andy at minstersystems.co.uk (Andy Lacey) Date: Tue, 14 Aug 2007 07:25:25 +0100 Subject: [AccessD] OT Friday: Comodo AntiSpam - NO MORE In-Reply-To: <46C10FBC.9050202@mvps.org> Message-ID: <00a001c7de3b$e68d38c0$6d4b0c54@minster33c3r25> Hey guys, I asked nicely 24 hours ago that you take any further on this to dba-Tech. Please do so. -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Steve Schapel > Sent: 14 August 2007 03:13 > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] OT Friday: Comodo AntiSpam > > > Thanks, Lambert. Just out of interest, I changed my setup > from my main > mail server forwarding the mail to Gmail, to getting Gmail to POP the > mail from the other server. I don't know whether it is just > circumstantial, but the false positives are no longer happening. > > Regards > Steve > > > Heenan, Lambert wrote: > > As for false positives, mentioned by Steve: I guess it just > depends! > > I check my gMail spam folder every few days and I've never > yet found a > > single item in there that I wanted to keep. > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From carbonnb at gmail.com Tue Aug 14 07:28:22 2007 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Tue, 14 Aug 2007 08:28:22 -0400 Subject: [AccessD] OT Friday: Comodo AntiSpam In-Reply-To: <46C10FBC.9050202@mvps.org> References: <34C8A2AB1EF3564CB0D64DB6AFFDD5C208ED6DF7@XLIVMBX35bkup.aig.com> <46C10FBC.9050202@mvps.org> Message-ID: On 8/13/07, Steve Schapel wrote: > Thanks, Lambert. Just out of interest, I changed my setup from my main > mail server forwarding the mail to Gmail, to getting Gmail to POP the > mail from the other server. I don't know whether it is just > circumstantial, but the false positives are no longer happening. It's probably the forwards that were causing the false positives. It was probably a combination of factors, not the least of which was the forwarding and the envelope not matching the headers. -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" From fuller.artful at gmail.com Tue Aug 14 09:16:42 2007 From: fuller.artful at gmail.com (Arthur Fuller) Date: Tue, 14 Aug 2007 10:16:42 -0400 Subject: [AccessD] Excel Vlookup() question Message-ID: <29f585dd0708140716w734a682ao24468ecb8754901e@mail.gmail.com> I'm working on an Excel file created by someone else and I have to change it to do new things, including talk to a new lookup file rather than the old one. The following formula works: "VLOOKUP(A7,'s:\Lgroup\Fundacct\Excel\MKT&SHS\DAILY\2007\Jun 07\[062907.xls ]R136NAVSUM'!$E$10:$I$250,4,FALSE)" but when I change it to "=VLOOKUP(A7,'G:\Fundacct\Excel\2007\June 2007\[Pricing 062907.xls ]TMLC'!$B$1:$H$250,4,FALSE)" I get the N/A error. So I tried the second formula in the debug window (with a question mark and no equals) and I get "Compile error. Expected expression." In the above, R136NAVSUM and TMLC are named worksheets. I think I understand the arguments Vlookup wants (target, table_range, relative column, nearest), so I must be doing something wrong, but I patterned mine on the first one, and it works. The workbook referred to in the second formula is definitely there; in fact I have it open right now as I work on this problem. What am I doing wrong? TIA, Arthur From Patricia.O'Connor at otda.state.ny.us Tue Aug 14 09:19:16 2007 From: Patricia.O'Connor at otda.state.ny.us (O'Connor, Patricia (OTDA)) Date: Tue, 14 Aug 2007 10:19:16 -0400 Subject: [AccessD] Long Time Format difference A97, A2k, A2k3 In-Reply-To: <46C13608.18211.66077CD@stuart.lexacorp.com.pg> References: <703BDA18A87DFA4CB265A86F42E4178D0262511B@c2k3exchange.pgdp.corp.usec.com>, <01DBAB52E30A9A4AB3D94EF8029EDBE8021BAF61@EXCNYSM0A1AI.nysemail.nyenet> <46C13608.18211.66077CD@stuart.lexacorp.com.pg> Message-ID: <01DBAB52E30A9A4AB3D94EF8029EDBE8021BAF63@EXCNYSM0A1AI.nysemail.nyenet> No same machine but I did find the problem. The computer's regional setting for long time was hh:nn:ss: tt instead of hh:nn:ss tt Why it didn't affect A97 but did A2k and A2k3 I don't know. Corrected the machine and it seems to work fine. Though I still changed all my vb and vba code to use the hh:nn:ss AMPM instead of general date and long time. I now have to check that our other computers do not have same mistype in the regional settings. Thanks Patti ************************************************** * Patricia O'Connor * Associate Computer Programmer Analyst * OTDA - BDMA * (W) mailto:Patricia.O'Connor at otda.state.ny.us * (w) mailto:aa1160 at nysemail.state.ny.us ************************************************** > -------------------------------------------------------- This e-mail, including any attachments, may be confidential, privileged or otherwise legally protected. It is intended only for the addressee. If you received this e-mail in error or from someone who was not authorized to send it to you, do not disseminate, copy or otherwise use this e-mail or its attachments. Please notify the sender immediately by reply e-mail and delete the e-mail from your system. -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Stuart McLachlan > Sent: Tuesday, August 14, 2007 12:57 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Long Time Format difference A97, A2k, A2k3 > > Are you testing these on different machines? Sounds like the > A97 is on one machine and the A2K, A2K3 are on a different one. > > "Long Time" etc formats are not specific to Access, they are > determined by the Regional Settings in Windows. > > On 13 Aug 2007 at 12:50, O'Connor, Patricia (OTDA) wrote: > > > I am converting old A97 systems to A2k3. I have to go > through A2k first. > > > > There is a section in my code where I take a flat file with > a date and > > time in separate columns, I convert both and then combine them. For > > the time conversion I have been using "LONG TIME" I works fine for > > almost 9 years in A97. When I test it in A2k I get error 13 type > > mismatch with the time conversion. > > > > I checked it through the immediate window and see that A2k adds an > > extra colon : at the end of the number. I double checked > the A97 and > > it comes out correctly. So I also checked A2k3 and it also > adds the > > extra colon > > : > > > > If I use the "hh:nn:ss am/pm" then it does not add the > extra colon. > > > > Has anyone else run into this problem? Does anyone know why > M$ changed > > how this works? > > > > Thanks in advance > > Patti > > > > ------------------------------------------- > > Access 2k > > > > ?format(now(),"long Time") > > 12:50:35: PM > > ?format("14:57:44","long time") > > 02:57:44: PM > > ?format("10:57:44","long time") > > 10:57:44: AM > > ?format("11:57:44","hh:nn:ss am/pm") > > 11:57:44 am > > ?format("15:57:44","hh:nn:ss am/pm") > > 03:57:44 pm > > -------------------------------------------- > > Access 97 > > > > ?format(now(),"long Time") > > 12:49:54 PM > > ?format("15:57:44","long time") > > 03:57:44 PM > > ?format("11:57:44","long time") > > 11:57:44 AM > > ?format("11:57:44","hh:nn:ss am/pm") > > 11:57:44 am > > ?format("15:57:44","hh:nn:ss am/pm") > > 03:57:44 pm > > ----------------------------------------- > > Access 2003 > > > > ?format(now(),"long Time") > > 12:49:16: PM > > ?format("11:57:44","long time") > > 11:57:44: AM > > ?format("15:57:44","long time") > > 03:57:44: PM > > ?format("15:57:44","hh:nn:ss am/pm") > > 03:57:44 pm > > ?format("11:57:44","hh:nn:ss am/pm") > > 11:57:44 am > > > > > > Thanks > > ************************************************** > > * Patricia O'Connor > > * Associate Computer Programmer Analyst > > * OTDA - BDMA > > * (W) mailto:Patricia.O'Connor at otda.state.ny.us > > * (w) mailto:aa1160 at nysemail.state.ny.us > > ************************************************** > > -------------------------------------------------------- > > This e-mail, including any attachments, may be > confidential, privileged or otherwise legally protected. It > is intended only for the addressee. If you received this > e-mail in error or from someone who was not authorized to > send it to you, do not disseminate, copy or otherwise use > this e-mail or its attachments. Please notify the sender > immediately by reply e-mail and delete the e-mail from your system. > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From markamatte at hotmail.com Tue Aug 14 10:08:09 2007 From: markamatte at hotmail.com (Mark A Matte) Date: Tue, 14 Aug 2007 15:08:09 +0000 Subject: [AccessD] SQL Speed In-Reply-To: Message-ID: Hello All, I haven't received any responses after the email below. I am specifically curious about the realistic time to run 10K sql statements (see below). Access vs. SQL server? Any feedback is greatly appreciated. Thanks, Mark A. Matte >From: "Mark A Matte" >Reply-To: Access Developers discussion and problem >solving >To: accessd at databaseadvisors.com >Subject: Re: [AccessD] SQL Speed >Date: Thu, 09 Aug 2007 17:27:51 +0000 > >Thanks to All for your responses...(everything discussed below is currently >in A2K) > >I'm at the beginning of this and appreciate any ideas...This program has >been running 24/7 for the last 3 years...but only runs 1 SQL statement. It >runs the statement, loops through the results and concatenates the results, >and then emails the results (for these tests we are going to forget about >the email part and just store the results in a separate table). > >Last night I put a loop on this and ran it 10K times. It took just under 2 >minutes. To make it more realistic, (the 10k SQL statements will all be >different, but very similar) I removed the SQL from the code and placed it >in a memo field in another table (tblSQL). Next, I modified the code so >now >it first pulls all records form tblSQL (I added 10k rows...but all the same >SQL statement)...then for each of these records...it does the stuff I >outlined above. > >Again, it ran in just under 2 minutes. I need this to be as fast as >possible, and I don't know what a realistic time is. I apparently can do >10K in less than 2 minutes, but is this good, bad, average? > >Any thoughts/ideas? > >Thanks, > >Mark A. Matte > > > >From: Jim Lawrence > >Reply-To: Access Developers discussion and problem > >solving > >To: "'Access Developers discussion and problem > >solving'" > >Subject: Re: [AccessD] SQL Speed > >Date: Wed, 08 Aug 2007 22:15:43 -0700 > > > >Well, you have probably already thought of this, but any queries that can > >run on the SQL server as pre-compiled stored procedures will give >superior > >performance. > > > >Jim > > > >-----Original Message----- > >From: accessd-bounces at databaseadvisors.com > >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte > >Sent: Wednesday, August 08, 2007 1:57 PM > >To: accessd at databaseadvisors.com > >Subject: [AccessD] SQL Speed > > > >Hello All, > > > >I am involved in a project that will be web based. The database will > >either > > > >be access or SQL Server. > > > >The question is: I need to run a bunch (maybe 10K) of SQL statements > >againts a single table...or flat file, whatever is best, containing about > >4K > > > >rows. The results of each will be appended to a second table, or emailed > >instantly (ahh...idea...good place for a JC style Class). The SQL > >statements themselves will be stored in a table. > > > >Does anyone have any ideas/suggestions about approach? I will need ALL >of > >the SQLs to run in less than 5 minutes. I know 1 runs in a fraction of a > >second...I just don't know what that fraction is to calculate time >needed. > > > >Being there are so few rows involved...but so many SQL statements...and > >speed is an issue...will there be a signicant advantage using SQL Server >or > >Access? > > > >I'm thinking of having the SQLs in a table and looping through and > >executing > > > >each...I just don't know if this is the best approach? > > > >Thanks, > > > >Mark A. Matte > > > >_________________________________________________________________ > >Booking a flight? Know when to buy with airfare predictions on MSN >Travel. > >http://travel.msn.com/Articles/aboutfarecast.aspx&ocid=T001MSN25A07001 > > > >-- > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > > > >-- > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > >_________________________________________________________________ >Tease your brain--play Clink! Win cool prizes! >http://club.live.com/clink.aspx?icid=clink_hotmailtextlink2 > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ A new home for Mom, no cleanup required. All starts here. http://www.reallivemoms.com?ocid=TXT_TAGHM&loc=us From cfoust at infostatsystems.com Tue Aug 14 10:13:23 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 14 Aug 2007 08:13:23 -0700 Subject: [AccessD] Long Time Format difference A97, A2k, A2k3 In-Reply-To: <01DBAB52E30A9A4AB3D94EF8029EDBE8021BAF63@EXCNYSM0A1AI.nysemail.nyenet> References: <703BDA18A87DFA4CB265A86F42E4178D0262511B@c2k3exchange.pgdp.corp.usec.com>, <01DBAB52E30A9A4AB3D94EF8029EDBE8021BAF61@EXCNYSM0A1AI.nysemail.nyenet><46C13608.18211.66077CD@stuart.lexacorp.com.pg> <01DBAB52E30A9A4AB3D94EF8029EDBE8021BAF63@EXCNYSM0A1AI.nysemail.nyenet> Message-ID: I don't think 97 cared about anything past seconds. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of O'Connor, Patricia (OTDA) Sent: Tuesday, August 14, 2007 7:19 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Long Time Format difference A97, A2k, A2k3 No same machine but I did find the problem. The computer's regional setting for long time was hh:nn:ss: tt instead of hh:nn:ss tt Why it didn't affect A97 but did A2k and A2k3 I don't know. Corrected the machine and it seems to work fine. Though I still changed all my vb and vba code to use the hh:nn:ss AMPM instead of general date and long time. I now have to check that our other computers do not have same mistype in the regional settings. Thanks Patti ************************************************** * Patricia O'Connor * Associate Computer Programmer Analyst * OTDA - BDMA * (W) mailto:Patricia.O'Connor at otda.state.ny.us * (w) mailto:aa1160 at nysemail.state.ny.us ************************************************** > -------------------------------------------------------- This e-mail, including any attachments, may be confidential, privileged or otherwise legally protected. It is intended only for the addressee. If you received this e-mail in error or from someone who was not authorized to send it to you, do not disseminate, copy or otherwise use this e-mail or its attachments. Please notify the sender immediately by reply e-mail and delete the e-mail from your system. -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart > McLachlan > Sent: Tuesday, August 14, 2007 12:57 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Long Time Format difference A97, A2k, A2k3 > > Are you testing these on different machines? Sounds like the > A97 is on one machine and the A2K, A2K3 are on a different one. > > "Long Time" etc formats are not specific to Access, they are > determined by the Regional Settings in Windows. > > On 13 Aug 2007 at 12:50, O'Connor, Patricia (OTDA) wrote: > > > I am converting old A97 systems to A2k3. I have to go > through A2k first. > > > > There is a section in my code where I take a flat file with > a date and > > time in separate columns, I convert both and then combine them. For > > the time conversion I have been using "LONG TIME" I works fine for > > almost 9 years in A97. When I test it in A2k I get error 13 type > > mismatch with the time conversion. > > > > I checked it through the immediate window and see that A2k adds an > > extra colon : at the end of the number. I double checked > the A97 and > > it comes out correctly. So I also checked A2k3 and it also > adds the > > extra colon > > : > > > > If I use the "hh:nn:ss am/pm" then it does not add the > extra colon. > > > > Has anyone else run into this problem? Does anyone know why > M$ changed > > how this works? > > > > Thanks in advance > > Patti > > > > ------------------------------------------- > > Access 2k > > > > ?format(now(),"long Time") > > 12:50:35: PM > > ?format("14:57:44","long time") > > 02:57:44: PM > > ?format("10:57:44","long time") > > 10:57:44: AM > > ?format("11:57:44","hh:nn:ss am/pm") > > 11:57:44 am > > ?format("15:57:44","hh:nn:ss am/pm") > > 03:57:44 pm > > -------------------------------------------- > > Access 97 > > > > ?format(now(),"long Time") > > 12:49:54 PM > > ?format("15:57:44","long time") > > 03:57:44 PM > > ?format("11:57:44","long time") > > 11:57:44 AM > > ?format("11:57:44","hh:nn:ss am/pm") > > 11:57:44 am > > ?format("15:57:44","hh:nn:ss am/pm") > > 03:57:44 pm > > ----------------------------------------- > > Access 2003 > > > > ?format(now(),"long Time") > > 12:49:16: PM > > ?format("11:57:44","long time") > > 11:57:44: AM > > ?format("15:57:44","long time") > > 03:57:44: PM > > ?format("15:57:44","hh:nn:ss am/pm") > > 03:57:44 pm > > ?format("11:57:44","hh:nn:ss am/pm") > > 11:57:44 am > > > > > > Thanks > > ************************************************** > > * Patricia O'Connor > > * Associate Computer Programmer Analyst > > * OTDA - BDMA > > * (W) mailto:Patricia.O'Connor at otda.state.ny.us > > * (w) mailto:aa1160 at nysemail.state.ny.us > > ************************************************** > > -------------------------------------------------------- > > This e-mail, including any attachments, may be > confidential, privileged or otherwise legally protected. It is > intended only for the addressee. If you received this e-mail in error > or from someone who was not authorized to send it to you, do not > disseminate, copy or otherwise use this e-mail or its attachments. > Please notify the sender immediately by reply e-mail and delete the > e-mail from your system. > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Tue Aug 14 10:28:26 2007 From: accessd at shaw.ca (Jim Lawrence) Date: Tue, 14 Aug 2007 08:28:26 -0700 Subject: [AccessD] Excel Vlookup() question In-Reply-To: <29f585dd0708140716w734a682ao24468ecb8754901e@mail.gmail.com> Message-ID: <0JMR00J9VS3NKQ30@l-daemon> Hi Arthur: Not testing anything and assuming that files are correct, receiving spreadsheet is correct the only difference between the 2 lines is one has a "=VLOOKUP(... one is proceeded an '=' or calculate sign "VLOOKUP(... and the other is not HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Tuesday, August 14, 2007 7:17 AM To: Access Developers discussion and problem solving Subject: [AccessD] Excel Vlookup() question I'm working on an Excel file created by someone else and I have to change it to do new things, including talk to a new lookup file rather than the old one. The following formula works: "VLOOKUP(A7,'s:\Lgroup\Fundacct\Excel\MKT&SHS\DAILY\2007\Jun 07\[062907.xls ]R136NAVSUM'!$E$10:$I$250,4,FALSE)" but when I change it to "=VLOOKUP(A7,'G:\Fundacct\Excel\2007\June 2007\[Pricing 062907.xls ]TMLC'!$B$1:$H$250,4,FALSE)" I get the N/A error. So I tried the second formula in the debug window (with a question mark and no equals) and I get "Compile error. Expected expression." In the above, R136NAVSUM and TMLC are named worksheets. I think I understand the arguments Vlookup wants (target, table_range, relative column, nearest), so I must be doing something wrong, but I patterned mine on the first one, and it works. The workbook referred to in the second formula is definitely there; in fact I have it open right now as I work on this problem. What am I doing wrong? TIA, Arthur -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From fuller.artful at gmail.com Tue Aug 14 10:43:34 2007 From: fuller.artful at gmail.com (Arthur Fuller) Date: Tue, 14 Aug 2007 11:43:34 -0400 Subject: [AccessD] Excel Vlookup() question In-Reply-To: <0JMR00J9VS3NKQ30@l-daemon> References: <29f585dd0708140716w734a682ao24468ecb8754901e@mail.gmail.com> <0JMR00J9VS3NKQ30@l-daemon> Message-ID: <29f585dd0708140843r7ef07430v719a0842789bc77b@mail.gmail.com> Thanks for looking at this, Jim. That was just a typo on my part. In fact, I don't think I expressed my problem accurately. When I use the second formula directly in a worksheet, it works fine, but I cannot make it work in a module and that's what I need to do. Something along the lines of Dim x x = VLOOKUP( $A6, "path_and_filename", relative_column, false) Maybe it's first argument that's the problem from VBA's viewpoint. Maybe I need to thoroughly specify the cell? I'll try that. Also I have another problem. In the workbook containing the code, I have 3 columns for Class A, B and C. In the lookup workbook, these classes, if they exist, will be represented as rows. So having found the company number with Vlookup, I then need to walk the rows and examine the adjacent column to see what class the item is. If it's A, I write the value to retrieve into the Class A column. If it's B, into the Class B column, etc. Too bad Vlookup can't handle a compound argument :(. But anyway, I can just do a loop until the company number changes, since the table is sorted by company number. Thanks, Arthur On 8/14/07, Jim Lawrence wrote: > > Hi Arthur: > > Not testing anything and assuming that files are correct, receiving > spreadsheet is correct the only difference between the 2 lines is one has > a > "=VLOOKUP(... one is proceeded an '=' or calculate sign > "VLOOKUP(... and the other is not > > HTH > Jim > From markamatte at hotmail.com Tue Aug 14 10:44:12 2007 From: markamatte at hotmail.com (Mark A Matte) Date: Tue, 14 Aug 2007 15:44:12 +0000 Subject: [AccessD] Setting Combobox to Last Item In-Reply-To: <20070814023803.WITO26291.fep03.xtra.co.nz@Dalyn.dalyn.co.nz> Message-ID: I would check to see what value intFinModelCount is returning, or what type...integer or text?...because (assuming we're talking about 1 form)... Me!cboFinModelDate = Me!cboFinModelDate.ItemData(intFinModelCount) should work. Good Luck, Mark A. Matte >From: David Emerson >Reply-To: Access Developers discussion and problem >solving >To: accessd at databaseadvisors.com >Subject: [AccessD] Setting Combobox to Last Item >Date: Tue, 14 Aug 2007 14:38:36 +1200 > >I want to open a form and set a combo box to the last item in the >list (the list is based on a table so the last item isn't static). > >On the Form open event I have: > > intFinModelCount = (basRunDataObject("SELECT FinModelID FROM >dbo.tblFinModel", adCmdText).RecordCount) - 1 > If intFinModelCount > 0 Then > Me!cboFinModelDate = >[Forms]![frmFinModel]![cboFinModelDate].[ItemData](intFinModelCount) >'Error here > End If > >The error I get is 450 - Wrong number of arguments or invalid >property assignment. > >Any pointers on where I might be wrong? > >Regards > >David Emerson >Dalyn Software Ltd >Wellington, New Zealand > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Booking a flight? Know when to buy with airfare predictions on MSN Travel. http://travel.msn.com/Articles/aboutfarecast.aspx&ocid=T001MSN25A07001 From Gustav at cactus.dk Tue Aug 14 10:45:15 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 14 Aug 2007 17:45:15 +0200 Subject: [AccessD] Long Time Format difference A97, A2k, A2k3 Message-ID: Hi Charlotte Neither does A2003 - on the surface. Or to be more precise: No more and no less than any other version of Access including A97. /gustav >>> cfoust at infostatsystems.com 14-08-2007 17:13 >>> I don't think 97 cared about anything past seconds. Charlotte Foust From Gustav at cactus.dk Tue Aug 14 10:48:14 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 14 Aug 2007 17:48:14 +0200 Subject: [AccessD] Excel Vlookup() question Message-ID: Hi Arthur If so, in your code, wrap your filename in single quotes; you have a space inside the name. /gustav >>> fuller.artful at gmail.com 14-08-2007 17:43 >>> Thanks for looking at this, Jim. That was just a typo on my part. In fact, I don't think I expressed my problem accurately. When I use the second formula directly in a worksheet, it works fine, but I cannot make it work in a module and that's what I need to do. Something along the lines of Dim x x = VLOOKUP( $A6, "path_and_filename", relative_column, false) From fuller.artful at gmail.com Tue Aug 14 10:59:49 2007 From: fuller.artful at gmail.com (Arthur Fuller) Date: Tue, 14 Aug 2007 11:59:49 -0400 Subject: [AccessD] Excel Vlookup() question In-Reply-To: References: Message-ID: <29f585dd0708140859o5bb487aua0406e436fb357d6@mail.gmail.com> Ok, I will do that. Just out of curiosity, why single quotes rather than double? If there were no space, would I still need the quotes? Also, Do I need to do anything special with the specific cell reference that is argument 1? Thanks, Gustav. Arthur On 8/14/07, Gustav Brock wrote: > > Hi Arthur > > If so, in your code, wrap your filename in single quotes; you have a space > inside the name. > > /gustav > > >>> fuller.artful at gmail.com 14-08-2007 17:43 >>> > Thanks for looking at this, Jim. That was just a typo on my part. In fact, > I > don't think I expressed my problem accurately. When I use the second > formula > directly in a worksheet, it works fine, but I cannot make it work in a > module and that's what I need to do. Something along the lines of > > Dim x > x = VLOOKUP( $A6, "path_and_filename", relative_column, false) > > > > -- > 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 14 11:08:18 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 14 Aug 2007 18:08:18 +0200 Subject: [AccessD] Excel Vlookup() question Message-ID: Hi Arthur You can use double quotes as well but as they are "inside" a set of outer double quotes, you would need to double the inside double quotes. I've always found that a bit confusing. I don't think you need to do anything more but I'm no Excel guru. /gustav >>> fuller.artful at gmail.com 14-08-2007 17:59 >>> Ok, I will do that. Just out of curiosity, why single quotes rather than double? If there were no space, would I still need the quotes? Also, Do I need to do anything special with the specific cell reference that is argument 1? Thanks, Gustav. Arthur On 8/14/07, Gustav Brock wrote: > > Hi Arthur > > If so, in your code, wrap your filename in single quotes; you have a space > inside the name. > > /gustav > > >>> fuller.artful at gmail.com 14-08-2007 17:43 >>> > Thanks for looking at this, Jim. That was just a typo on my part. In fact, > I > don't think I expressed my problem accurately. When I use the second > formula > directly in a worksheet, it works fine, but I cannot make it work in a > module and that's what I need to do. Something along the lines of > > Dim x > x = VLOOKUP( $A6, "path_and_filename", relative_column, false) From cfoust at infostatsystems.com Tue Aug 14 11:10:12 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 14 Aug 2007 09:10:12 -0700 Subject: [AccessD] Long Time Format difference A97, A2k, A2k3 In-Reply-To: References: Message-ID: True, but SQL Server cares and someone may have been trying to force date/time compatibility between the two. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Tuesday, August 14, 2007 8:45 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Long Time Format difference A97, A2k, A2k3 Hi Charlotte Neither does A2003 - on the surface. Or to be more precise: No more and no less than any other version of Access including A97. /gustav >>> cfoust at infostatsystems.com 14-08-2007 17:13 >>> I don't think 97 cared about anything past seconds. Charlotte Foust -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ewaldt at gdls.com Tue Aug 14 11:10:51 2007 From: ewaldt at gdls.com (ewaldt at gdls.com) Date: Tue, 14 Aug 2007 12:10:51 -0400 Subject: [AccessD] Highlighting a record in a form In-Reply-To: Message-ID: Susan: Just BOLD would be fine. Lines 5 and 8 are actually totals, although the form will just see them as additional data lines. In Excel, the user made them bold to stand out as totals. Thomas F. Ewald Stryker Mass Properties General Dynamics Land Systems Date: Mon, 13 Aug 2007 16:22:19 -0400 From: "Susan Harkins" Subject: Re: [AccessD] Highlighting a record in a form I'd prefer to do this in datasheet view, but I can use continuous form with the fields shown horizontally. Is there a way to simply tell Access to highlight the 5th record? Not every fifth record (although that would be okay, since there are only 8); just the fifth. The data comes from a table I create via a make table query, so I can control exactly what goes where. I need records 5 & 8 highlighted n the form. That's all. Seems easy, but I can't seem to get it. Feel free to make me feel even more stupid by suggesting an easy solution. =====Define "highlight" for us. Does it matter? Susan H. This is an e-mail from General Dynamics Land Systems. It is for the intended recipient only and may contain confidential and privileged information. No one else may read, print, store, copy, forward or act in reliance on it or its attachments. If you are not the intended recipient, please return this message to the sender and delete the message and any attachments from your computer. Your cooperation is appreciated. From Gustav at cactus.dk Tue Aug 14 11:25:38 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 14 Aug 2007 18:25:38 +0200 Subject: [AccessD] Long Time Format difference A97, A2k, A2k3 Message-ID: Hi Charlotte I doubt that. If so, the trailing colon would probably have been a dot. I think a typo has been done in the regional settings. /gustav >>> cfoust at infostatsystems.com 14-08-2007 18:10 >>> True, but SQL Server cares and someone may have been trying to force date/time compatibility between the two. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Tuesday, August 14, 2007 8:45 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Long Time Format difference A97, A2k, A2k3 Hi Charlotte Neither does A2003 - on the surface. Or to be more precise: No more and no less than any other version of Access including A97. /gustav >>> cfoust at infostatsystems.com 14-08-2007 17:13 >>> I don't think 97 cared about anything past seconds. Charlotte Foust From Jim.Hale at FleetPride.com Tue Aug 14 11:45:50 2007 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Tue, 14 Aug 2007 11:45:50 -0500 Subject: [AccessD] Excel Vlookup() question In-Reply-To: <29f585dd0708140843r7ef07430v719a0842789bc77b@mail.gmail.com> References: <29f585dd0708140716w734a682ao24468ecb8754901e@mail.gmail.com><0J MR00J9VS3NKQ30@l-daemon> <29f585dd0708140843r7ef07430v719a0842789bc77b@mail.gmail.com> Message-ID: Try WorksheetFunction.VLOOKUP($A6, "path_and_filename", relative_column, false) HTH Jim Hale -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Tuesday, August 14, 2007 10:44 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Excel Vlookup() question Thanks for looking at this, Jim. That was just a typo on my part. In fact, I don't think I expressed my problem accurately. When I use the second formula directly in a worksheet, it works fine, but I cannot make it work in a module and that's what I need to do. Something along the lines of Dim x x = VLOOKUP( $A6, "path_and_filename", relative_column, false) Maybe it's first argument that's the problem from VBA's viewpoint. Maybe I need to thoroughly specify the cell? I'll try that. Also I have another problem. In the workbook containing the code, I have 3 columns for Class A, B and C. In the lookup workbook, these classes, if they exist, will be represented as rows. So having found the company number with Vlookup, I then need to walk the rows and examine the adjacent column to see what class the item is. If it's A, I write the value to retrieve into the Class A column. If it's B, into the Class B column, etc. Too bad Vlookup can't handle a compound argument :(. But anyway, I can just do a loop until the company number changes, since the table is sorted by company number. Thanks, Arthur On 8/14/07, Jim Lawrence wrote: > > Hi Arthur: > > Not testing anything and assuming that files are correct, receiving > spreadsheet is correct the only difference between the 2 lines is one has > a > "=VLOOKUP(... one is proceeded an '=' or calculate sign > "VLOOKUP(... and the other is not > > HTH > Jim > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From markamatte at hotmail.com Tue Aug 14 12:00:53 2007 From: markamatte at hotmail.com (Mark A Matte) Date: Tue, 14 Aug 2007 17:00:53 +0000 Subject: [AccessD] OT: Pics from JC Conference In-Reply-To: Message-ID: Still just curious if the pics from the JC Smokey Mnt conference are on the site somewhere? Thanks, Mark A. Matte >From: "Mark A Matte" >Reply-To: Access Developers discussion and problem >solving >To: accessd at databaseadvisors.com >Subject: Re: [AccessD] OT: Pics from JC Conference >Date: Wed, 08 Aug 2007 15:01:51 +0000 > >Yes...to Jim I believe. > > > >From: "jwcolby" > >Reply-To: Access Developers discussion and problem > >solving > >To: "'Access Developers discussion and problem > >solving'" > >Subject: Re: [AccessD] OT: Pics from JC Conference > >Date: Tue, 7 Aug 2007 17:20:30 -0400 > > > >Did any pics get sent to dba? > > > > > >John W. Colby > >Colby Consulting > >www.ColbyConsulting.com > >-----Original Message----- > >From: accessd-bounces at databaseadvisors.com > >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte > >Sent: Tuesday, August 07, 2007 4:52 PM > >To: accessd at databaseadvisors.com > >Subject: [AccessD] OT: Pics from JC Conference > > > >Just curious if the pics from the latest conference are on the site > >somewhere? > > > >Thanks, > > > >Mark A. Matte > > > >_________________________________________________________________ > >Messenger Cafi  open for fun 24/7. Hot games, cool activities served > >daily. > > > >Visit now. http://cafemessenger.com?ocid=TXT_TAGHM_AugHMtagline > > > > > > > >-- > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > >_________________________________________________________________ >Tease your brain--play Clink! Win cool prizes! >http://club.live.com/clink.aspx?icid=clink_hotmailtextlink2 > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Learn.Laugh.Share. Reallivemoms is right place! http://www.reallivemoms.com?ocid=TXT_TAGHM&loc=us From Chester_Kaup at kindermorgan.com Tue Aug 14 13:54:01 2007 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Tue, 14 Aug 2007 13:54:01 -0500 Subject: [AccessD] Status Bar Text Message-ID: I know on a form status bar text can exist. Is there anything like that for a print preview. I would like to display a message somewhere on the screen that does not print. Chester Kaup Engineering Technician Kinder Morgan CO2 Company, LLP Office (432) 688-3797 FAX (432) 688-3799 No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. From ewaldt at gdls.com Tue Aug 14 13:42:29 2007 From: ewaldt at gdls.com (ewaldt at gdls.com) Date: Tue, 14 Aug 2007 14:42:29 -0400 Subject: [AccessD] Highlighting a record in a form In-Reply-To: Message-ID: I got it! Thanks, everyone, for your help. In the unlikely event that someone is as DUH as I am, I'll explain it below. Many were suggesting conditional formatting, but I could not see how to make it apply to an entire row. It's actually very simple. With the form in design view, select all of the appropriate fields and choose Format / Conditional Formatting from the menubar. On the left, choose "Expression is". On the right, type in the controlling expression, such as [ID] = 5. Since you've selected all fields, they will all be governed by this one expression. Sorry for being so dense, people. I hadn't used this functionality in Access before, so I was trying to figure it out in VBA. Let's hear it for trying to reinvent the wheel. Thanks, again, for your help. Thomas F. Ewald Stryker Mass Properties General Dynamics Land Systems I'd prefer to do this in datasheet view, but I can use continuous form with the fields shown horizontally. Is there a way to simply tell Access to highlight the 5th record? Not every fifth record (although that would be okay, since there are only 8); just the fifth. The data comes from a table I create via a make table query, so I can control exactly what goes where. I need records 5 & 8 highlighted n the form. That's all. Seems easy, but I can't seem to get it. Feel free to make me feel even more stupid by suggesting an easy solution. This is an e-mail from General Dynamics Land Systems. It is for the intended recipient only and may contain confidential and privileged information. No one else may read, print, store, copy, forward or act in reliance on it or its attachments. If you are not the intended recipient, please return this message to the sender and delete the message and any attachments from your computer. Your cooperation is appreciated. From dwaters at usinternet.com Tue Aug 14 14:24:40 2007 From: dwaters at usinternet.com (Dan Waters) Date: Tue, 14 Aug 2007 14:24:40 -0500 Subject: [AccessD] Highlighting a record in a form In-Reply-To: References: Message-ID: <003f01c7dea8$c3443e50$0200a8c0@danwaters> Thomas, Good to hear it's working! I like conditional formatting a lot. Works in reports too. (i.e. Priority = A or Status = Late (in red)) Actually, there is code to set and change conditional formatting at runtime, but it looks a little weird to me so I haven't tried it. Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of ewaldt at gdls.com Sent: Tuesday, August 14, 2007 1:42 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Highlighting a record in a form I got it! Thanks, everyone, for your help. In the unlikely event that someone is as DUH as I am, I'll explain it below. Many were suggesting conditional formatting, but I could not see how to make it apply to an entire row. It's actually very simple. With the form in design view, select all of the appropriate fields and choose Format / Conditional Formatting from the menubar. On the left, choose "Expression is". On the right, type in the controlling expression, such as [ID] = 5. Since you've selected all fields, they will all be governed by this one expression. Sorry for being so dense, people. I hadn't used this functionality in Access before, so I was trying to figure it out in VBA. Let's hear it for trying to reinvent the wheel. Thanks, again, for your help. Thomas F. Ewald Stryker Mass Properties General Dynamics Land Systems I'd prefer to do this in datasheet view, but I can use continuous form with the fields shown horizontally. Is there a way to simply tell Access to highlight the 5th record? Not every fifth record (although that would be okay, since there are only 8); just the fifth. The data comes from a table I create via a make table query, so I can control exactly what goes where. I need records 5 & 8 highlighted n the form. That's all. Seems easy, but I can't seem to get it. Feel free to make me feel even more stupid by suggesting an easy solution. This is an e-mail from General Dynamics Land Systems. It is for the intended recipient only and may contain confidential and privileged information. No one else may read, print, store, copy, forward or act in reliance on it or its attachments. If you are not the intended recipient, please return this message to the sender and delete the message and any attachments from your computer. Your cooperation is appreciated. -- 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 14 14:50:19 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 14 Aug 2007 12:50:19 -0700 Subject: [AccessD] Status Bar Text In-Reply-To: References: Message-ID: Explain what you're trying to do, please. A print preview is a formatted preview of the printed report. You would not normally see anything there that wasn't going to print. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Tuesday, August 14, 2007 11:54 AM To: Access Developers discussion and problem solving Subject: [AccessD] Status Bar Text I know on a form status bar text can exist. Is there anything like that for a print preview. I would like to display a message somewhere on the screen that does not print. Chester Kaup Engineering Technician Kinder Morgan CO2 Company, LLP Office (432) 688-3797 FAX (432) 688-3799 No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From miscellany at mvps.org Tue Aug 14 14:59:20 2007 From: miscellany at mvps.org (Steve Schapel) Date: Wed, 15 Aug 2007 07:59:20 +1200 Subject: [AccessD] Highlighting a record in a form In-Reply-To: References: Message-ID: <46C20998.3060900@mvps.org> Thomas, An alternative approach is to make a textbox, perhaps bound to your ID field, and size it to the full height and width of the Detail section of the form. Then, all the other data controls, you set the Back Style property to Transparent, and then they are laying over the top of the ID. Then you just apply the Conditional Formatting to the ID control, to change its ForeColor and BackColor, and it will give the impression of the whole row being highlighted. Regards Steve ewaldt at gdls.com wrote: > I got it! Thanks, everyone, for your help. In the unlikely event that > someone is as DUH as I am, I'll explain it below. > > Many were suggesting conditional formatting, but I could not see how to > make it apply to an entire row. It's actually very simple. With the form > in design view, select all of the appropriate fields and choose Format / > Conditional Formatting from the menubar. On the left, choose "Expression > is". On the right, type in the controlling expression, such as [ID] = 5. > Since you've selected all fields, they will all be governed by this one > expression. > > Sorry for being so dense, people. I hadn't used this functionality in > Access before, so I was trying to figure it out in VBA. Let's hear it for > trying to reinvent the wheel. From Chester_Kaup at kindermorgan.com Tue Aug 14 15:01:44 2007 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Tue, 14 Aug 2007 15:01:44 -0500 Subject: [AccessD] Status Bar Text In-Reply-To: References: Message-ID: The engineer that wanted this database thinks there out to be a back button or some text to explain to the user how to exit the print preview. Apparently file close is a difficult concept. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, August 14, 2007 2:50 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Status Bar Text Explain what you're trying to do, please. A print preview is a formatted preview of the printed report. You would not normally see anything there that wasn't going to print. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Tuesday, August 14, 2007 11:54 AM To: Access Developers discussion and problem solving Subject: [AccessD] Status Bar Text I know on a form status bar text can exist. Is there anything like that for a print preview. I would like to display a message somewhere on the screen that does not print. Chester Kaup Engineering Technician Kinder Morgan CO2 Company, LLP Office (432) 688-3797 FAX (432) 688-3799 No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at gmail.com Tue Aug 14 15:04:59 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Tue, 14 Aug 2007 16:04:59 -0400 Subject: [AccessD] Status Bar Text In-Reply-To: References: Message-ID: <00b801c7deae$65cba870$048e01c7@SusanOne> Perhaps you could add a text control to the toolbar . I add command buttons that let me change the report's sort order on the fly. Don't know why you couldn't use a text control to display a message, but it would be on the toolbar and not at the bottom of the screen where status text usually appears. Susan H. Explain what you're trying to do, please. A print preview is a formatted preview of the printed report. You would not normally see anything there that wasn't going to print. Charlotte Foust I know on a form status bar text can exist. Is there anything like that for a print preview. I would like to display a message somewhere on the screen that does not print. Chester Kaup Engineering Technician Kinder Morgan CO2 Company, LLP Office (432) 688-3797 FAX (432) 688-3799 No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com Internal Virus Database is out-of-date. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.10.20/919 - Release Date: 2007/07/26 09:56 AM From ssharkins at gmail.com Tue Aug 14 15:10:16 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Tue, 14 Aug 2007 16:10:16 -0400 Subject: [AccessD] Status Bar Text In-Reply-To: References: Message-ID: <00b901c7deaf$22c9ebd0$048e01c7@SusanOne> Just add a new button to the toolbar. That's what I would do. Susan H. The engineer that wanted this database thinks there out to be a back button or some text to explain to the user how to exit the print preview. Apparently file close is a difficult concept. From markamatte at hotmail.com Tue Aug 14 15:16:29 2007 From: markamatte at hotmail.com (Mark A Matte) Date: Tue, 14 Aug 2007 20:16:29 +0000 Subject: [AccessD] Status Bar Text In-Reply-To: <00b801c7deae$65cba870$048e01c7@SusanOne> Message-ID: ok...this might be way outside the box...but how about open a form when the report opens : popup=YES and modal=NO...have this form open and move to whatever location on the screen you want. and have it close when the report closes...you could actually put the print button on this form with whatever directions/text you want. Hope it helps, Mark A. Matte >From: "Susan Harkins" >Reply-To: Access Developers discussion and problem >solving >To: "'Access Developers discussion and problem >solving'" >Subject: Re: [AccessD] Status Bar Text >Date: Tue, 14 Aug 2007 16:04:59 -0400 > >Perhaps you could add a text control to the toolbar . I add command buttons >that let me change the report's sort order on the fly. Don't know why you >couldn't use a text control to display a message, but it would be on the >toolbar and not at the bottom of the screen where status text usually >appears. > >Susan H. > >Explain what you're trying to do, please. A print preview is a formatted >preview of the printed report. You would not normally see anything there >that wasn't going to print. > >Charlotte Foust > >I know on a form status bar text can exist. Is there anything like that for >a print preview. I would like to display a message somewhere on the screen >that does not print. > > > >Chester Kaup > >Engineering Technician > >Kinder Morgan CO2 Company, LLP > >Office (432) 688-3797 > >FAX (432) 688-3799 > > > > > >No trees were killed in the sending of this message. However a large number >of electrons were terribly inconvenienced. > > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > >Internal Virus Database is out-of-date. >Checked by AVG Free Edition. >Version: 7.5.476 / Virus Database: 269.10.20/919 - Release Date: 2007/07/26 >09:56 AM > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Tease your brain--play Clink! Win cool prizes! http://club.live.com/clink.aspx?icid=clink_hotmailtextlink2 From cfoust at infostatsystems.com Tue Aug 14 15:33:34 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 14 Aug 2007 13:33:34 -0700 Subject: [AccessD] Status Bar Text In-Reply-To: References: <00b801c7deae$65cba870$048e01c7@SusanOne> Message-ID: It would probably be more straightforward to simply create a floating toolbar for the purpose. I always used to build custom toolbars that I loaded in the Open event of the report if it was in preview. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Tuesday, August 14, 2007 1:16 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Status Bar Text ok...this might be way outside the box...but how about open a form when the report opens : popup=YES and modal=NO...have this form open and move to whatever location on the screen you want. and have it close when the report closes...you could actually put the print button on this form with whatever directions/text you want. Hope it helps, Mark A. Matte >From: "Susan Harkins" >Reply-To: Access Developers discussion and problem >solving >To: "'Access Developers discussion and problem >solving'" >Subject: Re: [AccessD] Status Bar Text >Date: Tue, 14 Aug 2007 16:04:59 -0400 > >Perhaps you could add a text control to the toolbar . I add command >buttons that let me change the report's sort order on the fly. Don't >know why you couldn't use a text control to display a message, but it >would be on the toolbar and not at the bottom of the screen where >status text usually appears. > >Susan H. > >Explain what you're trying to do, please. A print preview is a >formatted preview of the printed report. You would not normally see >anything there that wasn't going to print. > >Charlotte Foust > >I know on a form status bar text can exist. Is there anything like that >for a print preview. I would like to display a message somewhere on the >screen that does not print. > > > >Chester Kaup > >Engineering Technician > >Kinder Morgan CO2 Company, LLP > >Office (432) 688-3797 > >FAX (432) 688-3799 > > > > > >No trees were killed in the sending of this message. However a large >number of electrons were terribly inconvenienced. > > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > >Internal Virus Database is out-of-date. >Checked by AVG Free Edition. >Version: 7.5.476 / Virus Database: 269.10.20/919 - Release Date: >2007/07/26 >09:56 AM > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Tease your brain--play Clink! Win cool prizes! http://club.live.com/clink.aspx?icid=clink_hotmailtextlink2 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Chester_Kaup at kindermorgan.com Tue Aug 14 16:03:12 2007 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Tue, 14 Aug 2007 16:03:12 -0500 Subject: [AccessD] Status Bar Text In-Reply-To: References: <00b801c7deae$65cba870$048e01c7@SusanOne> Message-ID: Sounds like a good plan to me however I don't know how to create a floating toolbar. Time for my tutorial. Thanks all. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, August 14, 2007 3:34 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Status Bar Text It would probably be more straightforward to simply create a floating toolbar for the purpose. I always used to build custom toolbars that I loaded in the Open event of the report if it was in preview. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Tuesday, August 14, 2007 1:16 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Status Bar Text ok...this might be way outside the box...but how about open a form when the report opens : popup=YES and modal=NO...have this form open and move to whatever location on the screen you want. and have it close when the report closes...you could actually put the print button on this form with whatever directions/text you want. Hope it helps, Mark A. Matte >From: "Susan Harkins" >Reply-To: Access Developers discussion and problem >solving >To: "'Access Developers discussion and problem >solving'" >Subject: Re: [AccessD] Status Bar Text >Date: Tue, 14 Aug 2007 16:04:59 -0400 > >Perhaps you could add a text control to the toolbar . I add command >buttons that let me change the report's sort order on the fly. Don't >know why you couldn't use a text control to display a message, but it >would be on the toolbar and not at the bottom of the screen where >status text usually appears. > >Susan H. > >Explain what you're trying to do, please. A print preview is a >formatted preview of the printed report. You would not normally see >anything there that wasn't going to print. > >Charlotte Foust > >I know on a form status bar text can exist. Is there anything like that >for a print preview. I would like to display a message somewhere on the >screen that does not print. > > > >Chester Kaup > >Engineering Technician > >Kinder Morgan CO2 Company, LLP > >Office (432) 688-3797 > >FAX (432) 688-3799 > > > > > >No trees were killed in the sending of this message. However a large >number of electrons were terribly inconvenienced. > > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > >Internal Virus Database is out-of-date. >Checked by AVG Free Edition. >Version: 7.5.476 / Virus Database: 269.10.20/919 - Release Date: >2007/07/26 >09:56 AM > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Tease your brain--play Clink! Win cool prizes! http://club.live.com/clink.aspx?icid=clink_hotmailtextlink2 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Tue Aug 14 16:21:22 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Tue, 14 Aug 2007 14:21:22 -0700 Subject: [AccessD] Status Bar Text In-Reply-To: Message-ID: <009001c7deb9$106096b0$0301a8c0@HAL9005> I sue a custom tool bar for reports. It only has the magnifying glass, the box with the percent magnification and a command button labeled "CLOSE". So users have three ways to get out of a report preview - close button, X in the upper right, and the ESC key. However, you're working with engineers so there's probably not a simple enough solution. I suppose you could [put a close button on a custom toolbar with a long caption like "Click this button to close the report." Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Tuesday, August 14, 2007 1:02 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Status Bar Text The engineer that wanted this database thinks there out to be a back button or some text to explain to the user how to exit the print preview. Apparently file close is a difficult concept. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, August 14, 2007 2:50 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Status Bar Text Explain what you're trying to do, please. A print preview is a formatted preview of the printed report. You would not normally see anything there that wasn't going to print. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Tuesday, August 14, 2007 11:54 AM To: Access Developers discussion and problem solving Subject: [AccessD] Status Bar Text I know on a form status bar text can exist. Is there anything like that for a print preview. I would like to display a message somewhere on the screen that does not print. Chester Kaup Engineering Technician Kinder Morgan CO2 Company, LLP Office (432) 688-3797 FAX (432) 688-3799 No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.17/951 - Release Date: 8/13/2007 10:15 AM From cfoust at infostatsystems.com Tue Aug 14 16:26:08 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 14 Aug 2007 14:26:08 -0700 Subject: [AccessD] Status Bar Text In-Reply-To: <009001c7deb9$106096b0$0301a8c0@HAL9005> References: <009001c7deb9$106096b0$0301a8c0@HAL9005> Message-ID: That's why they invented tooltips, Rocky. Set the tooltip text and let them hover their mouse over the button to find out the long version of the instructions! LOL Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Tuesday, August 14, 2007 2:21 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Status Bar Text I sue a custom tool bar for reports. It only has the magnifying glass, the box with the percent magnification and a command button labeled "CLOSE". So users have three ways to get out of a report preview - close button, X in the upper right, and the ESC key. However, you're working with engineers so there's probably not a simple enough solution. I suppose you could [put a close button on a custom toolbar with a long caption like "Click this button to close the report." Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Tuesday, August 14, 2007 1:02 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Status Bar Text The engineer that wanted this database thinks there out to be a back button or some text to explain to the user how to exit the print preview. Apparently file close is a difficult concept. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, August 14, 2007 2:50 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Status Bar Text Explain what you're trying to do, please. A print preview is a formatted preview of the printed report. You would not normally see anything there that wasn't going to print. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Tuesday, August 14, 2007 11:54 AM To: Access Developers discussion and problem solving Subject: [AccessD] Status Bar Text I know on a form status bar text can exist. Is there anything like that for a print preview. I would like to display a message somewhere on the screen that does not print. Chester Kaup Engineering Technician Kinder Morgan CO2 Company, LLP Office (432) 688-3797 FAX (432) 688-3799 No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.17/951 - Release Date: 8/13/2007 10:15 AM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Donald.A.McGillivray at sprint.com Tue Aug 14 16:40:17 2007 From: Donald.A.McGillivray at sprint.com (McGillivray, Don [IT]) Date: Tue, 14 Aug 2007 16:40:17 -0500 Subject: [AccessD] Status Bar Text In-Reply-To: References: <009001c7deb9$106096b0$0301a8c0@HAL9005> Message-ID: And you've got it backwards, Rocky. Engineers don't want it simple - the more complex the better! I say, give them a wizard with at least 17 steps to complete just to close the preview . . . :o) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, August 14, 2007 2:26 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Status Bar Text That's why they invented tooltips, Rocky. Set the tooltip text and let them hover their mouse over the button to find out the long version of the instructions! LOL Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Tuesday, August 14, 2007 2:21 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Status Bar Text I sue a custom tool bar for reports. It only has the magnifying glass, the box with the percent magnification and a command button labeled "CLOSE". So users have three ways to get out of a report preview - close button, X in the upper right, and the ESC key. However, you're working with engineers so there's probably not a simple enough solution. I suppose you could [put a close button on a custom toolbar with a long caption like "Click this button to close the report." Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Tuesday, August 14, 2007 1:02 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Status Bar Text The engineer that wanted this database thinks there out to be a back button or some text to explain to the user how to exit the print preview. Apparently file close is a difficult concept. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, August 14, 2007 2:50 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Status Bar Text Explain what you're trying to do, please. A print preview is a formatted preview of the printed report. You would not normally see anything there that wasn't going to print. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Tuesday, August 14, 2007 11:54 AM To: Access Developers discussion and problem solving Subject: [AccessD] Status Bar Text I know on a form status bar text can exist. Is there anything like that for a print preview. I would like to display a message somewhere on the screen that does not print. Chester Kaup Engineering Technician Kinder Morgan CO2 Company, LLP Office (432) 688-3797 FAX (432) 688-3799 No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.17/951 - Release Date: 8/13/2007 10:15 AM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Tue Aug 14 16:43:58 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Tue, 14 Aug 2007 14:43:58 -0700 Subject: [AccessD] Status Bar Text In-Reply-To: Message-ID: <00a501c7debc$3866fd40$0301a8c0@HAL9005> We're talkin' engineers, here, Charlotte. :o) Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, August 14, 2007 2:26 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Status Bar Text That's why they invented tooltips, Rocky. Set the tooltip text and let them hover their mouse over the button to find out the long version of the instructions! LOL Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Tuesday, August 14, 2007 2:21 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Status Bar Text I sue a custom tool bar for reports. It only has the magnifying glass, the box with the percent magnification and a command button labeled "CLOSE". So users have three ways to get out of a report preview - close button, X in the upper right, and the ESC key. However, you're working with engineers so there's probably not a simple enough solution. I suppose you could [put a close button on a custom toolbar with a long caption like "Click this button to close the report." Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Tuesday, August 14, 2007 1:02 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Status Bar Text The engineer that wanted this database thinks there out to be a back button or some text to explain to the user how to exit the print preview. Apparently file close is a difficult concept. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, August 14, 2007 2:50 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Status Bar Text Explain what you're trying to do, please. A print preview is a formatted preview of the printed report. You would not normally see anything there that wasn't going to print. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Tuesday, August 14, 2007 11:54 AM To: Access Developers discussion and problem solving Subject: [AccessD] Status Bar Text I know on a form status bar text can exist. Is there anything like that for a print preview. I would like to display a message somewhere on the screen that does not print. Chester Kaup Engineering Technician Kinder Morgan CO2 Company, LLP Office (432) 688-3797 FAX (432) 688-3799 No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.17/951 - Release Date: 8/13/2007 10:15 AM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.17/951 - Release Date: 8/13/2007 10:15 AM From dwaters at usinternet.com Tue Aug 14 16:54:08 2007 From: dwaters at usinternet.com (Dan Waters) Date: Tue, 14 Aug 2007 16:54:08 -0500 Subject: [AccessD] Status Bar Text In-Reply-To: References: <009001c7deb9$106096b0$0301a8c0@HAL9005> Message-ID: <004701c7debd$a464c080$0200a8c0@danwaters> I agree - Engineers love complexity! And yes I do know this! And, some engineers have a fundamental conviction that everyone else needs to have everything explained to them. They don't realize that people do learn. Do you have a project sponsor/manager who can get you around this guy? If you add this kind of instruction, what else will you be asked to do? When regular users see this, they will be offended. So, if you're really stuck, get some documentation from this guy describing carefully and in detail what his 'requirement' is. Then you can show it to the powers that be when the complaints come rolling in. Good Luck! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of McGillivray, Don [IT] Sent: Tuesday, August 14, 2007 4:40 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Status Bar Text And you've got it backwards, Rocky. Engineers don't want it simple - the more complex the better! I say, give them a wizard with at least 17 steps to complete just to close the preview . . . :o) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, August 14, 2007 2:26 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Status Bar Text That's why they invented tooltips, Rocky. Set the tooltip text and let them hover their mouse over the button to find out the long version of the instructions! LOL Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Tuesday, August 14, 2007 2:21 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Status Bar Text I sue a custom tool bar for reports. It only has the magnifying glass, the box with the percent magnification and a command button labeled "CLOSE". So users have three ways to get out of a report preview - close button, X in the upper right, and the ESC key. However, you're working with engineers so there's probably not a simple enough solution. I suppose you could [put a close button on a custom toolbar with a long caption like "Click this button to close the report." Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Tuesday, August 14, 2007 1:02 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Status Bar Text The engineer that wanted this database thinks there out to be a back button or some text to explain to the user how to exit the print preview. Apparently file close is a difficult concept. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, August 14, 2007 2:50 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Status Bar Text Explain what you're trying to do, please. A print preview is a formatted preview of the printed report. You would not normally see anything there that wasn't going to print. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Tuesday, August 14, 2007 11:54 AM To: Access Developers discussion and problem solving Subject: [AccessD] Status Bar Text I know on a form status bar text can exist. Is there anything like that for a print preview. I would like to display a message somewhere on the screen that does not print. Chester Kaup Engineering Technician Kinder Morgan CO2 Company, LLP Office (432) 688-3797 FAX (432) 688-3799 No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.17/951 - Release Date: 8/13/2007 10:15 AM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 14 21:08:09 2007 From: clh at christopherhawkins.com (Christopher Hawkins) Date: Tue, 14 Aug 2007 20:08:09 -0600 Subject: [AccessD] SQL Speed Message-ID: <49e58df89a44429d9d2e72b78e998f8b@mail1.gearhost.com> Hi, Mark. I think I missed this topic the first time it came up. This is a hard question to answer, mainly because you don't mention what type of data is contained in the 4K rows you're querying, and how many fields are involved. You also mention that the results will be "concatenated", which seems like an odd thing to do. I would expect you to run a sum or a count or something, not a concatenation of 4K rows. Can you provide more detail? Off the cuff, 2 minutes sounds slow to return 4K rows of the kind of data I tend to work with, but like I said, I'm not exactly clear on what you're doing with those rows. Can you show us the actual SQL? -C- ---------------------------------------- From: "Mark A Matte" Sent: Tuesday, August 14, 2007 3:12 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] SQL Speed Hello All, I haven't received any responses after the email below. I am specifically curious about the realistic time to run 10K sql statements (see below). Access vs. SQL server? Any feedback is greatly appreciated. Thanks, Mark A. Matte >From: "Mark A Matte" >Reply-To: Access Developers discussion and problem >solving >To: accessd at databaseadvisors.com >Subject: Re: [AccessD] SQL Speed >Date: Thu, 09 Aug 2007 17:27:51 +0000 > >Thanks to All for your responses...(everything discussed below is currently >in A2K) > >I'm at the beginning of this and appreciate any ideas...This program has >been running 24/7 for the last 3 years...but only runs 1 SQL statement. It >runs the statement, loops through the results and concatenates the results, >and then emails the results (for these tests we are going to forget about >the email part and just store the results in a separate table). > >Last night I put a loop on this and ran it 10K times. It took just under 2 >minutes. To make it more realistic, (the 10k SQL statements will all be >different, but very similar) I removed the SQL from the code and placed it >in a memo field in another table (tblSQL). Next, I modified the code so >now >it first pulls all records form tblSQL (I added 10k rows...but all the same >SQL statement)...then for each of these records...it does the stuff I >outlined above. > >Again, it ran in just under 2 minutes. I need this to be as fast as >possible, and I don't know what a realistic time is. I apparently can do >10K in less than 2 minutes, but is this good, bad, average? > >Any thoughts/ideas? > >Thanks, > >Mark A. Matte > > > >From: Jim Lawrence > >Reply-To: Access Developers discussion and problem > >solving > >To: "'Access Developers discussion and problem > >solving'" > >Subject: Re: [AccessD] SQL Speed > >Date: Wed, 08 Aug 2007 22:15:43 -0700 > > > >Well, you have probably already thought of this, but any queries that can > >run on the SQL server as pre-compiled stored procedures will give >superior > >performance. > > > >Jim > > > >-----Original Message----- > >From: accessd-bounces at databaseadvisors.com > >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte > >Sent: Wednesday, August 08, 2007 1:57 PM > >To: accessd at databaseadvisors.com > >Subject: [AccessD] SQL Speed > > > >Hello All, > > > >I am involved in a project that will be web based. The database will > >either > > > >be access or SQL Server. > > > >The question is: I need to run a bunch (maybe 10K) of SQL statements > >againts a single table...or flat file, whatever is best, containing about > >4K > > > >rows. The results of each will be appended to a second table, or emailed > >instantly (ahh...idea...good place for a JC style Class). The SQL > >statements themselves will be stored in a table. > > > >Does anyone have any ideas/suggestions about approach? I will need ALL >of > >the SQLs to run in less than 5 minutes. I know 1 runs in a fraction of a > >second...I just don't know what that fraction is to calculate time >needed. > > > >Being there are so few rows involved...but so many SQL statements...and > >speed is an issue...will there be a signicant advantage using SQL Server >or > >Access? > > > >I'm thinking of having the SQLs in a table and looping through and > >executing > > > >each...I just don't know if this is the best approach? > > > >Thanks, > > > >Mark A. Matte > > > >_________________________________________________________________ > >Booking a flight? Know when to buy with airfare predictions on MSN >Travel. > >http://travel.msn.com/Articles/aboutfarecast.aspx&ocid=T001MSN25A07001 > > > >-- > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > > > >-- > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > >_________________________________________________________________ >Tease your brain--play Clink! Win cool prizes! >http://club.live.com/clink.aspx?icid=clink_hotmailtextlink2 > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ A new home for Mom, no cleanup required. All starts here. http://www.reallivemoms.com?ocid=TXT_TAGHM&loc=us -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From newsgrps at dalyn.co.nz Tue Aug 14 21:24:47 2007 From: newsgrps at dalyn.co.nz (David Emerson) Date: Wed, 15 Aug 2007 14:24:47 +1200 Subject: [AccessD] Setting Combobox to Last Item In-Reply-To: References: <20070814023803.WITO26291.fep03.xtra.co.nz@Dalyn.dalyn.co.nz> Message-ID: <20070815022401.JWLX9092.fep01.xtra.co.nz@Dalyn.dalyn.co.nz> Thanks Mark. Your suggestion lead me to solve the problem: Me!cboFinModelDate = [Forms]![frmFinModel]![cboFinModelDate].[ItemData](intFinModelCount) needed to be changed to Me!cboFinModelDate = Me!cboFinModelDate.ItemData(intFinModelCount) It seems that the square brackets caused the problem. David At 15/08/2007, you wrote: >I would check to see what value intFinModelCount is returning, or what >type...integer or text?...because (assuming we're talking about 1 form)... >Me!cboFinModelDate = Me!cboFinModelDate.ItemData(intFinModelCount) > >should work. > >Good Luck, > >Mark A. Matte > > > > > >From: David Emerson > >Reply-To: Access Developers discussion and problem > >solving > >To: accessd at databaseadvisors.com > >Subject: [AccessD] Setting Combobox to Last Item > >Date: Tue, 14 Aug 2007 14:38:36 +1200 > > > >I want to open a form and set a combo box to the last item in the > >list (the list is based on a table so the last item isn't static). > > > >On the Form open event I have: > > > > intFinModelCount = (basRunDataObject("SELECT FinModelID FROM > >dbo.tblFinModel", adCmdText).RecordCount) - 1 > > If intFinModelCount > 0 Then > > Me!cboFinModelDate = > >[Forms]![frmFinModel]![cboFinModelDate].[ItemData](intFinModelCount) > >'Error here > > End If > > > >The error I get is 450 - Wrong number of arguments or invalid > >property assignment. > > > >Any pointers on where I might be wrong? > > > >Regards > > > >David Emerson > >Dalyn Software Ltd > >Wellington, New Zealand > > > >-- > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > >_________________________________________________________________ >Booking a flight? Know when to buy with airfare predictions on MSN Travel. >http://travel.msn.com/Articles/aboutfarecast.aspx&ocid=T001MSN25A07001 > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com From ssharkins at gmail.com Tue Aug 14 21:54:42 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Tue, 14 Aug 2007 22:54:42 -0400 Subject: [AccessD] Setting Combobox to Last Item In-Reply-To: <20070815022401.JWLX9092.fep01.xtra.co.nz@Dalyn.dalyn.co.nz> References: <20070814023803.WITO26291.fep03.xtra.co.nz@Dalyn.dalyn.co.nz> <20070815022401.JWLX9092.fep01.xtra.co.nz@Dalyn.dalyn.co.nz> Message-ID: <003501c7dee7$a2356b50$048e01c7@SusanOne> Thanks David -- I thought your statement looked weird with the brackets, but I didn't mention it because I thought maybe it was just me -- because I don't use them. Susan H. It seems that the square brackets caused the problem. From Chester_Kaup at kindermorgan.com Wed Aug 15 08:03:38 2007 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Wed, 15 Aug 2007 08:03:38 -0500 Subject: [AccessD] Custon Toolbar Question Message-ID: I have created 2 custom toolbars in a database. I want to use different ones on different forms. In the property sheet for the form I set the toolbar to either custom1 or custom2. When I open the form both toolbars show on any form. What am I doing wrong? Thanks Chester Kaup Engineering Technician Kinder Morgan CO2 Company, LLP Office (432) 688-3797 FAX (432) 688-3799 No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. From ssharkins at gmail.com Wed Aug 15 08:15:52 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Wed, 15 Aug 2007 09:15:52 -0400 Subject: [AccessD] Custon Toolbar Question In-Reply-To: References: Message-ID: <000001c7df3e$6949a930$048e01c7@SusanOne> So, before you open either form, neither custom toolbar is open. Then, when you open either, both open? What happens when you open a form other than the two forms in question? Susan H. I have created 2 custom toolbars in a database. I want to use different ones on different forms. In the property sheet for the form I set the toolbar to either custom1 or custom2. When I open the form both toolbars show on any form. What am I doing wrong? From markamatte at hotmail.com Wed Aug 15 08:47:13 2007 From: markamatte at hotmail.com (Mark A Matte) Date: Wed, 15 Aug 2007 13:47:13 +0000 Subject: [AccessD] SQL Speed In-Reply-To: <49e58df89a44429d9d2e72b78e998f8b@mail1.gearhost.com> Message-ID: I'm not returning 4K rows...the table I'm running these SQL statements againts has 4K rows... In one table I have 10K SQL statements(1 per row). The SQL statements are all filtering on indexed currency and integer fields. I pullin all 10K as a recordset....and loop through...for each row, I execute that SQL againts a table with about 4K rows...and take the results (typically between 1 and 20 rows) and concatenated a Char4 and a Currency field from each of the results into 1 long string (this will later be the body of an email). So...I run 10K SQL statements, one right after the other, against a table with about 4K rows, returning between 1 and 20 records per SQL statement. To run these 10K and store the results it takes just less than 2 Minutes...if this is slow...please share how long (average) you would expect it to take 10K queries to run? There is more detail in the emails below... >From: "Christopher Hawkins" >Reply-To: Access Developers discussion and problem >solving >To: >Subject: Re: [AccessD] SQL Speed >Date: Tue, 14 Aug 2007 20:08:09 -0600 > >Hi, Mark. I think I missed this topic the first time it came up. > >This is a hard question to answer, mainly because you don't mention what >type of data is contained in the 4K rows you're querying, and how many >fields are involved. You also mention that the results will be >"concatenated", which seems like an odd thing to do. I would expect you to >run a sum or a count or something, not a concatenation of 4K rows. Can you >provide more detail? > >Off the cuff, 2 minutes sounds slow to return 4K rows of the kind of data I >tend to work with, but like I said, I'm not exactly clear on what you're >doing with those rows. > >Can you show us the actual SQL? > >-C- > >---------------------------------------- > >From: "Mark A Matte" >Sent: Tuesday, August 14, 2007 3:12 AM >To: accessd at databaseadvisors.com >Subject: Re: [AccessD] SQL Speed > >Hello All, > >I haven't received any responses after the email below. I am specifically >curious about the realistic time to run 10K sql statements (see below). >Access vs. SQL server? > >Any feedback is greatly appreciated. > >Thanks, > >Mark A. Matte > > >From: "Mark A Matte" > >Reply-To: Access Developers discussion and problem > >solving > >To: accessd at databaseadvisors.com > >Subject: Re: [AccessD] SQL Speed > >Date: Thu, 09 Aug 2007 17:27:51 +0000 > > > >Thanks to All for your responses...(everything discussed below is >currently > >in A2K) > > > >I'm at the beginning of this and appreciate any ideas...This program has > >been running 24/7 for the last 3 years...but only runs 1 SQL statement. >It > >runs the statement, loops through the results and concatenates the >results, > >and then emails the results (for these tests we are going to forget about > >the email part and just store the results in a separate table). > > > >Last night I put a loop on this and ran it 10K times. It took just under >2 > >minutes. To make it more realistic, (the 10k SQL statements will all be > >different, but very similar) I removed the SQL from the code and placed >it > >in a memo field in another table (tblSQL). Next, I modified the code so > >now > >it first pulls all records form tblSQL (I added 10k rows...but all the >same > >SQL statement)...then for each of these records...it does the stuff I > >outlined above. > > > >Again, it ran in just under 2 minutes. I need this to be as fast as > >possible, and I don't know what a realistic time is. I apparently can do > >10K in less than 2 minutes, but is this good, bad, average? > > > >Any thoughts/ideas? > > > >Thanks, > > > >Mark A. Matte > > > > > > >From: Jim Lawrence > > >Reply-To: Access Developers discussion and problem > > >solving > > >To: "'Access Developers discussion and problem > > >solving'" > > >Subject: Re: [AccessD] SQL Speed > > >Date: Wed, 08 Aug 2007 22:15:43 -0700 > > > > > >Well, you have probably already thought of this, but any queries that >can > > >run on the SQL server as pre-compiled stored procedures will give > >superior > > >performance. > > > > > >Jim > > > > > >-----Original Message----- > > >From: accessd-bounces at databaseadvisors.com > > >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte > > >Sent: Wednesday, August 08, 2007 1:57 PM > > >To: accessd at databaseadvisors.com > > >Subject: [AccessD] SQL Speed > > > > > >Hello All, > > > > > >I am involved in a project that will be web based. The database will > > >either > > > > > >be access or SQL Server. > > > > > >The question is: I need to run a bunch (maybe 10K) of SQL statements > > >againts a single table...or flat file, whatever is best, containing >about > > >4K > > > > > >rows. The results of each will be appended to a second table, or >emailed > > >instantly (ahh...idea...good place for a JC style Class). The SQL > > >statements themselves will be stored in a table. > > > > > >Does anyone have any ideas/suggestions about approach? I will need ALL > >of > > >the SQLs to run in less than 5 minutes. I know 1 runs in a fraction of >a > > >second...I just don't know what that fraction is to calculate time > >needed. > > > > > >Being there are so few rows involved...but so many SQL statements...and > > >speed is an issue...will there be a signicant advantage using SQL >Server > >or > > >Access? > > > > > >I'm thinking of having the SQLs in a table and looping through and > > >executing > > > > > >each...I just don't know if this is the best approach? > > > > > >Thanks, > > > > > >Mark A. Matte > > > _________________________________________________________________ Puzzles, trivia teasers, word scrambles and more. Play for your chance to win! http://club.live.com/home.aspx?icid=CLUB_hotmailtextlink From ssharkins at gmail.com Wed Aug 15 08:48:40 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Wed, 15 Aug 2007 09:48:40 -0400 Subject: [AccessD] Highlighting a record in a form In-Reply-To: References: Message-ID: <000801c7df43$00482740$048e01c7@SusanOne> How is [ID] = n counting your records though? Is it is consecutive value that considers the form's sort order? Is it an AutoNumber? What happens if the recordset doesn't have an ID value of 5? Susan H. I got it! Thanks, everyone, for your help. In the unlikely event that someone is as DUH as I am, I'll explain it below. Many were suggesting conditional formatting, but I could not see how to make it apply to an entire row. It's actually very simple. With the form in design view, select all of the appropriate fields and choose Format / Conditional Formatting from the menubar. On the left, choose "Expression is". On the right, type in the controlling expression, such as [ID] = 5. Since you've selected all fields, they will all be governed by this one expression. Sorry for being so dense, people. I hadn't used this functionality in Access before, so I was trying to figure it out in VBA. Let's hear it for trying to reinvent the wheel. Thanks, again, for your help. Thomas F. Ewald Stryker Mass Properties General Dynamics Land Systems I'd prefer to do this in datasheet view, but I can use continuous form with the fields shown horizontally. Is there a way to simply tell Access to highlight the 5th record? Not every fifth record (although that would be okay, since there are only 8); just the fifth. The data comes from a table I create via a make table query, so I can control exactly what goes where. I need records 5 & 8 highlighted n the form. That's all. Seems easy, but I can't seem to get it. Feel free to make me feel even more stupid by suggesting an easy solution. This is an e-mail from General Dynamics Land Systems. It is for the intended recipient only and may contain confidential and privileged information. No one else may read, print, store, copy, forward or act in reliance on it or its attachments. If you are not the intended recipient, please return this message to the sender and delete the message and any attachments from your computer. Your cooperation is appreciated. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com Internal Virus Database is out-of-date. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.10.20/919 - Release Date: 2007/07/26 09:56 AM From Chester_Kaup at kindermorgan.com Wed Aug 15 09:18:49 2007 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Wed, 15 Aug 2007 09:18:49 -0500 Subject: [AccessD] Custon Toolbar Question In-Reply-To: <000001c7df3e$6949a930$048e01c7@SusanOne> References: <000001c7df3e$6949a930$048e01c7@SusanOne> Message-ID: Guess I did not explain well. When I open any form in the database both custom tool bars appear regardless of the property setting (toolbar) of the form that is opened. Toolbar property setting can be null, custon1 or custom2. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Wednesday, August 15, 2007 8:16 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Custon Toolbar Question So, before you open either form, neither custom toolbar is open. Then, when you open either, both open? What happens when you open a form other than the two forms in question? Susan H. I have created 2 custom toolbars in a database. I want to use different ones on different forms. In the property sheet for the form I set the toolbar to either custom1 or custom2. When I open the form both toolbars show on any form. What am I doing wrong? -- 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 15 10:13:59 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 15 Aug 2007 08:13:59 -0700 Subject: [AccessD] Custon Toolbar Question In-Reply-To: References: <000001c7df3e$6949a930$048e01c7@SusanOne> Message-ID: You have to load and unload the toolbars in code to control their appearance and disappearance. If you create a runtime version, the toolbars don't respond to the property setting anyhow. Show the toolbar you want in the Open or Load event of a form and hide it in the close event. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Wednesday, August 15, 2007 7:19 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Custon Toolbar Question Guess I did not explain well. When I open any form in the database both custom tool bars appear regardless of the property setting (toolbar) of the form that is opened. Toolbar property setting can be null, custon1 or custom2. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Wednesday, August 15, 2007 8:16 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Custon Toolbar Question So, before you open either form, neither custom toolbar is open. Then, when you open either, both open? What happens when you open a form other than the two forms in question? Susan H. I have created 2 custom toolbars in a database. I want to use different ones on different forms. In the property sheet for the form I set the toolbar to either custom1 or custom2. When I open the form both toolbars show on any form. What am I doing wrong? -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dw-murphy at cox.net Wed Aug 15 10:58:50 2007 From: dw-murphy at cox.net (Doug Murphy) Date: Wed, 15 Aug 2007 08:58:50 -0700 Subject: [AccessD] Custon Toolbar Question In-Reply-To: Message-ID: <002b01c7df55$2bf5c610$0200a8c0@murphy3234aaf1> Place your cursor in the area of the menus and tool bars, right click and deselect your custom bars, i.e, turn them off. Now if they are set as the default for a form or report they will show when that form or report is open. Doug -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Wednesday, August 15, 2007 7:19 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Custon Toolbar Question Guess I did not explain well. When I open any form in the database both custom tool bars appear regardless of the property setting (toolbar) of the form that is opened. Toolbar property setting can be null, custon1 or custom2. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Wednesday, August 15, 2007 8:16 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Custon Toolbar Question So, before you open either form, neither custom toolbar is open. Then, when you open either, both open? What happens when you open a form other than the two forms in question? Susan H. I have created 2 custom toolbars in a database. I want to use different ones on different forms. In the property sheet for the form I set the toolbar to either custom1 or custom2. When I open the form both toolbars show on any form. What am I doing wrong? -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dw-murphy at cox.net Wed Aug 15 11:00:25 2007 From: dw-murphy at cox.net (Doug Murphy) Date: Wed, 15 Aug 2007 09:00:25 -0700 Subject: [AccessD] Custon Toolbar Question In-Reply-To: Message-ID: <002c01c7df55$64bbc530$0200a8c0@murphy3234aaf1> I don't believe this is the case, at least with Access 2002. We have several runtimes with custom menus and tool bars that I set in the form or report properties. They work just fine in runtime mode. Doug -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, August 15, 2007 8:14 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Custon Toolbar Question You have to load and unload the toolbars in code to control their appearance and disappearance. If you create a runtime version, the toolbars don't respond to the property setting anyhow. Show the toolbar you want in the Open or Load event of a form and hide it in the close event. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Wednesday, August 15, 2007 7:19 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Custon Toolbar Question Guess I did not explain well. When I open any form in the database both custom tool bars appear regardless of the property setting (toolbar) of the form that is opened. Toolbar property setting can be null, custon1 or custom2. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Wednesday, August 15, 2007 8:16 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Custon Toolbar Question So, before you open either form, neither custom toolbar is open. Then, when you open either, both open? What happens when you open a form other than the two forms in question? Susan H. I have created 2 custom toolbars in a database. I want to use different ones on different forms. In the property sheet for the form I set the toolbar to either custom1 or custom2. When I open the form both toolbars show on any form. What am I doing wrong? -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Chester_Kaup at kindermorgan.com Wed Aug 15 11:15:00 2007 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Wed, 15 Aug 2007 11:15:00 -0500 Subject: [AccessD] Custon Toolbar Question In-Reply-To: <002b01c7df55$2bf5c610$0200a8c0@murphy3234aaf1> References: <002b01c7df55$2bf5c610$0200a8c0@murphy3234aaf1> Message-ID: Thanks. That way to easy. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Murphy Sent: Wednesday, August 15, 2007 10:59 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Custon Toolbar Question Place your cursor in the area of the menus and tool bars, right click and deselect your custom bars, i.e, turn them off. Now if they are set as the default for a form or report they will show when that form or report is open. Doug -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Wednesday, August 15, 2007 7:19 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Custon Toolbar Question Guess I did not explain well. When I open any form in the database both custom tool bars appear regardless of the property setting (toolbar) of the form that is opened. Toolbar property setting can be null, custon1 or custom2. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Wednesday, August 15, 2007 8:16 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Custon Toolbar Question So, before you open either form, neither custom toolbar is open. Then, when you open either, both open? What happens when you open a form other than the two forms in question? Susan H. I have created 2 custom toolbars in a database. I want to use different ones on different forms. In the property sheet for the form I set the toolbar to either custom1 or custom2. When I open the form both toolbars show on any form. What am I doing wrong? -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ewaldt at gdls.com Wed Aug 15 12:17:28 2007 From: ewaldt at gdls.com (ewaldt at gdls.com) Date: Wed, 15 Aug 2007 13:17:28 -0400 Subject: [AccessD] Highlighting a record in a form In-Reply-To: Message-ID: Susan: Sorry. I should have explained that. I had two ways to go about this. I posited each [ID] as a specific record each time, so I knew that, for example, ID "Total Weight Impacts (lbs)" is always record 8. Therefore, I could base it on its being record 8 or its having that ID. It turned out to be easier to do the latter. Thanks, again. Thomas F. Ewald Stryker Mass Properties General Dynamics Land Systems To: "'Access Developers discussion and problem solving'" How is [ID] = n counting your records though? Is it is consecutive value that considers the form's sort order? Is it an AutoNumber? What happens if the recordset doesn't have an ID value of 5? Susan H. I got it! Thanks, everyone, for your help. In the unlikely event that someone is as DUH as I am, I'll explain it below. Many were suggesting conditional formatting, but I could not see how to make it apply to an entire row. It's actually very simple. With the form in design view, select all of the appropriate fields and choose Format / Conditional Formatting from the menubar. On the left, choose "Expression is". On the right, type in the controlling expression, such as [ID] = 5. Since you've selected all fields, they will all be governed by this one expression. Sorry for being so dense, people. I hadn't used this functionality in Access before, so I was trying to figure it out in VBA. Let's hear it for trying to reinvent the wheel. Thanks, again, for your help. This is an e-mail from General Dynamics Land Systems. It is for the intended recipient only and may contain confidential and privileged information. No one else may read, print, store, copy, forward or act in reliance on it or its attachments. If you are not the intended recipient, please return this message to the sender and delete the message and any attachments from your computer. Your cooperation is appreciated. From fahooper at trapo.com Wed Aug 15 17:07:26 2007 From: fahooper at trapo.com (Fred Hooper) Date: Wed, 15 Aug 2007 18:07:26 -0400 Subject: [AccessD] SQL Speed In-Reply-To: Message-ID: <000201c7df88$aa244b00$af15c048@fredxp> Hi Mark, Is there any chance you could string those 10k runs together with union all's? If so, you could run all of them at once with a pass-though query, which would be *much* faster than 10k separate runs. Fred -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Wednesday, August 15, 2007 9:47 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] SQL Speed I'm not returning 4K rows...the table I'm running these SQL statements againts has 4K rows... In one table I have 10K SQL statements(1 per row). The SQL statements are all filtering on indexed currency and integer fields. I pullin all 10K as a recordset....and loop through...for each row, I execute that SQL againts a table with about 4K rows...and take the results (typically between 1 and 20 rows) and concatenated a Char4 and a Currency field from each of the results into 1 long string (this will later be the body of an email). So...I run 10K SQL statements, one right after the other, against a table with about 4K rows, returning between 1 and 20 records per SQL statement. To run these 10K and store the results it takes just less than 2 Minutes...if this is slow...please share how long (average) you would expect it to take 10K queries to run? There is more detail in the emails below... >From: "Christopher Hawkins" >Reply-To: Access Developers discussion and problem >solving >To: >Subject: Re: [AccessD] SQL Speed >Date: Tue, 14 Aug 2007 20:08:09 -0600 > >Hi, Mark. I think I missed this topic the first time it came up. > >This is a hard question to answer, mainly because you don't mention what >type of data is contained in the 4K rows you're querying, and how many >fields are involved. You also mention that the results will be >"concatenated", which seems like an odd thing to do. I would expect you to >run a sum or a count or something, not a concatenation of 4K rows. Can you >provide more detail? > >Off the cuff, 2 minutes sounds slow to return 4K rows of the kind of data I >tend to work with, but like I said, I'm not exactly clear on what you're >doing with those rows. > >Can you show us the actual SQL? > >-C- > >---------------------------------------- > >From: "Mark A Matte" >Sent: Tuesday, August 14, 2007 3:12 AM >To: accessd at databaseadvisors.com >Subject: Re: [AccessD] SQL Speed > >Hello All, > >I haven't received any responses after the email below. I am specifically >curious about the realistic time to run 10K sql statements (see below). >Access vs. SQL server? > >Any feedback is greatly appreciated. > >Thanks, > >Mark A. Matte > > >From: "Mark A Matte" > >Reply-To: Access Developers discussion and problem > >solving > >To: accessd at databaseadvisors.com > >Subject: Re: [AccessD] SQL Speed > >Date: Thu, 09 Aug 2007 17:27:51 +0000 > > > >Thanks to All for your responses...(everything discussed below is >currently > >in A2K) > > > >I'm at the beginning of this and appreciate any ideas...This program has > >been running 24/7 for the last 3 years...but only runs 1 SQL statement. >It > >runs the statement, loops through the results and concatenates the >results, > >and then emails the results (for these tests we are going to forget about > >the email part and just store the results in a separate table). > > > >Last night I put a loop on this and ran it 10K times. It took just under >2 > >minutes. To make it more realistic, (the 10k SQL statements will all be > >different, but very similar) I removed the SQL from the code and placed >it > >in a memo field in another table (tblSQL). Next, I modified the code so > >now > >it first pulls all records form tblSQL (I added 10k rows...but all the >same > >SQL statement)...then for each of these records...it does the stuff I > >outlined above. > > > >Again, it ran in just under 2 minutes. I need this to be as fast as > >possible, and I don't know what a realistic time is. I apparently can do > >10K in less than 2 minutes, but is this good, bad, average? > > > >Any thoughts/ideas? > > > >Thanks, > > > >Mark A. Matte > > > > > > >From: Jim Lawrence > > >Reply-To: Access Developers discussion and problem > > >solving > > >To: "'Access Developers discussion and problem > > >solving'" > > >Subject: Re: [AccessD] SQL Speed > > >Date: Wed, 08 Aug 2007 22:15:43 -0700 > > > > > >Well, you have probably already thought of this, but any queries that >can > > >run on the SQL server as pre-compiled stored procedures will give > >superior > > >performance. > > > > > >Jim > > > > > >-----Original Message----- > > >From: accessd-bounces at databaseadvisors.com > > >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte > > >Sent: Wednesday, August 08, 2007 1:57 PM > > >To: accessd at databaseadvisors.com > > >Subject: [AccessD] SQL Speed > > > > > >Hello All, > > > > > >I am involved in a project that will be web based. The database will > > >either > > > > > >be access or SQL Server. > > > > > >The question is: I need to run a bunch (maybe 10K) of SQL statements > > >againts a single table...or flat file, whatever is best, containing >about > > >4K > > > > > >rows. The results of each will be appended to a second table, or >emailed > > >instantly (ahh...idea...good place for a JC style Class). The SQL > > >statements themselves will be stored in a table. > > > > > >Does anyone have any ideas/suggestions about approach? I will need ALL > >of > > >the SQLs to run in less than 5 minutes. I know 1 runs in a fraction of >a > > >second...I just don't know what that fraction is to calculate time > >needed. > > > > > >Being there are so few rows involved...but so many SQL statements...and > > >speed is an issue...will there be a signicant advantage using SQL >Server > >or > > >Access? > > > > > >I'm thinking of having the SQLs in a table and looping through and > > >executing > > > > > >each...I just don't know if this is the best approach? > > > > > >Thanks, > > > > > >Mark A. Matte > > > _________________________________________________________________ Puzzles, trivia teasers, word scrambles and more. Play for your chance to win! http://club.live.com/home.aspx?icid=CLUB_hotmailtextlink -- 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 16 07:22:14 2007 From: accessd666 at yahoo.com (Sad Der) Date: Thu, 16 Aug 2007 05:22:14 -0700 (PDT) Subject: [AccessD] Error 2176 the setting for this property is too long Message-ID: <468131.5267.qm@web31605.mail.mud.yahoo.com> Hi group, I'm trying to add values to a Listbox (A2K2). I'm getting the error: 2176 the setting for this property is too long. I've done some reading and it seems that this error is the result of a value that is too long. The value that you can add has a max of 256. So far i've added 1129 items to the listbox. All with values like: 1131;lblDescription;;fAction Doesn't look like more then 256 chars to me?! I've also used trim and stuff but that didn't do the trick (didn't think so). Any ideas? Thnx, Sander ____________________________________________________________________________________ Sick sense of humor? Visit Yahoo! TV's Comedy with an Edge to see what's on, when. http://tv.yahoo.com/collections/222 From jwcolby at colbyconsulting.com Thu Aug 16 08:22:39 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 16 Aug 2007 09:22:39 -0400 Subject: [AccessD] Error 2176 the setting for this property is too long In-Reply-To: <468131.5267.qm@web31605.mail.mud.yahoo.com> Message-ID: <20070816132242.C9FE6C19F@smtp-auth.no-ip.com> There is a TOTAL text length (all "items" combined) of somewhere in the neighborhood of 2K characters. That is what you are running in to. You do not have a log of options. The most likely is to build a temp table in the FE and then pull that in to the list as a normal sql statement. John W. Colby Colby Consulting 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 16, 2007 8:22 AM To: Acces User Group Subject: [AccessD] Error 2176 the setting for this property is too long Hi group, I'm trying to add values to a Listbox (A2K2). I'm getting the error: 2176 the setting for this property is too long. I've done some reading and it seems that this error is the result of a value that is too long. The value that you can add has a max of 256. So far i've added 1129 items to the listbox. All with values like: 1131;lblDescription;;fAction Doesn't look like more then 256 chars to me?! I've also used trim and stuff but that didn't do the trick (didn't think so). Any ideas? Thnx, Sander ____________________________________________________________________________ ________ Sick sense of humor? Visit Yahoo! TV's Comedy with an Edge to see what's on, when. http://tv.yahoo.com/collections/222 -- 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 16 08:31:16 2007 From: accessd666 at yahoo.com (Sad Der) Date: Thu, 16 Aug 2007 06:31:16 -0700 (PDT) Subject: [AccessD] Error 2176 the setting for this property is too long In-Reply-To: <20070816132242.C9FE6C19F@smtp-auth.no-ip.com> Message-ID: <570365.91238.qm@web31613.mail.mud.yahoo.com> Hahaha, thnx John. I was afraid of that. I've created a work around :-) Manipulated some of the data. Added some data to another listbox and removed some other et voila... If this passes UAT I'm going to eat my shoe :-) Regards, Sander --- jwcolby wrote: > There is a TOTAL text length (all "items" combined) > of somewhere in the > neighborhood of 2K characters. That is what you are > running in to. You do > not have a log of options. The most likely is to > build a temp table in the > FE and then pull that in to the list as a normal sql > statement. > > > John W. Colby > Colby Consulting > 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 16, 2007 8:22 AM > To: Acces User Group > Subject: [AccessD] Error 2176 the setting for this > property is too long > > Hi group, > > I'm trying to add values to a Listbox (A2K2). > > I'm getting the error: > 2176 the setting for this property is too long. > > I've done some reading and it seems that this error > is the result of a value > that is too long. The value that you can add has a > max of 256. > > So far i've added 1129 items to the listbox. All > with values like: > 1131;lblDescription;;fAction > > Doesn't look like more then 256 chars to me?! > I've also used trim and stuff but that didn't do the > trick (didn't think > so). > > Any ideas? > > Thnx, > Sander > > > > ____________________________________________________________________________ > ________ > Sick sense of humor? Visit Yahoo! TV's > Comedy with an Edge to see what's on, when. > http://tv.yahoo.com/collections/222 > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > ____________________________________________________________________________________Ready for the edge of your seat? Check out tonight's top picks on Yahoo! TV. http://tv.yahoo.com/ From prosoft6 at hotmail.com Thu Aug 16 09:20:21 2007 From: prosoft6 at hotmail.com (Julie Reardon-Taylor) Date: Thu, 16 Aug 2007 10:20:21 -0400 Subject: [AccessD] Access Front-End via Web Enabled Message-ID: Looking for some opinions on what people are using for a web-enabled access database. I have used replication for some applications, but would now like to move the front-end to a browser so that the input can be done via a web page over a wireless connection. Have toyed with data access pages, but not sure if that is a good solution. This application has three subform levels and the scripting may be an issue in DAP. Did I read a posting on AccessD at some point that DAP are going to be out in the next version of Access? What are other people using as forms via the www? Julie Reardon PRO-SOFT OF NY, INC. 44 Public Square Suite #5 Watertown, NY 13601 Phone: 315.785.0319 Fax: 315.785.0323 www.pro-soft.net NYS IT Services Contract CMT026A NYS Certified Woman-Owned Business _________________________________________________________________ Learn.Laugh.Share. Reallivemoms is right place! http://www.reallivemoms.com?ocid=TXT_TAGHM&loc=us From cfoust at infostatsystems.com Thu Aug 16 09:50:37 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 16 Aug 2007 07:50:37 -0700 Subject: [AccessD] Custon Toolbar Question In-Reply-To: <002c01c7df55$64bbc530$0200a8c0@murphy3234aaf1> References: <002c01c7df55$64bbc530$0200a8c0@murphy3234aaf1> Message-ID: All I can say is that our experience was different. Of course, we stacked custom menus and toolbars as well. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Murphy Sent: Wednesday, August 15, 2007 9:00 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Custon Toolbar Question I don't believe this is the case, at least with Access 2002. We have several runtimes with custom menus and tool bars that I set in the form or report properties. They work just fine in runtime mode. Doug -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, August 15, 2007 8:14 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Custon Toolbar Question You have to load and unload the toolbars in code to control their appearance and disappearance. If you create a runtime version, the toolbars don't respond to the property setting anyhow. Show the toolbar you want in the Open or Load event of a form and hide it in the close event. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Wednesday, August 15, 2007 7:19 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Custon Toolbar Question Guess I did not explain well. When I open any form in the database both custom tool bars appear regardless of the property setting (toolbar) of the form that is opened. Toolbar property setting can be null, custon1 or custom2. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Wednesday, August 15, 2007 8:16 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Custon Toolbar Question So, before you open either form, neither custom toolbar is open. Then, when you open either, both open? What happens when you open a form other than the two forms in question? Susan H. I have created 2 custom toolbars in a database. I want to use different ones on different forms. In the property sheet for the form I set the toolbar to either custom1 or custom2. When I open the form both toolbars show on any form. What am I doing wrong? -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 16 09:57:20 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 16 Aug 2007 07:57:20 -0700 Subject: [AccessD] Access Front-End via Web Enabled In-Reply-To: References: Message-ID: You won't like the answer: ASP.Net Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Julie Reardon-Taylor Sent: Thursday, August 16, 2007 7:20 AM To: accessd at databaseadvisors.com Subject: [AccessD] Access Front-End via Web Enabled Looking for some opinions on what people are using for a web-enabled access database. I have used replication for some applications, but would now like to move the front-end to a browser so that the input can be done via a web page over a wireless connection. Have toyed with data access pages, but not sure if that is a good solution. This application has three subform levels and the scripting may be an issue in DAP. Did I read a posting on AccessD at some point that DAP are going to be out in the next version of Access? What are other people using as forms via the www? Julie Reardon PRO-SOFT OF NY, INC. 44 Public Square Suite #5 Watertown, NY 13601 Phone: 315.785.0319 Fax: 315.785.0323 www.pro-soft.net NYS IT Services Contract CMT026A NYS Certified Woman-Owned Business _________________________________________________________________ Learn.Laugh.Share. Reallivemoms is right place! http://www.reallivemoms.com?ocid=TXT_TAGHM&loc=us -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at gmail.com Thu Aug 16 10:08:07 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Thu, 16 Aug 2007 11:08:07 -0400 Subject: [AccessD] Access Front-End via Web Enabled In-Reply-To: References: Message-ID: <000901c7e017$463f6d60$048e01c7@SusanOne> This application has three subform levels and the scripting may be an issue in DAP. ========I think DAP would be a bad idea for this kind of complexity. Susan H. From prosoft6 at hotmail.com Thu Aug 16 10:09:36 2007 From: prosoft6 at hotmail.com (Julie Taylor) Date: Thu, 16 Aug 2007 11:09:36 -0400 Subject: [AccessD] Access Front-End via Web Enabled In-Reply-To: References: Message-ID: Hi Charlotte, Thank you for answering me. Was it difficult to get into? Is the transition from Access a difficult one? By the way, for all of you members in Italy..........I was there this summer. Absolutely beautiful country. People were wonderful. You have such a treasure! My photos are on my website, if anyone would like to see them. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, August 16, 2007 10:57 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access Front-End via Web Enabled You won't like the answer: ASP.Net Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Julie Reardon-Taylor Sent: Thursday, August 16, 2007 7:20 AM To: accessd at databaseadvisors.com Subject: [AccessD] Access Front-End via Web Enabled Looking for some opinions on what people are using for a web-enabled access database. I have used replication for some applications, but would now like to move the front-end to a browser so that the input can be done via a web page over a wireless connection. Have toyed with data access pages, but not sure if that is a good solution. This application has three subform levels and the scripting may be an issue in DAP. Did I read a posting on AccessD at some point that DAP are going to be out in the next version of Access? What are other people using as forms via the www? Julie Reardon PRO-SOFT OF NY, INC. 44 Public Square Suite #5 Watertown, NY 13601 Phone: 315.785.0319 Fax: 315.785.0323 www.pro-soft.net NYS IT Services Contract CMT026A NYS Certified Woman-Owned Business _________________________________________________________________ Learn.Laugh.Share. Reallivemoms is right place! http://www.reallivemoms.com?ocid=TXT_TAGHM&loc=us -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From prosoft6 at hotmail.com Thu Aug 16 10:14:46 2007 From: prosoft6 at hotmail.com (Julie Taylor) Date: Thu, 16 Aug 2007 11:14:46 -0400 Subject: [AccessD] Access Front-End via Web Enabled In-Reply-To: <000901c7e017$463f6d60$048e01c7@SusanOne> References: <000901c7e017$463f6d60$048e01c7@SusanOne> Message-ID: Thanks Susan. Would you recommend asp.net as well? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Thursday, August 16, 2007 11:08 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access Front-End via Web Enabled This application has three subform levels and the scripting may be an issue in DAP. ========I think DAP would be a bad idea for this kind of complexity. Susan H. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Thu Aug 16 10:16:13 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 16 Aug 2007 08:16:13 -0700 Subject: [AccessD] Access Front-End via Web Enabled In-Reply-To: <001201c7e017$75ab03c0$9402a8c0@hpnotebook> References: <001201c7e017$75ab03c0$9402a8c0@hpnotebook> Message-ID: I haven't worked with it at all in several years because virtually all our development is WinForms using VB.Net. I never worked with ASP, so I don't know how different ASP.Net is. There are lots of books on it, which should help. The biggie is getting used to the .Net object model where EVERYTHING is an object and there are multiple ways to do something, some of them more right than others. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Julie Taylor Sent: Thursday, August 16, 2007 8:10 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access Front-End via Web Enabled Hi Charlotte, Thank you for answering me. Was it difficult to get into? Is the transition from Access a difficult one? By the way, for all of you members in Italy..........I was there this summer. Absolutely beautiful country. People were wonderful. You have such a treasure! My photos are on my website, if anyone would like to see them. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, August 16, 2007 10:57 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access Front-End via Web Enabled You won't like the answer: ASP.Net Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Julie Reardon-Taylor Sent: Thursday, August 16, 2007 7:20 AM To: accessd at databaseadvisors.com Subject: [AccessD] Access Front-End via Web Enabled Looking for some opinions on what people are using for a web-enabled access database. I have used replication for some applications, but would now like to move the front-end to a browser so that the input can be done via a web page over a wireless connection. Have toyed with data access pages, but not sure if that is a good solution. This application has three subform levels and the scripting may be an issue in DAP. Did I read a posting on AccessD at some point that DAP are going to be out in the next version of Access? What are other people using as forms via the www? Julie Reardon PRO-SOFT OF NY, INC. 44 Public Square Suite #5 Watertown, NY 13601 Phone: 315.785.0319 Fax: 315.785.0323 www.pro-soft.net NYS IT Services Contract CMT026A NYS Certified Woman-Owned Business _________________________________________________________________ Learn.Laugh.Share. Reallivemoms is right place! http://www.reallivemoms.com?ocid=TXT_TAGHM&loc=us -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at gmail.com Thu Aug 16 10:18:54 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Thu, 16 Aug 2007 11:18:54 -0400 Subject: [AccessD] Access Front-End via Web Enabled In-Reply-To: References: <000901c7e017$463f6d60$048e01c7@SusanOne> Message-ID: <000a01c7e018$c31f16e0$048e01c7@SusanOne> I can't, but only because I have no experience with it -- guess we could learn together???? ;) Susan H. Thanks Susan. Would you recommend asp.net as well? From markamatte at hotmail.com Thu Aug 16 10:25:57 2007 From: markamatte at hotmail.com (Mark A Matte) Date: Thu, 16 Aug 2007 15:25:57 +0000 Subject: [AccessD] SQL Speed In-Reply-To: <000201c7df88$aa244b00$af15c048@fredxp> Message-ID: Thanks Fred, But I need to do take the results of each statement and send them individually somewhere(either email or temp table)... ...and can an SQL statement be that long? Thanks, Mark A. Matte >From: "Fred Hooper" >Reply-To: Access Developers discussion and problem >solving >To: "'Access Developers discussion and problem >solving'" >Subject: Re: [AccessD] SQL Speed >Date: Wed, 15 Aug 2007 18:07:26 -0400 > >Hi Mark, > >Is there any chance you could string those 10k runs together with union >all's? If so, you could run all of them at once with a pass-though query, >which would be *much* faster than 10k separate runs. > >Fred > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte >Sent: Wednesday, August 15, 2007 9:47 AM >To: accessd at databaseadvisors.com >Subject: Re: [AccessD] SQL Speed > >I'm not returning 4K rows...the table I'm running these SQL statements >againts has 4K rows... > >In one table I have 10K SQL statements(1 per row). The SQL statements are >all filtering on indexed currency and integer fields. I pullin all 10K as >a > >recordset....and loop through...for each row, I execute that SQL againts a >table with about 4K rows...and take the results (typically between 1 and 20 >rows) and concatenated a Char4 and a Currency field from each of the >results > >into 1 long string (this will later be the body of an email). > >So...I run 10K SQL statements, one right after the other, against a table >with about 4K rows, returning between 1 and 20 records per SQL statement. > >To run these 10K and store the results it takes just less than 2 >Minutes...if this is slow...please share how long (average) you would >expect > >it to take 10K queries to run? > >There is more detail in the emails below... > > >From: "Christopher Hawkins" > >Reply-To: Access Developers discussion and problem > >solving > >To: > >Subject: Re: [AccessD] SQL Speed > >Date: Tue, 14 Aug 2007 20:08:09 -0600 > > > >Hi, Mark. I think I missed this topic the first time it came up. > > > >This is a hard question to answer, mainly because you don't mention what > >type of data is contained in the 4K rows you're querying, and how many > >fields are involved. You also mention that the results will be > >"concatenated", which seems like an odd thing to do. I would expect you >to > > >run a sum or a count or something, not a concatenation of 4K rows. Can >you > > >provide more detail? > > > >Off the cuff, 2 minutes sounds slow to return 4K rows of the kind of data >I > > >tend to work with, but like I said, I'm not exactly clear on what you're > >doing with those rows. > > > >Can you show us the actual SQL? > > > >-C- > > > >---------------------------------------- > > > >From: "Mark A Matte" > >Sent: Tuesday, August 14, 2007 3:12 AM > >To: accessd at databaseadvisors.com > >Subject: Re: [AccessD] SQL Speed > > > >Hello All, > > > >I haven't received any responses after the email below. I am specifically > >curious about the realistic time to run 10K sql statements (see below). > >Access vs. SQL server? > > > >Any feedback is greatly appreciated. > > > >Thanks, > > > >Mark A. Matte > > > > >From: "Mark A Matte" > > >Reply-To: Access Developers discussion and problem > > >solving > > >To: accessd at databaseadvisors.com > > >Subject: Re: [AccessD] SQL Speed > > >Date: Thu, 09 Aug 2007 17:27:51 +0000 > > > > > >Thanks to All for your responses...(everything discussed below is > >currently > > >in A2K) > > > > > >I'm at the beginning of this and appreciate any ideas...This program >has > > >been running 24/7 for the last 3 years...but only runs 1 SQL statement. > >It > > >runs the statement, loops through the results and concatenates the > >results, > > >and then emails the results (for these tests we are going to forget >about > > >the email part and just store the results in a separate table). > > > > > >Last night I put a loop on this and ran it 10K times. It took just >under > >2 > > >minutes. To make it more realistic, (the 10k SQL statements will all be > > >different, but very similar) I removed the SQL from the code and placed > >it > > >in a memo field in another table (tblSQL). Next, I modified the code so > > >now > > >it first pulls all records form tblSQL (I added 10k rows...but all the > >same > > >SQL statement)...then for each of these records...it does the stuff I > > >outlined above. > > > > > >Again, it ran in just under 2 minutes. I need this to be as fast as > > >possible, and I don't know what a realistic time is. I apparently can >do > > >10K in less than 2 minutes, but is this good, bad, average? > > > > > >Any thoughts/ideas? > > > > > >Thanks, > > > > > >Mark A. Matte > > > > > > > > > >From: Jim Lawrence > > > >Reply-To: Access Developers discussion and problem > > > >solving > > > >To: "'Access Developers discussion and problem > > > >solving'" > > > >Subject: Re: [AccessD] SQL Speed > > > >Date: Wed, 08 Aug 2007 22:15:43 -0700 > > > > > > > >Well, you have probably already thought of this, but any queries that > >can > > > >run on the SQL server as pre-compiled stored procedures will give > > >superior > > > >performance. > > > > > > > >Jim > > > > > > > >-----Original Message----- > > > >From: accessd-bounces at databaseadvisors.com > > > >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A >Matte > > > >Sent: Wednesday, August 08, 2007 1:57 PM > > > >To: accessd at databaseadvisors.com > > > >Subject: [AccessD] SQL Speed > > > > > > > >Hello All, > > > > > > > >I am involved in a project that will be web based. The database will > > > >either > > > > > > > >be access or SQL Server. > > > > > > > >The question is: I need to run a bunch (maybe 10K) of SQL statements > > > >againts a single table...or flat file, whatever is best, containing > >about > > > >4K > > > > > > > >rows. The results of each will be appended to a second table, or > >emailed > > > >instantly (ahh...idea...good place for a JC style Class). The SQL > > > >statements themselves will be stored in a table. > > > > > > > >Does anyone have any ideas/suggestions about approach? I will need >ALL > > >of > > > >the SQLs to run in less than 5 minutes. I know 1 runs in a fraction >of > >a > > > >second...I just don't know what that fraction is to calculate time > > >needed. > > > > > > > >Being there are so few rows involved...but so many SQL >statements...and > > > >speed is an issue...will there be a signicant advantage using SQL > >Server > > >or > > > >Access? > > > > > > > >I'm thinking of having the SQLs in a table and looping through and > > > >executing > > > > > > > >each...I just don't know if this is the best approach? > > > > > > > >Thanks, > > > > > > > >Mark A. Matte > > > > > >_________________________________________________________________ >Puzzles, trivia teasers, word scrambles and more. Play for your chance to >win! http://club.live.com/home.aspx?icid=CLUB_hotmailtextlink > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Booking a flight? Know when to buy with airfare predictions on MSN Travel. http://travel.msn.com/Articles/aboutfarecast.aspx&ocid=T001MSN25A07001 From DWUTKA at Marlow.com Thu Aug 16 10:51:42 2007 From: DWUTKA at Marlow.com (Drew Wutka) Date: Thu, 16 Aug 2007 10:51:42 -0500 Subject: [AccessD] Access Front-End via Web Enabled In-Reply-To: Message-ID: I can answer that, the difference between ASP.Net and ASP is like the difference between VBScript and VB.Net. I've used all 4, though I tend to use VB 6 and ASP normally. ASP.Net uses internal code to produce effects that are not native to a web application. For example, in ASP.Net, you get events that the web server really isn't aware of. Old ASP has a few objects, the biggies being Server (used to do things with the server, such as creating an object), Response (object used to send data back to the web user) and Request (object used to see what the web user is sending). So for an ASP application to retrieve data from a database based on criteria in a combobox, the asp page uses HTML to 'submit' the combobox data, which is read through the 'request' object, then the 'server' object is used to read the database and retrieve the necessary data, and the 'response' object is used to return the data as a web page. With ASP.Net, you can have an OnClick (not sure if that's the right event, don't use ASP.Net on a regular basis) that 'appears' to do all the work just like an Access form does it, but it is really doing a lot of the work for you internally using a combination of client side and server side scripting. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, August 16, 2007 10:16 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access Front-End via Web Enabled I haven't worked with it at all in several years because virtually all our development is WinForms using VB.Net. I never worked with ASP, so I don't know how different ASP.Net is. There are lots of books on it, which should help. The biggie is getting used to the .Net object model where EVERYTHING is an object and there are multiple ways to do something, some of them more right than others. Charlotte Foust The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI BusinessSensitve material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. From rockysmolin at bchacc.com Thu Aug 16 10:52:08 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Thu, 16 Aug 2007 08:52:08 -0700 Subject: [AccessD] Access Front-End via Web Enabled In-Reply-To: Message-ID: <004701c7e01d$673f17d0$0301a8c0@HAL9005> At the risk of running afoul of a moderator: what's the difference between ASP and PHP in terms of when you would use each? (I'm thinking I should learn one of these.) TIA Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, August 16, 2007 7:57 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access Front-End via Web Enabled You won't like the answer: ASP.Net Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Julie Reardon-Taylor Sent: Thursday, August 16, 2007 7:20 AM To: accessd at databaseadvisors.com Subject: [AccessD] Access Front-End via Web Enabled Looking for some opinions on what people are using for a web-enabled access database. I have used replication for some applications, but would now like to move the front-end to a browser so that the input can be done via a web page over a wireless connection. Have toyed with data access pages, but not sure if that is a good solution. This application has three subform levels and the scripting may be an issue in DAP. Did I read a posting on AccessD at some point that DAP are going to be out in the next version of Access? What are other people using as forms via the www? Julie Reardon PRO-SOFT OF NY, INC. 44 Public Square Suite #5 Watertown, NY 13601 Phone: 315.785.0319 Fax: 315.785.0323 www.pro-soft.net NYS IT Services Contract CMT026A NYS Certified Woman-Owned Business _________________________________________________________________ Learn.Laugh.Share. Reallivemoms is right place! http://www.reallivemoms.com?ocid=TXT_TAGHM&loc=us -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.19/955 - Release Date: 8/15/2007 4:55 PM From ebarro at verizon.net Thu Aug 16 10:54:51 2007 From: ebarro at verizon.net (Eric Barro) Date: Thu, 16 Aug 2007 08:54:51 -0700 Subject: [AccessD] Access Front-End via Web Enabled In-Reply-To: Message-ID: <0JMV00AY6IVCVTP0@vms046.mailsrvcs.net> You can pretty much use your WinForms code (classes and modules) in ASP.NET with some tweaks to allow for web-specific features. 1. Session variables - functions pretty much like global variables. Web-based apps are stateless so you will need a way to track each user via their SessionID and other Session variables you define. 2. Passing values from one page to another - Session variables take up server memory and resources so this is not a recommended way for passing values. You use the Request object to read the querystring (that long line of gobblygook you see on the URL) or read the form values that the server keeps track of. 3. Disconnected recordsets - there's no such thing as bound forms in a web-based app. You will need to learn the tricks and intricacies of disconnected recordsets and how to best code CRUD (Create, Retrieve, Update, Delete) operations. Those are some of the "little things" you have to adjust to when transitioning to or considering .NET development. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, August 16, 2007 8:16 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access Front-End via Web Enabled I haven't worked with it at all in several years because virtually all our development is WinForms using VB.Net. I never worked with ASP, so I don't know how different ASP.Net is. There are lots of books on it, which should help. The biggie is getting used to the .Net object model where EVERYTHING is an object and there are multiple ways to do something, some of them more right than others. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Julie Taylor Sent: Thursday, August 16, 2007 8:10 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access Front-End via Web Enabled Hi Charlotte, Thank you for answering me. Was it difficult to get into? Is the transition from Access a difficult one? By the way, for all of you members in Italy..........I was there this summer. Absolutely beautiful country. People were wonderful. You have such a treasure! My photos are on my website, if anyone would like to see them. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, August 16, 2007 10:57 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access Front-End via Web Enabled You won't like the answer: ASP.Net Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Julie Reardon-Taylor Sent: Thursday, August 16, 2007 7:20 AM To: accessd at databaseadvisors.com Subject: [AccessD] Access Front-End via Web Enabled Looking for some opinions on what people are using for a web-enabled access database. I have used replication for some applications, but would now like to move the front-end to a browser so that the input can be done via a web page over a wireless connection. Have toyed with data access pages, but not sure if that is a good solution. This application has three subform levels and the scripting may be an issue in DAP. Did I read a posting on AccessD at some point that DAP are going to be out in the next version of Access? What are other people using as forms via the www? Julie Reardon PRO-SOFT OF NY, INC. 44 Public Square Suite #5 Watertown, NY 13601 Phone: 315.785.0319 Fax: 315.785.0323 www.pro-soft.net NYS IT Services Contract CMT026A NYS Certified Woman-Owned Business From ebarro at verizon.net Thu Aug 16 11:12:02 2007 From: ebarro at verizon.net (Eric Barro) Date: Thu, 16 Aug 2007 09:12:02 -0700 Subject: [AccessD] Access Front-End via Web Enabled In-Reply-To: <004701c7e01d$673f17d0$0301a8c0@HAL9005> Message-ID: <0JMV00JEQJNZEDW2@vms042.mailsrvcs.net> The main difference is the platform it runs on. ASP is a Microsoft-centric technology that utilizes VB or VBScript as its underlying scripting technology. PHP is open source and will run on either a Microsoft server OS or a Unix server. Access of course is Microsoft-centric and you can easily port your VBA knowledge and event-driven savvy to ASP/ASP.NET so I would assume (since I haven't used PHP at all) that the learning curve would be easier going the Microsoft way. Both are server-based technologies so you'd best polish up on unbound forms concepts. There...we no longer have to worry about moderators since I've slipped in that tidbit on Access. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Thursday, August 16, 2007 8:52 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access Front-End via Web Enabled At the risk of running afoul of a moderator: what's the difference between ASP and PHP in terms of when you would use each? (I'm thinking I should learn one of these.) TIA Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, August 16, 2007 7:57 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access Front-End via Web Enabled You won't like the answer: ASP.Net Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Julie Reardon-Taylor Sent: Thursday, August 16, 2007 7:20 AM To: accessd at databaseadvisors.com Subject: [AccessD] Access Front-End via Web Enabled Looking for some opinions on what people are using for a web-enabled access database. I have used replication for some applications, but would now like to move the front-end to a browser so that the input can be done via a web page over a wireless connection. Have toyed with data access pages, but not sure if that is a good solution. This application has three subform levels and the scripting may be an issue in DAP. Did I read a posting on AccessD at some point that DAP are going to be out in the next version of Access? What are other people using as forms via the www? Julie Reardon PRO-SOFT OF NY, INC. 44 Public Square Suite #5 Watertown, NY 13601 Phone: 315.785.0319 Fax: 315.785.0323 www.pro-soft.net NYS IT Services Contract CMT026A NYS Certified Woman-Owned Business From DWUTKA at Marlow.com Thu Aug 16 11:19:43 2007 From: DWUTKA at Marlow.com (Drew Wutka) Date: Thu, 16 Aug 2007 11:19:43 -0500 Subject: [AccessD] Access Front-End via Web Enabled In-Reply-To: <004701c7e01d$673f17d0$0301a8c0@HAL9005> Message-ID: VB vs. C. ASP can be written in VBScript or Javascript, while PHP is structured more like C. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Thursday, August 16, 2007 10:52 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access Front-End via Web Enabled At the risk of running afoul of a moderator: what's the difference between ASP and PHP in terms of when you would use each? (I'm thinking I should learn one of these.) TIA Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, August 16, 2007 7:57 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access Front-End via Web Enabled You won't like the answer: ASP.Net Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Julie Reardon-Taylor Sent: Thursday, August 16, 2007 7:20 AM To: accessd at databaseadvisors.com Subject: [AccessD] Access Front-End via Web Enabled Looking for some opinions on what people are using for a web-enabled access database. I have used replication for some applications, but would now like to move the front-end to a browser so that the input can be done via a web page over a wireless connection. Have toyed with data access pages, but not sure if that is a good solution. This application has three subform levels and the scripting may be an issue in DAP. Did I read a posting on AccessD at some point that DAP are going to be out in the next version of Access? What are other people using as forms via the www? Julie Reardon PRO-SOFT OF NY, INC. 44 Public Square Suite #5 Watertown, NY 13601 Phone: 315.785.0319 Fax: 315.785.0323 www.pro-soft.net NYS IT Services Contract CMT026A NYS Certified Woman-Owned Business _________________________________________________________________ Learn.Laugh.Share. Reallivemoms is right place! http://www.reallivemoms.com?ocid=TXT_TAGHM&loc=us -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.19/955 - Release Date: 8/15/2007 4:55 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI BusinessSensitve material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. From markamatte at hotmail.com Thu Aug 16 12:12:49 2007 From: markamatte at hotmail.com (Mark A Matte) Date: Thu, 16 Aug 2007 17:12:49 +0000 Subject: [AccessD] Moving from Access to web??? In-Reply-To: Message-ID: Hello All, Since we're on the topic of the web...my most recent post was related to SQL speed...and everything so far has been built in access. In making this service available to online...I really don't know how to do this. Currently VBA is doing all of the work. Looping through recordsets and running queries. I use a form timer to launch it. If I leave it in Access...does this mean the MDB is always open on the hosting server? If I put it in SQL Server...what does the looping through results? I'm just confused again...lol In a nutshell... I run 10K queries against 4K records...and for each query I concantenate the results...and email them out. I can create the webpage for people to sign up...but I need suggestions on what to use to 'do' the stuff that VBA is currently doing behind the scenes? Thanks Again, Mark A. Matte _________________________________________________________________ Tease your brain--play Clink! Win cool prizes! http://club.live.com/clink.aspx?icid=clink_hotmailtextlink2 From cjeris at fas.harvard.edu Thu Aug 16 12:24:23 2007 From: cjeris at fas.harvard.edu (Christopher Jeris) Date: Thu, 16 Aug 2007 13:24:23 -0400 Subject: [AccessD] Setting listbox selection Message-ID: <46C48847.601@fas.harvard.edu> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi everyone, Some behavior of the .Selected attribute of the ListBox control is baffling me. Specifically, setting the .Selected attribute of a single-select listbox element, when that element is not in the currently viewable region of a scrollable listbox, does not appear to work. Here's a test case on Access 2002 SP3. Create a form containing a single listbox List0, with Row Source Type = Value List Row Source = 0;1;2;3;4;5;6;7;8;9 Size the listbox so that not all the rows are visible (there is a scroll bar). and a single command button Command2, with the following code: Private Sub EraseSelection(box As ListBox) Dim i As Long For i = 0 To box.ListCount - 1 box.Selected(i) = False Next i End Sub Private Sub Command2_Click() EraseSelection Me!List0 If Me!List0.ItemsSelected.Count > 0 Then MsgBox Me!List0.ItemsSelected(0) End If End Sub To test: Select an element in the listbox. Click Command2. The selection disappears. Select an element in the listbox. Scroll the listbox so that the highlighted row is ENTIRELY beyond the viewable region (the problem does not occur if the highlight is partially visible). Click Command2. I get two MsgBoxes; the first one gives the highlighted row; the second one gives -1. In other words, setting the selected item of a listbox using the .Selected property may silently fail, depending entirely on a fact (the view region of the listbox) which I know no way to find out in code! What's going on here, and what should I be doing instead? thanks much, Chris Jeris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGxIhG5ICCNV0oGWARArGOAJ0eBHDrdgKvHbAItVYyWPdkfEQ49gCfX+N7 KFOnbvPT9yFOZKAOunudvWU= =E+V2 -----END PGP SIGNATURE----- From robert at webedb.com Thu Aug 16 12:56:05 2007 From: robert at webedb.com (Robert L. Stewart) Date: Thu, 16 Aug 2007 12:56:05 -0500 Subject: [AccessD] Access Front-End via Web Enabled In-Reply-To: References: Message-ID: <200708161800.l7GI0tDg018070@databaseadvisors.com> Julie, The best way of handling it is .Net. ADPs were never very good for anything and just an experiment on the MS side because they never did much with it. I don't remember seeing it in 2007. Robert At 12:00 PM 8/16/2007, you wrote: >Date: Thu, 16 Aug 2007 10:20:21 -0400 >From: "Julie Reardon-Taylor" >Subject: [AccessD] Access Front-End via Web Enabled >To: accessd at databaseadvisors.com >Message-ID: >Content-Type: text/plain; format=flowed > >Looking for some opinions on what people are using for a web-enabled access >database. I have used replication for some applications, but would now like >to move the front-end to a browser so that the input can be done via a web >page over a wireless connection. > >Have toyed with data access pages, but not sure if that is a good solution. > >This application has three subform levels and the scripting may be an issue >in DAP. > >Did I read a posting on AccessD at some point that DAP are going to be out >in the next version of Access? > >What are other people using as forms via the www? > > > >Julie Reardon >PRO-SOFT OF NY, INC. >44 Public Square Suite #5 >Watertown, NY 13601 >Phone: 315.785.0319 >Fax: 315.785.0323 >www.pro-soft.net >NYS IT Services Contract CMT026A >NYS Certified Woman-Owned Business From ebarro at verizon.net Thu Aug 16 13:04:18 2007 From: ebarro at verizon.net (Eric Barro) Date: Thu, 16 Aug 2007 11:04:18 -0700 Subject: [AccessD] Moving from Access to web??? In-Reply-To: Message-ID: <0JMV00BGJOV46VV5@vms046.mailsrvcs.net> Mark, If you use SQL server you can create a stored procedure that does the bulk of the work and schedule a job if you want it to run at certain intervals or have a button or trigger on the web page if you want to run it on demand. String concatenation is not one of VB's strengths and in fact it will be the bottleneck so you might want to consider VB.NET with its StringBuilder class to do all that hard work for that part. When you transfer the process to a server-based app you will have to contend with dealing with a mail server and you will experience timeouts when you use the CDO mail components for large volumes of mail as opposed to using Outlook automation to process the emails. Eric -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Thursday, August 16, 2007 10:13 AM To: accessd at databaseadvisors.com Subject: [AccessD] Moving from Access to web??? Hello All, Since we're on the topic of the web...my most recent post was related to SQL speed...and everything so far has been built in access. In making this service available to online...I really don't know how to do this. Currently VBA is doing all of the work. Looping through recordsets and running queries. I use a form timer to launch it. If I leave it in Access...does this mean the MDB is always open on the hosting server? If I put it in SQL Server...what does the looping through results? I'm just confused again...lol In a nutshell... I run 10K queries against 4K records...and for each query I concantenate the results...and email them out. I can create the webpage for people to sign up...but I need suggestions on what to use to 'do' the stuff that VBA is currently doing behind the scenes? Thanks Again, Mark A. Matte From robert at webedb.com Thu Aug 16 13:03:35 2007 From: robert at webedb.com (Robert L. Stewart) Date: Thu, 16 Aug 2007 13:03:35 -0500 Subject: [AccessD] Access Front-End via Web Enabled In-Reply-To: References: Message-ID: <200708161805.l7GI5uwZ019850@databaseadvisors.com> Rocky, It is like MS Sql vs. MySql. They both do the same thing. If you want to go the non-MS way, the dark side, you use PHP, otherwise you stay in the light and use ASP. :-) For those of you wanting to use .Net and have much of the functionality that Access has, take a look at Codesmith Tools and the .NetTiers template for it. You can also look at the Enterprise Library, which .NetTiers uses as it's base. I can build a WinForms form in less than 10 minutes using these tools. ASP.Net is a bit longer. But, it is a matter of getting accustomed to using it. BTW, it generates C# code. But, after compiling it, you can use the dlls in VB. Robert At 12:00 PM 8/16/2007, you wrote: >Date: Thu, 16 Aug 2007 08:52:08 -0700 >From: "Rocky Smolin at Beach Access Software" >Subject: Re: [AccessD] Access Front-End via Web Enabled >To: "'Access Developers discussion and problem solving'" > >Message-ID: <004701c7e01d$673f17d0$0301a8c0 at HAL9005> >Content-Type: text/plain; charset="US-ASCII" > >At the risk of running afoul of a moderator: what's the difference between >ASP and PHP in terms of when you would use each? (I'm thinking I should >learn one of these.) > >TIA > >Rocky > From cfoust at infostatsystems.com Thu Aug 16 13:05:21 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 16 Aug 2007 11:05:21 -0700 Subject: [AccessD] Setting listbox selection In-Reply-To: <46C48847.601@fas.harvard.edu> References: <46C48847.601@fas.harvard.edu> Message-ID: That won't give you what you want, as you've discovered. Here's a routine I used on a pick list form that built a string from the selections: '****** Begin Code Private Function BuildListString(ByRef lst As ListBox, _ Optional blnSelectedOnly As Boolean = False, _ Optional blnAll As Boolean = True) As String 'created 12/4/2001 CF 'accepts a listbox control ' modified 7/2/2002 CF - Added blnAll argument and modified to allow creation of ' list of unselected items Dim strList As String 'holds return value of function Dim intCnt As Integer 'used for looping through entire list Dim varItem As Variant 'used for looping through selected items only On Error GoTo Proc_Err 'loop through the listbox items and create a string If blnSelectedOnly Then 'add only selected items to the list For Each varItem In lst.ItemsSelected strList = strList & "'" & lst.ItemData(varItem) & "', " Next varItem 'In lst.ItemsSelected If strList <> vbNullString Then strList = Left$(strList, Len(strList) - 2) End If 'strList <> vbNullString ElseIf blnAll Then For intCnt = 0 To lst.ListCount - 1 'add all items to the list strList = strList & "'" & lst.ItemData(intCnt) & "'" If intCnt < lst.ListCount - 1 Then strList = strList & ", " End If 'intCnt < lst.ListCount - 1 Next intCnt '= 0 To lst.ListCount - 1 Else For intCnt = 0 To lst.ListCount - 1 'only add unselected items to the list If Not lst.Selected(intCnt) Then strList = strList & "'" & lst.ItemData(intCnt) & "'" If intCnt < lst.ListCount - 1 Then strList = strList & ", " End If 'intCnt < lst.ListCount - 1 End If Next intCnt '= 0 To lst.ListCount - 1 End If 'blnSelectedOnly Proc_exit: On Error Resume Next BuildListString = strList Exit Function Proc_Err: MsgBox "Error: " & Err.Description, vbExclamation, Me.Name & ": BuildListString" Resume Proc_exit End Function 'BuildListString(ByRef lst As ListBox) As String '***** End Code Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Christopher Jeris Sent: Thursday, August 16, 2007 10:24 AM To: Access Developers discussion and problem solving Subject: [AccessD] Setting listbox selection -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi everyone, Some behavior of the .Selected attribute of the ListBox control is baffling me. Specifically, setting the .Selected attribute of a single-select listbox element, when that element is not in the currently viewable region of a scrollable listbox, does not appear to work. Here's a test case on Access 2002 SP3. Create a form containing a single listbox List0, with Row Source Type = Value List Row Source = 0;1;2;3;4;5;6;7;8;9 Size the listbox so that not all the rows are visible (there is a scroll bar). and a single command button Command2, with the following code: Private Sub EraseSelection(box As ListBox) Dim i As Long For i = 0 To box.ListCount - 1 box.Selected(i) = False Next i End Sub Private Sub Command2_Click() EraseSelection Me!List0 If Me!List0.ItemsSelected.Count > 0 Then MsgBox Me!List0.ItemsSelected(0) End If End Sub To test: Select an element in the listbox. Click Command2. The selection disappears. Select an element in the listbox. Scroll the listbox so that the highlighted row is ENTIRELY beyond the viewable region (the problem does not occur if the highlight is partially visible). Click Command2. I get two MsgBoxes; the first one gives the highlighted row; the second one gives -1. In other words, setting the selected item of a listbox using the .Selected property may silently fail, depending entirely on a fact (the view region of the listbox) which I know no way to find out in code! What's going on here, and what should I be doing instead? thanks much, Chris Jeris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGxIhG5ICCNV0oGWARArGOAJ0eBHDrdgKvHbAItVYyWPdkfEQ49gCfX+N7 KFOnbvPT9yFOZKAOunudvWU= =E+V2 -----END PGP SIGNATURE----- -- 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 16 13:07:07 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 16 Aug 2007 11:07:07 -0700 Subject: [AccessD] Access Front-End via Web Enabled In-Reply-To: <200708161800.l7GI0tDg018070@databaseadvisors.com> References: <200708161800.l7GI0tDg018070@databaseadvisors.com> Message-ID: I hope you're running for the hills, Robert! Both the DAP fans and the ADP fans are likely to be after your scalp! LOL Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Robert L. Stewart Sent: Thursday, August 16, 2007 10:56 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Access Front-End via Web Enabled Julie, The best way of handling it is .Net. ADPs were never very good for anything and just an experiment on the MS side because they never did much with it. I don't remember seeing it in 2007. Robert At 12:00 PM 8/16/2007, you wrote: >Date: Thu, 16 Aug 2007 10:20:21 -0400 >From: "Julie Reardon-Taylor" >Subject: [AccessD] Access Front-End via Web Enabled >To: accessd at databaseadvisors.com >Message-ID: >Content-Type: text/plain; format=flowed > >Looking for some opinions on what people are using for a web-enabled >access database. I have used replication for some applications, but >would now like to move the front-end to a browser so that the input can >be done via a web page over a wireless connection. > >Have toyed with data access pages, but not sure if that is a good solution. > >This application has three subform levels and the scripting may be an >issue in DAP. > >Did I read a posting on AccessD at some point that DAP are going to be >out in the next version of Access? > >What are other people using as forms via the www? > > > >Julie Reardon >PRO-SOFT OF NY, INC. >44 Public Square Suite #5 >Watertown, NY 13601 >Phone: 315.785.0319 >Fax: 315.785.0323 >www.pro-soft.net >NYS IT Services Contract CMT026A >NYS Certified Woman-Owned Business -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From spike at tenbus.co.uk Thu Aug 16 13:30:03 2007 From: spike at tenbus.co.uk (Webadmin - Tenbus) Date: Thu, 16 Aug 2007 19:30:03 +0100 Subject: [AccessD] Access Front-End via Web Enabled In-Reply-To: <200708161805.l7GI5uwZ019850@databaseadvisors.com> References: <200708161805.l7GI5uwZ019850@databaseadvisors.com> Message-ID: <46C497AB.8050001@tenbus.co.uk> Looks like I chose the dark side ;-) When I wanted to develop dynamic website, I went for the PHP/MySQL option. There were two reasons: my hosting company offered these pre-installed and they are free ;-) Being open-source, there is an extensive amount of free help available on the 'net. I'm not a programer but found the migration from Access/VBA to MySql/PHP fairly painless. Regards Chris Foote Robert L. Stewart wrote: > Rocky, > > It is like MS Sql vs. MySql. They both do the same thing. > If you want to go the non-MS way, the dark side, you > use PHP, otherwise you stay in the light and use ASP. :-) > > For those of you wanting to use .Net and have much of the > functionality that Access has, take a look at Codesmith > Tools and the .NetTiers template for it. You can also > look at the Enterprise Library, which .NetTiers uses as > it's base. > > I can build a WinForms form in less than 10 minutes using > these tools. ASP.Net is a bit longer. But, it is a matter > of getting accustomed to using it. BTW, it generates C# > code. But, after compiling it, you can use the dlls in VB. > > Robert > > At 12:00 PM 8/16/2007, you wrote: > >> Date: Thu, 16 Aug 2007 08:52:08 -0700 >> From: "Rocky Smolin at Beach Access Software" >> Subject: Re: [AccessD] Access Front-End via Web Enabled >> To: "'Access Developers discussion and problem solving'" >> >> Message-ID: <004701c7e01d$673f17d0$0301a8c0 at HAL9005> >> Content-Type: text/plain; charset="US-ASCII" >> >> At the risk of running afoul of a moderator: what's the difference between >> ASP and PHP in terms of when you would use each? (I'm thinking I should >> learn one of these.) >> >> TIA >> >> Rocky >> >> > > > From cjeris at fas.harvard.edu Thu Aug 16 13:37:46 2007 From: cjeris at fas.harvard.edu (Christopher Jeris) Date: Thu, 16 Aug 2007 14:37:46 -0400 Subject: [AccessD] Setting listbox selection In-Reply-To: References: <46C48847.601@fas.harvard.edu> Message-ID: <46C4997A.4060600@fas.harvard.edu> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Charlotte Foust wrote: > That won't give you what you want, as you've discovered. Here's a > routine I used on a pick list form that built a string from the > selections: > '****** Begin Code > Private Function BuildListString(ByRef lst As ListBox, _ > Optional blnSelectedOnly As Boolean = > False, _ > Optional blnAll As Boolean = True) As > String > [...] That works for reading values from the listbox control, but my problem is that writing values _to_ the listbox control doesn't seem to do what it should. peace, Chris Jeris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGxJl65ICCNV0oGWARAmezAJ91zS2MEUCLT4XZTdo9c0MEdyi3rQCeIEiu 8fS2hb36nnQh+VQ/PIO1Bnw= =9fH6 -----END PGP SIGNATURE----- From rockysmolin at bchacc.com Thu Aug 16 13:47:00 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Thu, 16 Aug 2007 11:47:00 -0700 Subject: [AccessD] Access Front-End via Web Enabled In-Reply-To: <46C497AB.8050001@tenbus.co.uk> Message-ID: <009101c7e035$d489aef0$0301a8c0@HAL9005> Did you already know C ? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Webadmin - Tenbus Sent: Thursday, August 16, 2007 11:30 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access Front-End via Web Enabled Looks like I chose the dark side ;-) When I wanted to develop dynamic website, I went for the PHP/MySQL option. There were two reasons: my hosting company offered these pre-installed and they are free ;-) Being open-source, there is an extensive amount of free help available on the 'net. I'm not a programer but found the migration from Access/VBA to MySql/PHP fairly painless. Regards Chris Foote Robert L. Stewart wrote: > Rocky, > > It is like MS Sql vs. MySql. They both do the same thing. > If you want to go the non-MS way, the dark side, you use PHP, > otherwise you stay in the light and use ASP. :-) > > For those of you wanting to use .Net and have much of the > functionality that Access has, take a look at Codesmith Tools and the > .NetTiers template for it. You can also look at the Enterprise > Library, which .NetTiers uses as it's base. > > I can build a WinForms form in less than 10 minutes using these tools. > ASP.Net is a bit longer. But, it is a matter of getting accustomed to > using it. BTW, it generates C# code. But, after compiling it, you can > use the dlls in VB. > > Robert > > At 12:00 PM 8/16/2007, you wrote: > >> Date: Thu, 16 Aug 2007 08:52:08 -0700 >> From: "Rocky Smolin at Beach Access Software" >> >> Subject: Re: [AccessD] Access Front-End via Web Enabled >> To: "'Access Developers discussion and problem solving'" >> >> Message-ID: <004701c7e01d$673f17d0$0301a8c0 at HAL9005> >> Content-Type: text/plain; charset="US-ASCII" >> >> At the risk of running afoul of a moderator: what's the difference >> between ASP and PHP in terms of when you would use each? (I'm >> thinking I should learn one of these.) >> >> TIA >> >> Rocky >> >> > > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.19/955 - Release Date: 8/15/2007 4:55 PM From prosoft6 at hotmail.com Thu Aug 16 14:15:59 2007 From: prosoft6 at hotmail.com (Julie Taylor) Date: Thu, 16 Aug 2007 15:15:59 -0400 Subject: [AccessD] Access Front-End via Web Enabled In-Reply-To: <46C497AB.8050001@tenbus.co.uk> References: <200708161805.l7GI5uwZ019850@databaseadvisors.com> <46C497AB.8050001@tenbus.co.uk> Message-ID: Great discussion! Please tell me more......if anyone else wants to chime in. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Webadmin - Tenbus Sent: Thursday, August 16, 2007 2:30 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access Front-End via Web Enabled Looks like I chose the dark side ;-) When I wanted to develop dynamic website, I went for the PHP/MySQL option. There were two reasons: my hosting company offered these pre-installed and they are free ;-) Being open-source, there is an extensive amount of free help available on the 'net. I'm not a programer but found the migration from Access/VBA to MySql/PHP fairly painless. Regards Chris Foote Robert L. Stewart wrote: > Rocky, > > It is like MS Sql vs. MySql. They both do the same thing. > If you want to go the non-MS way, the dark side, you > use PHP, otherwise you stay in the light and use ASP. :-) > > For those of you wanting to use .Net and have much of the > functionality that Access has, take a look at Codesmith > Tools and the .NetTiers template for it. You can also > look at the Enterprise Library, which .NetTiers uses as > it's base. > > I can build a WinForms form in less than 10 minutes using > these tools. ASP.Net is a bit longer. But, it is a matter > of getting accustomed to using it. BTW, it generates C# > code. But, after compiling it, you can use the dlls in VB. > > Robert > > At 12:00 PM 8/16/2007, you wrote: > >> Date: Thu, 16 Aug 2007 08:52:08 -0700 >> From: "Rocky Smolin at Beach Access Software" >> Subject: Re: [AccessD] Access Front-End via Web Enabled >> To: "'Access Developers discussion and problem solving'" >> >> Message-ID: <004701c7e01d$673f17d0$0301a8c0 at HAL9005> >> Content-Type: text/plain; charset="US-ASCII" >> >> At the risk of running afoul of a moderator: what's the difference between >> ASP and PHP in terms of when you would use each? (I'm thinking I should >> learn one of these.) >> >> TIA >> >> Rocky >> >> > > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From adtp at airtelbroadband.in Thu Aug 16 14:42:33 2007 From: adtp at airtelbroadband.in (A.D.TEJPAL) Date: Fri, 17 Aug 2007 01:12:33 +0530 Subject: [AccessD] Setting listbox selection References: <46C48847.601@fas.harvard.edu> Message-ID: <013401c7e03d$bb31abd0$6757a27a@pcadt> Chris, There is an interesting solution to your reported problem in clearing a single-select list box. In your existing code, just insert the following as the first statement in click event of command button. Me.List0.Requery In fact the task can be made drastically simpler by using the following sample code in click event of the command button. It uses only two statements and does away with the need for a subroutine looping through all the rows of a list box. ====================== Private Sub CmdClear_Click() Me.List0.Requery Me.List0 = Null End Sub ====================== Best wishes, A.D.Tejpal -------------- ----- Original Message ----- From: Christopher Jeris To: Access Developers discussion and problem solving Sent: Thursday, August 16, 2007 22:54 Subject: [AccessD] Setting listbox selection -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi everyone, Some behavior of the .Selected attribute of the ListBox control is baffling me. Specifically, setting the .Selected attribute of a single-select listbox element, when that element is not in the currently viewable region of a scrollable listbox, does not appear to work. Here's a test case on Access 2002 SP3. Create a form containing a single listbox List0, with Row Source Type = Value List Row Source = 0;1;2;3;4;5;6;7;8;9 Size the listbox so that not all the rows are visible (there is a scroll bar). and a single command button Command2, with the following code: Private Sub EraseSelection(box As ListBox) Dim i As Long For i = 0 To box.ListCount - 1 box.Selected(i) = False Next i End Sub Private Sub Command2_Click() EraseSelection Me!List0 If Me!List0.ItemsSelected.Count > 0 Then MsgBox Me!List0.ItemsSelected(0) End If End Sub To test: Select an element in the listbox. Click Command2. The selection disappears. Select an element in the listbox. Scroll the listbox so that the highlighted row is ENTIRELY beyond the viewable region (the problem does not occur if the highlight is partially visible). Click Command2. I get two MsgBoxes; the first one gives the highlighted row; the second one gives -1. In other words, setting the selected item of a listbox using the .Selected property may silently fail, depending entirely on a fact (the view region of the listbox) which I know no way to find out in code! What's going on here, and what should I be doing instead? thanks much, Chris Jeris From miscellany at mvps.org Thu Aug 16 15:59:09 2007 From: miscellany at mvps.org (Steve Schapel) Date: Fri, 17 Aug 2007 08:59:09 +1200 Subject: [AccessD] Access Front-End via Web Enabled In-Reply-To: References: Message-ID: <46C4BA9D.9020703@mvps.org> Julie, Just to throw a couple other ideas into the ring. Probably wouldn't attract a lot of support from the mainstreamers, but I think merit serious consideration. 1. Export your database to SharePoint. Would require moving your application to Access 2007, and would require a learning curve, for example replacing Referential Integrity with Workflows and so forth. Of course, this technology is still very much in its infancy, and some limitations at the moment, but it is without doubt the way of the future. If you're talking about needing to invest time and effort into learning new technology anyway, then have a look. And if you're used to the Replication idea, then Access/SharePoint offline data synchronisation is already pretty nice. 2. Depending on the number of concurrent users you are talking about here. But if the goal is to provide the users with remote operation, a solution with the least amount of work could be Terminal Server. You wouldn't need to change your existing application much at all. Or you could look at WinConnect http://www.thinsoftinc.com/product_thin_client_winconnect_server_xp.aspx, which I am using with very good results. Regards Steve Julie Reardon-Taylor wrote: > Looking for some opinions on what people are using for a web-enabled access > database. I have used replication for some applications, but would now like > to move the front-end to a browser so that the input can be done via a web > page over a wireless connection. > > Have toyed with data access pages, but not sure if that is a good solution. > > This application has three subform levels and the scripting may be an issue > in DAP. > > Did I read a posting on AccessD at some point that DAP are going to be out > in the next version of Access? > > What are other people using as forms via the www? From jwcolby at colbyconsulting.com Thu Aug 16 16:17:00 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 16 Aug 2007 17:17:00 -0400 Subject: [AccessD] Can't delete records from this table Message-ID: <20070816211704.20407BE65@smtp-auth.no-ip.com> I have a table where if I create a simple query - join tblX to tblY on PKID, turn into delete * - it gives me the message "can't delete records from this table". Yet if I turn it back into a select query I can highlight records and delete them. Any ideas why? John W. Colby Colby Consulting www.ColbyConsulting.com From Chester_Kaup at kindermorgan.com Thu Aug 16 16:24:38 2007 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Thu, 16 Aug 2007 16:24:38 -0500 Subject: [AccessD] Can't delete records from this table In-Reply-To: <20070816211704.20407BE65@smtp-auth.no-ip.com> References: <20070816211704.20407BE65@smtp-auth.no-ip.com> Message-ID: Do you have in the query properties unique records set to YES? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Thursday, August 16, 2007 4:17 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Can't delete records from this table I have a table where if I create a simple query - join tblX to tblY on PKID, turn into delete * - it gives me the message "can't delete records from this table". Yet if I turn it back into a select query I can highlight records and delete them. Any ideas why? John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Thu Aug 16 16:41:01 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 16 Aug 2007 17:41:01 -0400 Subject: [AccessD] Can't delete records from this table In-Reply-To: Message-ID: <20070816214104.0A3EEBDB2@smtp-auth.no-ip.com> Nope. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Thursday, August 16, 2007 5:25 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Can't delete records from this table Do you have in the query properties unique records set to YES? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Thursday, August 16, 2007 4:17 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Can't delete records from this table I have a table where if I create a simple query - join tblX to tblY on PKID, turn into delete * - it gives me the message "can't delete records from this table". Yet if I turn it back into a select query I can highlight records and delete them. Any ideas why? John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Thu Aug 16 16:47:40 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 16 Aug 2007 14:47:40 -0700 Subject: [AccessD] Setting listbox selection In-Reply-To: <46C4997A.4060600@fas.harvard.edu> References: <46C48847.601@fas.harvard.edu> <46C4997A.4060600@fas.harvard.edu> Message-ID: Sorry, I misunderstood your problem. But listboxes are selection controls, not value display controls, in all versions up to 2007, which I can't speak for. Is this for one of those horrible 2007 multivalue fields, by any chance? Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Christopher Jeris Sent: Thursday, August 16, 2007 11:38 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Setting listbox selection -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Charlotte Foust wrote: > That won't give you what you want, as you've discovered. Here's a > routine I used on a pick list form that built a string from the > selections: > '****** Begin Code > Private Function BuildListString(ByRef lst As ListBox, _ > Optional blnSelectedOnly As Boolean = > False, _ > Optional blnAll As Boolean = True) As > String [...] That works for reading values from the listbox control, but my problem is that writing values _to_ the listbox control doesn't seem to do what it should. peace, Chris Jeris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGxJl65ICCNV0oGWARAmezAJ91zS2MEUCLT4XZTdo9c0MEdyi3rQCeIEiu 8fS2hb36nnQh+VQ/PIO1Bnw= =9fH6 -----END PGP SIGNATURE----- -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Chester_Kaup at kindermorgan.com Thu Aug 16 16:54:09 2007 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Thu, 16 Aug 2007 16:54:09 -0500 Subject: [AccessD] Can't delete records from this table In-Reply-To: <20070816214104.0A3EEBDB2@smtp-auth.no-ip.com> References: <20070816214104.0A3EEBDB2@smtp-auth.no-ip.com> Message-ID: You might want to change it to YES and run the delete query. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Thursday, August 16, 2007 4:41 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Can't delete records from this table Nope. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Thursday, August 16, 2007 5:25 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Can't delete records from this table Do you have in the query properties unique records set to YES? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Thursday, August 16, 2007 4:17 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Can't delete records from this table I have a table where if I create a simple query - join tblX to tblY on PKID, turn into delete * - it gives me the message "can't delete records from this table". Yet if I turn it back into a select query I can highlight records and delete them. Any ideas why? John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From fahooper at trapo.com Thu Aug 16 17:35:49 2007 From: fahooper at trapo.com (Fred Hooper) Date: Thu, 16 Aug 2007 18:35:49 -0400 Subject: [AccessD] SQL Speed In-Reply-To: Message-ID: <001f01c7e055$cbf9dba0$af15c048@fredxp> Hi Mark, I don't know how long an SQL statement can be, but I've written some very long ones - at least 5k characters. When you find out the limit you could just use a loop and maybe have to run 2 or 3 (or 50) queries - still much better than 10k. You could adapt Gustav's "sort with union all" idea by placing "select n as ID_no" as the first field and separate the results later using that #. If they have different numbers of fields, then place dummy fields where needed. The results get into the temp table by having another query that uses the pass-through query as its source. I suggested this because of my experience: I was placing information on all of the tables/fields in an SQL Server database (about 13k fields) into an Access table so I could more easily learn the database. First, I tried a direct SQL statement against the database. It ran a couple of seconds in Query Analyzer. When I used it as a recordset to fill the table, I killed it in a few minutes - but it was going to run at least an hour. The pass-through query fills the table (through another query) in 2-3 seconds. Also, why not concatenate the fields in SQL? Fred -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Thursday, August 16, 2007 11:26 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] SQL Speed Thanks Fred, But I need to do take the results of each statement and send them individually somewhere(either email or temp table)... ...and can an SQL statement be that long? Thanks, Mark A. Matte >From: "Fred Hooper" >Reply-To: Access Developers discussion and problem >solving >To: "'Access Developers discussion and problem >solving'" >Subject: Re: [AccessD] SQL Speed >Date: Wed, 15 Aug 2007 18:07:26 -0400 > >Hi Mark, > >Is there any chance you could string those 10k runs together with union >all's? If so, you could run all of them at once with a pass-though query, >which would be *much* faster than 10k separate runs. > >Fred > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte >Sent: Wednesday, August 15, 2007 9:47 AM >To: accessd at databaseadvisors.com >Subject: Re: [AccessD] SQL Speed > >I'm not returning 4K rows...the table I'm running these SQL statements >againts has 4K rows... > >In one table I have 10K SQL statements(1 per row). The SQL statements are >all filtering on indexed currency and integer fields. I pullin all 10K as >a > >recordset....and loop through...for each row, I execute that SQL againts a >table with about 4K rows...and take the results (typically between 1 and 20 >rows) and concatenated a Char4 and a Currency field from each of the >results > >into 1 long string (this will later be the body of an email). > >So...I run 10K SQL statements, one right after the other, against a table >with about 4K rows, returning between 1 and 20 records per SQL statement. > >To run these 10K and store the results it takes just less than 2 >Minutes...if this is slow...please share how long (average) you would >expect > >it to take 10K queries to run? > >There is more detail in the emails below... > > >From: "Christopher Hawkins" > >Reply-To: Access Developers discussion and problem > >solving > >To: > >Subject: Re: [AccessD] SQL Speed > >Date: Tue, 14 Aug 2007 20:08:09 -0600 > > > >Hi, Mark. I think I missed this topic the first time it came up. > > > >This is a hard question to answer, mainly because you don't mention what > >type of data is contained in the 4K rows you're querying, and how many > >fields are involved. You also mention that the results will be > >"concatenated", which seems like an odd thing to do. I would expect you >to > > >run a sum or a count or something, not a concatenation of 4K rows. Can >you > > >provide more detail? > > > >Off the cuff, 2 minutes sounds slow to return 4K rows of the kind of data >I > > >tend to work with, but like I said, I'm not exactly clear on what you're > >doing with those rows. > > > >Can you show us the actual SQL? > > > >-C- > > > >---------------------------------------- > > > >From: "Mark A Matte" > >Sent: Tuesday, August 14, 2007 3:12 AM > >To: accessd at databaseadvisors.com > >Subject: Re: [AccessD] SQL Speed > > > >Hello All, > > > >I haven't received any responses after the email below. I am specifically > >curious about the realistic time to run 10K sql statements (see below). > >Access vs. SQL server? > > > >Any feedback is greatly appreciated. > > > >Thanks, > > > >Mark A. Matte > > > > >From: "Mark A Matte" > > >Reply-To: Access Developers discussion and problem > > >solving > > >To: accessd at databaseadvisors.com > > >Subject: Re: [AccessD] SQL Speed > > >Date: Thu, 09 Aug 2007 17:27:51 +0000 > > > > > >Thanks to All for your responses...(everything discussed below is > >currently > > >in A2K) > > > > > >I'm at the beginning of this and appreciate any ideas...This program >has > > >been running 24/7 for the last 3 years...but only runs 1 SQL statement. > >It > > >runs the statement, loops through the results and concatenates the > >results, > > >and then emails the results (for these tests we are going to forget >about > > >the email part and just store the results in a separate table). > > > > > >Last night I put a loop on this and ran it 10K times. It took just >under > >2 > > >minutes. To make it more realistic, (the 10k SQL statements will all be > > >different, but very similar) I removed the SQL from the code and placed > >it > > >in a memo field in another table (tblSQL). Next, I modified the code so > > >now > > >it first pulls all records form tblSQL (I added 10k rows...but all the > >same > > >SQL statement)...then for each of these records...it does the stuff I > > >outlined above. > > > > > >Again, it ran in just under 2 minutes. I need this to be as fast as > > >possible, and I don't know what a realistic time is. I apparently can >do > > >10K in less than 2 minutes, but is this good, bad, average? > > > > > >Any thoughts/ideas? > > > > > >Thanks, > > > > > >Mark A. Matte > > > > > > > > > >From: Jim Lawrence > > > >Reply-To: Access Developers discussion and problem > > > >solving > > > >To: "'Access Developers discussion and problem > > > >solving'" > > > >Subject: Re: [AccessD] SQL Speed > > > >Date: Wed, 08 Aug 2007 22:15:43 -0700 > > > > > > > >Well, you have probably already thought of this, but any queries that > >can > > > >run on the SQL server as pre-compiled stored procedures will give > > >superior > > > >performance. > > > > > > > >Jim > > > > > > > >-----Original Message----- > > > >From: accessd-bounces at databaseadvisors.com > > > >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A >Matte > > > >Sent: Wednesday, August 08, 2007 1:57 PM > > > >To: accessd at databaseadvisors.com > > > >Subject: [AccessD] SQL Speed > > > > > > > >Hello All, > > > > > > > >I am involved in a project that will be web based. The database will > > > >either > > > > > > > >be access or SQL Server. > > > > > > > >The question is: I need to run a bunch (maybe 10K) of SQL statements > > > >againts a single table...or flat file, whatever is best, containing > >about > > > >4K > > > > > > > >rows. The results of each will be appended to a second table, or > >emailed > > > >instantly (ahh...idea...good place for a JC style Class). The SQL > > > >statements themselves will be stored in a table. > > > > > > > >Does anyone have any ideas/suggestions about approach? I will need >ALL > > >of > > > >the SQLs to run in less than 5 minutes. I know 1 runs in a fraction >of > >a > > > >second...I just don't know what that fraction is to calculate time > > >needed. > > > > > > > >Being there are so few rows involved...but so many SQL >statements...and > > > >speed is an issue...will there be a signicant advantage using SQL > >Server > > >or > > > >Access? > > > > > > > >I'm thinking of having the SQLs in a table and looping through and > > > >executing > > > > > > > >each...I just don't know if this is the best approach? > > > > > > > >Thanks, > > > > > > > >Mark A. Matte > > > > > >_________________________________________________________________ >Puzzles, trivia teasers, word scrambles and more. Play for your chance to >win! http://club.live.com/home.aspx?icid=CLUB_hotmailtextlink > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Booking a flight? Know when to buy with airfare predictions on MSN Travel. http://travel.msn.com/Articles/aboutfarecast.aspx&ocid=T001MSN25A07001 -- 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 17 01:27:02 2007 From: andy at minstersystems.co.uk (Andy Lacey) Date: Fri, 17 Aug 2007 07:27:02 +0100 Subject: [AccessD] Access Front-End via Web Enabled In-Reply-To: <004701c7e01d$673f17d0$0301a8c0@HAL9005> Message-ID: <005201c7e097$a0301e20$e41e0c54@minster33c3r25> You misjudge us Rocky. AFAIC this is totally and utterly on-topic. There must be loads of developers out there (I'm one) who will one day need to web-enable an Access app, so pointers on which way to turn are invaluable. -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Rocky Smolin at Beach Access Software > Sent: 16 August 2007 16:52 > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Access Front-End via Web Enabled > > > At the risk of running afoul of a moderator: what's the > difference between ASP and PHP in terms of when you would use > each? (I'm thinking I should learn one of these.) > > TIA > > Rocky > > > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Charlotte Foust > Sent: Thursday, August 16, 2007 7:57 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Access Front-End via Web Enabled > > You won't like the answer: ASP.Net > > Charlotte Foust > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Julie Reardon-Taylor > Sent: Thursday, August 16, 2007 7:20 AM > To: accessd at databaseadvisors.com > Subject: [AccessD] Access Front-End via Web Enabled > > Looking for some opinions on what people are using for a > web-enabled access database. I have used replication for > some applications, but would now like to move the front-end > to a browser so that the input can be done via a web page > over a wireless connection. > > Have toyed with data access pages, but not sure if that is a > good solution. > > This application has three subform levels and the scripting > may be an issue in DAP. > > Did I read a posting on AccessD at some point that DAP are > going to be out in the next version of Access? > > What are other people using as forms via the www? > > > > Julie Reardon > PRO-SOFT OF NY, INC. > 44 Public Square Suite #5 > Watertown, NY 13601 > Phone: 315.785.0319 > Fax: 315.785.0323 > www.pro-soft.net > NYS IT Services Contract CMT026A > NYS Certified Woman-Owned Business > > _________________________________________________________________ > Learn.Laugh.Share. Reallivemoms is right place! > http://www.reallivemoms.com?ocid=TXT_TAGHM&loc=us > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.476 / Virus Database: 269.11.19/955 - Release > Date: 8/15/2007 4:55 PM > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From adtp at airtelbroadband.in Fri Aug 17 09:35:30 2007 From: adtp at airtelbroadband.in (A.D.TEJPAL) Date: Fri, 17 Aug 2007 20:05:30 +0530 Subject: [AccessD] Can't delete records from this table References: <20070816211704.20407BE65@smtp-auth.no-ip.com> Message-ID: <004001c7e0dc$0f7e9790$6a57a27a@pcadt> John, It can be regarded as a case of optical illusion. When you open it as a select query (inner join on one to many relation) and delete the selected records manually, the records in the second table (the one on many side of the join) are the only ones that are getting deleted. However, inner join between the tables forces the query to display no output. Even if it is a LEFT join, the output will appear temporarily lost. On closing & re-opening the query, all records from first table will get displayed, showing null values in fields pertaining to second table. Delete query involving inner or outer join will also perform the above job successfully, if the qualifying table's name is changed to that on many side of the join. If it happens to be a one to one join on primary keys, either of the two tables, or both can be specified in the delete query and it will perform smoothly. Manual deletion via select query involving one to one join affects both tables. Equivalent delete query specifying both tables would be: ================================= DELETE T_A.*, T_B.* FROM T_A INNER JOIN T_B ON T_A.ClientID = T_B.ClientID; ================================= Note (one to one relationship): (a) T_A & T_B are the table names. ClientID is PK field on both. (b) With inner join, only the records where PK values are common to both tables, will get deleted. (c) If it is desired to delete all records in both tables, the join should be changed to LEFT or RIGHT type depending upon which table has extra records. Best wishes, A.D.Tejpal --------------- ----- Original Message ----- From: jwcolby To: 'Access Developers discussion and problem solving' Sent: Friday, August 17, 2007 02:47 Subject: [AccessD] Can't delete records from this table I have a table where if I create a simple query - join tblX to tblY on PKID, turn into delete * - it gives me the message "can't delete records from this table". Yet if I turn it back into a select query I can highlight records and delete them. Any ideas why? John W. Colby Colby Consulting www.ColbyConsulting.com From markamatte at hotmail.com Fri Aug 17 09:58:13 2007 From: markamatte at hotmail.com (Mark A Matte) Date: Fri, 17 Aug 2007 14:58:13 +0000 Subject: [AccessD] SQL Speed In-Reply-To: <001f01c7e055$cbf9dba0$af15c048@fredxp> Message-ID: Thanks Fred, Making a union with my 10k SQLs would put me almost to 4million characters. As for the concatenation ...its not just the fields... it will concatenate 2 fields from every record returned from each SQL statement: ID VALUE aa -15 bb 18.5 cc -21.2 ee 16 Lets say these records are returned from 1 SQL...I then need the ID and Value from each of these records stored as a string: aa -15: bb 18.5: cc -21.2: ee 16 ...or something similar. and then do it again for the other 9999 SQLs. Thanks, Mark A. Matte >From: "Fred Hooper" >Reply-To: Access Developers discussion and problem >solving >To: "'Access Developers discussion and problem >solving'" >Subject: Re: [AccessD] SQL Speed >Date: Thu, 16 Aug 2007 18:35:49 -0400 > >Hi Mark, > >I don't know how long an SQL statement can be, but I've written some very >long ones - at least 5k characters. When you find out the limit you could >just use a loop and maybe have to run 2 or 3 (or 50) queries - still much >better than 10k. > >You could adapt Gustav's "sort with union all" idea by placing "select n as >ID_no" as the first field and separate the results later using that #. If >they have different numbers of fields, then place dummy fields where >needed. > >The results get into the temp table by having another query that uses the >pass-through query as its source. > >I suggested this because of my experience: I was placing information on all >of the tables/fields in an SQL Server database (about 13k fields) into an >Access table so I could more easily learn the database. First, I tried a >direct SQL statement against the database. It ran a couple of seconds in >Query Analyzer. When I used it as a recordset to fill the table, I killed >it >in a few minutes - but it was going to run at least an hour. The >pass-through query fills the table (through another query) in 2-3 seconds. > >Also, why not concatenate the fields in SQL? > >Fred > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte >Sent: Thursday, August 16, 2007 11:26 AM >To: accessd at databaseadvisors.com >Subject: Re: [AccessD] SQL Speed > >Thanks Fred, > >But I need to do take the results of each statement and send them >individually somewhere(either email or temp table)... > > >...and can an SQL statement be that long? > >Thanks, > >Mark A. Matte > > > >From: "Fred Hooper" > >Reply-To: Access Developers discussion and problem > >solving > >To: "'Access Developers discussion and problem > >solving'" > >Subject: Re: [AccessD] SQL Speed > >Date: Wed, 15 Aug 2007 18:07:26 -0400 > > > >Hi Mark, > > > >Is there any chance you could string those 10k runs together with union > >all's? If so, you could run all of them at once with a pass-though query, > >which would be *much* faster than 10k separate runs. > > > >Fred > > > >-----Original Message----- > >From: accessd-bounces at databaseadvisors.com > >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte > >Sent: Wednesday, August 15, 2007 9:47 AM > >To: accessd at databaseadvisors.com > >Subject: Re: [AccessD] SQL Speed > > > >I'm not returning 4K rows...the table I'm running these SQL statements > >againts has 4K rows... > > > >In one table I have 10K SQL statements(1 per row). The SQL statements >are > >all filtering on indexed currency and integer fields. I pullin all 10K >as > >a > > > >recordset....and loop through...for each row, I execute that SQL againts >a > >table with about 4K rows...and take the results (typically between 1 and >20 > >rows) and concatenated a Char4 and a Currency field from each of the > >results > > > >into 1 long string (this will later be the body of an email). > > > >So...I run 10K SQL statements, one right after the other, against a table > >with about 4K rows, returning between 1 and 20 records per SQL statement. > > > >To run these 10K and store the results it takes just less than 2 > >Minutes...if this is slow...please share how long (average) you would > >expect > > > >it to take 10K queries to run? > > > >There is more detail in the emails below... > > > > >From: "Christopher Hawkins" > > >Reply-To: Access Developers discussion and problem > > >solving > > >To: > > >Subject: Re: [AccessD] SQL Speed > > >Date: Tue, 14 Aug 2007 20:08:09 -0600 > > > > > >Hi, Mark. I think I missed this topic the first time it came up. > > > > > >This is a hard question to answer, mainly because you don't mention >what > > >type of data is contained in the 4K rows you're querying, and how many > > >fields are involved. You also mention that the results will be > > >"concatenated", which seems like an odd thing to do. I would expect >you > >to > > > > >run a sum or a count or something, not a concatenation of 4K rows. Can > >you > > > > >provide more detail? > > > > > >Off the cuff, 2 minutes sounds slow to return 4K rows of the kind of >data > > >I > > > > >tend to work with, but like I said, I'm not exactly clear on what >you're > > >doing with those rows. > > > > > >Can you show us the actual SQL? > > > > > >-C- > > > > > >---------------------------------------- > > > > > >From: "Mark A Matte" > > >Sent: Tuesday, August 14, 2007 3:12 AM > > >To: accessd at databaseadvisors.com > > >Subject: Re: [AccessD] SQL Speed > > > > > >Hello All, > > > > > >I haven't received any responses after the email below. I am >specifically > > >curious about the realistic time to run 10K sql statements (see below). > > >Access vs. SQL server? > > > > > >Any feedback is greatly appreciated. > > > > > >Thanks, > > > > > >Mark A. Matte > > > > > > >From: "Mark A Matte" > > > >Reply-To: Access Developers discussion and problem > > > >solving > > > >To: accessd at databaseadvisors.com > > > >Subject: Re: [AccessD] SQL Speed > > > >Date: Thu, 09 Aug 2007 17:27:51 +0000 > > > > > > > >Thanks to All for your responses...(everything discussed below is > > >currently > > > >in A2K) > > > > > > > >I'm at the beginning of this and appreciate any ideas...This program > >has > > > >been running 24/7 for the last 3 years...but only runs 1 SQL >statement. > > >It > > > >runs the statement, loops through the results and concatenates the > > >results, > > > >and then emails the results (for these tests we are going to forget > >about > > > >the email part and just store the results in a separate table). > > > > > > > >Last night I put a loop on this and ran it 10K times. It took just > >under > > >2 > > > >minutes. To make it more realistic, (the 10k SQL statements will all >be > > > >different, but very similar) I removed the SQL from the code and >placed > > >it > > > >in a memo field in another table (tblSQL). Next, I modified the code >so > > > >now > > > >it first pulls all records form tblSQL (I added 10k rows...but all >the > > >same > > > >SQL statement)...then for each of these records...it does the stuff I > > > >outlined above. > > > > > > > >Again, it ran in just under 2 minutes. I need this to be as fast as > > > >possible, and I don't know what a realistic time is. I apparently can > >do > > > >10K in less than 2 minutes, but is this good, bad, average? > > > > > > > >Any thoughts/ideas? > > > > > > > >Thanks, > > > > > > > >Mark A. Matte > > > > > > > > > > > > >From: Jim Lawrence > > > > >Reply-To: Access Developers discussion and problem > > > > >solving > > > > >To: "'Access Developers discussion and problem > > > > >solving'" > > > > >Subject: Re: [AccessD] SQL Speed > > > > >Date: Wed, 08 Aug 2007 22:15:43 -0700 > > > > > > > > > >Well, you have probably already thought of this, but any queries >that > > >can > > > > >run on the SQL server as pre-compiled stored procedures will give > > > >superior > > > > >performance. > > > > > > > > > >Jim > > > > > > > > > >-----Original Message----- > > > > >From: accessd-bounces at databaseadvisors.com > > > > >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A > >Matte > > > > >Sent: Wednesday, August 08, 2007 1:57 PM > > > > >To: accessd at databaseadvisors.com > > > > >Subject: [AccessD] SQL Speed > > > > > > > > > >Hello All, > > > > > > > > > >I am involved in a project that will be web based. The database >will > > > > >either > > > > > > > > > >be access or SQL Server. > > > > > > > > > >The question is: I need to run a bunch (maybe 10K) of SQL >statements > > > > >againts a single table...or flat file, whatever is best, containing > > >about > > > > >4K > > > > > > > > > >rows. The results of each will be appended to a second table, or > > >emailed > > > > >instantly (ahh...idea...good place for a JC style Class). The SQL > > > > >statements themselves will be stored in a table. > > > > > > > > > >Does anyone have any ideas/suggestions about approach? I will need > >ALL > > > >of > > > > >the SQLs to run in less than 5 minutes. I know 1 runs in a fraction > >of > > >a > > > > >second...I just don't know what that fraction is to calculate time > > > >needed. > > > > > > > > > >Being there are so few rows involved...but so many SQL > >statements...and > > > > >speed is an issue...will there be a signicant advantage using SQL > > >Server > > > >or > > > > >Access? > > > > > > > > > >I'm thinking of having the SQLs in a table and looping through and > > > > >executing > > > > > > > > > >each...I just don't know if this is the best approach? > > > > > > > > > >Thanks, > > > > > > > > > >Mark A. Matte > > > > > > > > >_________________________________________________________________ > >Puzzles, trivia teasers, word scrambles and more. Play for your chance to > >win! http://club.live.com/home.aspx?icid=CLUB_hotmailtextlink > > > >-- > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > > > > > >-- > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > >_________________________________________________________________ >Booking a flight? Know when to buy with airfare predictions on MSN Travel. >http://travel.msn.com/Articles/aboutfarecast.aspx&ocid=T001MSN25A07001 > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Now you can see trouble?before he arrives http://newlivehotmail.com/?ocid=TXT_TAGHM_migration_HM_viral_protection_0507 From jwcolby at colbyconsulting.com Fri Aug 17 10:10:16 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 17 Aug 2007 11:10:16 -0400 Subject: [AccessD] Can't delete records from this table In-Reply-To: <004001c7e0dc$0f7e9790$6a57a27a@pcadt> Message-ID: <20070817151018.3A645BE54@smtp-auth.no-ip.com> A.D. What is interesting (and I didn't notice it immediately) is that the records on the one side was also deleted which is NOT supposed to happen. The situation is as follows: TABLES: xlsWP - with a field _IDCLM to hold the PK in the claim table tblClaim - CLM_ID is the PK. tblClaimLTD - CLMLTD_ID is the PK. 1-1 with tblClaim, with the relationship established in the BE. I designed the query such that the join was between xlsWP._IDCLM and tblClaimLTD.CLMLTD_ID (the PK in tblClaimLTD), select * from tblClaimLTD, then turn that into a delete query. Thus NO FIELDS from xlsWP are visible when it is a select, it is just used for the join to select records in tblClaimLTD. When turned into a DELETE this SHOULD function correctly, no? But NO, it complains and refuses to do the delete. Anyway, if I turn it back into a select I can view the data in tblLTD and I can select the records (manually) and delete them and they do delete, however... The records in xlsWP ALSO DELETE which they should not!!! I have built a workaround where I pull xlsWP, joined xlsPW._IDCLM to tblClaim.CLM_ID, then join tblClaim to tblClaimLTD. Select * from tblLTD. Turn THAT into a delete query and voila, the delete works without complaint, ONLY the records in tblClaimLTD are deleted and I am happy. Now, WHY do I need to "go through" tblClaim? The PK in tblClaim is 1-1 with tblClaimLTD. The inner join between xlsWP and tblClaimLTD should function the same as xlsWP and tblClaimLTD. The mysteries of Access!!! John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of A.D.TEJPAL Sent: Friday, August 17, 2007 10:36 AM To: Access Developers discussion and problem solving Cc: A.D.TEJPAL Subject: Re: [AccessD] Can't delete records from this table John, It can be regarded as a case of optical illusion. When you open it as a select query (inner join on one to many relation) and delete the selected records manually, the records in the second table (the one on many side of the join) are the only ones that are getting deleted. However, inner join between the tables forces the query to display no output. Even if it is a LEFT join, the output will appear temporarily lost. On closing & re-opening the query, all records from first table will get displayed, showing null values in fields pertaining to second table. Delete query involving inner or outer join will also perform the above job successfully, if the qualifying table's name is changed to that on many side of the join. If it happens to be a one to one join on primary keys, either of the two tables, or both can be specified in the delete query and it will perform smoothly. Manual deletion via select query involving one to one join affects both tables. Equivalent delete query specifying both tables would be: ================================= DELETE T_A.*, T_B.* FROM T_A INNER JOIN T_B ON T_A.ClientID = T_B.ClientID; ================================= Note (one to one relationship): (a) T_A & T_B are the table names. ClientID is PK field on both. (b) With inner join, only the records where PK values are common to both tables, will get deleted. (c) If it is desired to delete all records in both tables, the join should be changed to LEFT or RIGHT type depending upon which table has extra records. Best wishes, A.D.Tejpal --------------- ----- Original Message ----- From: jwcolby To: 'Access Developers discussion and problem solving' Sent: Friday, August 17, 2007 02:47 Subject: [AccessD] Can't delete records from this table I have a table where if I create a simple query - join tblX to tblY on PKID, turn into delete * - it gives me the message "can't delete records from this table". Yet if I turn it back into a select query I can highlight records and delete them. Any ideas why? John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From prosoft6 at hotmail.com Fri Aug 17 13:26:08 2007 From: prosoft6 at hotmail.com (Julie Taylor) Date: Fri, 17 Aug 2007 14:26:08 -0400 Subject: [AccessD] Access Front-End via Web Enabled In-Reply-To: <46C4BA9D.9020703@mvps.org> References: <46C4BA9D.9020703@mvps.org> Message-ID: Hi Steve, Thank you for that suggestions. We are just now setting up one of our customers with Sharepoint, and have developed an initial Intranet site for them. Seems pretty painless. I think that your idea about using Sharepoint is a good one. My only fear is that I will learn to develop in Sharepoint, and then it will go away. It takes some time to develop the right skill set in an application to the point where I can use it in my business. If I spend that time with Sharepoint, and then it is no longer around, it will be lost time. Thank you for the other suggestions as well. We are working with several apps that we have written for pda's and tablet pc's. It just seems that to be able to go to a website via a wireless connection is so much simpler than having to connect to a server and replicate the data. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Schapel Sent: Thursday, August 16, 2007 4:59 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access Front-End via Web Enabled Julie, Just to throw a couple other ideas into the ring. Probably wouldn't attract a lot of support from the mainstreamers, but I think merit serious consideration. 1. Export your database to SharePoint. Would require moving your application to Access 2007, and would require a learning curve, for example replacing Referential Integrity with Workflows and so forth. Of course, this technology is still very much in its infancy, and some limitations at the moment, but it is without doubt the way of the future. If you're talking about needing to invest time and effort into learning new technology anyway, then have a look. And if you're used to the Replication idea, then Access/SharePoint offline data synchronisation is already pretty nice. 2. Depending on the number of concurrent users you are talking about here. But if the goal is to provide the users with remote operation, a solution with the least amount of work could be Terminal Server. You wouldn't need to change your existing application much at all. Or you could look at WinConnect http://www.thinsoftinc.com/product_thin_client_winconnect_server_xp.aspx, which I am using with very good results. Regards Steve Julie Reardon-Taylor wrote: > Looking for some opinions on what people are using for a web-enabled access > database. I have used replication for some applications, but would now like > to move the front-end to a browser so that the input can be done via a web > page over a wireless connection. > > Have toyed with data access pages, but not sure if that is a good solution. > > This application has three subform levels and the scripting may be an issue > in DAP. > > Did I read a posting on AccessD at some point that DAP are going to be out > in the next version of Access? > > What are other people using as forms via the www? -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ebarro at verizon.net Fri Aug 17 14:51:36 2007 From: ebarro at verizon.net (Eric Barro) Date: Fri, 17 Aug 2007 12:51:36 -0700 Subject: [AccessD] Access Front-End via Web Enabled In-Reply-To: Message-ID: <0JMX00DWJOIBIZC1@vms046.mailsrvcs.net> Julie, Sharepoint will never go away. Microsoft has made sure of that by integrating MS Office apps tightly with the platform. Eric -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Julie Taylor Sent: Friday, August 17, 2007 11:26 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access Front-End via Web Enabled Hi Steve, Thank you for that suggestions. We are just now setting up one of our customers with Sharepoint, and have developed an initial Intranet site for them. Seems pretty painless. I think that your idea about using Sharepoint is a good one. My only fear is that I will learn to develop in Sharepoint, and then it will go away. It takes some time to develop the right skill set in an application to the point where I can use it in my business. If I spend that time with Sharepoint, and then it is no longer around, it will be lost time. Thank you for the other suggestions as well. We are working with several apps that we have written for pda's and tablet pc's. It just seems that to be able to go to a website via a wireless connection is so much simpler than having to connect to a server and replicate the data. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Schapel Sent: Thursday, August 16, 2007 4:59 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access Front-End via Web Enabled Julie, Just to throw a couple other ideas into the ring. Probably wouldn't attract a lot of support from the mainstreamers, but I think merit serious consideration. 1. Export your database to SharePoint. Would require moving your application to Access 2007, and would require a learning curve, for example replacing Referential Integrity with Workflows and so forth. Of course, this technology is still very much in its infancy, and some limitations at the moment, but it is without doubt the way of the future. If you're talking about needing to invest time and effort into learning new technology anyway, then have a look. And if you're used to the Replication idea, then Access/SharePoint offline data synchronisation is already pretty nice. 2. Depending on the number of concurrent users you are talking about here. But if the goal is to provide the users with remote operation, a solution with the least amount of work could be Terminal Server. You wouldn't need to change your existing application much at all. Or you could look at WinConnect http://www.thinsoftinc.com/product_thin_client_winconnect_server_xp.aspx, which I am using with very good results. Regards Steve Julie Reardon-Taylor wrote: > Looking for some opinions on what people are using for a web-enabled access > database. I have used replication for some applications, but would > now like > to move the front-end to a browser so that the input can be done via a > web > page over a wireless connection. > > Have toyed with data access pages, but not sure if that is a good solution. > > This application has three subform levels and the scripting may be an issue > in DAP. > > Did I read a posting on AccessD at some point that DAP are going to be > out > in the next version of Access? > > What are other people using as forms via the www? From miscellany at mvps.org Fri Aug 17 16:02:52 2007 From: miscellany at mvps.org (Steve Schapel) Date: Sat, 18 Aug 2007 09:02:52 +1200 Subject: [AccessD] Access Front-End via Web Enabled In-Reply-To: <0JMX00DWJOIBIZC1@vms046.mailsrvcs.net> References: <0JMX00DWJOIBIZC1@vms046.mailsrvcs.net> Message-ID: <46C60CFC.2090705@mvps.org> "Never" is a big word, Eric! :-) But I agree with the sentiment... SharePoint is definitely a technology on the rise, likely with a long and strong future. Regards Steve Eric Barro wrote: > Sharepoint will never go away. Microsoft has made sure of that by > integrating MS Office apps tightly with the platform. From carbonnb at gmail.com Fri Aug 17 16:06:46 2007 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Fri, 17 Aug 2007 17:06:46 -0400 Subject: [AccessD] Missing Issues Query Message-ID: Good Day folks, HELP!!! It's been so long since I've done anything in Access that I can't even begin to think of how to create this query. What I'm looking for is similar to a "Missing Check" report in Quickbooks, you know one that lists all of the check numbers that aren't there. What I have is a DB for all my National Geographic Magazines (and eventually all my other assorted magazines) and I'm trying to create a query (and eventually a report) that lists all the issues that are missing. Right now, what I have is a table: iss_ID iss_Magazine_FK iss_Volume iss_Number iss_Date iss_Magazine_FK is a FK to the name of the Magazine held in another table (currently it is only holding a value of 1 since I only have 1 Magazine available to choose from) iss_Volume is an integer that holds the Volume number (1-212) iss_Number is an integer that holds the Issue Number (1-6) iss_Date is a date/time that holds the date of the issue How do I even begin to start to write this query? -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" From fahooper at trapo.com Fri Aug 17 16:18:13 2007 From: fahooper at trapo.com (Fred Hooper) Date: Fri, 17 Aug 2007 17:18:13 -0400 Subject: [AccessD] SQL Speed In-Reply-To: Message-ID: <005e01c7e114$1f125880$af15c048@fredxp> Hi Mark, I've run SQL on SQL Server & Oracle that's *much* longer, so that's not a limitation. You could use VBA to create a view in SQL Server that holds your 10K SQL statements, union all'd together, then there'd be no size limit. For concatenation, how about something like (for SQL Server): select table.ID + ': ' + table.VALUE as zero, table_1.ID + ': " + table_1.VALUE as one, table_2.ID + ': " + table_2.VALUE as two table_3.ID + ': " + table_3.VALUE as three, from table where ID = 'aa' inner join (select sql_run, ID + ': ' + VALUE from table where ID = 'bb') as table_1 on table.sql_run = table_1.sql_run inner join (select sql_run, ID + ': ' + VALUE from table where ID = 'cc') as table_2 on table.sql_run = table_2.sql_run inner join (select sql_run, ID + ': ' + VALUE from table where ID = 'ee') as table_3 on table.sql_run = table_3.sql_run Note: sql_run is the number of one of your 10K queries. Please see the column I've added to your example below. This code concatenates your records into a single row by aliasing the same source. If you don't always have the same number of fields in the output you'd have to use a "left outer" join in place of the "inner", and handle the resulting nulls in the select clause. With 10K SQL statements * 5 values per statement this should run very quickly even with outer joins. You *could* write this code in Access, but you'd have to be careful when saving and reusing it since the parser converts the parentheses in the sub queries to square brackets and appends a period - which doesn't work nicely if you later modify the code. You'd be better off to create another SQL Server view that uses the first as a source. It holds the above code (e.g. table <-- 10kView). Then, you call the results of the second view in a pass-through query to get it into Access quickly, and use a regular query (with the pass-through as its source) to place the results in an Access table. I'm guessing a few seconds run time for the whole thing -- after you have the first view created. Fred -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Friday, August 17, 2007 10:58 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] SQL Speed Thanks Fred, Making a union with my 10k SQLs would put me almost to 4million characters. As for the concatenation ...its not just the fields... it will concatenate 2 fields from every record returned from each SQL statement: sql_run ID VALUE 1 aa -15 1 bb 18.5 1 cc -21.2 1 ee 16 Lets say these records are returned from 1 SQL...I then need the ID and Value from each of these records stored as a string: aa -15: bb 18.5: cc -21.2: ee 16 ...or something similar. and then do it again for the other 9999 SQLs. Thanks, Mark A. Matte >From: "Fred Hooper" >Reply-To: Access Developers discussion and problem >solving >To: "'Access Developers discussion and problem >solving'" >Subject: Re: [AccessD] SQL Speed >Date: Thu, 16 Aug 2007 18:35:49 -0400 > >Hi Mark, > >I don't know how long an SQL statement can be, but I've written some very >long ones - at least 5k characters. When you find out the limit you could >just use a loop and maybe have to run 2 or 3 (or 50) queries - still much >better than 10k. > >You could adapt Gustav's "sort with union all" idea by placing "select n as >ID_no" as the first field and separate the results later using that #. If >they have different numbers of fields, then place dummy fields where >needed. > >The results get into the temp table by having another query that uses the >pass-through query as its source. > >I suggested this because of my experience: I was placing information on all >of the tables/fields in an SQL Server database (about 13k fields) into an >Access table so I could more easily learn the database. First, I tried a >direct SQL statement against the database. It ran a couple of seconds in >Query Analyzer. When I used it as a recordset to fill the table, I killed >it >in a few minutes - but it was going to run at least an hour. The >pass-through query fills the table (through another query) in 2-3 seconds. > >Also, why not concatenate the fields in SQL? > >Fred > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte >Sent: Thursday, August 16, 2007 11:26 AM >To: accessd at databaseadvisors.com >Subject: Re: [AccessD] SQL Speed > >Thanks Fred, > >But I need to do take the results of each statement and send them >individually somewhere(either email or temp table)... > > >...and can an SQL statement be that long? > >Thanks, > >Mark A. Matte > > > >From: "Fred Hooper" > >Reply-To: Access Developers discussion and problem > >solving > >To: "'Access Developers discussion and problem > >solving'" > >Subject: Re: [AccessD] SQL Speed > >Date: Wed, 15 Aug 2007 18:07:26 -0400 > > > >Hi Mark, > > > >Is there any chance you could string those 10k runs together with union > >all's? If so, you could run all of them at once with a pass-though query, > >which would be *much* faster than 10k separate runs. > > > >Fred > > > >-----Original Message----- > >From: accessd-bounces at databaseadvisors.com > >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte > >Sent: Wednesday, August 15, 2007 9:47 AM > >To: accessd at databaseadvisors.com > >Subject: Re: [AccessD] SQL Speed > > > >I'm not returning 4K rows...the table I'm running these SQL statements > >againts has 4K rows... > > > >In one table I have 10K SQL statements(1 per row). The SQL statements >are > >all filtering on indexed currency and integer fields. I pullin all 10K >as > >a > > > >recordset....and loop through...for each row, I execute that SQL againts >a > >table with about 4K rows...and take the results (typically between 1 and >20 > >rows) and concatenated a Char4 and a Currency field from each of the > >results > > > >into 1 long string (this will later be the body of an email). > > > >So...I run 10K SQL statements, one right after the other, against a table > >with about 4K rows, returning between 1 and 20 records per SQL statement. > > > >To run these 10K and store the results it takes just less than 2 > >Minutes...if this is slow...please share how long (average) you would > >expect > > > >it to take 10K queries to run? > > > >There is more detail in the emails below... > > > > >From: "Christopher Hawkins" > > >Reply-To: Access Developers discussion and problem > > >solving > > >To: > > >Subject: Re: [AccessD] SQL Speed > > >Date: Tue, 14 Aug 2007 20:08:09 -0600 > > > > > >Hi, Mark. I think I missed this topic the first time it came up. > > > > > >This is a hard question to answer, mainly because you don't mention >what > > >type of data is contained in the 4K rows you're querying, and how many > > >fields are involved. You also mention that the results will be > > >"concatenated", which seems like an odd thing to do. I would expect >you > >to > > > > >run a sum or a count or something, not a concatenation of 4K rows. Can > >you > > > > >provide more detail? > > > > > >Off the cuff, 2 minutes sounds slow to return 4K rows of the kind of >data > > >I > > > > >tend to work with, but like I said, I'm not exactly clear on what >you're > > >doing with those rows. > > > > > >Can you show us the actual SQL? > > > > > >-C- > > > > > >---------------------------------------- > > > > > >From: "Mark A Matte" > > >Sent: Tuesday, August 14, 2007 3:12 AM > > >To: accessd at databaseadvisors.com > > >Subject: Re: [AccessD] SQL Speed > > > > > >Hello All, > > > > > >I haven't received any responses after the email below. I am >specifically > > >curious about the realistic time to run 10K sql statements (see below). > > >Access vs. SQL server? > > > > > >Any feedback is greatly appreciated. > > > > > >Thanks, > > > > > >Mark A. Matte > > > > > > >From: "Mark A Matte" > > > >Reply-To: Access Developers discussion and problem > > > >solving > > > >To: accessd at databaseadvisors.com > > > >Subject: Re: [AccessD] SQL Speed > > > >Date: Thu, 09 Aug 2007 17:27:51 +0000 > > > > > > > >Thanks to All for your responses...(everything discussed below is > > >currently > > > >in A2K) > > > > > > > >I'm at the beginning of this and appreciate any ideas...This program > >has > > > >been running 24/7 for the last 3 years...but only runs 1 SQL >statement. > > >It > > > >runs the statement, loops through the results and concatenates the > > >results, > > > >and then emails the results (for these tests we are going to forget > >about > > > >the email part and just store the results in a separate table). > > > > > > > >Last night I put a loop on this and ran it 10K times. It took just > >under > > >2 > > > >minutes. To make it more realistic, (the 10k SQL statements will all >be > > > >different, but very similar) I removed the SQL from the code and >placed > > >it > > > >in a memo field in another table (tblSQL). Next, I modified the code >so > > > >now > > > >it first pulls all records form tblSQL (I added 10k rows...but all >the > > >same > > > >SQL statement)...then for each of these records...it does the stuff I > > > >outlined above. > > > > > > > >Again, it ran in just under 2 minutes. I need this to be as fast as > > > >possible, and I don't know what a realistic time is. I apparently can > >do > > > >10K in less than 2 minutes, but is this good, bad, average? > > > > > > > >Any thoughts/ideas? > > > > > > > >Thanks, > > > > > > > >Mark A. Matte > > > > > > > > > > > > >From: Jim Lawrence > > > > >Reply-To: Access Developers discussion and problem > > > > >solving > > > > >To: "'Access Developers discussion and problem > > > > >solving'" > > > > >Subject: Re: [AccessD] SQL Speed > > > > >Date: Wed, 08 Aug 2007 22:15:43 -0700 > > > > > > > > > >Well, you have probably already thought of this, but any queries >that > > >can > > > > >run on the SQL server as pre-compiled stored procedures will give > > > >superior > > > > >performance. > > > > > > > > > >Jim > > > > > > > > > >-----Original Message----- > > > > >From: accessd-bounces at databaseadvisors.com > > > > >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A > >Matte > > > > >Sent: Wednesday, August 08, 2007 1:57 PM > > > > >To: accessd at databaseadvisors.com > > > > >Subject: [AccessD] SQL Speed > > > > > > > > > >Hello All, > > > > > > > > > >I am involved in a project that will be web based. The database >will > > > > >either > > > > > > > > > >be access or SQL Server. > > > > > > > > > >The question is: I need to run a bunch (maybe 10K) of SQL >statements > > > > >againts a single table...or flat file, whatever is best, containing > > >about > > > > >4K > > > > > > > > > >rows. The results of each will be appended to a second table, or > > >emailed > > > > >instantly (ahh...idea...good place for a JC style Class). The SQL > > > > >statements themselves will be stored in a table. > > > > > > > > > >Does anyone have any ideas/suggestions about approach? I will need > >ALL > > > >of > > > > >the SQLs to run in less than 5 minutes. I know 1 runs in a fraction > >of > > >a > > > > >second...I just don't know what that fraction is to calculate time > > > >needed. > > > > > > > > > >Being there are so few rows involved...but so many SQL > >statements...and > > > > >speed is an issue...will there be a signicant advantage using SQL > > >Server > > > >or > > > > >Access? > > > > > > > > > >I'm thinking of having the SQLs in a table and looping through and > > > > >executing > > > > > > > > > >each...I just don't know if this is the best approach? > > > > > > > > > >Thanks, > > > > > > > > > >Mark A. Matte > > > > > > > > >_________________________________________________________________ > >Puzzles, trivia teasers, word scrambles and more. Play for your chance to > >win! http://club.live.com/home.aspx?icid=CLUB_hotmailtextlink > > > >-- > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > > > > > >-- > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > >_________________________________________________________________ >Booking a flight? Know when to buy with airfare predictions on MSN Travel. >http://travel.msn.com/Articles/aboutfarecast.aspx&ocid=T001MSN25A07001 > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Now you can see troublebefore he arrives http://newlivehotmail.com/?ocid=TXT_TAGHM_migration_HM_viral_protection_0507 From garykjos at gmail.com Fri Aug 17 17:12:18 2007 From: garykjos at gmail.com (Gary Kjos) Date: Fri, 17 Aug 2007 17:12:18 -0500 Subject: [AccessD] Missing Issues Query In-Reply-To: References: Message-ID: Well what you are after is a left join kind of a query from the table that has all the magazines go the table that has the missing ones with the join option to say "give me all the records" in the table with all the magazines. Then you do a condition on one of the table fields in the other table to test for "IS Null" and you will only get the ones that are missing. GK On 8/17/07, Bryan Carbonnell wrote: > Good Day folks, > > HELP!!! > > It's been so long since I've done anything in Access that I can't even > begin to think of how to create this query. > > What I'm looking for is similar to a "Missing Check" report in > Quickbooks, you know one that lists all of the check numbers that > aren't there. > > What I have is a DB for all my National Geographic Magazines (and > eventually all my other assorted magazines) and I'm trying to create a > query (and eventually a report) that lists all the issues that are > missing. > > Right now, what I have is a table: > iss_ID > iss_Magazine_FK > iss_Volume > iss_Number > iss_Date > > iss_Magazine_FK is a FK to the name of the Magazine held in another > table (currently it is only holding a value of 1 since I only have 1 > Magazine available to choose from) > iss_Volume is an integer that holds the Volume number (1-212) > iss_Number is an integer that holds the Issue Number (1-6) > iss_Date is a date/time that holds the date of the issue > > How do I even begin to start to write this query? > > -- > Bryan Carbonnell - carbonnb at gmail.com > Life's journey is not to arrive at the grave safely in a well > preserved body, but rather to skid in sideways, totally worn out, > shouting "What a great ride!" > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Gary Kjos garykjos at gmail.com From carbonnb at gmail.com Fri Aug 17 20:46:39 2007 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Fri, 17 Aug 2007 21:46:39 -0400 Subject: [AccessD] Missing Issues Query In-Reply-To: References: Message-ID: On 8/17/07, Gary Kjos wrote: > Well what you are after is a left join kind of a query from the table > that has all the magazines go the table that has the missing ones with > the join option to say "give me all the records" in the table with all > the magazines. Then you do a condition on one of the table fields in > the other table to test for "IS Null" and you will only get the ones > that are missing. Maybe I'm missing what you are saying Gary, but I've only got 1 table, and that is the table with the issues of the magazine that I have. I don't have table with a full list of potential issues. -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" From adtp at airtelbroadband.in Sat Aug 18 00:42:06 2007 From: adtp at airtelbroadband.in (A.D.TEJPAL) Date: Sat, 18 Aug 2007 11:12:06 +0530 Subject: [AccessD] Missing Issues Query References: Message-ID: <00e501c7e15a$b9982290$b357a27a@pcadt> Bryan, My sample db named TrackMissingAndDuplicates might be of interest to you. It is available at Rogers Access Library (other developers library). Link - http://www.rogersaccesslibrary.com/OtherLibraries.asp#Tejpal,A.D. Best wishes, A.D.Tejpal --------------- ----- Original Message ----- From: Bryan Carbonnell To: Access Developers discussion and problem solving Sent: Saturday, August 18, 2007 02:36 Subject: [AccessD] Missing Issues Query Good Day folks, HELP!!! It's been so long since I've done anything in Access that I can't even begin to think of how to create this query. What I'm looking for is similar to a "Missing Check" report in Quickbooks, you know one that lists all of the check numbers that aren't there. What I have is a DB for all my National Geographic Magazines (and eventually all my other assorted magazines) and I'm trying to create a query (and eventually a report) that lists all the issues that are missing. Right now, what I have is a table: iss_ID iss_Magazine_FK iss_Volume iss_Number iss_Date iss_Magazine_FK is a FK to the name of the Magazine held in another table (currently it is only holding a value of 1 since I only have 1 Magazine available to choose from) iss_Volume is an integer that holds the Volume number (1-212) iss_Number is an integer that holds the Issue Number (1-6) iss_Date is a date/time that holds the date of the issue How do I even begin to start to write this query? -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" From rockysmolin at bchacc.com Sat Aug 18 06:38:10 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Sat, 18 Aug 2007 04:38:10 -0700 Subject: [AccessD] Names in tables - best practices Message-ID: <000901c7e18c$412e8fb0$0301a8c0@HAL9005> Dear List: I have a legacy app in which the client is considering making a big change. There are currently threes table which have names in them - employees of the user (a law firm), employees of the user's clients (many to many person to client), and foreign agents. There may be more in the future - vendors, for example. What we are considering is consolidating the three tables into a general 'Persons' table and adding a field for 'role' - containing a FK to a Role table so we can add more roles as time goes on. Is this a good idea? The roles don't really overlap. And there are fields which are unique to each of the three tables. Right now I don't think there are any duplicated names among the three tables. So one role per name should suffice. Any opinion welcome. MTIA Rocky From rockysmolin at bchacc.com Sat Aug 18 06:43:10 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Sat, 18 Aug 2007 04:43:10 -0700 Subject: [AccessD] Missing Issues Query In-Reply-To: <00e501c7e15a$b9982290$b357a27a@pcadt> Message-ID: <000e01c7e18c$f3dd8300$0301a8c0@HAL9005> Bryan: I usually do something like this with a bit of code. I find it much easier than trying to fashion a query. You could start with a query to retrieve all the magazines in sequence using volume and sequence. Then just loop through the recordset comparing the current to the previous to see if it's in sequence. Make a temp table of all the missing one and use the temp table as the basis for the report. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of A.D.TEJPAL Sent: Friday, August 17, 2007 10:42 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Missing Issues Query Bryan, My sample db named TrackMissingAndDuplicates might be of interest to you. It is available at Rogers Access Library (other developers library). Link - http://www.rogersaccesslibrary.com/OtherLibraries.asp#Tejpal,A.D. Best wishes, A.D.Tejpal --------------- ----- Original Message ----- From: Bryan Carbonnell To: Access Developers discussion and problem solving Sent: Saturday, August 18, 2007 02:36 Subject: [AccessD] Missing Issues Query Good Day folks, HELP!!! It's been so long since I've done anything in Access that I can't even begin to think of how to create this query. What I'm looking for is similar to a "Missing Check" report in Quickbooks, you know one that lists all of the check numbers that aren't there. What I have is a DB for all my National Geographic Magazines (and eventually all my other assorted magazines) and I'm trying to create a query (and eventually a report) that lists all the issues that are missing. Right now, what I have is a table: iss_ID iss_Magazine_FK iss_Volume iss_Number iss_Date iss_Magazine_FK is a FK to the name of the Magazine held in another table (currently it is only holding a value of 1 since I only have 1 Magazine available to choose from) iss_Volume is an integer that holds the Volume number (1-212) iss_Number is an integer that holds the Issue Number (1-6) iss_Date is a date/time that holds the date of the issue How do I even begin to start to write this query? -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.484 / Virus Database: 269.12.0/959 - Release Date: 8/17/2007 5:43 PM From tinanfields at torchlake.com Sat Aug 18 07:03:37 2007 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Sat, 18 Aug 2007 08:03:37 -0400 Subject: [AccessD] Missing Issues Query In-Reply-To: References: Message-ID: <46C6E019.3000806@torchlake.com> Hi Bryan, If I understand your problem correctly, you have entries only for those issues you possess - there are no blank issue entries. So, you will be looking for a skip in the issue numbers or in the dates. Aside from writing something that meanders through all the dates or some combination of volume-issue-date to see where the pattern breaks, would it work for you to use a temporary date table with the dates that SHOULD all be there and use that table with your issues table and do the outer join trick against it? That would give you the dates that are missing and you could fill in the appropriate volume and issue numbers by inspection. Hope that helps a little. Tina Bryan Carbonnell wrote: > On 8/17/07, Gary Kjos wrote: > >> Well what you are after is a left join kind of a query from the table >> that has all the magazines go the table that has the missing ones with >> the join option to say "give me all the records" in the table with all >> the magazines. Then you do a condition on one of the table fields in >> the other table to test for "IS Null" and you will only get the ones >> that are missing. >> > > Maybe I'm missing what you are saying Gary, but I've only got 1 table, > and that is the table with the issues of the magazine that I have. I > don't have table with a full list of potential issues. > > From ssharkins at gmail.com Sat Aug 18 08:28:57 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Sat, 18 Aug 2007 09:28:57 -0400 Subject: [AccessD] Names in tables - best practices In-Reply-To: <000901c7e18c$412e8fb0$0301a8c0@HAL9005> References: <000901c7e18c$412e8fb0$0301a8c0@HAL9005> Message-ID: <002701c7e19b$bf655c60$048e01c7@SusanOne> Is this a good idea? The roles don't really overlap. And there are fields which are unique to each of the three tables. Right now I don't think there are any duplicated names among the three tables. So one role per name should suffice. =====It's what I'd do. Remember though, as long as the tables are similar in structure, you can use the UNION operator to combine them if you. Susan H. From ssharkins at gmail.com Sat Aug 18 08:28:57 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Sat, 18 Aug 2007 09:28:57 -0400 Subject: [AccessD] Missing Issues Query In-Reply-To: <46C6E019.3000806@torchlake.com> References: <46C6E019.3000806@torchlake.com> Message-ID: <002b01c7e19b$c10db530$048e01c7@SusanOne> Seems like if they're in consecutive order, you could use an expression to compare... Gustav, if you see this, didn't we write about this? We used a form to find missing values -- might be exactly what Bryan needs. If I can find it, I'll send the article and example database to you Bryan. Also, I know I've done this in reports -- finding holes in sequential numbers. Susan H. Hi Bryan, If I understand your problem correctly, you have entries only for those issues you possess - there are no blank issue entries. So, you will be looking for a skip in the issue numbers or in the dates. Aside from writing something that meanders through all the dates or some combination of volume-issue-date to see where the pattern breaks, would it work for you to use a temporary date table with the dates that SHOULD all be there and use that table with your issues table and do the outer join trick against it? That would give you the dates that are missing and you could fill in the appropriate volume and issue numbers by inspection. Hope that helps a little. Tina Bryan Carbonnell wrote: > On 8/17/07, Gary Kjos wrote: > >> Well what you are after is a left join kind of a query from the table >> that has all the magazines go the table that has the missing ones >> with the join option to say "give me all the records" in the table >> with all the magazines. Then you do a condition on one of the table >> fields in the other table to test for "IS Null" and you will only get >> the ones that are missing. >> > > Maybe I'm missing what you are saying Gary, but I've only got 1 table, > and that is the table with the issues of the magazine that I have. I > don't have table with a full list of potential issues. > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.484 / Virus Database: 269.12.0/957 - Release Date: 8/16/2007 1:46 PM From garykjos at gmail.com Sat Aug 18 15:50:44 2007 From: garykjos at gmail.com (Gary Kjos) Date: Sat, 18 Aug 2007 15:50:44 -0500 Subject: [AccessD] Missing Issues Query In-Reply-To: References: Message-ID: OOps. Guess I didn't read your question very well. How about if you make a working table with all the volume numbers for each magazine then. Then do what I said before. GK On 8/17/07, Bryan Carbonnell wrote: > On 8/17/07, Gary Kjos wrote: > > Well what you are after is a left join kind of a query from the table > > that has all the magazines go the table that has the missing ones with > > the join option to say "give me all the records" in the table with all > > the magazines. Then you do a condition on one of the table fields in > > the other table to test for "IS Null" and you will only get the ones > > that are missing. > > Maybe I'm missing what you are saying Gary, but I've only got 1 table, > and that is the table with the issues of the magazine that I have. I > don't have table with a full list of potential issues. > > -- > Bryan Carbonnell - carbonnb at gmail.com > Life's journey is not to arrive at the grave safely in a well > preserved body, but rather to skid in sideways, totally worn out, > shouting "What a great ride!" > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Gary Kjos garykjos at gmail.com From ssharkins at gmail.com Sat Aug 18 16:15:49 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Sat, 18 Aug 2007 17:15:49 -0400 Subject: [AccessD] Missing Issues Query In-Reply-To: References: Message-ID: <006301c7e1dc$f464cd10$048e01c7@SusanOne> Bryan, I sent you and article and demo mdb off line. Let me know if you don't get it because I'm not sure if I have your correct e-mail address. Susan H. Maybe I'm missing what you are saying Gary, but I've only got 1 table, and that is the table with the issues of the magazine that I have. I don't have table with a full list of potential issues. From rockysmolin at bchacc.com Sat Aug 18 16:56:23 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Sat, 18 Aug 2007 14:56:23 -0700 Subject: [AccessD] Sending Email Through Outlook Message-ID: <007901c7e1e2$9e3af170$0301a8c0@HAL9005> Dear List: Re: automated sending of email from Access - The SMTP approach ran into a problem with the client's server. Their tech support doesn't seem to know what the problem is. So he's' considering using Outlook again but there's the problem of that nag message from Outlook asking if you want to let the program send email and how long to allow it. Click Yes solves the problem but the end user would have to have Click Yes and have it running to be sure that the emails would go out automatically. Is there any way around this problem. He'd like to use Outlook. Can that message be manipulated programmatically? Turned off temporarily then turned back on again? MTIA Rocky From carbonnb at gmail.com Sat Aug 18 18:33:41 2007 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Sat, 18 Aug 2007 19:33:41 -0400 Subject: [AccessD] Missing Issues Query In-Reply-To: References: Message-ID: On 8/18/07, Gary Kjos wrote: > OOps. Guess I didn't read your question very well. How about if you > make a working table with all the volume numbers for each magazine > then. Then do what I said before. That's what I ended up doing at 1:30 this morning. -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" From carbonnb at gmail.com Sat Aug 18 18:34:33 2007 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Sat, 18 Aug 2007 19:34:33 -0400 Subject: [AccessD] Missing Issues Query In-Reply-To: <006301c7e1dc$f464cd10$048e01c7@SusanOne> References: <006301c7e1dc$f464cd10$048e01c7@SusanOne> Message-ID: On 8/18/07, Susan Harkins wrote: > Bryan, I sent you and article and demo mdb off line. Let me know if you > don't get it because I'm not sure if I have your correct e-mail address. Got it. Will have a look and see what's what. Thanks -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" From dwaters at usinternet.com Sat Aug 18 22:44:25 2007 From: dwaters at usinternet.com (Dan Waters) Date: Sat, 18 Aug 2007 22:44:25 -0500 Subject: [AccessD] Sending Email Through Outlook In-Reply-To: <007901c7e1e2$9e3af170$0301a8c0@HAL9005> References: <007901c7e1e2$9e3af170$0301a8c0@HAL9005> Message-ID: <003e01c7e213$3d98f980$0200a8c0@danwaters> Hi Rocky, One of my customers uses Outlook this way. Their Exchange administrators deactivated the nag message using (I believe) Exchange administrator functionality. Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Saturday, August 18, 2007 4:56 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Sending Email Through Outlook Dear List: Re: automated sending of email from Access - The SMTP approach ran into a problem with the client's server. Their tech support doesn't seem to know what the problem is. So he's' considering using Outlook again but there's the problem of that nag message from Outlook asking if you want to let the program send email and how long to allow it. Click Yes solves the problem but the end user would have to have Click Yes and have it running to be sure that the emails would go out automatically. Is there any way around this problem. He'd like to use Outlook. Can that message be manipulated programmatically? Turned off temporarily then turned back on again? MTIA Rocky -- 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 19 10:17:51 2007 From: accessd at shaw.ca (Jim Lawrence) Date: Sun, 19 Aug 2007 08:17:51 -0700 Subject: [AccessD] Access Front-End via Web Enabled In-Reply-To: Message-ID: <57A23C48A7794CC3A61CD8F82C89DFFA@creativesystemdesigns.com> Hi Charlotte: I have some knowledge with and it is amazing how far someone can get with just a little knowledge. I have a couple sites that look good...and the code is getting better. As an aside: I believe that all/most applications will be running off the web in a few years. We have to look no further than the battles between Google and Microsoft to see the front-lines. On the other hand MS makes some of the best web development tools out there. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, August 16, 2007 8:16 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access Front-End via Web Enabled I haven't worked with it at all in several years because virtually all our development is WinForms using VB.Net. I never worked with ASP, so I don't know how different ASP.Net is. There are lots of books on it, which should help. The biggie is getting used to the .Net object model where EVERYTHING is an object and there are multiple ways to do something, some of them more right than others. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Julie Taylor Sent: Thursday, August 16, 2007 8:10 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access Front-End via Web Enabled Hi Charlotte, Thank you for answering me. Was it difficult to get into? Is the transition from Access a difficult one? By the way, for all of you members in Italy..........I was there this summer. Absolutely beautiful country. People were wonderful. You have such a treasure! My photos are on my website, if anyone would like to see them. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, August 16, 2007 10:57 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access Front-End via Web Enabled You won't like the answer: ASP.Net Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Julie Reardon-Taylor Sent: Thursday, August 16, 2007 7:20 AM To: accessd at databaseadvisors.com Subject: [AccessD] Access Front-End via Web Enabled Looking for some opinions on what people are using for a web-enabled access database. I have used replication for some applications, but would now like to move the front-end to a browser so that the input can be done via a web page over a wireless connection. Have toyed with data access pages, but not sure if that is a good solution. This application has three subform levels and the scripting may be an issue in DAP. Did I read a posting on AccessD at some point that DAP are going to be out in the next version of Access? What are other people using as forms via the www? Julie Reardon PRO-SOFT OF NY, INC. 44 Public Square Suite #5 Watertown, NY 13601 Phone: 315.785.0319 Fax: 315.785.0323 www.pro-soft.net NYS IT Services Contract CMT026A NYS Certified Woman-Owned Business _________________________________________________________________ Learn.Laugh.Share. Reallivemoms is right place! http://www.reallivemoms.com?ocid=TXT_TAGHM&loc=us -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Sun Aug 19 11:00:24 2007 From: accessd at shaw.ca (Jim Lawrence) Date: Sun, 19 Aug 2007 09:00:24 -0700 Subject: [AccessD] Access Front-End via Web Enabled In-Reply-To: <004701c7e01d$673f17d0$0301a8c0@HAL9005> Message-ID: <045AEF0244B8420E943E27EC6A23D218@creativesystemdesigns.com> Hi Rocky: Undoubtedly, late for this thread but they are both languages for building web based applications. ASP was created by Microsoft and has much of the syntax of VBA so it is very easy to learn for all us access users... ASP.Net is ASP's next generation and is much more powerful application with an extensive. PHP is an open-source web application development tool. It is extensive in its features (it reminds me of old FoxPro with 5 to 10 ways to do anything) and is now the most used web application development tool out there. It runs happily on both Windows and Linux servers/stations PHP is also not difficult to learn but to really master can take a long time. There is a huge supply of template applications for PHP out there. Microsoft has provided an excellent development interface and there are a host of sample applications which can be used as templates for your own designs. To develop in either of these applications you have to have IIS or Apache (I do not know whether Apache and ASP.net play together) running on your development station/server. It is then easy to install ASP.Net on that station/server but if you have not installed PHP before you are really going to have to read that installation guide. I have both running off my development server and have applications that use pages created with both. I like working with ASP.Net as it is accompanied with an excellent Visual Application Development tool and is almost as user friendly as Access. But like Access to really use it you have to be willing to get down and dirty. I could prattle on for a while but I believe the covers the high-lights. HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Thursday, August 16, 2007 8:52 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access Front-End via Web Enabled At the risk of running afoul of a moderator: what's the difference between ASP and PHP in terms of when you would use each? (I'm thinking I should learn one of these.) TIA Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, August 16, 2007 7:57 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access Front-End via Web Enabled You won't like the answer: ASP.Net Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Julie Reardon-Taylor Sent: Thursday, August 16, 2007 7:20 AM To: accessd at databaseadvisors.com Subject: [AccessD] Access Front-End via Web Enabled Looking for some opinions on what people are using for a web-enabled access database. I have used replication for some applications, but would now like to move the front-end to a browser so that the input can be done via a web page over a wireless connection. Have toyed with data access pages, but not sure if that is a good solution. This application has three subform levels and the scripting may be an issue in DAP. Did I read a posting on AccessD at some point that DAP are going to be out in the next version of Access? What are other people using as forms via the www? Julie Reardon PRO-SOFT OF NY, INC. 44 Public Square Suite #5 Watertown, NY 13601 Phone: 315.785.0319 Fax: 315.785.0323 www.pro-soft.net NYS IT Services Contract CMT026A NYS Certified Woman-Owned Business _________________________________________________________________ Learn.Laugh.Share. Reallivemoms is right place! http://www.reallivemoms.com?ocid=TXT_TAGHM&loc=us -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.19/955 - Release Date: 8/15/2007 4:55 PM -- 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 19 11:12:40 2007 From: accessd at shaw.ca (Jim Lawrence) Date: Sun, 19 Aug 2007 09:12:40 -0700 Subject: [AccessD] Can't delete records from this table In-Reply-To: <20070816211704.20407BE65@smtp-auth.no-ip.com> Message-ID: Hi John: You can not delete on 2 or more tables simultaneously, in a single sequel statement just like you can not add to 2 or more tables... without coding that is.... or using cascading deletes... forget I said that! Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Thursday, August 16, 2007 2:17 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Can't delete records from this table I have a table where if I create a simple query - join tblX to tblY on PKID, turn into delete * - it gives me the message "can't delete records from this table". Yet if I turn it back into a select query I can highlight records and delete them. Any ideas why? John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From markamatte at hotmail.com Mon Aug 20 09:20:17 2007 From: markamatte at hotmail.com (Mark A Matte) Date: Mon, 20 Aug 2007 14:20:17 +0000 Subject: [AccessD] SQL Speed In-Reply-To: <005e01c7e114$1f125880$af15c048@fredxp> Message-ID: Thanks Fred, as for the concatenation...I will never know what the values will be...so I can't include them in the solution. Mark >From: "Fred Hooper" >Reply-To: Access Developers discussion and problem >solving >To: "'Access Developers discussion and problem >solving'" >Subject: Re: [AccessD] SQL Speed >Date: Fri, 17 Aug 2007 17:18:13 -0400 > >Hi Mark, > >I've run SQL on SQL Server & Oracle that's *much* longer, so that's not a >limitation. You could use VBA to create a view in SQL Server that holds >your >10K SQL statements, union all'd together, then there'd be no size limit. > >For concatenation, how about something like (for SQL Server): > >select table.ID + ': ' + table.VALUE as zero, > table_1.ID + ': " + table_1.VALUE as one, > table_2.ID + ': " + table_2.VALUE as two > table_3.ID + ': " + table_3.VALUE as three, >from table where ID = 'aa' >inner join (select sql_run, ID + ': ' + VALUE > from table > where ID = 'bb') as table_1 > on table.sql_run = table_1.sql_run >inner join (select sql_run, ID + ': ' + VALUE > from table > where ID = 'cc') as table_2 > on table.sql_run = table_2.sql_run >inner join (select sql_run, ID + ': ' + VALUE > from table > where ID = 'ee') as table_3 > on table.sql_run = table_3.sql_run > >Note: sql_run is the number of one of your 10K queries. Please see the >column I've added to your example below. > >This code concatenates your records into a single row by aliasing the same >source. If you don't always have the same number of fields in the output >you'd have to use a "left outer" join in place of the "inner", and handle >the resulting nulls in the select clause. With 10K SQL statements * 5 >values >per statement this should run very quickly even with outer joins. > >You *could* write this code in Access, but you'd have to be careful when >saving and reusing it since the parser converts the parentheses in the sub >queries to square brackets and appends a period - which doesn't work nicely >if you later modify the code. > >You'd be better off to create another SQL Server view that uses the first >as >a source. It holds the above code (e.g. table <-- 10kView). Then, you call >the results of the second view in a pass-through query to get it into >Access >quickly, and use a regular query (with the pass-through as its source) to >place the results in an Access table. > >I'm guessing a few seconds run time for the whole thing -- after you have >the first view created. > >Fred > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte >Sent: Friday, August 17, 2007 10:58 AM >To: accessd at databaseadvisors.com >Subject: Re: [AccessD] SQL Speed > >Thanks Fred, > >Making a union with my 10k SQLs would put me almost to 4million characters. > >As for the concatenation ...its not just the fields... it will concatenate >2 > >fields from every record returned from each SQL statement: > >sql_run ID VALUE > 1 aa -15 > 1 bb 18.5 > 1 cc -21.2 > 1 ee 16 > >Lets say these records are returned from 1 SQL...I then need the ID and >Value from each of these records stored as a string: > >aa -15: bb 18.5: cc -21.2: ee 16 > >...or something similar. and then do it again for the other 9999 SQLs. > >Thanks, > >Mark A. Matte > > > > > > >From: "Fred Hooper" > >Reply-To: Access Developers discussion and problem > >solving > >To: "'Access Developers discussion and problem > >solving'" > >Subject: Re: [AccessD] SQL Speed > >Date: Thu, 16 Aug 2007 18:35:49 -0400 > > > >Hi Mark, > > > >I don't know how long an SQL statement can be, but I've written some very > >long ones - at least 5k characters. When you find out the limit you could > >just use a loop and maybe have to run 2 or 3 (or 50) queries - still much > >better than 10k. > > > >You could adapt Gustav's "sort with union all" idea by placing "select n >as > >ID_no" as the first field and separate the results later using that #. If > >they have different numbers of fields, then place dummy fields where > >needed. > > > >The results get into the temp table by having another query that uses the > >pass-through query as its source. > > > >I suggested this because of my experience: I was placing information on >all > >of the tables/fields in an SQL Server database (about 13k fields) into an > >Access table so I could more easily learn the database. First, I tried a > >direct SQL statement against the database. It ran a couple of seconds in > >Query Analyzer. When I used it as a recordset to fill the table, I killed > >it > >in a few minutes - but it was going to run at least an hour. The > >pass-through query fills the table (through another query) in 2-3 >seconds. > > > >Also, why not concatenate the fields in SQL? > > > >Fred > > > >-----Original Message----- > >From: accessd-bounces at databaseadvisors.com > >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte > >Sent: Thursday, August 16, 2007 11:26 AM > >To: accessd at databaseadvisors.com > >Subject: Re: [AccessD] SQL Speed > > > >Thanks Fred, > > > >But I need to do take the results of each statement and send them > >individually somewhere(either email or temp table)... > > > > > >...and can an SQL statement be that long? > > > >Thanks, > > > >Mark A. Matte > > > > > > >From: "Fred Hooper" > > >Reply-To: Access Developers discussion and problem > > >solving > > >To: "'Access Developers discussion and problem > > >solving'" > > >Subject: Re: [AccessD] SQL Speed > > >Date: Wed, 15 Aug 2007 18:07:26 -0400 > > > > > >Hi Mark, > > > > > >Is there any chance you could string those 10k runs together with union > > >all's? If so, you could run all of them at once with a pass-though >query, > > >which would be *much* faster than 10k separate runs. > > > > > >Fred > > > > > >-----Original Message----- > > >From: accessd-bounces at databaseadvisors.com > > >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte > > >Sent: Wednesday, August 15, 2007 9:47 AM > > >To: accessd at databaseadvisors.com > > >Subject: Re: [AccessD] SQL Speed > > > > > >I'm not returning 4K rows...the table I'm running these SQL statements > > >againts has 4K rows... > > > > > >In one table I have 10K SQL statements(1 per row). The SQL statements > >are > > >all filtering on indexed currency and integer fields. I pullin all 10K > >as > > >a > > > > > >recordset....and loop through...for each row, I execute that SQL >againts > >a > > >table with about 4K rows...and take the results (typically between 1 >and > >20 > > >rows) and concatenated a Char4 and a Currency field from each of the > > >results > > > > > >into 1 long string (this will later be the body of an email). > > > > > >So...I run 10K SQL statements, one right after the other, against a >table > > >with about 4K rows, returning between 1 and 20 records per SQL >statement. > > > > > >To run these 10K and store the results it takes just less than 2 > > >Minutes...if this is slow...please share how long (average) you would > > >expect > > > > > >it to take 10K queries to run? > > > > > >There is more detail in the emails below... > > > > > > >From: "Christopher Hawkins" > > > >Reply-To: Access Developers discussion and problem > > > >solving > > > >To: > > > >Subject: Re: [AccessD] SQL Speed > > > >Date: Tue, 14 Aug 2007 20:08:09 -0600 > > > > > > > >Hi, Mark. I think I missed this topic the first time it came up. > > > > > > > >This is a hard question to answer, mainly because you don't mention > >what > > > >type of data is contained in the 4K rows you're querying, and how >many > > > >fields are involved. You also mention that the results will be > > > >"concatenated", which seems like an odd thing to do. I would expect > >you > > >to > > > > > > >run a sum or a count or something, not a concatenation of 4K rows. >Can > > >you > > > > > > >provide more detail? > > > > > > > >Off the cuff, 2 minutes sounds slow to return 4K rows of the kind of > >data > > > > >I > > > > > > >tend to work with, but like I said, I'm not exactly clear on what > >you're > > > >doing with those rows. > > > > > > > >Can you show us the actual SQL? > > > > > > > >-C- > > > > > > > >---------------------------------------- > > > > > > > >From: "Mark A Matte" > > > >Sent: Tuesday, August 14, 2007 3:12 AM > > > >To: accessd at databaseadvisors.com > > > >Subject: Re: [AccessD] SQL Speed > > > > > > > >Hello All, > > > > > > > >I haven't received any responses after the email below. I am > >specifically > > > >curious about the realistic time to run 10K sql statements (see >below). > > > >Access vs. SQL server? > > > > > > > >Any feedback is greatly appreciated. > > > > > > > >Thanks, > > > > > > > >Mark A. Matte > > > > > > > > >From: "Mark A Matte" > > > > >Reply-To: Access Developers discussion and problem > > > > >solving > > > > >To: accessd at databaseadvisors.com > > > > >Subject: Re: [AccessD] SQL Speed > > > > >Date: Thu, 09 Aug 2007 17:27:51 +0000 > > > > > > > > > >Thanks to All for your responses...(everything discussed below is > > > >currently > > > > >in A2K) > > > > > > > > > >I'm at the beginning of this and appreciate any ideas...This >program > > >has > > > > >been running 24/7 for the last 3 years...but only runs 1 SQL > >statement. > > > >It > > > > >runs the statement, loops through the results and concatenates the > > > >results, > > > > >and then emails the results (for these tests we are going to forget > > >about > > > > >the email part and just store the results in a separate table). > > > > > > > > > >Last night I put a loop on this and ran it 10K times. It took just > > >under > > > >2 > > > > >minutes. To make it more realistic, (the 10k SQL statements will >all > >be > > > > >different, but very similar) I removed the SQL from the code and > >placed > > > >it > > > > >in a memo field in another table (tblSQL). Next, I modified the >code > >so > > > > >now > > > > >it first pulls all records form tblSQL (I added 10k rows...but all > >the > > > >same > > > > >SQL statement)...then for each of these records...it does the stuff >I > > > > >outlined above. > > > > > > > > > >Again, it ran in just under 2 minutes. I need this to be as fast as > > > > >possible, and I don't know what a realistic time is. I apparently >can > > >do > > > > >10K in less than 2 minutes, but is this good, bad, average? > > > > > > > > > >Any thoughts/ideas? > > > > > > > > > >Thanks, > > > > > > > > > >Mark A. Matte > > > > > > > > > > > > > > > >From: Jim Lawrence > > > > > >Reply-To: Access Developers discussion and problem > > > > > >solving > > > > > >To: "'Access Developers discussion and problem > > > > > >solving'" > > > > > >Subject: Re: [AccessD] SQL Speed > > > > > >Date: Wed, 08 Aug 2007 22:15:43 -0700 > > > > > > > > > > > >Well, you have probably already thought of this, but any queries > >that > > > >can > > > > > >run on the SQL server as pre-compiled stored procedures will give > > > > >superior > > > > > >performance. > > > > > > > > > > > >Jim > > > > > > > > > > > >-----Original Message----- > > > > > >From: accessd-bounces at databaseadvisors.com > > > > > >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A > > >Matte > > > > > >Sent: Wednesday, August 08, 2007 1:57 PM > > > > > >To: accessd at databaseadvisors.com > > > > > >Subject: [AccessD] SQL Speed > > > > > > > > > > > >Hello All, > > > > > > > > > > > >I am involved in a project that will be web based. The database > >will > > > > > >either > > > > > > > > > > > >be access or SQL Server. > > > > > > > > > > > >The question is: I need to run a bunch (maybe 10K) of SQL > >statements > > > > > >againts a single table...or flat file, whatever is best, >containing > > > >about > > > > > >4K > > > > > > > > > > > >rows. The results of each will be appended to a second table, or > > > >emailed > > > > > >instantly (ahh...idea...good place for a JC style Class). The SQL > > > > > >statements themselves will be stored in a table. > > > > > > > > > > > >Does anyone have any ideas/suggestions about approach? I will >need > > >ALL > > > > >of > > > > > >the SQLs to run in less than 5 minutes. I know 1 runs in a >fraction > > >of > > > >a > > > > > >second...I just don't know what that fraction is to calculate >time > > > > >needed. > > > > > > > > > > > >Being there are so few rows involved...but so many SQL > > >statements...and > > > > > >speed is an issue...will there be a signicant advantage using SQL > > > >Server > > > > >or > > > > > >Access? > > > > > > > > > > > >I'm thinking of having the SQLs in a table and looping through >and > > > > > >executing > > > > > > > > > > > >each...I just don't know if this is the best approach? > > > > > > > > > > > >Thanks, > > > > > > > > > > > >Mark A. Matte > > > > > > > > > > > >_________________________________________________________________ > > >Puzzles, trivia teasers, word scrambles and more. Play for your chance >to > > >win! http://club.live.com/home.aspx?icid=CLUB_hotmailtextlink > > > > > >-- > > >AccessD mailing list > > >AccessD at databaseadvisors.com > > >http://databaseadvisors.com/mailman/listinfo/accessd > > >Website: http://www.databaseadvisors.com > > > > > > > > >-- > > >AccessD mailing list > > >AccessD at databaseadvisors.com > > >http://databaseadvisors.com/mailman/listinfo/accessd > > >Website: http://www.databaseadvisors.com > > > >_________________________________________________________________ > >Booking a flight? Know when to buy with airfare predictions on MSN >Travel. > >http://travel.msn.com/Articles/aboutfarecast.aspx&ocid=T001MSN25A07001 > > > >-- > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > > > > > >-- > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > >_________________________________________________________________ >Now you can see troublebefore he arrives >http://newlivehotmail.com/?ocid=TXT_TAGHM_migration_HM_viral_protection_0507 > > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ See what you?re getting into?before you go there http://newlivehotmail.com/?ocid=TXT_TAGHM_migration_HM_viral_preview_0507 From Gustav at cactus.dk Mon Aug 20 09:30:48 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 20 Aug 2007 16:30:48 +0200 Subject: [AccessD] Missing Issues Query Message-ID: Hi Susan That was only to find the lowest "free" number, not all numbers. I vote for Rocky's suggestion; browsing the list in code is probably the simplest and fastest method. DAO is very fast for such operations. /gustav >>> ssharkins at gmail.com 18-08-2007 15:28 >>> Seems like if they're in consecutive order, you could use an expression to compare... Gustav, if you see this, didn't we write about this? We used a form to find missing values -- might be exactly what Bryan needs. If I can find it, I'll send the article and example database to you Bryan. Also, I know I've done this in reports -- finding holes in sequential numbers. Susan H. Hi Bryan, If I understand your problem correctly, you have entries only for those issues you possess - there are no blank issue entries. So, you will be looking for a skip in the issue numbers or in the dates. Aside from writing something that meanders through all the dates or some combination of volume-issue-date to see where the pattern breaks, would it work for you to use a temporary date table with the dates that SHOULD all be there and use that table with your issues table and do the outer join trick against it? That would give you the dates that are missing and you could fill in the appropriate volume and issue numbers by inspection. Hope that helps a little. Tina Bryan Carbonnell wrote: > On 8/17/07, Gary Kjos wrote: > >> Well what you are after is a left join kind of a query from the table >> that has all the magazines go the table that has the missing ones >> with the join option to say "give me all the records" in the table >> with all the magazines. Then you do a condition on one of the table >> fields in the other table to test for "IS Null" and you will only get >> the ones that are missing. >> > > Maybe I'm missing what you are saying Gary, but I've only got 1 table, > and that is the table with the issues of the magazine that I have. I > don't have table with a full list of potential issues. From ssharkins at gmail.com Mon Aug 20 09:43:38 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Mon, 20 Aug 2007 10:43:38 -0400 Subject: [AccessD] Missing Issues Query In-Reply-To: References: Message-ID: <008f01c7e338$85634e20$048e01c7@SusanOne> Well, it sounds like a good article topic. ;) Susan H. Hi Susan That was only to find the lowest "free" number, not all numbers. I vote for Rocky's suggestion; browsing the list in code is probably the simplest and fastest method. DAO is very fast for such operations. /gustav >>> ssharkins at gmail.com 18-08-2007 15:28 >>> Seems like if they're in consecutive order, you could use an expression to compare... Gustav, if you see this, didn't we write about this? We used a form to find missing values -- might be exactly what Bryan needs. If I can find it, I'll send the article and example database to you Bryan. Also, I know I've done this in reports -- finding holes in sequential numbers. Susan H. Hi Bryan, If I understand your problem correctly, you have entries only for those issues you possess - there are no blank issue entries. So, you will be looking for a skip in the issue numbers or in the dates. Aside from writing something that meanders through all the dates or some combination of volume-issue-date to see where the pattern breaks, would it work for you to use a temporary date table with the dates that SHOULD all be there and use that table with your issues table and do the outer join trick against it? That would give you the dates that are missing and you could fill in the appropriate volume and issue numbers by inspection. Hope that helps a little. Tina Bryan Carbonnell wrote: > On 8/17/07, Gary Kjos wrote: > >> Well what you are after is a left join kind of a query from the table >> that has all the magazines go the table that has the missing ones >> with the join option to say "give me all the records" in the table >> with all the magazines. Then you do a condition on one of the table >> fields in the other table to test for "IS Null" and you will only get >> the ones that are missing. >> > > Maybe I'm missing what you are saying Gary, but I've only got 1 table, > and that is the table with the issues of the magazine that I have. I > don't have table with a full list of potential issues. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.484 / Virus Database: 269.12.0/961 - Release Date: 8/19/2007 7:27 AM From garykjos at gmail.com Mon Aug 20 09:54:30 2007 From: garykjos at gmail.com (Gary Kjos) Date: Mon, 20 Aug 2007 09:54:30 -0500 Subject: [AccessD] OT: Pics from JC Conference In-Reply-To: <280045EB324E42F4BE5D635271F12C80@creativesystemdesigns.com> References: <280045EB324E42F4BE5D635271F12C80@creativesystemdesigns.com> Message-ID: From: Jim Lawrence Date: Aug 19, 2007 10:10 AM Subject: OT: Pics from JC Conference To: Gary Kjos Hi Gary and all: Not a thing has come back to me yet.... As soon as it does I will post it. I am not even sure of all the individuals that went. GENERAL CALL: Anyone that when to the first JC Smokey Mountain Conference and have photos, documents, files, demos etc. please contact me off-line! :-) Jim -----Original Message----- From: Gary Kjos [mailto:garykjos at gmail.com] Sent: Wednesday, August 15, 2007 7:24 AM To: Jim Lawrence Subject: Fwd: [AccessD] OT: Pics from JC Conference Hi Jim, Any update on this? GK ---------- Forwarded message ---------- From: Mark A Matte Date: Aug 14, 2007 12:00 PM Subject: Re: [AccessD] OT: Pics from JC Conference To: accessd at databaseadvisors.com Still just curious if the pics from the JC Smokey Mnt conference are on the site somewhere? Thanks, Mark A. Matte -- Gary Kjos garykjos at gmail.com From markamatte at hotmail.com Mon Aug 20 10:16:32 2007 From: markamatte at hotmail.com (Mark A Matte) Date: Mon, 20 Aug 2007 15:16:32 +0000 Subject: [AccessD] OT: Pics from JC Conference In-Reply-To: Message-ID: I sent a zip file to Jim...what email Should I send it to? Thanks, Mark A. Matte >From: "Gary Kjos" >Reply-To: Access Developers discussion and problem >solving >To: "Access Developers discussion and problem >solving" >Subject: [AccessD] OT: Pics from JC Conference >Date: Mon, 20 Aug 2007 09:54:30 -0500 > >From: Jim Lawrence >Date: Aug 19, 2007 10:10 AM >Subject: OT: Pics from JC Conference >To: Gary Kjos > > >Hi Gary and all: > >Not a thing has come back to me yet.... As soon as it does I will post it. >I >am not even sure of all the individuals that went. > >GENERAL CALL: > >Anyone that when to the first JC Smokey Mountain Conference and have >photos, >documents, files, demos etc. please contact me off-line! :-) > >Jim > >-----Original Message----- >From: Gary Kjos [mailto:garykjos at gmail.com] >Sent: Wednesday, August 15, 2007 7:24 AM >To: Jim Lawrence >Subject: Fwd: [AccessD] OT: Pics from JC Conference > >Hi Jim, > >Any update on this? > >GK > >---------- Forwarded message ---------- >From: Mark A Matte >Date: Aug 14, 2007 12:00 PM >Subject: Re: [AccessD] OT: Pics from JC Conference >To: accessd at databaseadvisors.com > > >Still just curious if the pics from the JC Smokey Mnt conference are on the >site >somewhere? > >Thanks, > >Mark A. Matte > > > >-- >Gary Kjos >garykjos at gmail.com >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ More photos, more messages, more storage?get 2GB with Windows Live Hotmail. http://imagine-windowslive.com/hotmail/?locale=en-us&ocid=TXT_TAGHM_migration_HM_mini_2G_0507 From cfoust at infostatsystems.com Mon Aug 20 10:22:46 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 20 Aug 2007 08:22:46 -0700 Subject: [AccessD] Names in tables - best practices In-Reply-To: <000901c7e18c$412e8fb0$0301a8c0@HAL9005> References: <000901c7e18c$412e8fb0$0301a8c0@HAL9005> Message-ID: Definitely combine the tables. Maintenance is much simpler. If some of the data collected is radically different for different roles, put the common fields in the persons table and use one-to-one joins to tables containing the unique data collected for that particular role. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Saturday, August 18, 2007 4:38 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Names in tables - best practices Dear List: I have a legacy app in which the client is considering making a big change. There are currently threes table which have names in them - employees of the user (a law firm), employees of the user's clients (many to many person to client), and foreign agents. There may be more in the future - vendors, for example. What we are considering is consolidating the three tables into a general 'Persons' table and adding a field for 'role' - containing a FK to a Role table so we can add more roles as time goes on. Is this a good idea? The roles don't really overlap. And there are fields which are unique to each of the three tables. Right now I don't think there are any duplicated names among the three tables. So one role per name should suffice. Any opinion welcome. MTIA Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From garykjos at gmail.com Mon Aug 20 10:54:05 2007 From: garykjos at gmail.com (Gary Kjos) Date: Mon, 20 Aug 2007 10:54:05 -0500 Subject: [AccessD] OT: Pics from JC Conference In-Reply-To: References: Message-ID: The message from him that I forwarded to the list appears to have come from accessd at shaw.ca Is that right Jim? GK On 8/20/07, Mark A Matte wrote: > I sent a zip file to Jim...what email Should I send it to? > > > Thanks, > > Mark A. Matte > > > >From: "Gary Kjos" > >Reply-To: Access Developers discussion and problem > >solving > >To: "Access Developers discussion and problem > >solving" > >Subject: [AccessD] OT: Pics from JC Conference > >Date: Mon, 20 Aug 2007 09:54:30 -0500 > > > >From: Jim Lawrence > >Date: Aug 19, 2007 10:10 AM > >Subject: OT: Pics from JC Conference > >To: Gary Kjos > > > > > >Hi Gary and all: > > > >Not a thing has come back to me yet.... As soon as it does I will post it. > >I > >am not even sure of all the individuals that went. > > > >GENERAL CALL: > > > >Anyone that when to the first JC Smokey Mountain Conference and have > >photos, > >documents, files, demos etc. please contact me off-line! :-) > > > >Jim > > > >-----Original Message----- > >From: Gary Kjos [mailto:garykjos at gmail.com] > >Sent: Wednesday, August 15, 2007 7:24 AM > >To: Jim Lawrence > >Subject: Fwd: [AccessD] OT: Pics from JC Conference > > > >Hi Jim, > > > >Any update on this? > > > >GK > > > >---------- Forwarded message ---------- > >From: Mark A Matte > >Date: Aug 14, 2007 12:00 PM > >Subject: Re: [AccessD] OT: Pics from JC Conference > >To: accessd at databaseadvisors.com > > > > > >Still just curious if the pics from the JC Smokey Mnt conference are on the > >site > >somewhere? > > > >Thanks, > > > >Mark A. Matte > > > > > > > >-- > >Gary Kjos > >garykjos at gmail.com > >-- > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > > _________________________________________________________________ > More photos, more messages, more storage?get 2GB with Windows Live Hotmail. > http://imagine-windowslive.com/hotmail/?locale=en-us&ocid=TXT_TAGHM_migration_HM_mini_2G_0507 > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- Gary Kjos garykjos at gmail.com From rockysmolin at bchacc.com Mon Aug 20 14:04:31 2007 From: rockysmolin at bchacc.com (rockysmolin at bchacc.com) Date: Mon, 20 Aug 2007 15:04:31 -0400 Subject: [AccessD] Names in tables - best practices Message-ID: <380-22007812019431526@M2W030.mail2web.com> Thanks for that, Charlotte. I thought it would be better not tocombine them at this point, but I see what you're saying and the bet is that upfront cost of redesigning the db wil probably be offset by simplicity of maintenance? Original Message: ----------------- From: Charlotte Foust cfoust at infostatsystems.com Date: Mon, 20 Aug 2007 08:22:46 -0700 To: accessd at databaseadvisors.com Subject: Re: [AccessD] Names in tables - best practices Definitely combine the tables. Maintenance is much simpler. If some of the data collected is radically different for different roles, put the common fields in the persons table and use one-to-one joins to tables containing the unique data collected for that particular role. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Saturday, August 18, 2007 4:38 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Names in tables - best practices Dear List: I have a legacy app in which the client is considering making a big change. There are currently threes table which have names in them - employees of the user (a law firm), employees of the user's clients (many to many person to client), and foreign agents. There may be more in the future - vendors, for example. What we are considering is consolidating the three tables into a general 'Persons' table and adding a field for 'role' - containing a FK to a Role table so we can add more roles as time goes on. Is this a good idea? The roles don't really overlap. And there are fields which are unique to each of the three tables. Right now I don't think there are any duplicated names among the three tables. So one role per name should suffice. Any opinion welcome. MTIA Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------------------------------------------------------------- mail2web.com ? Enhanced email for the mobile individual based on Microsoft? Exchange - http://link.mail2web.com/Personal/EnhancedEmail From cfoust at infostatsystems.com Mon Aug 20 15:04:46 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 20 Aug 2007 13:04:46 -0700 Subject: [AccessD] Names in tables - best practices In-Reply-To: <380-22007812019431526@M2W030.mail2web.com> References: <380-22007812019431526@M2W030.mail2web.com> Message-ID: That's my experience. However, what are you going to do about the same person having multiple roles? (Never happen, right? HAH) That might better be covered by having a persons table holding the minimal basic info on the person and a join table (something like PersonRole) with the person ID and the Role ID. That would allow you to have the same person hold multiple roles but would eliminate having to maintain multiple records for that person. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of rockysmolin at bchacc.com Sent: Monday, August 20, 2007 12:05 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Names in tables - best practices Thanks for that, Charlotte. I thought it would be better not tocombine them at this point, but I see what you're saying and the bet is that upfront cost of redesigning the db wil probably be offset by simplicity of maintenance? Original Message: ----------------- From: Charlotte Foust cfoust at infostatsystems.com Date: Mon, 20 Aug 2007 08:22:46 -0700 To: accessd at databaseadvisors.com Subject: Re: [AccessD] Names in tables - best practices Definitely combine the tables. Maintenance is much simpler. If some of the data collected is radically different for different roles, put the common fields in the persons table and use one-to-one joins to tables containing the unique data collected for that particular role. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Saturday, August 18, 2007 4:38 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Names in tables - best practices Dear List: I have a legacy app in which the client is considering making a big change. There are currently threes table which have names in them - employees of the user (a law firm), employees of the user's clients (many to many person to client), and foreign agents. There may be more in the future - vendors, for example. What we are considering is consolidating the three tables into a general 'Persons' table and adding a field for 'role' - containing a FK to a Role table so we can add more roles as time goes on. Is this a good idea? The roles don't really overlap. And there are fields which are unique to each of the three tables. Right now I don't think there are any duplicated names among the three tables. So one role per name should suffice. Any opinion welcome. MTIA Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------------------------------------------------------------- mail2web.com - Enhanced email for the mobile individual based on Microsoft(r) Exchange - http://link.mail2web.com/Personal/EnhancedEmail -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From fahooper at trapo.com Mon Aug 20 15:23:01 2007 From: fahooper at trapo.com (Fred Hooper) Date: Mon, 20 Aug 2007 16:23:01 -0400 Subject: [AccessD] SQL Speed In-Reply-To: Message-ID: <00a201c7e367$e7dfa9c0$af15c048@fredxp> The concatenation doesn't rely on the values, it relies on the aa, bb, ... If you don't know what *they* are in advance, then you'd have to construct the concatenation code guided by the result of a "select distinct" -- same solution, slightly more complex code to implement it -- that is VBA code to construct SQL code to create the needed view. Fred -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Monday, August 20, 2007 10:20 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] SQL Speed Thanks Fred, as for the concatenation...I will never know what the values will be...so I can't include them in the solution. Mark >From: "Fred Hooper" >Reply-To: Access Developers discussion and problem >solving >To: "'Access Developers discussion and problem >solving'" >Subject: Re: [AccessD] SQL Speed >Date: Fri, 17 Aug 2007 17:18:13 -0400 > >Hi Mark, > >I've run SQL on SQL Server & Oracle that's *much* longer, so that's not a >limitation. You could use VBA to create a view in SQL Server that holds >your >10K SQL statements, union all'd together, then there'd be no size limit. > >For concatenation, how about something like (for SQL Server): > >select table.ID + ': ' + table.VALUE as zero, > table_1.ID + ': " + table_1.VALUE as one, > table_2.ID + ': " + table_2.VALUE as two > table_3.ID + ': " + table_3.VALUE as three, >from table where ID = 'aa' >inner join (select sql_run, ID + ': ' + VALUE > from table > where ID = 'bb') as table_1 > on table.sql_run = table_1.sql_run >inner join (select sql_run, ID + ': ' + VALUE > from table > where ID = 'cc') as table_2 > on table.sql_run = table_2.sql_run >inner join (select sql_run, ID + ': ' + VALUE > from table > where ID = 'ee') as table_3 > on table.sql_run = table_3.sql_run > >Note: sql_run is the number of one of your 10K queries. Please see the >column I've added to your example below. > >This code concatenates your records into a single row by aliasing the same >source. If you don't always have the same number of fields in the output >you'd have to use a "left outer" join in place of the "inner", and handle >the resulting nulls in the select clause. With 10K SQL statements * 5 >values >per statement this should run very quickly even with outer joins. > >You *could* write this code in Access, but you'd have to be careful when >saving and reusing it since the parser converts the parentheses in the sub >queries to square brackets and appends a period - which doesn't work nicely >if you later modify the code. > >You'd be better off to create another SQL Server view that uses the first >as >a source. It holds the above code (e.g. table <-- 10kView). Then, you call >the results of the second view in a pass-through query to get it into >Access >quickly, and use a regular query (with the pass-through as its source) to >place the results in an Access table. > >I'm guessing a few seconds run time for the whole thing -- after you have >the first view created. > >Fred > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte >Sent: Friday, August 17, 2007 10:58 AM >To: accessd at databaseadvisors.com >Subject: Re: [AccessD] SQL Speed > >Thanks Fred, > >Making a union with my 10k SQLs would put me almost to 4million characters. > >As for the concatenation ...its not just the fields... it will concatenate >2 > >fields from every record returned from each SQL statement: > >sql_run ID VALUE > 1 aa -15 > 1 bb 18.5 > 1 cc -21.2 > 1 ee 16 > >Lets say these records are returned from 1 SQL...I then need the ID and >Value from each of these records stored as a string: > >aa -15: bb 18.5: cc -21.2: ee 16 > >...or something similar. and then do it again for the other 9999 SQLs. > >Thanks, > >Mark A. Matte > > > > > > >From: "Fred Hooper" > >Reply-To: Access Developers discussion and problem > >solving > >To: "'Access Developers discussion and problem > >solving'" > >Subject: Re: [AccessD] SQL Speed > >Date: Thu, 16 Aug 2007 18:35:49 -0400 > > > >Hi Mark, > > > >I don't know how long an SQL statement can be, but I've written some very > >long ones - at least 5k characters. When you find out the limit you could > >just use a loop and maybe have to run 2 or 3 (or 50) queries - still much > >better than 10k. > > > >You could adapt Gustav's "sort with union all" idea by placing "select n >as > >ID_no" as the first field and separate the results later using that #. If > >they have different numbers of fields, then place dummy fields where > >needed. > > > >The results get into the temp table by having another query that uses the > >pass-through query as its source. > > > >I suggested this because of my experience: I was placing information on >all > >of the tables/fields in an SQL Server database (about 13k fields) into an > >Access table so I could more easily learn the database. First, I tried a > >direct SQL statement against the database. It ran a couple of seconds in > >Query Analyzer. When I used it as a recordset to fill the table, I killed > >it > >in a few minutes - but it was going to run at least an hour. The > >pass-through query fills the table (through another query) in 2-3 >seconds. > > > >Also, why not concatenate the fields in SQL? > > > >Fred > > > >-----Original Message----- > >From: accessd-bounces at databaseadvisors.com > >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte > >Sent: Thursday, August 16, 2007 11:26 AM > >To: accessd at databaseadvisors.com > >Subject: Re: [AccessD] SQL Speed > > > >Thanks Fred, > > > >But I need to do take the results of each statement and send them > >individually somewhere(either email or temp table)... > > > > > >...and can an SQL statement be that long? > > > >Thanks, > > > >Mark A. Matte > > > > > > >From: "Fred Hooper" > > >Reply-To: Access Developers discussion and problem > > >solving > > >To: "'Access Developers discussion and problem > > >solving'" > > >Subject: Re: [AccessD] SQL Speed > > >Date: Wed, 15 Aug 2007 18:07:26 -0400 > > > > > >Hi Mark, > > > > > >Is there any chance you could string those 10k runs together with union > > >all's? If so, you could run all of them at once with a pass-though >query, > > >which would be *much* faster than 10k separate runs. > > > > > >Fred > > > > > >-----Original Message----- > > >From: accessd-bounces at databaseadvisors.com > > >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte > > >Sent: Wednesday, August 15, 2007 9:47 AM > > >To: accessd at databaseadvisors.com > > >Subject: Re: [AccessD] SQL Speed > > > > > >I'm not returning 4K rows...the table I'm running these SQL statements > > >againts has 4K rows... > > > > > >In one table I have 10K SQL statements(1 per row). The SQL statements > >are > > >all filtering on indexed currency and integer fields. I pullin all 10K > >as > > >a > > > > > >recordset....and loop through...for each row, I execute that SQL >againts > >a > > >table with about 4K rows...and take the results (typically between 1 >and > >20 > > >rows) and concatenated a Char4 and a Currency field from each of the > > >results > > > > > >into 1 long string (this will later be the body of an email). > > > > > >So...I run 10K SQL statements, one right after the other, against a >table > > >with about 4K rows, returning between 1 and 20 records per SQL >statement. > > > > > >To run these 10K and store the results it takes just less than 2 > > >Minutes...if this is slow...please share how long (average) you would > > >expect > > > > > >it to take 10K queries to run? > > > > > >There is more detail in the emails below... > > > > > > >From: "Christopher Hawkins" > > > >Reply-To: Access Developers discussion and problem > > > >solving > > > >To: > > > >Subject: Re: [AccessD] SQL Speed > > > >Date: Tue, 14 Aug 2007 20:08:09 -0600 > > > > > > > >Hi, Mark. I think I missed this topic the first time it came up. > > > > > > > >This is a hard question to answer, mainly because you don't mention > >what > > > >type of data is contained in the 4K rows you're querying, and how >many > > > >fields are involved. You also mention that the results will be > > > >"concatenated", which seems like an odd thing to do. I would expect > >you > > >to > > > > > > >run a sum or a count or something, not a concatenation of 4K rows. >Can > > >you > > > > > > >provide more detail? > > > > > > > >Off the cuff, 2 minutes sounds slow to return 4K rows of the kind of > >data > > > > >I > > > > > > >tend to work with, but like I said, I'm not exactly clear on what > >you're > > > >doing with those rows. > > > > > > > >Can you show us the actual SQL? > > > > > > > >-C- > > > > > > > >---------------------------------------- > > > > > > > >From: "Mark A Matte" > > > >Sent: Tuesday, August 14, 2007 3:12 AM > > > >To: accessd at databaseadvisors.com > > > >Subject: Re: [AccessD] SQL Speed > > > > > > > >Hello All, > > > > > > > >I haven't received any responses after the email below. I am > >specifically > > > >curious about the realistic time to run 10K sql statements (see >below). > > > >Access vs. SQL server? > > > > > > > >Any feedback is greatly appreciated. > > > > > > > >Thanks, > > > > > > > >Mark A. Matte > > > > > > > > >From: "Mark A Matte" > > > > >Reply-To: Access Developers discussion and problem > > > > >solving > > > > >To: accessd at databaseadvisors.com > > > > >Subject: Re: [AccessD] SQL Speed > > > > >Date: Thu, 09 Aug 2007 17:27:51 +0000 > > > > > > > > > >Thanks to All for your responses...(everything discussed below is > > > >currently > > > > >in A2K) > > > > > > > > > >I'm at the beginning of this and appreciate any ideas...This >program > > >has > > > > >been running 24/7 for the last 3 years...but only runs 1 SQL > >statement. > > > >It > > > > >runs the statement, loops through the results and concatenates the > > > >results, > > > > >and then emails the results (for these tests we are going to forget > > >about > > > > >the email part and just store the results in a separate table). > > > > > > > > > >Last night I put a loop on this and ran it 10K times. It took just > > >under > > > >2 > > > > >minutes. To make it more realistic, (the 10k SQL statements will >all > >be > > > > >different, but very similar) I removed the SQL from the code and > >placed > > > >it > > > > >in a memo field in another table (tblSQL). Next, I modified the >code > >so > > > > >now > > > > >it first pulls all records form tblSQL (I added 10k rows...but all > >the > > > >same > > > > >SQL statement)...then for each of these records...it does the stuff >I > > > > >outlined above. > > > > > > > > > >Again, it ran in just under 2 minutes. I need this to be as fast as > > > > >possible, and I don't know what a realistic time is. I apparently >can > > >do > > > > >10K in less than 2 minutes, but is this good, bad, average? > > > > > > > > > >Any thoughts/ideas? > > > > > > > > > >Thanks, > > > > > > > > > >Mark A. Matte > > > > > > > > > > > > > > > >From: Jim Lawrence > > > > > >Reply-To: Access Developers discussion and problem > > > > > >solving > > > > > >To: "'Access Developers discussion and problem > > > > > >solving'" > > > > > >Subject: Re: [AccessD] SQL Speed > > > > > >Date: Wed, 08 Aug 2007 22:15:43 -0700 > > > > > > > > > > > >Well, you have probably already thought of this, but any queries > >that > > > >can > > > > > >run on the SQL server as pre-compiled stored procedures will give > > > > >superior > > > > > >performance. > > > > > > > > > > > >Jim > > > > > > > > > > > >-----Original Message----- > > > > > >From: accessd-bounces at databaseadvisors.com > > > > > >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A > > >Matte > > > > > >Sent: Wednesday, August 08, 2007 1:57 PM > > > > > >To: accessd at databaseadvisors.com > > > > > >Subject: [AccessD] SQL Speed > > > > > > > > > > > >Hello All, > > > > > > > > > > > >I am involved in a project that will be web based. The database > >will > > > > > >either > > > > > > > > > > > >be access or SQL Server. > > > > > > > > > > > >The question is: I need to run a bunch (maybe 10K) of SQL > >statements > > > > > >againts a single table...or flat file, whatever is best, >containing > > > >about > > > > > >4K > > > > > > > > > > > >rows. The results of each will be appended to a second table, or > > > >emailed > > > > > >instantly (ahh...idea...good place for a JC style Class). The SQL > > > > > >statements themselves will be stored in a table. > > > > > > > > > > > >Does anyone have any ideas/suggestions about approach? I will >need > > >ALL > > > > >of > > > > > >the SQLs to run in less than 5 minutes. I know 1 runs in a >fraction > > >of > > > >a > > > > > >second...I just don't know what that fraction is to calculate >time > > > > >needed. > > > > > > > > > > > >Being there are so few rows involved...but so many SQL > > >statements...and > > > > > >speed is an issue...will there be a signicant advantage using SQL > > > >Server > > > > >or > > > > > >Access? > > > > > > > > > > > >I'm thinking of having the SQLs in a table and looping through >and > > > > > >executing > > > > > > > > > > > >each...I just don't know if this is the best approach? > > > > > > > > > > > >Thanks, > > > > > > > > > > > >Mark A. Matte > > > > > > > > > > > >_________________________________________________________________ > > >Puzzles, trivia teasers, word scrambles and more. Play for your chance >to > > >win! http://club.live.com/home.aspx?icid=CLUB_hotmailtextlink > > > > > >-- > > >AccessD mailing list > > >AccessD at databaseadvisors.com > > >http://databaseadvisors.com/mailman/listinfo/accessd > > >Website: http://www.databaseadvisors.com > > > > > > > > >-- > > >AccessD mailing list > > >AccessD at databaseadvisors.com > > >http://databaseadvisors.com/mailman/listinfo/accessd > > >Website: http://www.databaseadvisors.com > > > >_________________________________________________________________ > >Booking a flight? Know when to buy with airfare predictions on MSN >Travel. > >http://travel.msn.com/Articles/aboutfarecast.aspx&ocid=T001MSN25A07001 > > > >-- > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > > > > > >-- > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > >_________________________________________________________________ >Now you can see troublebefore he arrives >http://newlivehotmail.com/?ocid=TXT_TAGHM_migration_HM_viral_protection_050 7 > > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ See what youre getting intobefore you go there http://newlivehotmail.com/?ocid=TXT_TAGHM_migration_HM_viral_preview_0507 From DWUTKA at Marlow.com Mon Aug 20 15:42:26 2007 From: DWUTKA at Marlow.com (Drew Wutka) Date: Mon, 20 Aug 2007 15:42:26 -0500 Subject: [AccessD] Names in tables - best practices In-Reply-To: <380-22007812019431526@M2W030.mail2web.com> Message-ID: Just a thought Rocky, but you could get away without redesigning anything but the tables themselves. One of the handy features of Access is that tables and queries are functionally identical to the things that use them. So, if you rearranged the table structure, you can actually make queries named with the original table names, that display the data the old tables actually showed, and the rest of the system doesn't know the difference. For example, let's say you had tblEmployees and tblCustomers tblEmployees: FirstName LastName EmployeeNumber Etc. tblCustomers: FirstName LastName CustomerNumber If you join this data into tblPeople FirstName LastName IDNumber Employee (yes/no) Customer (yes/no) (this is just an example) If you then had this saved as 'tblEmployees' SELECT FirstName, LastName, IDNumber AS EmployeeNumber FROM tblPeople WHERE Employee=True And this saved as 'tblCustomers' SELECT FirstName, LastName, IDNumber AS EmployeeNumber FROM tblPeople WHERE Customer=True Even though your data structure would be totally different to you, the system would use the queries just like they used the tables. Granted, this is a band-aid approach, because a major structure change should have the system converted to use the advantages of the new structure, but as you can see, this would allow for future changes to utilize the new structure, and let's the current stuff keep chugging along. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of rockysmolin at bchacc.com Sent: Monday, August 20, 2007 2:05 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Names in tables - best practices Thanks for that, Charlotte. I thought it would be better not tocombine them at this point, but I see what you're saying and the bet is that upfront cost of redesigning the db wil probably be offset by simplicity of maintenance? Original Message: ----------------- From: Charlotte Foust cfoust at infostatsystems.com Date: Mon, 20 Aug 2007 08:22:46 -0700 To: accessd at databaseadvisors.com Subject: Re: [AccessD] Names in tables - best practices Definitely combine the tables. Maintenance is much simpler. If some of the data collected is radically different for different roles, put the common fields in the persons table and use one-to-one joins to tables containing the unique data collected for that particular role. Charlotte Foust The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI BusinessSensitve material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. From markamatte at hotmail.com Mon Aug 20 15:55:17 2007 From: markamatte at hotmail.com (Mark A Matte) Date: Mon, 20 Aug 2007 20:55:17 +0000 Subject: [AccessD] SQL Speed In-Reply-To: <00a201c7e367$e7dfa9c0$af15c048@fredxp> Message-ID: the aa, bb, ...are the values....sorry...ID may have been misrepresented...so I can't say where ID=x because I will never know what x is? Sorry for the confusion...mine especially, Thanks, Mark >From: "Fred Hooper" >Reply-To: Access Developers discussion and problem >solving >To: "'Access Developers discussion and problem >solving'" >Subject: Re: [AccessD] SQL Speed >Date: Mon, 20 Aug 2007 16:23:01 -0400 > >The concatenation doesn't rely on the values, it relies on the aa, bb, ... >If you don't know what *they* are in advance, then you'd have to construct >the concatenation code guided by the result of a "select distinct" -- same >solution, slightly more complex code to implement it -- that is VBA code to >construct SQL code to create the needed view. > >Fred > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte >Sent: Monday, August 20, 2007 10:20 AM >To: accessd at databaseadvisors.com >Subject: Re: [AccessD] SQL Speed > >Thanks Fred, > >as for the concatenation...I will never know what the values will be...so I >can't include them in the solution. > >Mark > > > >From: "Fred Hooper" > >Reply-To: Access Developers discussion and problem > >solving > >To: "'Access Developers discussion and problem > >solving'" > >Subject: Re: [AccessD] SQL Speed > >Date: Fri, 17 Aug 2007 17:18:13 -0400 > > > >Hi Mark, > > > >I've run SQL on SQL Server & Oracle that's *much* longer, so that's not a > >limitation. You could use VBA to create a view in SQL Server that holds > >your > >10K SQL statements, union all'd together, then there'd be no size limit. > > > >For concatenation, how about something like (for SQL Server): > > > >select table.ID + ': ' + table.VALUE as zero, > > table_1.ID + ': " + table_1.VALUE as one, > > table_2.ID + ': " + table_2.VALUE as two > > table_3.ID + ': " + table_3.VALUE as three, > >from table where ID = 'aa' > >inner join (select sql_run, ID + ': ' + VALUE > > from table > > where ID = 'bb') as table_1 > > on table.sql_run = table_1.sql_run > >inner join (select sql_run, ID + ': ' + VALUE > > from table > > where ID = 'cc') as table_2 > > on table.sql_run = table_2.sql_run > >inner join (select sql_run, ID + ': ' + VALUE > > from table > > where ID = 'ee') as table_3 > > on table.sql_run = table_3.sql_run > > > >Note: sql_run is the number of one of your 10K queries. Please see the > >column I've added to your example below. > > > >This code concatenates your records into a single row by aliasing the >same > >source. If you don't always have the same number of fields in the output > >you'd have to use a "left outer" join in place of the "inner", and handle > >the resulting nulls in the select clause. With 10K SQL statements * 5 > >values > >per statement this should run very quickly even with outer joins. > > > >You *could* write this code in Access, but you'd have to be careful when > >saving and reusing it since the parser converts the parentheses in the >sub > >queries to square brackets and appends a period - which doesn't work >nicely > >if you later modify the code. > > > >You'd be better off to create another SQL Server view that uses the first > >as > >a source. It holds the above code (e.g. table <-- 10kView). Then, you >call > >the results of the second view in a pass-through query to get it into > >Access > >quickly, and use a regular query (with the pass-through as its source) to > >place the results in an Access table. > > > >I'm guessing a few seconds run time for the whole thing -- after you have > >the first view created. > > > >Fred > > > >-----Original Message----- > >From: accessd-bounces at databaseadvisors.com > >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte > >Sent: Friday, August 17, 2007 10:58 AM > >To: accessd at databaseadvisors.com > >Subject: Re: [AccessD] SQL Speed > > > >Thanks Fred, > > > >Making a union with my 10k SQLs would put me almost to 4million >characters. > > > >As for the concatenation ...its not just the fields... it will >concatenate > >2 > > > >fields from every record returned from each SQL statement: > > > >sql_run ID VALUE > > 1 aa -15 > > 1 bb 18.5 > > 1 cc -21.2 > > 1 ee 16 > > > >Lets say these records are returned from 1 SQL...I then need the ID and > >Value from each of these records stored as a string: > > > >aa -15: bb 18.5: cc -21.2: ee 16 > > > >...or something similar. and then do it again for the other 9999 SQLs. > > > >Thanks, > > > >Mark A. Matte > > > > > > > > > > > > >From: "Fred Hooper" > > >Reply-To: Access Developers discussion and problem > > >solving > > >To: "'Access Developers discussion and problem > > >solving'" > > >Subject: Re: [AccessD] SQL Speed > > >Date: Thu, 16 Aug 2007 18:35:49 -0400 > > > > > >Hi Mark, > > > > > >I don't know how long an SQL statement can be, but I've written some >very > > >long ones - at least 5k characters. When you find out the limit you >could > > >just use a loop and maybe have to run 2 or 3 (or 50) queries - still >much > > >better than 10k. > > > > > >You could adapt Gustav's "sort with union all" idea by placing "select >n > >as > > >ID_no" as the first field and separate the results later using that #. >If > > >they have different numbers of fields, then place dummy fields where > > >needed. > > > > > >The results get into the temp table by having another query that uses >the > > >pass-through query as its source. > > > > > >I suggested this because of my experience: I was placing information on > >all > > >of the tables/fields in an SQL Server database (about 13k fields) into >an > > >Access table so I could more easily learn the database. First, I tried >a > > >direct SQL statement against the database. It ran a couple of seconds >in > > >Query Analyzer. When I used it as a recordset to fill the table, I >killed > > >it > > >in a few minutes - but it was going to run at least an hour. The > > >pass-through query fills the table (through another query) in 2-3 > >seconds. > > > > > >Also, why not concatenate the fields in SQL? > > > > > >Fred > > > > > >-----Original Message----- > > >From: accessd-bounces at databaseadvisors.com > > >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte > > >Sent: Thursday, August 16, 2007 11:26 AM > > >To: accessd at databaseadvisors.com > > >Subject: Re: [AccessD] SQL Speed > > > > > >Thanks Fred, > > > > > >But I need to do take the results of each statement and send them > > >individually somewhere(either email or temp table)... > > > > > > > > >...and can an SQL statement be that long? > > > > > >Thanks, > > > > > >Mark A. Matte > > > > > > > > > >From: "Fred Hooper" > > > >Reply-To: Access Developers discussion and problem > > > >solving > > > >To: "'Access Developers discussion and problem > > > >solving'" > > > >Subject: Re: [AccessD] SQL Speed > > > >Date: Wed, 15 Aug 2007 18:07:26 -0400 > > > > > > > >Hi Mark, > > > > > > > >Is there any chance you could string those 10k runs together with >union > > > >all's? If so, you could run all of them at once with a pass-though > >query, > > > >which would be *much* faster than 10k separate runs. > > > > > > > >Fred > > > > > > > >-----Original Message----- > > > >From: accessd-bounces at databaseadvisors.com > > > >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A >Matte > > > >Sent: Wednesday, August 15, 2007 9:47 AM > > > >To: accessd at databaseadvisors.com > > > >Subject: Re: [AccessD] SQL Speed > > > > > > > >I'm not returning 4K rows...the table I'm running these SQL >statements > > > >againts has 4K rows... > > > > > > > >In one table I have 10K SQL statements(1 per row). The SQL >statements > > >are > > > >all filtering on indexed currency and integer fields. I pullin all >10K > > >as > > > >a > > > > > > > >recordset....and loop through...for each row, I execute that SQL > >againts > > >a > > > >table with about 4K rows...and take the results (typically between 1 > >and > > >20 > > > >rows) and concatenated a Char4 and a Currency field from each of the > > > >results > > > > > > > >into 1 long string (this will later be the body of an email). > > > > > > > >So...I run 10K SQL statements, one right after the other, against a > >table > > > >with about 4K rows, returning between 1 and 20 records per SQL > >statement. > > > > > > > >To run these 10K and store the results it takes just less than 2 > > > >Minutes...if this is slow...please share how long (average) you would > > > >expect > > > > > > > >it to take 10K queries to run? > > > > > > > >There is more detail in the emails below... > > > > > > > > >From: "Christopher Hawkins" > > > > >Reply-To: Access Developers discussion and problem > > > > >solving > > > > >To: > > > > >Subject: Re: [AccessD] SQL Speed > > > > >Date: Tue, 14 Aug 2007 20:08:09 -0600 > > > > > > > > > >Hi, Mark. I think I missed this topic the first time it came up. > > > > > > > > > >This is a hard question to answer, mainly because you don't mention > > >what > > > > >type of data is contained in the 4K rows you're querying, and how > >many > > > > >fields are involved. You also mention that the results will be > > > > >"concatenated", which seems like an odd thing to do. I would >expect > > >you > > > >to > > > > > > > > >run a sum or a count or something, not a concatenation of 4K rows. > >Can > > > >you > > > > > > > > >provide more detail? > > > > > > > > > >Off the cuff, 2 minutes sounds slow to return 4K rows of the kind >of > > >data > > > > > > >I > > > > > > > > >tend to work with, but like I said, I'm not exactly clear on what > > >you're > > > > >doing with those rows. > > > > > > > > > >Can you show us the actual SQL? > > > > > > > > > >-C- > > > > > > > > > >---------------------------------------- > > > > > > > > > >From: "Mark A Matte" > > > > >Sent: Tuesday, August 14, 2007 3:12 AM > > > > >To: accessd at databaseadvisors.com > > > > >Subject: Re: [AccessD] SQL Speed > > > > > > > > > >Hello All, > > > > > > > > > >I haven't received any responses after the email below. I am > > >specifically > > > > >curious about the realistic time to run 10K sql statements (see > >below). > > > > >Access vs. SQL server? > > > > > > > > > >Any feedback is greatly appreciated. > > > > > > > > > >Thanks, > > > > > > > > > >Mark A. Matte > > > > > > > > > > >From: "Mark A Matte" > > > > > >Reply-To: Access Developers discussion and problem > > > > > >solving > > > > > >To: accessd at databaseadvisors.com > > > > > >Subject: Re: [AccessD] SQL Speed > > > > > >Date: Thu, 09 Aug 2007 17:27:51 +0000 > > > > > > > > > > > >Thanks to All for your responses...(everything discussed below is > > > > >currently > > > > > >in A2K) > > > > > > > > > > > >I'm at the beginning of this and appreciate any ideas...This > >program > > > >has > > > > > >been running 24/7 for the last 3 years...but only runs 1 SQL > > >statement. > > > > >It > > > > > >runs the statement, loops through the results and concatenates >the > > > > >results, > > > > > >and then emails the results (for these tests we are going to >forget > > > >about > > > > > >the email part and just store the results in a separate table). > > > > > > > > > > > >Last night I put a loop on this and ran it 10K times. It took >just > > > >under > > > > >2 > > > > > >minutes. To make it more realistic, (the 10k SQL statements will > >all > > >be > > > > > >different, but very similar) I removed the SQL from the code and > > >placed > > > > >it > > > > > >in a memo field in another table (tblSQL). Next, I modified the > >code > > >so > > > > > >now > > > > > >it first pulls all records form tblSQL (I added 10k rows...but >all > > >the > > > > >same > > > > > >SQL statement)...then for each of these records...it does the >stuff > > >I > > > > > >outlined above. > > > > > > > > > > > >Again, it ran in just under 2 minutes. I need this to be as fast >as > > > > > >possible, and I don't know what a realistic time is. I apparently > >can > > > >do > > > > > >10K in less than 2 minutes, but is this good, bad, average? > > > > > > > > > > > >Any thoughts/ideas? > > > > > > > > > > > >Thanks, > > > > > > > > > > > >Mark A. Matte > > > > > > > > > > > > > > > > > > >From: Jim Lawrence > > > > > > >Reply-To: Access Developers discussion and problem > > > > > > >solving > > > > > > >To: "'Access Developers discussion and problem > > > > > > >solving'" > > > > > > >Subject: Re: [AccessD] SQL Speed > > > > > > >Date: Wed, 08 Aug 2007 22:15:43 -0700 > > > > > > > > > > > > > >Well, you have probably already thought of this, but any >queries > > >that > > > > >can > > > > > > >run on the SQL server as pre-compiled stored procedures will >give > > > > > >superior > > > > > > >performance. > > > > > > > > > > > > > >Jim > > > > > > > > > > > > > >-----Original Message----- > > > > > > >From: accessd-bounces at databaseadvisors.com > > > > > > >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark >A > > > >Matte > > > > > > >Sent: Wednesday, August 08, 2007 1:57 PM > > > > > > >To: accessd at databaseadvisors.com > > > > > > >Subject: [AccessD] SQL Speed > > > > > > > > > > > > > >Hello All, > > > > > > > > > > > > > >I am involved in a project that will be web based. The database > > >will > > > > > > >either > > > > > > > > > > > > > >be access or SQL Server. > > > > > > > > > > > > > >The question is: I need to run a bunch (maybe 10K) of SQL > > >statements > > > > > > >againts a single table...or flat file, whatever is best, > >containing > > > > >about > > > > > > >4K > > > > > > > > > > > > > >rows. The results of each will be appended to a second table, >or > > > > >emailed > > > > > > >instantly (ahh...idea...good place for a JC style Class). The >SQL > > > > > > >statements themselves will be stored in a table. > > > > > > > > > > > > > >Does anyone have any ideas/suggestions about approach? I will > >need > > > >ALL > > > > > >of > > > > > > >the SQLs to run in less than 5 minutes. I know 1 runs in a > >fraction > > > >of > > > > >a > > > > > > >second...I just don't know what that fraction is to calculate > >time > > > > > >needed. > > > > > > > > > > > > > >Being there are so few rows involved...but so many SQL > > > >statements...and > > > > > > >speed is an issue...will there be a signicant advantage using >SQL > > > > >Server > > > > > >or > > > > > > >Access? > > > > > > > > > > > > > >I'm thinking of having the SQLs in a table and looping through > >and > > > > > > >executing > > > > > > > > > > > > > >each...I just don't know if this is the best approach? > > > > > > > > > > > > > >Thanks, > > > > > > > > > > > > > >Mark A. Matte > > > > > > > > > > > > > > >_________________________________________________________________ > > > >Puzzles, trivia teasers, word scrambles and more. Play for your >chance > >to > > > >win! http://club.live.com/home.aspx?icid=CLUB_hotmailtextlink > > > > > > > >-- > > > >AccessD mailing list > > > >AccessD at databaseadvisors.com > > > >http://databaseadvisors.com/mailman/listinfo/accessd > > > >Website: http://www.databaseadvisors.com > > > > > > > > > > > >-- > > > >AccessD mailing list > > > >AccessD at databaseadvisors.com > > > >http://databaseadvisors.com/mailman/listinfo/accessd > > > >Website: http://www.databaseadvisors.com > > > > > >_________________________________________________________________ > > >Booking a flight? Know when to buy with airfare predictions on MSN > >Travel. > > >http://travel.msn.com/Articles/aboutfarecast.aspx&ocid=T001MSN25A07001 > > > > > >-- > > >AccessD mailing list > > >AccessD at databaseadvisors.com > > >http://databaseadvisors.com/mailman/listinfo/accessd > > >Website: http://www.databaseadvisors.com > > > > > > > > >-- > > >AccessD mailing list > > >AccessD at databaseadvisors.com > > >http://databaseadvisors.com/mailman/listinfo/accessd > > >Website: http://www.databaseadvisors.com > > > >_________________________________________________________________ > >Now you can see troublebefore he arrives > >http://newlivehotmail.com/?ocid=TXT_TAGHM_migration_HM_viral_protection_050 >7 > > > > > > > >-- > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > >_________________________________________________________________ >See what youre getting intobefore you go there >http://newlivehotmail.com/?ocid=TXT_TAGHM_migration_HM_viral_preview_0507 > > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ A new home for Mom, no cleanup required. All starts here. http://www.reallivemoms.com?ocid=TXT_TAGHM&loc=us From accma at sympatico.ca Mon Aug 20 21:09:06 2007 From: accma at sympatico.ca (Annie Courchesne, CMA) Date: Mon, 20 Aug 2007 22:09:06 -0400 Subject: [AccessD] updated table statistics Message-ID: <003101c7e398$4749c6e0$6800a8c0@anniec> Hi everyone, I've read several time that in order updated table statistics, we should run all query after compacting. Anyone knows if it's only necessary to open and save or actually run it? If we need to actually run it, anyone has any idea on how to "updated table statistics" with a append query without actually adding any records to a table? Thanks! Annie Courchesne, CMA From accessd at shaw.ca Mon Aug 20 22:06:36 2007 From: accessd at shaw.ca (Jim Lawrence) Date: Mon, 20 Aug 2007 20:06:36 -0700 Subject: [AccessD] OT: Pics from JC Conference In-Reply-To: Message-ID: <05B41415BEB043B2A4F00303DE6028C6@creativesystemdesigns.com> Hi Gary: Unfortunately the zip file must have been filtered though I get zip files all the time. Try sending the information to: creativesystemsdesign at shaw.ca Regards Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary Kjos Sent: Monday, August 20, 2007 8:54 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Pics from JC Conference The message from him that I forwarded to the list appears to have come from accessd at shaw.ca Is that right Jim? GK On 8/20/07, Mark A Matte wrote: > I sent a zip file to Jim...what email Should I send it to? > > > Thanks, > > Mark A. Matte > > > >From: "Gary Kjos" > >Reply-To: Access Developers discussion and problem > >solving > >To: "Access Developers discussion and problem > >solving" > >Subject: [AccessD] OT: Pics from JC Conference > >Date: Mon, 20 Aug 2007 09:54:30 -0500 > > > >From: Jim Lawrence > >Date: Aug 19, 2007 10:10 AM > >Subject: OT: Pics from JC Conference > >To: Gary Kjos > > > > > >Hi Gary and all: > > > >Not a thing has come back to me yet.... As soon as it does I will post it. > >I > >am not even sure of all the individuals that went. > > > >GENERAL CALL: > > > >Anyone that when to the first JC Smokey Mountain Conference and have > >photos, > >documents, files, demos etc. please contact me off-line! :-) > > > >Jim > > > >-----Original Message----- > >From: Gary Kjos [mailto:garykjos at gmail.com] > >Sent: Wednesday, August 15, 2007 7:24 AM > >To: Jim Lawrence > >Subject: Fwd: [AccessD] OT: Pics from JC Conference > > > >Hi Jim, > > > >Any update on this? > > > >GK > > > >---------- Forwarded message ---------- > >From: Mark A Matte > >Date: Aug 14, 2007 12:00 PM > >Subject: Re: [AccessD] OT: Pics from JC Conference > >To: accessd at databaseadvisors.com > > > > > >Still just curious if the pics from the JC Smokey Mnt conference are on the > >site > >somewhere? > > > >Thanks, > > > >Mark A. Matte > > > > > > > >-- > >Gary Kjos > >garykjos at gmail.com > >-- > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > > _________________________________________________________________ > More photos, more messages, more storage-get 2GB with Windows Live Hotmail. > http://imagine-windowslive.com/hotmail/?locale=en-us&ocid=TXT_TAGHM_migratio n_HM_mini_2G_0507 > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- Gary Kjos garykjos at gmail.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Mon Aug 20 22:26:13 2007 From: rockysmolin at bchacc.com (rockysmolin at bchacc.com) Date: Mon, 20 Aug 2007 23:26:13 -0400 Subject: [AccessD] Names in tables - best practices Message-ID: <380-22007822132613885@M2W027.mail2web.com> I had planned to add a Roles table and have a RoleID FK in the Persons table. Limits the role to 1 so many-to-many would be more flexible. I'll have to ask the client for an executive decision. Rocky Original Message: ----------------- From: Charlotte Foust cfoust at infostatsystems.com Date: Mon, 20 Aug 2007 13:04:46 -0700 To: accessd at databaseadvisors.com Subject: Re: [AccessD] Names in tables - best practices That's my experience. However, what are you going to do about the same person having multiple roles? (Never happen, right? HAH) That might better be covered by having a persons table holding the minimal basic info on the person and a join table (something like PersonRole) with the person ID and the Role ID. That would allow you to have the same person hold multiple roles but would eliminate having to maintain multiple records for that person. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of rockysmolin at bchacc.com Sent: Monday, August 20, 2007 12:05 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Names in tables - best practices Thanks for that, Charlotte. I thought it would be better not tocombine them at this point, but I see what you're saying and the bet is that upfront cost of redesigning the db wil probably be offset by simplicity of maintenance? Original Message: ----------------- From: Charlotte Foust cfoust at infostatsystems.com Date: Mon, 20 Aug 2007 08:22:46 -0700 To: accessd at databaseadvisors.com Subject: Re: [AccessD] Names in tables - best practices Definitely combine the tables. Maintenance is much simpler. If some of the data collected is radically different for different roles, put the common fields in the persons table and use one-to-one joins to tables containing the unique data collected for that particular role. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Saturday, August 18, 2007 4:38 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Names in tables - best practices Dear List: I have a legacy app in which the client is considering making a big change. There are currently threes table which have names in them - employees of the user (a law firm), employees of the user's clients (many to many person to client), and foreign agents. There may be more in the future - vendors, for example. What we are considering is consolidating the three tables into a general 'Persons' table and adding a field for 'role' - containing a FK to a Role table so we can add more roles as time goes on. Is this a good idea? The roles don't really overlap. And there are fields which are unique to each of the three tables. Right now I don't think there are any duplicated names among the three tables. So one role per name should suffice. Any opinion welcome. MTIA Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------------------------------------------------------------- mail2web.com - Enhanced email for the mobile individual based on Microsoft(r) Exchange - http://link.mail2web.com/Personal/EnhancedEmail -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------------------------------------------------------------- mail2web LIVE ? Free email based on Microsoft? Exchange technology - http://link.mail2web.com/LIVE From rockysmolin at bchacc.com Mon Aug 20 22:29:41 2007 From: rockysmolin at bchacc.com (rockysmolin at bchacc.com) Date: Mon, 20 Aug 2007 23:29:41 -0400 Subject: [AccessD] Names in tables - best practices Message-ID: <380-2200782213294184@M2W026.mail2web.com> There's an awful lot of code, forms, reports, queries tied to the current structure. Lot of tweaking. But it's his dime. Rocky Original Message: ----------------- From: Drew Wutka DWUTKA at marlow.com Date: Mon, 20 Aug 2007 15:42:26 -0500 To: accessd at databaseadvisors.com Subject: Re: [AccessD] Names in tables - best practices Just a thought Rocky, but you could get away without redesigning anything but the tables themselves. One of the handy features of Access is that tables and queries are functionally identical to the things that use them. So, if you rearranged the table structure, you can actually make queries named with the original table names, that display the data the old tables actually showed, and the rest of the system doesn't know the difference. For example, let's say you had tblEmployees and tblCustomers tblEmployees: FirstName LastName EmployeeNumber Etc. tblCustomers: FirstName LastName CustomerNumber If you join this data into tblPeople FirstName LastName IDNumber Employee (yes/no) Customer (yes/no) (this is just an example) If you then had this saved as 'tblEmployees' SELECT FirstName, LastName, IDNumber AS EmployeeNumber FROM tblPeople WHERE Employee=True And this saved as 'tblCustomers' SELECT FirstName, LastName, IDNumber AS EmployeeNumber FROM tblPeople WHERE Customer=True Even though your data structure would be totally different to you, the system would use the queries just like they used the tables. Granted, this is a band-aid approach, because a major structure change should have the system converted to use the advantages of the new structure, but as you can see, this would allow for future changes to utilize the new structure, and let's the current stuff keep chugging along. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of rockysmolin at bchacc.com Sent: Monday, August 20, 2007 2:05 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Names in tables - best practices Thanks for that, Charlotte. I thought it would be better not tocombine them at this point, but I see what you're saying and the bet is that upfront cost of redesigning the db wil probably be offset by simplicity of maintenance? Original Message: ----------------- From: Charlotte Foust cfoust at infostatsystems.com Date: Mon, 20 Aug 2007 08:22:46 -0700 To: accessd at databaseadvisors.com Subject: Re: [AccessD] Names in tables - best practices Definitely combine the tables. Maintenance is much simpler. If some of the data collected is radically different for different roles, put the common fields in the persons table and use one-to-one joins to tables containing the unique data collected for that particular role. Charlotte Foust The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI BusinessSensitve material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------------------------------------------------------------- mail2web LIVE ? Free email based on Microsoft? Exchange technology - http://link.mail2web.com/LIVE From DWUTKA at Marlow.com Tue Aug 21 11:14:35 2007 From: DWUTKA at Marlow.com (Drew Wutka) Date: Tue, 21 Aug 2007 11:14:35 -0500 Subject: [AccessD] Names in tables - best practices In-Reply-To: <380-2200782213294184@M2W026.mail2web.com> Message-ID: But what I was saying is that you could change the table structure, and with creating queries to 'represent' the old tables, you wouldn't have to change ANYTHING as for as forms, reports, code and other queries. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of rockysmolin at bchacc.com Sent: Monday, August 20, 2007 10:30 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Names in tables - best practices There's an awful lot of code, forms, reports, queries tied to the current structure. Lot of tweaking. But it's his dime. Rocky Original Message: ----------------- From: Drew Wutka DWUTKA at marlow.com Date: Mon, 20 Aug 2007 15:42:26 -0500 To: accessd at databaseadvisors.com Subject: Re: [AccessD] Names in tables - best practices Just a thought Rocky, but you could get away without redesigning anything but the tables themselves. One of the handy features of Access is that tables and queries are functionally identical to the things that use them. So, if you rearranged the table structure, you can actually make queries named with the original table names, that display the data the old tables actually showed, and the rest of the system doesn't know the difference. For example, let's say you had tblEmployees and tblCustomers tblEmployees: FirstName LastName EmployeeNumber Etc. tblCustomers: FirstName LastName CustomerNumber If you join this data into tblPeople FirstName LastName IDNumber Employee (yes/no) Customer (yes/no) (this is just an example) If you then had this saved as 'tblEmployees' SELECT FirstName, LastName, IDNumber AS EmployeeNumber FROM tblPeople WHERE Employee=True And this saved as 'tblCustomers' SELECT FirstName, LastName, IDNumber AS EmployeeNumber FROM tblPeople WHERE Customer=True Even though your data structure would be totally different to you, the system would use the queries just like they used the tables. Granted, this is a band-aid approach, because a major structure change should have the system converted to use the advantages of the new structure, but as you can see, this would allow for future changes to utilize the new structure, and let's the current stuff keep chugging along. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of rockysmolin at bchacc.com Sent: Monday, August 20, 2007 2:05 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Names in tables - best practices Thanks for that, Charlotte. I thought it would be better not tocombine them at this point, but I see what you're saying and the bet is that upfront cost of redesigning the db wil probably be offset by simplicity of maintenance? Original Message: ----------------- From: Charlotte Foust cfoust at infostatsystems.com Date: Mon, 20 Aug 2007 08:22:46 -0700 To: accessd at databaseadvisors.com Subject: Re: [AccessD] Names in tables - best practices Definitely combine the tables. Maintenance is much simpler. If some of the data collected is radically different for different roles, put the common fields in the persons table and use one-to-one joins to tables containing the unique data collected for that particular role. Charlotte Foust The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI BusinessSensitve material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------------------------------------------------------------- mail2web LIVE - Free email based on Microsoft(r) Exchange technology - http://link.mail2web.com/LIVE -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI BusinessSensitve material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. From dw-murphy at cox.net Tue Aug 21 16:13:50 2007 From: dw-murphy at cox.net (Doug Murphy) Date: Tue, 21 Aug 2007 14:13:50 -0700 Subject: [AccessD] Query Criteria problem In-Reply-To: Message-ID: <000601c7e438$2ba6c640$0200a8c0@murphy3234aaf1> Folks, I have a query that uses the value of a text box on a form as the criteria for one of its fields. This has been working fine. I made some updates to the form used in the criteria and then updated the query criteria do to a change of a control name. Now I get an error when I try and run the query. The error message is "The Microsoft Jet database engine does not recognize '[Forms]![frmViewExistingOrder]![txtPumpSelect]' as a valid field name or expression.". Any idea on what is going on here. The query runs without the criteria. The criterial were constructed using the builder so the object spelling is correct. I have rebuilt the criteria string several times to make sure there isn't a spelling problem. Have also tested the criteria string in the Immediate window of the VBA IDE and it returns the correct value. I am at a loss. I do this all the time but for some reason this one isn't working. I have tried compact/repair and decompile, recompile, compact and it still errors. Tried to use EatBloat but couldn't get the new database to import the files. I must be missing something on the import, it says it imported. Not my day. Thanks for any assistance. Doug From ssharkins at gmail.com Tue Aug 21 16:20:07 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Tue, 21 Aug 2007 17:20:07 -0400 Subject: [AccessD] Query Criteria problem In-Reply-To: <000601c7e438$2ba6c640$0200a8c0@murphy3234aaf1> References: <000601c7e438$2ba6c640$0200a8c0@murphy3234aaf1> Message-ID: <004501c7e439$0d3081a0$048e01c7@SusanOne> Are you sure the form's open? Susan H. I am at a loss. I do this all the time but for some reason this one isn't working. I have tried compact/repair and decompile, recompile, compact and it still errors. Tried to use EatBloat but couldn't get the new database to import the files. I must be missing something on the import, it says it imported. Not my day. Thanks for any assistance. From dw-murphy at cox.net Tue Aug 21 16:25:56 2007 From: dw-murphy at cox.net (Doug Murphy) Date: Tue, 21 Aug 2007 14:25:56 -0700 Subject: [AccessD] Query Criteria problem In-Reply-To: <004501c7e439$0d3081a0$048e01c7@SusanOne> Message-ID: <000701c7e439$dc533d60$0200a8c0@murphy3234aaf1> Yes, it is open. I can put the criteria string in the Immediate window and get the control value so the string to get the value of the control on the form seems to be correct. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Tuesday, August 21, 2007 2:20 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Query Criteria problem Are you sure the form's open? Susan H. I am at a loss. I do this all the time but for some reason this one isn't working. I have tried compact/repair and decompile, recompile, compact and it still errors. Tried to use EatBloat but couldn't get the new database to import the files. I must be missing something on the import, it says it imported. Not my day. Thanks for any assistance. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From fuller.artful at gmail.com Tue Aug 21 16:32:02 2007 From: fuller.artful at gmail.com (Arthur Fuller) Date: Tue, 21 Aug 2007 17:32:02 -0400 Subject: [AccessD] Query Criteria problem In-Reply-To: <000601c7e438$2ba6c640$0200a8c0@murphy3234aaf1> References: <000601c7e438$2ba6c640$0200a8c0@murphy3234aaf1> Message-ID: <29f585dd0708211432o5bccef43xb55953919a13da28@mail.gmail.com> JC and I are on about this from time to time. My preferred approach is static functions, JC's is a class. Either way, free yourself from dependency on the form. Search the archive for "static functions" or "classes" and learn how to break free of dependence upon forms. A. On 8/21/07, Doug Murphy wrote: > > Folks, > > I have a query that uses the value of a text box on a form as the criteria > for one of its fields. This has been working fine. I made some updates > to > the form used in the criteria and then updated the query criteria do to a > change of a control name. Now I get an error when I try and run the > query. > The error message is "The Microsoft Jet database engine does not recognize > '[Forms]![frmViewExistingOrder]![txtPumpSelect]' as a valid field name or > expression.". Any idea on what is going on here. The query runs without > the criteria. The criterial were constructed using the builder so the > object spelling is correct. I have rebuilt the criteria string several > times to make sure there isn't a spelling problem. Have also tested the > criteria string in the Immediate window of the VBA IDE and it returns the > correct value. > > I am at a loss. I do this all the time but for some reason this one isn't > working. > > I have tried compact/repair and decompile, recompile, compact and it still > errors. Tried to use EatBloat but couldn't get the new database to import > the files. I must be missing something on the import, it says it > imported. > Not my day. > > Thanks for any assistance. > > Doug > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From ssharkins at gmail.com Tue Aug 21 16:35:14 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Tue, 21 Aug 2007 17:35:14 -0400 Subject: [AccessD] Query Criteria problem In-Reply-To: <000701c7e439$dc533d60$0200a8c0@murphy3234aaf1> References: <004501c7e439$0d3081a0$048e01c7@SusanOne> <000701c7e439$dc533d60$0200a8c0@murphy3234aaf1> Message-ID: <004601c7e43b$2aa6b400$048e01c7@SusanOne> That was my only guess. Sorry I'm not help. Susan H. Yes, it is open. I can put the criteria string in the Immediate window and get the control value so the string to get the value of the control on the form seems to be correct. Are you sure the form's open? Susan H. I am at a loss. I do this all the time but for some reason this one isn't working. I have tried compact/repair and decompile, recompile, compact and it still errors. Tried to use EatBloat but couldn't get the new database to import the files. I must be missing something on the import, it says it imported. Not my day. Thanks for any assistance. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.484 / Virus Database: 269.12.1/963 - Release Date: 8/20/2007 5:44 PM From ssharkins at gmail.com Tue Aug 21 16:39:28 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Tue, 21 Aug 2007 17:39:28 -0400 Subject: [AccessD] Query Criteria problem In-Reply-To: <29f585dd0708211432o5bccef43xb55953919a13da28@mail.gmail.com> References: <000601c7e438$2ba6c640$0200a8c0@murphy3234aaf1> <29f585dd0708211432o5bccef43xb55953919a13da28@mail.gmail.com> Message-ID: <004701c7e43b$c2a22c80$048e01c7@SusanOne> That doesn't really help him tonight Arthur! ;) Doug, I can't remember -- does the query run on its own and the form screws it up? Which object is really causing the problem - the query or the form? I had this happen with a form/subform once -- it was corrupted and I had to rebuild it from scratch. I hope you find a simpler solution. Susan H. JC and I are on about this from time to time. My preferred approach is static functions, JC's is a class. Either way, free yourself from dependency on the form. Search the archive for "static functions" or "classes" and learn how to break free of dependence upon forms. From dw-murphy at cox.net Tue Aug 21 16:46:16 2007 From: dw-murphy at cox.net (Doug Murphy) Date: Tue, 21 Aug 2007 14:46:16 -0700 Subject: [AccessD] Query Criteria problem In-Reply-To: <29f585dd0708211432o5bccef43xb55953919a13da28@mail.gmail.com> Message-ID: <000801c7e43c$b3938a30$0200a8c0@murphy3234aaf1> Hi Arthur, I use static functions where they make sense but in this case I should be, and have always been, able to just refer to the value of a control on an open form. If I use the static function I still have to set it when the form is updated to hold the value that is already on the form. I was looking for a reason why am am getting this error. I like to understand why things happen. If I can't figure this out I may go with your suggestion just to get this done, but I won't feel comfortable that the original problem is still lurking. Doug -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Tuesday, August 21, 2007 2:32 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Query Criteria problem JC and I are on about this from time to time. My preferred approach is static functions, JC's is a class. Either way, free yourself from dependency on the form. Search the archive for "static functions" or "classes" and learn how to break free of dependence upon forms. A. On 8/21/07, Doug Murphy wrote: > > Folks, > > I have a query that uses the value of a text box on a form as the > criteria for one of its fields. This has been working fine. I made > some updates to the form used in the criteria and then updated the > query criteria do to a change of a control name. Now I get an error > when I try and run the query. > The error message is "The Microsoft Jet database engine does not > recognize '[Forms]![frmViewExistingOrder]![txtPumpSelect]' as a valid > field name or expression.". Any idea on what is going on here. The > query runs without the criteria. The criterial were constructed using > the builder so the object spelling is correct. I have rebuilt the > criteria string several times to make sure there isn't a spelling > problem. Have also tested the criteria string in the Immediate window > of the VBA IDE and it returns the correct value. > > I am at a loss. I do this all the time but for some reason this one > isn't working. > > I have tried compact/repair and decompile, recompile, compact and it > still errors. Tried to use EatBloat but couldn't get the new database > to import the files. I must be missing something on the import, it > says it imported. > Not my day. > > Thanks for any assistance. > > Doug > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dw-murphy at cox.net Tue Aug 21 16:54:38 2007 From: dw-murphy at cox.net (Doug Murphy) Date: Tue, 21 Aug 2007 14:54:38 -0700 Subject: [AccessD] Query Criteria problem In-Reply-To: <004701c7e43b$c2a22c80$048e01c7@SusanOne> Message-ID: <000901c7e43d$de8effc0$0200a8c0@murphy3234aaf1> Hi Susan, The query just uses the value in one field on the form as its criteria. I tried rebuilding it and importing all the objects into a new database, but still get the same error message. To answer your question it appears, based on the error message that Jet can't resolve the form object, text box in this case, to get its value. The interesting thing is that what ever vba uses to get the value works in the Immediate window. Very frustrating. Doug -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Tuesday, August 21, 2007 2:39 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Query Criteria problem That doesn't really help him tonight Arthur! ;) Doug, I can't remember -- does the query run on its own and the form screws it up? Which object is really causing the problem - the query or the form? I had this happen with a form/subform once -- it was corrupted and I had to rebuild it from scratch. I hope you find a simpler solution. Susan H. JC and I are on about this from time to time. My preferred approach is static functions, JC's is a class. Either way, free yourself from dependency on the form. Search the archive for "static functions" or "classes" and learn how to break free of dependence upon forms. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at gmail.com Tue Aug 21 18:14:41 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Tue, 21 Aug 2007 19:14:41 -0400 Subject: [AccessD] Query Criteria problem In-Reply-To: <000901c7e43d$de8effc0$0200a8c0@murphy3234aaf1> References: <004701c7e43b$c2a22c80$048e01c7@SusanOne> <000901c7e43d$de8effc0$0200a8c0@murphy3234aaf1> Message-ID: <000f01c7e449$0f1ef0e0$048e01c7@SusanOne> Well, one last and totally off the wall, isn't a chance in he*l suggestion, try this: Delete the form reference in the query; compile and compact. Open the query and type in the reference yourself. If you get the same area, type in another reference -- open a completely different form and type in a reference to that form -- it will fail, but if the query isn't corrupted, you'll get a different error. At least you know whether something's corrupted. One final trick -- if you determine that its corruption and not the reference, open it in Excel. Be sure NOT to save anything, just use Excel to open it and then exit right away. I've seen this work, but only a few times and I can't give you any explanation as to how or why it worked. Good luck. Susan H. Hi Susan, The query just uses the value in one field on the form as its criteria. I tried rebuilding it and importing all the objects into a new database, but still get the same error message. To answer your question it appears, based on the error message that Jet can't resolve the form object, text box in this case, to get its value. The interesting thing is that what ever vba uses to get the value works in the Immediate window. Very frustrating. Doug -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Tuesday, August 21, 2007 2:39 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Query Criteria problem That doesn't really help him tonight Arthur! ;) Doug, I can't remember -- does the query run on its own and the form screws it up? Which object is really causing the problem - the query or the form? I had this happen with a form/subform once -- it was corrupted and I had to rebuild it from scratch. I hope you find a simpler solution. Susan H. JC and I are on about this from time to time. My preferred approach is static functions, JC's is a class. Either way, free yourself from dependency on the form. Search the archive for "static functions" or "classes" and learn how to break free of dependence upon forms. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.484 / Virus Database: 269.12.1/963 - Release Date: 8/20/2007 5:44 PM From dw-murphy at cox.net Tue Aug 21 19:23:36 2007 From: dw-murphy at cox.net (Doug Murphy) Date: Tue, 21 Aug 2007 17:23:36 -0700 Subject: [AccessD] Query Criteria problem In-Reply-To: <000f01c7e449$0f1ef0e0$048e01c7@SusanOne> Message-ID: <001001c7e452$ae675fd0$0200a8c0@murphy3234aaf1> Thanks Susan, For now I am going with Arthurs approach since it works and I need to get this done by tomorrow. It bothers me though that what should work isn't. I should be able to use a standard approach to developing forms and queries and have the same result all the time. When I get time I'll play with the queries some more. There has to be a reason why I get the errors. Doug -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Tuesday, August 21, 2007 4:15 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Query Criteria problem Well, one last and totally off the wall, isn't a chance in he*l suggestion, try this: Delete the form reference in the query; compile and compact. Open the query and type in the reference yourself. If you get the same area, type in another reference -- open a completely different form and type in a reference to that form -- it will fail, but if the query isn't corrupted, you'll get a different error. At least you know whether something's corrupted. One final trick -- if you determine that its corruption and not the reference, open it in Excel. Be sure NOT to save anything, just use Excel to open it and then exit right away. I've seen this work, but only a few times and I can't give you any explanation as to how or why it worked. Good luck. Susan H. Hi Susan, The query just uses the value in one field on the form as its criteria. I tried rebuilding it and importing all the objects into a new database, but still get the same error message. To answer your question it appears, based on the error message that Jet can't resolve the form object, text box in this case, to get its value. The interesting thing is that what ever vba uses to get the value works in the Immediate window. Very frustrating. Doug -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Tuesday, August 21, 2007 2:39 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Query Criteria problem That doesn't really help him tonight Arthur! ;) Doug, I can't remember -- does the query run on its own and the form screws it up? Which object is really causing the problem - the query or the form? I had this happen with a form/subform once -- it was corrupted and I had to rebuild it from scratch. I hope you find a simpler solution. Susan H. JC and I are on about this from time to time. My preferred approach is static functions, JC's is a class. Either way, free yourself from dependency on the form. Search the archive for "static functions" or "classes" and learn how to break free of dependence upon forms. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.484 / Virus Database: 269.12.1/963 - Release Date: 8/20/2007 5:44 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dwaters at usinternet.com Tue Aug 21 21:14:12 2007 From: dwaters at usinternet.com (Dan Waters) Date: Tue, 21 Aug 2007 21:14:12 -0500 Subject: [AccessD] Query Criteria problem In-Reply-To: <001001c7e452$ae675fd0$0200a8c0@murphy3234aaf1> References: <000f01c7e449$0f1ef0e0$048e01c7@SusanOne> <001001c7e452$ae675fd0$0200a8c0@murphy3234aaf1> Message-ID: <004901c7e462$21c70ed0$0200a8c0@danwaters> Doug, When you have time, try importing all the pieces you need to open this query into a new empty database. Then see if it works. Try a Compact/Repair after your initial attempt to run the query. If one of your pieces won't import, then that's the guilty one! BOL! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Murphy Sent: Tuesday, August 21, 2007 7:24 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Query Criteria problem Thanks Susan, For now I am going with Arthurs approach since it works and I need to get this done by tomorrow. It bothers me though that what should work isn't. I should be able to use a standard approach to developing forms and queries and have the same result all the time. When I get time I'll play with the queries some more. There has to be a reason why I get the errors. Doug -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Tuesday, August 21, 2007 4:15 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Query Criteria problem Well, one last and totally off the wall, isn't a chance in he*l suggestion, try this: Delete the form reference in the query; compile and compact. Open the query and type in the reference yourself. If you get the same area, type in another reference -- open a completely different form and type in a reference to that form -- it will fail, but if the query isn't corrupted, you'll get a different error. At least you know whether something's corrupted. One final trick -- if you determine that its corruption and not the reference, open it in Excel. Be sure NOT to save anything, just use Excel to open it and then exit right away. I've seen this work, but only a few times and I can't give you any explanation as to how or why it worked. Good luck. Susan H. Hi Susan, The query just uses the value in one field on the form as its criteria. I tried rebuilding it and importing all the objects into a new database, but still get the same error message. To answer your question it appears, based on the error message that Jet can't resolve the form object, text box in this case, to get its value. The interesting thing is that what ever vba uses to get the value works in the Immediate window. Very frustrating. Doug -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Tuesday, August 21, 2007 2:39 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Query Criteria problem That doesn't really help him tonight Arthur! ;) Doug, I can't remember -- does the query run on its own and the form screws it up? Which object is really causing the problem - the query or the form? I had this happen with a form/subform once -- it was corrupted and I had to rebuild it from scratch. I hope you find a simpler solution. Susan H. JC and I are on about this from time to time. My preferred approach is static functions, JC's is a class. Either way, free yourself from dependency on the form. Search the archive for "static functions" or "classes" and learn how to break free of dependence upon forms. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.484 / Virus Database: 269.12.1/963 - Release Date: 8/20/2007 5:44 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dw-murphy at cox.net Tue Aug 21 21:31:01 2007 From: dw-murphy at cox.net (Doug Murphy) Date: Tue, 21 Aug 2007 19:31:01 -0700 Subject: [AccessD] Query Criteria problem In-Reply-To: <004901c7e462$21c70ed0$0200a8c0@danwaters> Message-ID: <001a01c7e464$7af222e0$0200a8c0@murphy3234aaf1> Hi Dan, I have tried all the usuall stuff, import all objects into new db; compact/repair; decompile, compact/repair. All with the same result. I have hand typed the string in to pull the criteria off the form and used the builder. Both methodes gave the same result. The interesting thing is that if I check the dependencies for the form the two queries that are giving me problems show up as using the form for criteria. If I open the form and then use the criteria string from the problem query in the VBA IDE immediate window the correct value is returned so the string must be correct. Tried EatBloat too but couldn't get it to import into the new db. I am sure it is operator ignorance. I haven't used it before. In the name of expedience I used Arthur's static function approach to get on with the project. I'd still like to figure out why the original query won't work to give me some peace of mind that I understand what is going on. Thanks for your thoughts. Doug -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Tuesday, August 21, 2007 7:14 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Query Criteria problem Doug, When you have time, try importing all the pieces you need to open this query into a new empty database. Then see if it works. Try a Compact/Repair after your initial attempt to run the query. If one of your pieces won't import, then that's the guilty one! BOL! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Murphy Sent: Tuesday, August 21, 2007 7:24 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Query Criteria problem Thanks Susan, For now I am going with Arthurs approach since it works and I need to get this done by tomorrow. It bothers me though that what should work isn't. I should be able to use a standard approach to developing forms and queries and have the same result all the time. When I get time I'll play with the queries some more. There has to be a reason why I get the errors. Doug -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Tuesday, August 21, 2007 4:15 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Query Criteria problem Well, one last and totally off the wall, isn't a chance in he*l suggestion, try this: Delete the form reference in the query; compile and compact. Open the query and type in the reference yourself. If you get the same area, type in another reference -- open a completely different form and type in a reference to that form -- it will fail, but if the query isn't corrupted, you'll get a different error. At least you know whether something's corrupted. One final trick -- if you determine that its corruption and not the reference, open it in Excel. Be sure NOT to save anything, just use Excel to open it and then exit right away. I've seen this work, but only a few times and I can't give you any explanation as to how or why it worked. Good luck. Susan H. Hi Susan, The query just uses the value in one field on the form as its criteria. I tried rebuilding it and importing all the objects into a new database, but still get the same error message. To answer your question it appears, based on the error message that Jet can't resolve the form object, text box in this case, to get its value. The interesting thing is that what ever vba uses to get the value works in the Immediate window. Very frustrating. Doug -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Tuesday, August 21, 2007 2:39 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Query Criteria problem That doesn't really help him tonight Arthur! ;) Doug, I can't remember -- does the query run on its own and the form screws it up? Which object is really causing the problem - the query or the form? I had this happen with a form/subform once -- it was corrupted and I had to rebuild it from scratch. I hope you find a simpler solution. Susan H. JC and I are on about this from time to time. My preferred approach is static functions, JC's is a class. Either way, free yourself from dependency on the form. Search the archive for "static functions" or "classes" and learn how to break free of dependence upon forms. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.484 / Virus Database: 269.12.1/963 - Release Date: 8/20/2007 5:44 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From pcs at azizaz.com Tue Aug 21 21:58:09 2007 From: pcs at azizaz.com (pcs at azizaz.com) Date: Wed, 22 Aug 2007 12:58:09 +1000 (EST) Subject: [AccessD] ADO Message-ID: <20070822125809.DBC39643@dommail.onthenet.com.au> Hi, I am executing the ADO command: connection.Execute CommandText, RecordsAffected, Options In my code the command reads: cn.Execute strSP, lngRecordsAffected, adExecuteNoRecords the strSP is a name of a Stored Procedure held in a SQL2005 Db.... The executes and the SP runs fine - updating 5 records ...... I am expecting that ADO will return the numbers of records affected as per the ADO Helpt text, but it invariably returns the value of -1 ..... (sets the variable from value 0 to -1) The ADO 2.5 API Reference help text says: "RecordsAffected Optional. A Long variable to which the provider returns the number of records that the operation affected. " What am I doing wrong??? Regards Borge From adtp at airtelbroadband.in Wed Aug 22 01:55:47 2007 From: adtp at airtelbroadband.in (A.D.TEJPAL) Date: Wed, 22 Aug 2007 12:25:47 +0530 Subject: [AccessD] Query Criteria problem References: <000801c7e43c$b3938a30$0200a8c0@murphy3234aaf1> Message-ID: <00b601c7e489$a21731b0$dd58a27a@pcadt> Doug, Expressing reservation in use of static functions, you have stated: "If I use the static function I still have to set it when the form is updated to hold the value that is already on the form." This limitation can be overcome by pulling (instead of pushing) form's data into the function, as demonstrated in sample functions named Fn_CustID() and Fn_EmpID() given below. This ensures that always the latest value in form's control is returned whenever the function is called. There are certain other strong reasons to prefer use of such functions, since direct reference to form's controls (in query SQL) suffers from the following drawbacks: (a) For a query with parameters clause, a recordset can not be created directly via Currentdb.OpenRecordset method. Leads to Error 3061 (Too few parameters. Expected 1). (b) Action query with parameters clause can not be run directly via Currentdb.Execute method. Leads to Error 3061 (Too few parameters. Expected 1). A self contained note on the subject is placed below, for ready reference. Best wishes, A.D.Tejpal --------------- Queries using form based values (Use of functions in lieu of parameters) =========================== 1 - Use of parameters in queries suffers from following limitations: 1.1 - For a query with parameters clause, a recordset can not be created directly via Currentdb.OpenRecordset method. Leads to Error 3061 (Too few parameters. Expected 1). 1.2 - Action query with parameters clause can not be run directly via Currentdb.Execute method. Leads to Error 3061 (Too few parameters. Expected 1). 1.3 - Parameter clause can not be too long (there are reports of problems encountered on Windows Vista, if it is beyond 63 characters). An extract from a post (Jul-2007) by Allen Brown in one of the news groups, is placed below: "Paul Overway alerted me to this bug, which occurs only under Access 2000 - 2003 on Windows Vista. If a parameter name exceeds 63 characters, and your code refers to the parameter of the QueryDef by name, the code fails with Access Error 3000, reporting: Reserved Error -1038. There is no message for this error." 1.4 - Confusion in dealing with Null value, if data type has been explicitly declared as text - in parameters clause of the query. (This anamoly was brought up in one of Allen Browne's posts in July 2007). 2 - Suggested Universal Remedy: 2.1 - The limitations outlined above can be overcome by replacing form based parameters with user defined functions. 2.2 - As an illustration, functions Fn_CustID() returning text type, and Fn_EmpID() returning number type, are given below. These functions grab the values entered in relevant controls (TxtCustomerID and TxtEmployeeID respectively) on the target form (Form1). 2.3 - Use of functions in this manner greatly simplifies the SQL, at the same time getting rid of parameters clause. Sample select queries Q_CustSelect and Q_EmpSelect, based upon this approach, are given below. These have criteria clause based upon CustomerID and EmployeeID fields respectively. In both cases, if the target text box on the form is blank, all records get included. 2.4 - Sample append query Q_CustEmpAppend, using functions in lieu of form based parameters, as given below, can be run directly by using Currentdb.Execute method. A.D.Tejpal --------------- Q_CustSelect (Query Filtered as per CustomerID (text type field)) =================================== SELECT Orders.* FROM Orders WHERE (Fn_CustID() = "") Or (Orders.CustomerID=Fn_CustID()); =================================== Q_EmpSelect (Query Filtered as per EmployeeID (number type field)) =================================== SELECT Orders.* FROM Orders WHERE (Fn_EmpID() = 0) Or (Orders.EmployeeID=Fn_EmpID()); =================================== Q_CustEmpAppend =================================== INSERT INTO Orders ( CustomerID, EmployeeID ) VALUES (Fn_CustID(), Fn_EmpID()); =================================== Fn_CustID() =================================== Function Fn_CustID() As String On Error Resume Next Dim Rtv As String Rtv = Nz(Forms("Form1")("TxtCustomerID"), "") Fn_CustID = Rtv On Error GoTo 0 End Function =================================== Fn_EmpID() =================================== Function Fn_EmpID() As Long On Error Resume Next Dim Rtv As Long Rtv = Nz(Forms("Form1")("TxtEmployeeID"), 0) Fn_EmpID = Rtv On Error GoTo 0 End Function =================================== ----- Original Message ----- From: Doug Murphy To: 'Access Developers discussion and problem solving' Sent: Wednesday, August 22, 2007 03:16 Subject: Re: [AccessD] Query Criteria problem Hi Arthur, I use static functions where they make sense but in this case I should be, and have always been, able to just refer to the value of a control on an open form. If I use the static function I still have to set it when the form is updated to hold the value that is already on the form. I was looking for a reason why am am getting this error. I like to understand why things happen. If I can't figure this out I may go with your suggestion just to get this done, but I won't feel comfortable that the original problem is still lurking. Doug << SNIP >> From paul.hartland at fsmail.net Wed Aug 22 02:03:20 2007 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Wed, 22 Aug 2007 09:03:20 +0200 (CEST) Subject: [AccessD] =?utf-8?b?wqBBRE8=?= Message-ID: <7959148.720091187766200514.JavaMail.www@wwinf3101> Borge, Can't see anything your doing wrong, I have this (cut down) in VB6: Dim lngRecords as long Some Code Here dbConn.Execute strSQL, lngRecords, adExecuteNoRecords msgbox lngRecords Works fine, so without seeing all your code, or an example I am not too sure whats going on. Paul Message Received: Aug 22 2007, 03:59 AM From: pcs at azizaz.com To: "Access Developers discussion and problem solving" Cc: pcs at azizaz.com Subject: [AccessD] ADO Hi, I am executing the ADO command: connection.Execute CommandText, RecordsAffected, Options In my code the command reads: cn.Execute strSP, lngRecordsAffected, adExecuteNoRecords the strSP is a name of a Stored Procedure held in a SQL2005 Db.... The executes and the SP runs fine - updating 5 records ...... I am expecting that ADO will return the numbers of records affected as per the ADO Helpt text, but it invariably returns the value of -1 ..... (sets the variable from value 0 to -1) The ADO 2.5 API Reference help text says: "RecordsAffected Optional. A Long variable to which the provider returns the number of records that the operation affected. " What am I doing wrong??? Regards Borge -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com Paul Hartland paul.hartland at fsmail.net 07730 523179 From Gustav at cactus.dk Wed Aug 22 03:08:25 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 22 Aug 2007 10:08:25 +0200 Subject: [AccessD] Query Criteria problem Message-ID: Hi Doug Specify [Forms]![frmViewExistingOrder]![txtPumpSelect] as a Parameter as well as the data type it is supposed to contain. /gustav >>> dw-murphy at cox.net 21-08-2007 23:13 >>> Folks, I have a query that uses the value of a text box on a form as the criteria for one of its fields. This has been working fine. I made some updates to the form used in the criteria and then updated the query criteria do to a change of a control name. Now I get an error when I try and run the query. The error message is "The Microsoft Jet database engine does not recognize '[Forms]![frmViewExistingOrder]![txtPumpSelect]' as a valid field name or expression.". Any idea on what is going on here. The query runs without the criteria. The criterial were constructed using the builder so the object spelling is correct. I have rebuilt the criteria string several times to make sure there isn't a spelling problem. Have also tested the criteria string in the Immediate window of the VBA IDE and it returns the correct value. I am at a loss. I do this all the time but for some reason this one isn't working. I have tried compact/repair and decompile, recompile, compact and it still errors. Tried to use EatBloat but couldn't get the new database to import the files. I must be missing something on the import, it says it imported. Not my day. Thanks for any assistance. Doug From ssharkins at gmail.com Wed Aug 22 08:52:52 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Wed, 22 Aug 2007 09:52:52 -0400 Subject: [AccessD] Freelance opportunities Message-ID: <009f01c7e4c3$c0bce8f0$048e01c7@SusanOne> http://www.authenticjobs.com/index.php ======I don't know much about this spot, but thought I'd post it -- looks good and very legit so far. Seems to be a lot of freelance technical posts. Susan H. From jwcolby at colbyconsulting.com Wed Aug 22 10:23:12 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 22 Aug 2007 11:23:12 -0400 Subject: [AccessD] Completely and totally off topic - please respond offline Message-ID: <20070822152313.C6194BE64@smtp-auth.no-ip.com> Folks, I am about to buy a telescope. I have always wanted one and now have a good location, and enough money to get a BASIC 8"-10" Dobsonian and a couple of lenses. If there are any list members into the hobby please respond OFF LINE. I am just looking for words of wisdom, experiences etc. Thanks. John W. Colby Colby Consulting www.ColbyConsulting.com From dwaters at usinternet.com Wed Aug 22 10:35:29 2007 From: dwaters at usinternet.com (Dan Waters) Date: Wed, 22 Aug 2007 10:35:29 -0500 Subject: [AccessD] Completely and totally off topic - please respond offline In-Reply-To: <20070822152313.C6194BE64@smtp-auth.no-ip.com> References: <20070822152313.C6194BE64@smtp-auth.no-ip.com> Message-ID: <001d01c7e4d2$11f32140$0200a8c0@danwaters> John, Are you going to be looking for Classes and Frameworks? I know we should be thinking of those as heavenly bodies! ;-) Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Wednesday, August 22, 2007 10:23 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Completely and totally off topic - please respond offline Folks, I am about to buy a telescope. I have always wanted one and now have a good location, and enough money to get a BASIC 8"-10" Dobsonian and a couple of lenses. If there are any list members into the hobby please respond OFF LINE. I am just looking for words of wisdom, experiences etc. Thanks. John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at gmail.com Wed Aug 22 10:43:25 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Wed, 22 Aug 2007 11:43:25 -0400 Subject: [AccessD] =?iso-8859-1?q?=A0ADO?= In-Reply-To: <7959148.720091187766200514.JavaMail.www@wwinf3101> References: <7959148.720091187766200514.JavaMail.www@wwinf3101> Message-ID: <003101c7e4d3$32f751d0$048e01c7@SusanOne> I looked around last night and didn't find anything either. I do remember a problem with the switch from DAO to ADO -- something about the recordset returning -1 when using a forward-only recordset -- I'd have to look it up, but I remember writing about it a long time ago and now I think the issue's well known. I'm wondering if it isn't some weird little nuance like that... Susan H. Borge, Can't see anything your doing wrong, I have this (cut down) in VB6: Dim lngRecords as long Some Code Here dbConn.Execute strSQL, lngRecords, adExecuteNoRecords msgbox lngRecords Works fine, so without seeing all your code, or an example I am not too sure whats going on. From paul.hartland at fsmail.net Wed Aug 22 10:53:02 2007 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Wed, 22 Aug 2007 17:53:02 +0200 (CEST) Subject: [AccessD] ADO (Borge) Message-ID: <18911477.623161187797982843.JavaMail.www@wwinf3107> Sorry, but lost the thread... Have you tried using something like: cn.CursorLocation = adUseClient Before your execute the query ? Paul Hartland paul.hartland at fsmail.net 07730 523179 From dw-murphy at cox.net Wed Aug 22 11:04:31 2007 From: dw-murphy at cox.net (Doug Murphy) Date: Wed, 22 Aug 2007 09:04:31 -0700 Subject: [AccessD] Query Criteria problem In-Reply-To: <00b601c7e489$a21731b0$dd58a27a@pcadt> Message-ID: <001901c7e4d6$204efc10$0200a8c0@murphy3234aaf1> A.D. Thank you for the information. I don't have any reservations with using static functions in queries and do it when required. I use form derived values for query criteria since it is easy to do and up to now it worked. Since I couldn't seem to understand why this isn't working in this case I went to the static functions and things are progressing nicely. I would still like to understand why using form values in a queries criteria does not work in this project. Actually it is just in a couple of queries. I am sure there is a reason, I just can't figure it out. I will keep your message in my archive for future reference. Thanks again. Doug -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of A.D.TEJPAL Sent: Tuesday, August 21, 2007 11:56 PM To: Access Developers discussion and problem solving Cc: A.D.TEJPAL Subject: Re: [AccessD] Query Criteria problem Doug, Expressing reservation in use of static functions, you have stated: "If I use the static function I still have to set it when the form is updated to hold the value that is already on the form." This limitation can be overcome by pulling (instead of pushing) form's data into the function, as demonstrated in sample functions named Fn_CustID() and Fn_EmpID() given below. This ensures that always the latest value in form's control is returned whenever the function is called. There are certain other strong reasons to prefer use of such functions, since direct reference to form's controls (in query SQL) suffers from the following drawbacks: (a) For a query with parameters clause, a recordset can not be created directly via Currentdb.OpenRecordset method. Leads to Error 3061 (Too few parameters. Expected 1). (b) Action query with parameters clause can not be run directly via Currentdb.Execute method. Leads to Error 3061 (Too few parameters. Expected 1). A self contained note on the subject is placed below, for ready reference. Best wishes, A.D.Tejpal --------------- Queries using form based values (Use of functions in lieu of parameters) =========================== 1 - Use of parameters in queries suffers from following limitations: 1.1 - For a query with parameters clause, a recordset can not be created directly via Currentdb.OpenRecordset method. Leads to Error 3061 (Too few parameters. Expected 1). 1.2 - Action query with parameters clause can not be run directly via Currentdb.Execute method. Leads to Error 3061 (Too few parameters. Expected 1). 1.3 - Parameter clause can not be too long (there are reports of problems encountered on Windows Vista, if it is beyond 63 characters). An extract from a post (Jul-2007) by Allen Brown in one of the news groups, is placed below: "Paul Overway alerted me to this bug, which occurs only under Access 2000 - 2003 on Windows Vista. If a parameter name exceeds 63 characters, and your code refers to the parameter of the QueryDef by name, the code fails with Access Error 3000, reporting: Reserved Error -1038. There is no message for this error." 1.4 - Confusion in dealing with Null value, if data type has been explicitly declared as text - in parameters clause of the query. (This anamoly was brought up in one of Allen Browne's posts in July 2007). 2 - Suggested Universal Remedy: 2.1 - The limitations outlined above can be overcome by replacing form based parameters with user defined functions. 2.2 - As an illustration, functions Fn_CustID() returning text type, and Fn_EmpID() returning number type, are given below. These functions grab the values entered in relevant controls (TxtCustomerID and TxtEmployeeID respectively) on the target form (Form1). 2.3 - Use of functions in this manner greatly simplifies the SQL, at the same time getting rid of parameters clause. Sample select queries Q_CustSelect and Q_EmpSelect, based upon this approach, are given below. These have criteria clause based upon CustomerID and EmployeeID fields respectively. In both cases, if the target text box on the form is blank, all records get included. 2.4 - Sample append query Q_CustEmpAppend, using functions in lieu of form based parameters, as given below, can be run directly by using Currentdb.Execute method. A.D.Tejpal --------------- Q_CustSelect (Query Filtered as per CustomerID (text type field)) =================================== SELECT Orders.* FROM Orders WHERE (Fn_CustID() = "") Or (Orders.CustomerID=Fn_CustID()); =================================== Q_EmpSelect (Query Filtered as per EmployeeID (number type field)) =================================== SELECT Orders.* FROM Orders WHERE (Fn_EmpID() = 0) Or (Orders.EmployeeID=Fn_EmpID()); =================================== Q_CustEmpAppend =================================== INSERT INTO Orders ( CustomerID, EmployeeID ) VALUES (Fn_CustID(), Fn_EmpID()); =================================== Fn_CustID() =================================== Function Fn_CustID() As String On Error Resume Next Dim Rtv As String Rtv = Nz(Forms("Form1")("TxtCustomerID"), "") Fn_CustID = Rtv On Error GoTo 0 End Function =================================== Fn_EmpID() =================================== Function Fn_EmpID() As Long On Error Resume Next Dim Rtv As Long Rtv = Nz(Forms("Form1")("TxtEmployeeID"), 0) Fn_EmpID = Rtv On Error GoTo 0 End Function =================================== ----- Original Message ----- From: Doug Murphy To: 'Access Developers discussion and problem solving' Sent: Wednesday, August 22, 2007 03:16 Subject: Re: [AccessD] Query Criteria problem Hi Arthur, I use static functions where they make sense but in this case I should be, and have always been, able to just refer to the value of a control on an open form. If I use the static function I still have to set it when the form is updated to hold the value that is already on the form. I was looking for a reason why am am getting this error. I like to understand why things happen. If I can't figure this out I may go with your suggestion just to get this done, but I won't feel comfortable that the original problem is still lurking. Doug << SNIP >> -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Patricia.O'Connor at otda.state.ny.us Wed Aug 22 11:02:58 2007 From: Patricia.O'Connor at otda.state.ny.us (O'Connor, Patricia (OTDA)) Date: Wed, 22 Aug 2007 12:02:58 -0400 Subject: [AccessD] Access 2007 - Type Mismatch In-Reply-To: <5b2621db0706221559i3fd37e44u5c53948e27ddf7e6@mail.gmail.com> References: <5b2621db0706211338p4d4677a4n96a1ce71d22c3f2b@mail.gmail.com> <5b2621db0706221559i3fd37e44u5c53948e27ddf7e6@mail.gmail.com> Message-ID: <01DBAB52E30A9A4AB3D94EF8029EDBE8021BAF79@EXCNYSM0A1AI.nysemail.nyenet> I don't have access 2007 but did have problems with one of my record set codes and had to check the reference and then change the code that had worked for 8 years. But mine was the .move portion Make sure the DAO REFERENCE like 1st-3rd specially that it is higher than an ADO reference Try changing dim strSQL as String Dim rst As DAO.Recordset dim db as dao.database strSQL = "SELECT * FROM MyTable WHERE MyField = " & Chr(34) & Me!MyField & Chr(34) Set db = CurrentDb Set rst = db.OpenRecordset.OpenRecordset(strSQL) If Not (rst.EOF And rst.BOF) Then msgbox "This number has already been used.", etc. Cancel = True End If If db still doesn't work then change to set rst = currentdb.openrecordset Or if (rst.eof = false) and (rst.bof = false) Or if not rst.eof and not rst.bof ************************************************** * Patricia O'Connor * Associate Computer Programmer Analyst * OTDA - BDMA * (W) mailto:Patricia.O'Connor at otda.state.ny.us * (w) mailto:aa1160 at nysemail.state.ny.us ************************************************** > -------------------------------------------------------- This e-mail, including any attachments, may be confidential, privileged or otherwise legally protected. It is intended only for the addressee. If you received this e-mail in error or from someone who was not authorized to send it to you, do not disseminate, copy or otherwise use this e-mail or its attachments. Please notify the sender immediately by reply e-mail and delete the e-mail from your system. -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gale Perez > Sent: Friday, June 22, 2007 06:59 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Access 2007 - Type Mismatch > > Thank you, Jim! That was what I had originally, and it > worked just fine in Access 1997 and 2003, but I got the old > "Type Mismatch" error in 2007. I remember now that even when > I commented out the rst bit and just ran the bit to capture > strSQL, I still got the error. > > I just changed it all to use dlookup instead for this > purpose, but I'm getting a lot of "Type Mismatch" errors in > other parts of my forms where I wasn't before. Back to the > drawing board! > > Thank you all again for your help, and have a great weekend. > Gale > From jwcolby at colbyconsulting.com Wed Aug 22 11:50:06 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 22 Aug 2007 12:50:06 -0400 Subject: [AccessD] Query Criteria problem In-Reply-To: <001901c7e4d6$204efc10$0200a8c0@murphy3234aaf1> Message-ID: <20070822165007.4F242BF40@smtp-auth.no-ip.com> Doug, I was out of the office during this thread but I would like to offer two things - neither a suggestion for the original problem, but rather thoughts about static functions. 1) In order to keep the static function "synced" to the form, simply place the call to the static function in the OnCurrent event of the form. This assumes of course that you are using a bound form and the static function is being called with the data from a field in a table. Otherwise place the call in the after update of the control that you are updating and using as a parameter to the query. 2) Static functions are nice, but you can quickly end up with hundreds of them if you make the switch and use them all the time. For this reason I use a slightly different static function. The concept is identical EXCEPT that the storage is a static COLLECTION inside of the function. To give credit where due, it was Arthur that started me using these static functions, however I found I used them so much that I needed something easier to use. Contrary to what Arthur apparently believes I do not use a class for this, but simply a static function like he does. There are a couple of differences however between Arthur's method and mine. I use a SINGLE function, which I call fltr() but which you can name whatever you wish. INSIDE of fltr I declare a STATIC collection. Collections can store any data type, and they can store MULTIPLE variables. I then pass in one or two parameters to the function. Function Fltr(strVarName as string, OPTIONAL variant varValue as variant) as variant End function Notice that VarValue is an OPTIONAL value, i.e. you can pass in a value or not. However strVarName is NOT optional, you must ALWAYS pass in the name of the variable you want to get / set. Notice also that I do not set a default value for the OPTIONAL varValue so if I do not pass anything in, it is empty. Thus I can check inside of the function to see whether I passed in a value. This "sets me up" for a pair of rules. IF isempty(varValue) THEN 'I am GETTING the VALUE of an already set variable in this branch ELSE 'I am SETTING the value of a variable in this branch ENDIF In other words, to SET a value I pass in BOTH the name and the value: fltr "CompanyName", "Colby Consulting" If I pass in just the variable name in the first parameter I am RETRIEVING a previously stored value: ?fltr("CompanyName") (returns "Colby Consulting") Using this method I can have a SINGLE function called fltr() which can store one or a hundred or a thousand different variables for use in queries like yours. Now, the actual function is as follows: ' 'Fltr takes two parameters, the filter name and the filter value. ' 'The first syntax can be used to set the filter value: ' 'fltr "MyFltr1", MyFltrValue ' 'The filter lstrName is used as the key into the collection, i.e. when lvarValue 'is stored, it is stored with a key of lstrName. ' 'The second syntax can be used to retrieve the value of the filter: ' 'fltr("MyFltr1") ' 'The fact that the second parameter is Optional allows us to check whether a value 'has been passed in. If no value is passed in, then the assumption is that the filter 'is expecting to return a value. ' 'Because the filter uses a collection internally to save the values, this single 'function can store thousands of different filter values. ' 'Because lvarValue is a variant, the value stored can be pretty much anything. 'In fact it is necessary to use ctl.VALUE if you want to store an unchanging value 'from a control, since passing in a pointer to a control will then return the value 'of the control, which may change over time. ' Public Function Fltr(lstrName As String, Optional lvarValue As Variant) As Variant On Error GoTo Err_Fltr Static mcolFilter As Collection 'check to see if the collection is initialized yet and do so if necessary If mcolFilter Is Nothing Then Set mcolFilter = New Collection End If 'If no lvarValue passed in then this must be a "read" If IsMissing(lvarValue) Then On Error Resume Next Fltr = mcolFilter(lstrName) If Err <> 0 Then Fltr = Null End If Else 'else this must be a write On Error Resume Next 'since there may be a value in there already, delete it mcolFilter.Remove lstrName 'then save the new value passed in mcolFilter.Add lvarValue, lstrName Fltr = lvarValue End If Exit_Fltr: Exit Function Err_Fltr: MsgBox Err.Description, , "Error in Function basFltrFunctions.Fltr" Resume Exit_Fltr Resume 0 '.FOR TROUBLESHOOTING End Function So there you have it. A single function that can store as many different variables as you need. This makes it extremely easy to use these things. Instead of "cutting / pasting / renaming" a static function to create a new instance, just call fltr() and pass in the name of the next variable you want to track. I hope this was an understandable explanation of how I use static functions and why I do it the way that I do. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Murphy Sent: Wednesday, August 22, 2007 12:05 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Query Criteria problem A.D. Thank you for the information. I don't have any reservations with using static functions in queries and do it when required. I use form derived values for query criteria since it is easy to do and up to now it worked. Since I couldn't seem to understand why this isn't working in this case I went to the static functions and things are progressing nicely. I would still like to understand why using form values in a queries criteria does not work in this project. Actually it is just in a couple of queries. I am sure there is a reason, I just can't figure it out. I will keep your message in my archive for future reference. Thanks again. Doug From phpons at gmail.com Wed Aug 22 12:24:36 2007 From: phpons at gmail.com (philippe pons) Date: Wed, 22 Aug 2007 19:24:36 +0200 Subject: [AccessD] Using the recordset of a list control Message-ID: <57144ced0708221024l6629a93cnf54af27576c36370@mail.gmail.com> Hi all, I have a form with a list control. The list displays quantities and amount. Under the list, I have some text box that should display the total of these quantities and amount. What I do is to use the recordset of the list, to scan each of the record and do the sum I need. The problem is that this recordset does'nt seem to be reliable. Sometimes it does'nt exist anymore, sometimes it has 250 rows instead of just 5 to 10. The calcultaion is ok only the first time i do it, and then it's not! Did you already get into these kinds of troubles? What am I doing wroung? TIA, Philippe From markamatte at hotmail.com Wed Aug 22 12:31:42 2007 From: markamatte at hotmail.com (Mark A Matte) Date: Wed, 22 Aug 2007 17:31:42 +0000 Subject: [AccessD] Using the recordset of a list control In-Reply-To: <57144ced0708221024l6629a93cnf54af27576c36370@mail.gmail.com> Message-ID: When you say "scan each of the record"...are you only adding the ones selected? >From: "philippe pons" >Reply-To: Access Developers discussion and problem >solving >To: accessd at databaseadvisors.com >Subject: [AccessD] Using the recordset of a list control >Date: Wed, 22 Aug 2007 19:24:36 +0200 > >Hi all, > >I have a form with a list control. >The list displays quantities and amount. >Under the list, I have some text box that should display the total of these >quantities and amount. > >What I do is to use the recordset of the list, to scan each of the record >and do the sum I need. > >The problem is that this recordset does'nt seem to be reliable. >Sometimes it does'nt exist anymore, sometimes it has 250 rows instead of >just 5 to 10. >The calcultaion is ok only the first time i do it, and then it's not! > >Did you already get into these kinds of troubles? >What am I doing wroung? > >TIA, >Philippe >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Find a local pizza place, movie theater, and more?.then map the best route! http://maps.live.com/default.aspx?v=2&ss=yp.bars~yp.pizza~yp.movie%20theater&cp=42.358996~-71.056691&style=r&lvl=13&tilt=-90&dir=0&alt=-1000&scene=950607&encType=1&FORM=MGAC01 From phpons at gmail.com Wed Aug 22 12:40:11 2007 From: phpons at gmail.com (philippe pons) Date: Wed, 22 Aug 2007 19:40:11 +0200 Subject: [AccessD] Using the recordset of a list control In-Reply-To: <57144ced0708221024l6629a93cnf54af27576c36370@mail.gmail.com> References: <57144ced0708221024l6629a93cnf54af27576c36370@mail.gmail.com> Message-ID: <57144ced0708221040i426e21eby891b9a312cd7c3a6@mail.gmail.com> I say scan because I missed the verb you use to indicate you are "walking through" the collection of rows of a recordset. I do something like that (basic!): Me.lstListe.Recordset.MoveFirst ' if the recorset does'nt exist, get out! If Err.Number <> 0 Then Err.Clear Exit Sub End If Do While Not Me.lstListe.Recordset.EOF sngTotPourc = sngTotPourc + Left(Me.lstListe.Recordset.Fields(2), Len(Me.lstListe.Recordset.Fields(2)) - 1) / 100 curTotMontantsPre = curTotMontantsPre + Me.lstListe.Recordset.Fields (3) Me.lstListe.Recordset.MoveNext Loop I have to check the existence of the recordset, because sometimes, although the list is there on the form, it does not exist, giving then an error! 2007/8/22, philippe pons : > > Hi all, > > I have a form with a list control. > The list displays quantities and amount. > Under the list, I have some text box that should display the total of > these quantities and amount. > > What I do is to use the recordset of the list, to scan each of the record > and do the sum I need. > > The problem is that this recordset does'nt seem to be reliable. > Sometimes it does'nt exist anymore, sometimes it has 250 rows instead of > just 5 to 10. > The calcultaion is ok only the first time i do it, and then it's not! > > Did you already get into these kinds of troubles? > What am I doing wroung? > > TIA, > Philippe > From markamatte at hotmail.com Wed Aug 22 13:20:21 2007 From: markamatte at hotmail.com (Mark A Matte) Date: Wed, 22 Aug 2007 18:20:21 +0000 Subject: [AccessD] Using the recordset of a list control In-Reply-To: <57144ced0708221040i426e21eby891b9a312cd7c3a6@mail.gmail.com> Message-ID: Philippe, No problem on the verbage...I was just making sure I understood. In this sense...scan=loop. First question...what is the Rowsource on the listbox and does it change? Second Question...where you use .Fields(2) and .Fields(3)...can these ever be null? Thanks, Mark A. Matte >From: "philippe pons" >Reply-To: Access Developers discussion and problem >solving >To: accessd at databaseadvisors.com >Subject: Re: [AccessD] Using the recordset of a list control >Date: Wed, 22 Aug 2007 19:40:11 +0200 > >I say scan because I missed the verb you use to indicate you are "walking >through" the collection of rows of a recordset. I do something like that >(basic!): > Me.lstListe.Recordset.MoveFirst > ' if the recorset does'nt exist, get out! > If Err.Number <> 0 Then > Err.Clear > Exit Sub > End If > Do While Not Me.lstListe.Recordset.EOF > sngTotPourc = sngTotPourc + Left(Me.lstListe.Recordset.Fields(2), >Len(Me.lstListe.Recordset.Fields(2)) - 1) / 100 > curTotMontantsPre = curTotMontantsPre + >Me.lstListe.Recordset.Fields >(3) > Me.lstListe.Recordset.MoveNext > Loop >I have to check the existence of the recordset, because sometimes, although >the list is there on the form, it does not exist, giving then an error! > >2007/8/22, philippe pons : > > > > Hi all, > > > > I have a form with a list control. > > The list displays quantities and amount. > > Under the list, I have some text box that should display the total of > > these quantities and amount. > > > > What I do is to use the recordset of the list, to scan each of the >record > > and do the sum I need. > > > > The problem is that this recordset does'nt seem to be reliable. > > Sometimes it does'nt exist anymore, sometimes it has 250 rows instead of > > just 5 to 10. > > The calcultaion is ok only the first time i do it, and then it's not! > > > > Did you already get into these kinds of troubles? > > What am I doing wroung? > > > > TIA, > > Philippe > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Puzzles, trivia teasers, word scrambles and more. Play for your chance to win! http://club.live.com/home.aspx?icid=CLUB_hotmailtextlink From phpons at gmail.com Wed Aug 22 13:49:45 2007 From: phpons at gmail.com (philippe pons) Date: Wed, 22 Aug 2007 20:49:45 +0200 Subject: [AccessD] Using the recordset of a list control In-Reply-To: References: <57144ced0708221040i426e21eby891b9a312cd7c3a6@mail.gmail.com> Message-ID: <57144ced0708221149n4ac6e42duf582a7352064805d@mail.gmail.com> Mark, Yes, the rowsource is a sql (sql="select bla, bla..": Me.lstListe.RowSource=sql), and on the form I have a combo box that will update the list rowsource according the selection made. Fields(1) and Field(2) are normally not Null. Another fact: befor doing the calculation, I tried to requery the list, to ensure th existence of a recordset, but it seems to be unefficient! Thanks for your help. 2007/8/22, Mark A Matte : > > Philippe, > > No problem on the verbage...I was just making sure I understood. In this > sense...scan=loop. > > > First question...what is the Rowsource on the listbox and does it change? > > Second Question...where you use .Fields(2) and .Fields(3)...can these ever > be null? > > Thanks, > > Mark A. Matte > > > >From: "philippe pons" > >Reply-To: Access Developers discussion and problem > >solving > >To: accessd at databaseadvisors.com > >Subject: Re: [AccessD] Using the recordset of a list control > >Date: Wed, 22 Aug 2007 19:40:11 +0200 > > > >I say scan because I missed the verb you use to indicate you are "walking > >through" the collection of rows of a recordset. I do something like that > >(basic!): > > Me.lstListe.Recordset.MoveFirst > > ' if the recorset does'nt exist, get out! > > If Err.Number <> 0 Then > > Err.Clear > > Exit Sub > > End If > > Do While Not Me.lstListe.Recordset.EOF > > sngTotPourc = sngTotPourc + Left(Me.lstListe.Recordset.Fields > (2), > >Len(Me.lstListe.Recordset.Fields(2)) - 1) / 100 > > curTotMontantsPre = curTotMontantsPre + > >Me.lstListe.Recordset.Fields > >(3) > > Me.lstListe.Recordset.MoveNext > > Loop > >I have to check the existence of the recordset, because sometimes, > although > >the list is there on the form, it does not exist, giving then an error! > > > >2007/8/22, philippe pons : > > > > > > Hi all, > > > > > > I have a form with a list control. > > > The list displays quantities and amount. > > > Under the list, I have some text box that should display the total of > > > these quantities and amount. > > > > > > What I do is to use the recordset of the list, to scan each of the > >record > > > and do the sum I need. > > > > > > The problem is that this recordset does'nt seem to be reliable. > > > Sometimes it does'nt exist anymore, sometimes it has 250 rows instead > of > > > just 5 to 10. > > > The calcultaion is ok only the first time i do it, and then it's not! > > > > > > Did you already get into these kinds of troubles? > > > What am I doing wroung? > > > > > > TIA, > > > Philippe > > > > >-- > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > > _________________________________________________________________ > Puzzles, trivia teasers, word scrambles and more. Play for your chance to > win! http://club.live.com/home.aspx?icid=CLUB_hotmailtextlink > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From markamatte at hotmail.com Wed Aug 22 14:31:41 2007 From: markamatte at hotmail.com (Mark A Matte) Date: Wed, 22 Aug 2007 19:31:41 +0000 Subject: [AccessD] Using the recordset of a list control In-Reply-To: <57144ced0708221149n4ac6e42duf582a7352064805d@mail.gmail.com> Message-ID: ahhh...we might be getting somewhere... Please correct me if I am wrong. You have a combo box, a list box, and a text box. A selection is made in the combo...that changes the row source of the list box...and the text box is supposed to sum the values in the list box? If this is true... (anyone else please chime in)... if you change a rowsource property via code...and don't save...and try to reference said property...will you get the changed or original via code? Instead of referencing the listbox.rowsource could you have the text box loop through the SQL statement instead ( I am assuming you have that SQL in code since the combo changes the SQL in the listbox.rowsource)? Am I close? Thanks, Mark A. Matte >From: "philippe pons" >Reply-To: Access Developers discussion and problem >solving >To: "Access Developers discussion and problem >solving" >Subject: Re: [AccessD] Using the recordset of a list control >Date: Wed, 22 Aug 2007 20:49:45 +0200 > >Mark, > >Yes, the rowsource is a sql (sql="select bla, bla..": >Me.lstListe.RowSource=sql), and on the form I have a combo box that will >update the list rowsource according the selection made. >Fields(1) and Field(2) are normally not Null. >Another fact: befor doing the calculation, I tried to requery the list, to >ensure th existence of a recordset, but it seems to be unefficient! > >Thanks for your help. > >2007/8/22, Mark A Matte : > > > > Philippe, > > > > No problem on the verbage...I was just making sure I understood. In this > > sense...scan=loop. > > > > > > First question...what is the Rowsource on the listbox and does it >change? > > > > Second Question...where you use .Fields(2) and .Fields(3)...can these >ever > > be null? > > > > Thanks, > > > > Mark A. Matte > > > > > > >From: "philippe pons" > > >Reply-To: Access Developers discussion and problem > > >solving > > >To: accessd at databaseadvisors.com > > >Subject: Re: [AccessD] Using the recordset of a list control > > >Date: Wed, 22 Aug 2007 19:40:11 +0200 > > > > > >I say scan because I missed the verb you use to indicate you are >"walking > > >through" the collection of rows of a recordset. I do something like >that > > >(basic!): > > > Me.lstListe.Recordset.MoveFirst > > > ' if the recorset does'nt exist, get out! > > > If Err.Number <> 0 Then > > > Err.Clear > > > Exit Sub > > > End If > > > Do While Not Me.lstListe.Recordset.EOF > > > sngTotPourc = sngTotPourc + Left(Me.lstListe.Recordset.Fields > > (2), > > >Len(Me.lstListe.Recordset.Fields(2)) - 1) / 100 > > > curTotMontantsPre = curTotMontantsPre + > > >Me.lstListe.Recordset.Fields > > >(3) > > > Me.lstListe.Recordset.MoveNext > > > Loop > > >I have to check the existence of the recordset, because sometimes, > > although > > >the list is there on the form, it does not exist, giving then an >error! > > > > > >2007/8/22, philippe pons : > > > > > > > > Hi all, > > > > > > > > I have a form with a list control. > > > > The list displays quantities and amount. > > > > Under the list, I have some text box that should display the total >of > > > > these quantities and amount. > > > > > > > > What I do is to use the recordset of the list, to scan each of the > > >record > > > > and do the sum I need. > > > > > > > > The problem is that this recordset does'nt seem to be reliable. > > > > Sometimes it does'nt exist anymore, sometimes it has 250 rows >instead > > of > > > > just 5 to 10. > > > > The calcultaion is ok only the first time i do it, and then it's >not! > > > > > > > > Did you already get into these kinds of troubles? > > > > What am I doing wroung? > > > > > > > > TIA, > > > > Philippe > > > > > > >-- > > >AccessD mailing list > > >AccessD at databaseadvisors.com > > >http://databaseadvisors.com/mailman/listinfo/accessd > > >Website: http://www.databaseadvisors.com > > > > _________________________________________________________________ > > Puzzles, trivia teasers, word scrambles and more. Play for your chance >to > > win! http://club.live.com/home.aspx?icid=CLUB_hotmailtextlink > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Booking a flight? Know when to buy with airfare predictions on MSN Travel. http://travel.msn.com/Articles/aboutfarecast.aspx&ocid=T001MSN25A07001 From phpons at gmail.com Wed Aug 22 14:44:51 2007 From: phpons at gmail.com (philippe pons) Date: Wed, 22 Aug 2007 21:44:51 +0200 Subject: [AccessD] Using the recordset of a list control In-Reply-To: References: <57144ced0708221149n4ac6e42duf582a7352064805d@mail.gmail.com> Message-ID: <57144ced0708221244s5eded714rda34e96a46622da@mail.gmail.com> Mark, you are correct! When I select a new choice in the cbo, the code build a new sql string with the correct WHERE criteria according the selection, passes this string to the rowsource of the listbox, and makes a list box requery. Then the listbox shows the correct information. BUT, after having selected a new choice with the cbo, then the recordset no longer exits, and I can't sum the values. Doing that would have avoid querying the database, reducing network traffic! But it doesn't work!! Never mind, I will query the datebase to make my sums! Thanks again, Philippe 2007/8/22, Mark A Matte : > > ahhh...we might be getting somewhere... > > Please correct me if I am wrong. > > You have a combo box, a list box, and a text box. > > A selection is made in the combo...that changes the row source of the list > box...and the text box is supposed to sum the values in the list box? > > If this is true... (anyone else please chime in)... if you change a > rowsource property via code...and don't save...and try to reference said > property...will you get the changed or original via code? > > Instead of referencing the listbox.rowsource could you have the text box > loop through the SQL statement instead ( I am assuming you have that SQL > in > code since the combo changes the SQL in the listbox.rowsource)? > > Am I close? > > Thanks, > > Mark A. Matte > > >From: "philippe pons" > >Reply-To: Access Developers discussion and problem > >solving > >To: "Access Developers discussion and problem > >solving" > >Subject: Re: [AccessD] Using the recordset of a list control > >Date: Wed, 22 Aug 2007 20:49:45 +0200 > > > >Mark, > > > >Yes, the rowsource is a sql (sql="select bla, bla..": > >Me.lstListe.RowSource=sql), and on the form I have a combo box that will > >update the list rowsource according the selection made. > >Fields(1) and Field(2) are normally not Null. > >Another fact: befor doing the calculation, I tried to requery the list, > to > >ensure th existence of a recordset, but it seems to be unefficient! > > > >Thanks for your help. > > > >2007/8/22, Mark A Matte : > > > > > > Philippe, > > > > > > No problem on the verbage...I was just making sure I understood. In > this > > > sense...scan=loop. > > > > > > > > > First question...what is the Rowsource on the listbox and does it > >change? > > > > > > Second Question...where you use .Fields(2) and .Fields(3)...can these > >ever > > > be null? > > > > > > Thanks, > > > > > > Mark A. Matte > > > > > > > > > >From: "philippe pons" > > > >Reply-To: Access Developers discussion and problem > > > >solving > > > >To: accessd at databaseadvisors.com > > > >Subject: Re: [AccessD] Using the recordset of a list control > > > >Date: Wed, 22 Aug 2007 19:40:11 +0200 > > > > > > > >I say scan because I missed the verb you use to indicate you are > >"walking > > > >through" the collection of rows of a recordset. I do something like > >that > > > >(basic!): > > > > Me.lstListe.Recordset.MoveFirst > > > > ' if the recorset does'nt exist, get out! > > > > If Err.Number <> 0 Then > > > > Err.Clear > > > > Exit Sub > > > > End If > > > > Do While Not Me.lstListe.Recordset.EOF > > > > sngTotPourc = sngTotPourc + Left( > Me.lstListe.Recordset.Fields > > > (2), > > > >Len(Me.lstListe.Recordset.Fields(2)) - 1) / 100 > > > > curTotMontantsPre = curTotMontantsPre + > > > >Me.lstListe.Recordset.Fields > > > >(3) > > > > Me.lstListe.Recordset.MoveNext > > > > Loop > > > >I have to check the existence of the recordset, because sometimes, > > > although > > > >the list is there on the form, it does not exist, giving then an > >error! > > > > > > > >2007/8/22, philippe pons : > > > > > > > > > > Hi all, > > > > > > > > > > I have a form with a list control. > > > > > The list displays quantities and amount. > > > > > Under the list, I have some text box that should display the total > >of > > > > > these quantities and amount. > > > > > > > > > > What I do is to use the recordset of the list, to scan each of the > > > >record > > > > > and do the sum I need. > > > > > > > > > > The problem is that this recordset does'nt seem to be reliable. > > > > > Sometimes it does'nt exist anymore, sometimes it has 250 rows > >instead > > > of > > > > > just 5 to 10. > > > > > The calcultaion is ok only the first time i do it, and then it's > >not! > > > > > > > > > > Did you already get into these kinds of troubles? > > > > > What am I doing wroung? > > > > > > > > > > TIA, > > > > > Philippe > > > > > > > > >-- > > > >AccessD mailing list > > > >AccessD at databaseadvisors.com > > > >http://databaseadvisors.com/mailman/listinfo/accessd > > > >Website: http://www.databaseadvisors.com > > > > > > _________________________________________________________________ > > > Puzzles, trivia teasers, word scrambles and more. Play for your chance > >to > > > win! http://club.live.com/home.aspx?icid=CLUB_hotmailtextlink > > > > > > -- > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > >-- > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > > _________________________________________________________________ > Booking a flight? Know when to buy with airfare predictions on MSN Travel. > http://travel.msn.com/Articles/aboutfarecast.aspx&ocid=T001MSN25A07001 > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From fuller.artful at gmail.com Wed Aug 22 17:50:40 2007 From: fuller.artful at gmail.com (Arthur Fuller) Date: Wed, 22 Aug 2007 18:50:40 -0400 Subject: [AccessD] Query Criteria problem In-Reply-To: <001901c7e4d6$204efc10$0200a8c0@murphy3234aaf1> References: <00b601c7e489$a21731b0$dd58a27a@pcadt> <001901c7e4d6$204efc10$0200a8c0@murphy3234aaf1> Message-ID: <29f585dd0708221550ndb521d7y56dd803074e1993e@mail.gmail.com> I would like to add one thing to this discussion of static functions. What I dislike about form references embedded in queries is that the form must be open in order to run the query | report | form that depends on them. With static functions, I can set the value(s) of concern from the immediate window then run the query | report | form without issues. That's why I love them. Arthur On 8/22/07, Doug Murphy wrote: > > A.D. > > > Thank you for the information. I don't have any reservations with using > static functions in queries and do it when required. I use form derived > values for query criteria since it is easy to do and up to now it worked. > Since I couldn't seem to understand why this isn't working in this case I > went to the static functions and things are progressing nicely. I would > still like to understand why using form values in a queries criteria does > not work in this project. Actually it is just in a couple of queries. I > am > sure there is a reason, I just can't figure it out. > > I will keep your message in my archive for future reference. > > Thanks again. > > Doug > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of A.D.TEJPAL > Sent: Tuesday, August 21, 2007 11:56 PM > To: Access Developers discussion and problem solving > Cc: A.D.TEJPAL > Subject: Re: [AccessD] Query Criteria problem > > Doug, > > Expressing reservation in use of static functions, you have stated: > "If I use the static function I still have to set it when the form is > updated to hold the value that is already on the form." > > This limitation can be overcome by pulling (instead of > pushing) form's > data into the function, as demonstrated in sample functions named > Fn_CustID() and Fn_EmpID() given below. This ensures that always the > latest > value in form's control is returned whenever the function is called. > > There are certain other strong reasons to prefer use of such > functions, > since direct reference to form's controls (in query SQL) suffers from the > following drawbacks: > > (a) For a query with parameters clause, a recordset can not be created > directly via Currentdb.OpenRecordset method. Leads to Error 3061 (Too few > parameters. Expected 1). > > (b) Action query with parameters clause can not be run directly via > Currentdb.Execute method. Leads to Error 3061 (Too few parameters. > Expected > 1). > > A self contained note on the subject is placed below, for ready > reference. > > Best wishes, > A.D.Tejpal > --------------- > > Queries using form based values > (Use of functions in lieu of parameters) =========================== > > 1 - Use of parameters in queries suffers from following limitations: > > 1.1 - For a query with parameters clause, a recordset can not be > created directly via Currentdb.OpenRecordset method. Leads to Error 3061 > (Too few parameters. Expected 1). > > 1.2 - Action query with parameters clause can not be run directly > via Currentdb.Execute method. Leads to Error 3061 (Too few parameters. > Expected 1). > > 1.3 - Parameter clause can not be too long (there are reports of > problems encountered on Windows Vista, if it is beyond 63 characters). > An extract from a post (Jul-2007) by Allen Brown in one of the news > groups, > is placed below: > "Paul Overway alerted me to this bug, which occurs only under > Access > 2000 - 2003 on Windows Vista. If a parameter name exceeds 63 characters, > and your code refers to the parameter of the QueryDef by name, the code > fails with Access Error 3000, reporting: Reserved Error -1038. There is no > message for this error." > > 1.4 - Confusion in dealing with Null value, if data type has been > explicitly declared as text - in parameters clause of the query. (This > anamoly was brought up in one of Allen Browne's posts in July 2007). > > 2 - Suggested Universal Remedy: > > 2.1 - The limitations outlined above can be overcome by replacing > form based parameters with user defined functions. > > 2.2 - As an illustration, functions Fn_CustID() returning text > type, > and Fn_EmpID() returning number type, are given below. These functions > grab > the values entered in relevant controls (TxtCustomerID and TxtEmployeeID > respectively) on the target form (Form1). > > 2.3 - Use of functions in this manner greatly simplifies the SQL, > at > the same time getting rid of parameters clause. Sample select queries > Q_CustSelect and Q_EmpSelect, based upon this approach, are given below. > These have criteria clause based upon CustomerID and EmployeeID fields > respectively. In both cases, if the target text box on the form is blank, > all records get included. > > 2.4 - Sample append query Q_CustEmpAppend, using functions in lieu > of form based parameters, as given below, can be run directly by using > Currentdb.Execute method. > > A.D.Tejpal > --------------- > > Q_CustSelect > (Query Filtered as per CustomerID (text type field)) > =================================== > SELECT Orders.* > FROM Orders > WHERE (Fn_CustID() = "") Or (Orders.CustomerID=Fn_CustID()); > =================================== > > Q_EmpSelect > (Query Filtered as per EmployeeID (number type field)) > =================================== > SELECT Orders.* > FROM Orders > WHERE (Fn_EmpID() = 0) Or (Orders.EmployeeID=Fn_EmpID()); > =================================== > > Q_CustEmpAppend > =================================== > INSERT INTO Orders ( CustomerID, EmployeeID ) VALUES (Fn_CustID(), > Fn_EmpID()); =================================== > > Fn_CustID() > =================================== > Function Fn_CustID() As String > On Error Resume Next > Dim Rtv As String > > Rtv = Nz(Forms("Form1")("TxtCustomerID"), "") > Fn_CustID = Rtv > On Error GoTo 0 > End Function > =================================== > > Fn_EmpID() > =================================== > Function Fn_EmpID() As Long > On Error Resume Next > Dim Rtv As Long > > Rtv = Nz(Forms("Form1")("TxtEmployeeID"), 0) > Fn_EmpID = Rtv > On Error GoTo 0 > End Function > =================================== > > ----- Original Message ----- > From: Doug Murphy > To: 'Access Developers discussion and problem solving' > Sent: Wednesday, August 22, 2007 03:16 > Subject: Re: [AccessD] Query Criteria problem > > > Hi Arthur, > > I use static functions where they make sense but in this case I should > be, > and have always been, able to just refer to the value of a control on an > open form. If I use the static function I still have to set it when the > form is updated to hold the value that is already on the form. I was > looking for a reason why am am getting this error. I like to understand > why things happen. > > If I can't figure this out I may go with your suggestion just to get > this > done, but I won't feel comfortable that the original problem is still > lurking. > > Doug > > << SNIP >> > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jwcolby at colbyconsulting.com Wed Aug 22 19:31:21 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 22 Aug 2007 20:31:21 -0400 Subject: [AccessD] Query Criteria problem In-Reply-To: <29f585dd0708221550ndb521d7y56dd803074e1993e@mail.gmail.com> Message-ID: <20070823003205.D39B2BE25@smtp-auth.no-ip.com> Y yo tambien. I might also say that you can pass values between forms and between code modules as well. You do need to be careful though as these turn into "global variables" and we all know what THAT means. ;-) John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Wednesday, August 22, 2007 6:51 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Query Criteria problem I would like to add one thing to this discussion of static functions. What I dislike about form references embedded in queries is that the form must be open in order to run the query | report | form that depends on them. With static functions, I can set the value(s) of concern from the immediate window then run the query | report | form without issues. That's why I love them. Arthur On 8/22/07, Doug Murphy wrote: > > A.D. > > > Thank you for the information. I don't have any reservations with > using static functions in queries and do it when required. I use form > derived values for query criteria since it is easy to do and up to now it worked. > Since I couldn't seem to understand why this isn't working in this > case I went to the static functions and things are progressing nicely. > I would still like to understand why using form values in a queries > criteria does not work in this project. Actually it is just in a > couple of queries. I am sure there is a reason, I just can't figure > it out. > > I will keep your message in my archive for future reference. > > Thanks again. > > Doug > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of A.D.TEJPAL > Sent: Tuesday, August 21, 2007 11:56 PM > To: Access Developers discussion and problem solving > Cc: A.D.TEJPAL > Subject: Re: [AccessD] Query Criteria problem > > Doug, > > Expressing reservation in use of static functions, you have stated: > "If I use the static function I still have to set it when the form > is updated to hold the value that is already on the form." > > This limitation can be overcome by pulling (instead of > pushing) form's > data into the function, as demonstrated in sample functions named > Fn_CustID() and Fn_EmpID() given below. This ensures that always the > latest value in form's control is returned whenever the function is > called. > > There are certain other strong reasons to prefer use of such > functions, since direct reference to form's controls (in query SQL) > suffers from the following drawbacks: > > (a) For a query with parameters clause, a recordset can not be > created directly via Currentdb.OpenRecordset method. Leads to Error > 3061 (Too few parameters. Expected 1). > > (b) Action query with parameters clause can not be run directly > via Currentdb.Execute method. Leads to Error 3061 (Too few parameters. > Expected > 1). > > A self contained note on the subject is placed below, for ready > reference. > > Best wishes, > A.D.Tejpal > --------------- > > Queries using form based values > (Use of functions in lieu of parameters) =========================== > > 1 - Use of parameters in queries suffers from following limitations: > > 1.1 - For a query with parameters clause, a recordset can not > be created directly via Currentdb.OpenRecordset method. Leads to Error > 3061 (Too few parameters. Expected 1). > > 1.2 - Action query with parameters clause can not be run > directly via Currentdb.Execute method. Leads to Error 3061 (Too few parameters. > Expected 1). > > 1.3 - Parameter clause can not be too long (there are reports > of problems encountered on Windows Vista, if it is beyond 63 characters). > An extract from a post (Jul-2007) by Allen Brown in one of the news > groups, is placed below: > "Paul Overway alerted me to this bug, which occurs only under > Access 2000 - 2003 on Windows Vista. If a parameter name exceeds 63 > characters, and your code refers to the parameter of the QueryDef by > name, the code fails with Access Error 3000, reporting: Reserved Error > -1038. There is no message for this error." > > 1.4 - Confusion in dealing with Null value, if data type has > been explicitly declared as text - in parameters clause of the query. > (This anamoly was brought up in one of Allen Browne's posts in July 2007). > > 2 - Suggested Universal Remedy: > > 2.1 - The limitations outlined above can be overcome by > replacing form based parameters with user defined functions. > > 2.2 - As an illustration, functions Fn_CustID() returning text > type, and Fn_EmpID() returning number type, are given below. These > functions grab the values entered in relevant controls (TxtCustomerID > and TxtEmployeeID > respectively) on the target form (Form1). > > 2.3 - Use of functions in this manner greatly simplifies the > SQL, at the same time getting rid of parameters clause. Sample select > queries Q_CustSelect and Q_EmpSelect, based upon this approach, are > given below. > These have criteria clause based upon CustomerID and EmployeeID fields > respectively. In both cases, if the target text box on the form is > blank, all records get included. > > 2.4 - Sample append query Q_CustEmpAppend, using functions in > lieu of form based parameters, as given below, can be run directly by > using Currentdb.Execute method. > > A.D.Tejpal > --------------- > > Q_CustSelect > (Query Filtered as per CustomerID (text type field)) > =================================== > SELECT Orders.* > FROM Orders > WHERE (Fn_CustID() = "") Or (Orders.CustomerID=Fn_CustID()); > =================================== > > Q_EmpSelect > (Query Filtered as per EmployeeID (number type field)) > =================================== > SELECT Orders.* > FROM Orders > WHERE (Fn_EmpID() = 0) Or (Orders.EmployeeID=Fn_EmpID()); > =================================== > > Q_CustEmpAppend > =================================== > INSERT INTO Orders ( CustomerID, EmployeeID ) VALUES (Fn_CustID(), > Fn_EmpID()); =================================== > > Fn_CustID() > =================================== > Function Fn_CustID() As String > On Error Resume Next > Dim Rtv As String > > Rtv = Nz(Forms("Form1")("TxtCustomerID"), "") > Fn_CustID = Rtv > On Error GoTo 0 > End Function > =================================== > > Fn_EmpID() > =================================== > Function Fn_EmpID() As Long > On Error Resume Next > Dim Rtv As Long > > Rtv = Nz(Forms("Form1")("TxtEmployeeID"), 0) > Fn_EmpID = Rtv > On Error GoTo 0 > End Function > =================================== > > ----- Original Message ----- > From: Doug Murphy > To: 'Access Developers discussion and problem solving' > Sent: Wednesday, August 22, 2007 03:16 > Subject: Re: [AccessD] Query Criteria problem > > > Hi Arthur, > > I use static functions where they make sense but in this case I > should be, and have always been, able to just refer to the value of a > control on an open form. If I use the static function I still have to > set it when the > form is updated to hold the value that is already on the form. I was > looking for a reason why am am getting this error. I like to > understand why things happen. > > If I can't figure this out I may go with your suggestion just to get > this > done, but I won't feel comfortable that the original problem is still > lurking. > > Doug > > << SNIP >> > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 23 10:06:13 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 23 Aug 2007 08:06:13 -0700 Subject: [AccessD] Query Criteria problem In-Reply-To: <20070823003205.D39B2BE25@smtp-auth.no-ip.com> References: <29f585dd0708221550ndb521d7y56dd803074e1993e@mail.gmail.com> <20070823003205.D39B2BE25@smtp-auth.no-ip.com> Message-ID: Hmmn ... Global variables = another war! LOL Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Wednesday, August 22, 2007 5:31 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Query Criteria problem Y yo tambien. I might also say that you can pass values between forms and between code modules as well. You do need to be careful though as these turn into "global variables" and we all know what THAT means. ;-) John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Wednesday, August 22, 2007 6:51 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Query Criteria problem I would like to add one thing to this discussion of static functions. What I dislike about form references embedded in queries is that the form must be open in order to run the query | report | form that depends on them. With static functions, I can set the value(s) of concern from the immediate window then run the query | report | form without issues. That's why I love them. Arthur On 8/22/07, Doug Murphy wrote: > > A.D. > > > Thank you for the information. I don't have any reservations with > using static functions in queries and do it when required. I use form > derived values for query criteria since it is easy to do and up to now > it worked. > Since I couldn't seem to understand why this isn't working in this > case I went to the static functions and things are progressing nicely. > I would still like to understand why using form values in a queries > criteria does not work in this project. Actually it is just in a > couple of queries. I am sure there is a reason, I just can't figure > it out. > > I will keep your message in my archive for future reference. > > Thanks again. > > Doug > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of A.D.TEJPAL > Sent: Tuesday, August 21, 2007 11:56 PM > To: Access Developers discussion and problem solving > Cc: A.D.TEJPAL > Subject: Re: [AccessD] Query Criteria problem > > Doug, > > Expressing reservation in use of static functions, you have stated: > "If I use the static function I still have to set it when the form > is updated to hold the value that is already on the form." > > This limitation can be overcome by pulling (instead of > pushing) form's > data into the function, as demonstrated in sample functions named > Fn_CustID() and Fn_EmpID() given below. This ensures that always the > latest value in form's control is returned whenever the function is > called. > > There are certain other strong reasons to prefer use of such > functions, since direct reference to form's controls (in query SQL) > suffers from the following drawbacks: > > (a) For a query with parameters clause, a recordset can not be > created directly via Currentdb.OpenRecordset method. Leads to Error > 3061 (Too few parameters. Expected 1). > > (b) Action query with parameters clause can not be run directly > via Currentdb.Execute method. Leads to Error 3061 (Too few parameters. > Expected > 1). > > A self contained note on the subject is placed below, for ready > reference. > > Best wishes, > A.D.Tejpal > --------------- > > Queries using form based values > (Use of functions in lieu of parameters) =========================== > > 1 - Use of parameters in queries suffers from following limitations: > > 1.1 - For a query with parameters clause, a recordset can not > be created directly via Currentdb.OpenRecordset method. Leads to Error > 3061 (Too few parameters. Expected 1). > > 1.2 - Action query with parameters clause can not be run > directly via Currentdb.Execute method. Leads to Error 3061 (Too few parameters. > Expected 1). > > 1.3 - Parameter clause can not be too long (there are reports > of problems encountered on Windows Vista, if it is beyond 63 characters). > An extract from a post (Jul-2007) by Allen Brown in one of the news > groups, is placed below: > "Paul Overway alerted me to this bug, which occurs only under > Access 2000 - 2003 on Windows Vista. If a parameter name exceeds 63 > characters, and your code refers to the parameter of the QueryDef by > name, the code fails with Access Error 3000, reporting: Reserved Error > -1038. There is no message for this error." > > 1.4 - Confusion in dealing with Null value, if data type has > been explicitly declared as text - in parameters clause of the query. > (This anamoly was brought up in one of Allen Browne's posts in July 2007). > > 2 - Suggested Universal Remedy: > > 2.1 - The limitations outlined above can be overcome by > replacing form based parameters with user defined functions. > > 2.2 - As an illustration, functions Fn_CustID() returning text > type, and Fn_EmpID() returning number type, are given below. These > functions grab the values entered in relevant controls (TxtCustomerID > and TxtEmployeeID > respectively) on the target form (Form1). > > 2.3 - Use of functions in this manner greatly simplifies the > SQL, at the same time getting rid of parameters clause. Sample select > queries Q_CustSelect and Q_EmpSelect, based upon this approach, are > given below. > These have criteria clause based upon CustomerID and EmployeeID fields > respectively. In both cases, if the target text box on the form is > blank, all records get included. > > 2.4 - Sample append query Q_CustEmpAppend, using functions in > lieu of form based parameters, as given below, can be run directly by > using Currentdb.Execute method. > > A.D.Tejpal > --------------- > > Q_CustSelect > (Query Filtered as per CustomerID (text type field)) > =================================== > SELECT Orders.* > FROM Orders > WHERE (Fn_CustID() = "") Or (Orders.CustomerID=Fn_CustID()); > =================================== > > Q_EmpSelect > (Query Filtered as per EmployeeID (number type field)) > =================================== > SELECT Orders.* > FROM Orders > WHERE (Fn_EmpID() = 0) Or (Orders.EmployeeID=Fn_EmpID()); > =================================== > > Q_CustEmpAppend > =================================== > INSERT INTO Orders ( CustomerID, EmployeeID ) VALUES (Fn_CustID(), > Fn_EmpID()); =================================== > > Fn_CustID() > =================================== > Function Fn_CustID() As String > On Error Resume Next > Dim Rtv As String > > Rtv = Nz(Forms("Form1")("TxtCustomerID"), "") > Fn_CustID = Rtv > On Error GoTo 0 > End Function > =================================== > > Fn_EmpID() > =================================== > Function Fn_EmpID() As Long > On Error Resume Next > Dim Rtv As Long > > Rtv = Nz(Forms("Form1")("TxtEmployeeID"), 0) > Fn_EmpID = Rtv > On Error GoTo 0 > End Function > =================================== > > ----- Original Message ----- > From: Doug Murphy > To: 'Access Developers discussion and problem solving' > Sent: Wednesday, August 22, 2007 03:16 > Subject: Re: [AccessD] Query Criteria problem > > > Hi Arthur, > > I use static functions where they make sense but in this case I > should be, and have always been, able to just refer to the value of a > control on an open form. If I use the static function I still have to > set it when the > form is updated to hold the value that is already on the form. I was > looking for a reason why am am getting this error. I like to > understand why things happen. > > If I can't figure this out I may go with your suggestion just to get > this > done, but I won't feel comfortable that the original problem is still > lurking. > > Doug > > << SNIP >> > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Thu Aug 23 10:17:22 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 23 Aug 2007 11:17:22 -0400 Subject: [AccessD] Query Criteria problem In-Reply-To: Message-ID: <20070823151808.23A9FBBEF@smtp-auth.no-ip.com> LOL, uh yep. That is why I treaded so lightly. But these things are in fact just that with a different face. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, August 23, 2007 11:06 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Query Criteria problem Hmmn ... Global variables = another war! LOL Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Wednesday, August 22, 2007 5:31 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Query Criteria problem Y yo tambien. I might also say that you can pass values between forms and between code modules as well. You do need to be careful though as these turn into "global variables" and we all know what THAT means. ;-) John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Wednesday, August 22, 2007 6:51 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Query Criteria problem I would like to add one thing to this discussion of static functions. What I dislike about form references embedded in queries is that the form must be open in order to run the query | report | form that depends on them. With static functions, I can set the value(s) of concern from the immediate window then run the query | report | form without issues. That's why I love them. Arthur On 8/22/07, Doug Murphy wrote: > > A.D. > > > Thank you for the information. I don't have any reservations with > using static functions in queries and do it when required. I use form > derived values for query criteria since it is easy to do and up to now > it worked. > Since I couldn't seem to understand why this isn't working in this > case I went to the static functions and things are progressing nicely. > I would still like to understand why using form values in a queries > criteria does not work in this project. Actually it is just in a > couple of queries. I am sure there is a reason, I just can't figure > it out. > > I will keep your message in my archive for future reference. > > Thanks again. > > Doug > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of A.D.TEJPAL > Sent: Tuesday, August 21, 2007 11:56 PM > To: Access Developers discussion and problem solving > Cc: A.D.TEJPAL > Subject: Re: [AccessD] Query Criteria problem > > Doug, > > Expressing reservation in use of static functions, you have stated: > "If I use the static function I still have to set it when the form > is updated to hold the value that is already on the form." > > This limitation can be overcome by pulling (instead of > pushing) form's > data into the function, as demonstrated in sample functions named > Fn_CustID() and Fn_EmpID() given below. This ensures that always the > latest value in form's control is returned whenever the function is > called. > > There are certain other strong reasons to prefer use of such > functions, since direct reference to form's controls (in query SQL) > suffers from the following drawbacks: > > (a) For a query with parameters clause, a recordset can not be > created directly via Currentdb.OpenRecordset method. Leads to Error > 3061 (Too few parameters. Expected 1). > > (b) Action query with parameters clause can not be run directly > via Currentdb.Execute method. Leads to Error 3061 (Too few parameters. > Expected > 1). > > A self contained note on the subject is placed below, for ready > reference. > > Best wishes, > A.D.Tejpal > --------------- > > Queries using form based values > (Use of functions in lieu of parameters) =========================== > > 1 - Use of parameters in queries suffers from following limitations: > > 1.1 - For a query with parameters clause, a recordset can not > be created directly via Currentdb.OpenRecordset method. Leads to Error > 3061 (Too few parameters. Expected 1). > > 1.2 - Action query with parameters clause can not be run > directly via Currentdb.Execute method. Leads to Error 3061 (Too few parameters. > Expected 1). > > 1.3 - Parameter clause can not be too long (there are reports > of problems encountered on Windows Vista, if it is beyond 63 characters). > An extract from a post (Jul-2007) by Allen Brown in one of the news > groups, is placed below: > "Paul Overway alerted me to this bug, which occurs only under > Access 2000 - 2003 on Windows Vista. If a parameter name exceeds 63 > characters, and your code refers to the parameter of the QueryDef by > name, the code fails with Access Error 3000, reporting: Reserved Error > -1038. There is no message for this error." > > 1.4 - Confusion in dealing with Null value, if data type has > been explicitly declared as text - in parameters clause of the query. > (This anamoly was brought up in one of Allen Browne's posts in July 2007). > > 2 - Suggested Universal Remedy: > > 2.1 - The limitations outlined above can be overcome by > replacing form based parameters with user defined functions. > > 2.2 - As an illustration, functions Fn_CustID() returning text > type, and Fn_EmpID() returning number type, are given below. These > functions grab the values entered in relevant controls (TxtCustomerID > and TxtEmployeeID > respectively) on the target form (Form1). > > 2.3 - Use of functions in this manner greatly simplifies the > SQL, at the same time getting rid of parameters clause. Sample select > queries Q_CustSelect and Q_EmpSelect, based upon this approach, are > given below. > These have criteria clause based upon CustomerID and EmployeeID fields > respectively. In both cases, if the target text box on the form is > blank, all records get included. > > 2.4 - Sample append query Q_CustEmpAppend, using functions in > lieu of form based parameters, as given below, can be run directly by > using Currentdb.Execute method. > > A.D.Tejpal > --------------- > > Q_CustSelect > (Query Filtered as per CustomerID (text type field)) > =================================== > SELECT Orders.* > FROM Orders > WHERE (Fn_CustID() = "") Or (Orders.CustomerID=Fn_CustID()); > =================================== > > Q_EmpSelect > (Query Filtered as per EmployeeID (number type field)) > =================================== > SELECT Orders.* > FROM Orders > WHERE (Fn_EmpID() = 0) Or (Orders.EmployeeID=Fn_EmpID()); > =================================== > > Q_CustEmpAppend > =================================== > INSERT INTO Orders ( CustomerID, EmployeeID ) VALUES (Fn_CustID(), > Fn_EmpID()); =================================== > > Fn_CustID() > =================================== > Function Fn_CustID() As String > On Error Resume Next > Dim Rtv As String > > Rtv = Nz(Forms("Form1")("TxtCustomerID"), "") > Fn_CustID = Rtv > On Error GoTo 0 > End Function > =================================== > > Fn_EmpID() > =================================== > Function Fn_EmpID() As Long > On Error Resume Next > Dim Rtv As Long > > Rtv = Nz(Forms("Form1")("TxtEmployeeID"), 0) > Fn_EmpID = Rtv > On Error GoTo 0 > End Function > =================================== > > ----- Original Message ----- > From: Doug Murphy > To: 'Access Developers discussion and problem solving' > Sent: Wednesday, August 22, 2007 03:16 > Subject: Re: [AccessD] Query Criteria problem > > > Hi Arthur, > > I use static functions where they make sense but in this case I > should be, and have always been, able to just refer to the value of a > control on an open form. If I use the static function I still have to > set it when the > form is updated to hold the value that is already on the form. I was > looking for a reason why am am getting this error. I like to > understand why things happen. > > If I can't figure this out I may go with your suggestion just to get > this > done, but I won't feel comfortable that the original problem is still > lurking. > > Doug > > << SNIP >> > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From marklbreen at gmail.com Thu Aug 23 11:05:06 2007 From: marklbreen at gmail.com (Mark Breen) Date: Thu, 23 Aug 2007 17:05:06 +0100 Subject: [AccessD] Point of Sale software for Tile Shop Message-ID: Hello All, A good friend of mine is opening a new shop selling floor and wall tiles. He has asked me whether I know of a package that will work for the first few months, or I guess six to twelve months perhaps. His basic requirements are to facilitate Point of Sale, to maintain a list of products to store cost and sell price for the products to produce invoices to maintain a list of customers (he will also support cash sales of course) he does not want or need integrated accounts at this stage, that is being handled separately by another small accounts package. Finally, his units of product are boxes of tiles, and each box covers a certain square meters or square yards. So, we would like to be able to enter square meters and the system will automatically tell him how many boxes he required to sell. I have not googled it yet, but I thought I would ask here, just in case one of you have a ready made solution sitting on a disk somewhere. Finally, I should mention in advance that he is trying to keep his budget to a minimum. Thanks for your attention, Mark Breen From prosoft6 at hotmail.com Thu Aug 23 11:33:20 2007 From: prosoft6 at hotmail.com (Julie Taylor) Date: Thu, 23 Aug 2007 12:33:20 -0400 Subject: [AccessD] Point of Sale software for Tile Shop In-Reply-To: References: Message-ID: What about Quickbooks? They make a POS system that integrates with their package. Julie Reardon PRO-SOFT of NY, Inc. 44 Public Square, Suite 5 Watertown, NY 13601 Phone: 315.785.0319 Fax: 315.785.0323 NYS IT Contract#CMT026A NYS Certified Woman-Owned Business www.pro-soft.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Breen Sent: Thursday, August 23, 2007 12:05 PM To: Access Developers discussion and problem solving Subject: [AccessD] Point of Sale software for Tile Shop Hello All, A good friend of mine is opening a new shop selling floor and wall tiles. He has asked me whether I know of a package that will work for the first few months, or I guess six to twelve months perhaps. His basic requirements are to facilitate Point of Sale, to maintain a list of products to store cost and sell price for the products to produce invoices to maintain a list of customers (he will also support cash sales of course) he does not want or need integrated accounts at this stage, that is being handled separately by another small accounts package. Finally, his units of product are boxes of tiles, and each box covers a certain square meters or square yards. So, we would like to be able to enter square meters and the system will automatically tell him how many boxes he required to sell. I have not googled it yet, but I thought I would ask here, just in case one of you have a ready made solution sitting on a disk somewhere. Finally, I should mention in advance that he is trying to keep his budget to a minimum. Thanks for your attention, Mark Breen -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Thu Aug 23 11:47:27 2007 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 23 Aug 2007 09:47:27 -0700 Subject: [AccessD] Query Criteria problem In-Reply-To: Message-ID: <180F8FDFBD254F1E96356D5D23186AE0@creativesystemdesigns.com> Hi Charlotte: The war has already been won... global variables are just fine and this discussion should never again be brought up in polite company. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, August 23, 2007 8:06 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Query Criteria problem Hmmn ... Global variables = another war! LOL Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Wednesday, August 22, 2007 5:31 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Query Criteria problem Y yo tambien. I might also say that you can pass values between forms and between code modules as well. You do need to be careful though as these turn into "global variables" and we all know what THAT means. ;-) John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Wednesday, August 22, 2007 6:51 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Query Criteria problem I would like to add one thing to this discussion of static functions. What I dislike about form references embedded in queries is that the form must be open in order to run the query | report | form that depends on them. With static functions, I can set the value(s) of concern from the immediate window then run the query | report | form without issues. That's why I love them. Arthur On 8/22/07, Doug Murphy wrote: > > A.D. > > > Thank you for the information. I don't have any reservations with > using static functions in queries and do it when required. I use form > derived values for query criteria since it is easy to do and up to now > it worked. > Since I couldn't seem to understand why this isn't working in this > case I went to the static functions and things are progressing nicely. > I would still like to understand why using form values in a queries > criteria does not work in this project. Actually it is just in a > couple of queries. I am sure there is a reason, I just can't figure > it out. > > I will keep your message in my archive for future reference. > > Thanks again. > > Doug > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of A.D.TEJPAL > Sent: Tuesday, August 21, 2007 11:56 PM > To: Access Developers discussion and problem solving > Cc: A.D.TEJPAL > Subject: Re: [AccessD] Query Criteria problem > > Doug, > > Expressing reservation in use of static functions, you have stated: > "If I use the static function I still have to set it when the form > is updated to hold the value that is already on the form." > > This limitation can be overcome by pulling (instead of > pushing) form's > data into the function, as demonstrated in sample functions named > Fn_CustID() and Fn_EmpID() given below. This ensures that always the > latest value in form's control is returned whenever the function is > called. > > There are certain other strong reasons to prefer use of such > functions, since direct reference to form's controls (in query SQL) > suffers from the following drawbacks: > > (a) For a query with parameters clause, a recordset can not be > created directly via Currentdb.OpenRecordset method. Leads to Error > 3061 (Too few parameters. Expected 1). > > (b) Action query with parameters clause can not be run directly > via Currentdb.Execute method. Leads to Error 3061 (Too few parameters. > Expected > 1). > > A self contained note on the subject is placed below, for ready > reference. > > Best wishes, > A.D.Tejpal > --------------- > > Queries using form based values > (Use of functions in lieu of parameters) =========================== > > 1 - Use of parameters in queries suffers from following limitations: > > 1.1 - For a query with parameters clause, a recordset can not > be created directly via Currentdb.OpenRecordset method. Leads to Error > 3061 (Too few parameters. Expected 1). > > 1.2 - Action query with parameters clause can not be run > directly via Currentdb.Execute method. Leads to Error 3061 (Too few parameters. > Expected 1). > > 1.3 - Parameter clause can not be too long (there are reports > of problems encountered on Windows Vista, if it is beyond 63 characters). > An extract from a post (Jul-2007) by Allen Brown in one of the news > groups, is placed below: > "Paul Overway alerted me to this bug, which occurs only under > Access 2000 - 2003 on Windows Vista. If a parameter name exceeds 63 > characters, and your code refers to the parameter of the QueryDef by > name, the code fails with Access Error 3000, reporting: Reserved Error > -1038. There is no message for this error." > > 1.4 - Confusion in dealing with Null value, if data type has > been explicitly declared as text - in parameters clause of the query. > (This anamoly was brought up in one of Allen Browne's posts in July 2007). > > 2 - Suggested Universal Remedy: > > 2.1 - The limitations outlined above can be overcome by > replacing form based parameters with user defined functions. > > 2.2 - As an illustration, functions Fn_CustID() returning text > type, and Fn_EmpID() returning number type, are given below. These > functions grab the values entered in relevant controls (TxtCustomerID > and TxtEmployeeID > respectively) on the target form (Form1). > > 2.3 - Use of functions in this manner greatly simplifies the > SQL, at the same time getting rid of parameters clause. Sample select > queries Q_CustSelect and Q_EmpSelect, based upon this approach, are > given below. > These have criteria clause based upon CustomerID and EmployeeID fields > respectively. In both cases, if the target text box on the form is > blank, all records get included. > > 2.4 - Sample append query Q_CustEmpAppend, using functions in > lieu of form based parameters, as given below, can be run directly by > using Currentdb.Execute method. > > A.D.Tejpal > --------------- > > Q_CustSelect > (Query Filtered as per CustomerID (text type field)) > =================================== > SELECT Orders.* > FROM Orders > WHERE (Fn_CustID() = "") Or (Orders.CustomerID=Fn_CustID()); > =================================== > > Q_EmpSelect > (Query Filtered as per EmployeeID (number type field)) > =================================== > SELECT Orders.* > FROM Orders > WHERE (Fn_EmpID() = 0) Or (Orders.EmployeeID=Fn_EmpID()); > =================================== > > Q_CustEmpAppend > =================================== > INSERT INTO Orders ( CustomerID, EmployeeID ) VALUES (Fn_CustID(), > Fn_EmpID()); =================================== > > Fn_CustID() > =================================== > Function Fn_CustID() As String > On Error Resume Next > Dim Rtv As String > > Rtv = Nz(Forms("Form1")("TxtCustomerID"), "") > Fn_CustID = Rtv > On Error GoTo 0 > End Function > =================================== > > Fn_EmpID() > =================================== > Function Fn_EmpID() As Long > On Error Resume Next > Dim Rtv As Long > > Rtv = Nz(Forms("Form1")("TxtEmployeeID"), 0) > Fn_EmpID = Rtv > On Error GoTo 0 > End Function > =================================== > > ----- Original Message ----- > From: Doug Murphy > To: 'Access Developers discussion and problem solving' > Sent: Wednesday, August 22, 2007 03:16 > Subject: Re: [AccessD] Query Criteria problem > > > Hi Arthur, > > I use static functions where they make sense but in this case I > should be, and have always been, able to just refer to the value of a > control on an open form. If I use the static function I still have to > set it when the > form is updated to hold the value that is already on the form. I was > looking for a reason why am am getting this error. I like to > understand why things happen. > > If I can't figure this out I may go with your suggestion just to get > this > done, but I won't feel comfortable that the original problem is still > lurking. > > Doug > > << SNIP >> > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 23 11:46:11 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 23 Aug 2007 09:46:11 -0700 Subject: [AccessD] Query Criteria problem In-Reply-To: <180F8FDFBD254F1E96356D5D23186AE0@creativesystemdesigns.com> References: <180F8FDFBD254F1E96356D5D23186AE0@creativesystemdesigns.com> Message-ID: That's right, fan the flames!! LOL Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, August 23, 2007 9:47 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Query Criteria problem Hi Charlotte: The war has already been won... global variables are just fine and this discussion should never again be brought up in polite company. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, August 23, 2007 8:06 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Query Criteria problem Hmmn ... Global variables = another war! LOL Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Wednesday, August 22, 2007 5:31 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Query Criteria problem Y yo tambien. I might also say that you can pass values between forms and between code modules as well. You do need to be careful though as these turn into "global variables" and we all know what THAT means. ;-) John W. Colby Colby Consulting www.ColbyConsulting.com From jwcolby at colbyconsulting.com Thu Aug 23 11:54:51 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 23 Aug 2007 12:54:51 -0400 Subject: [AccessD] Query Criteria problem In-Reply-To: Message-ID: <20070823165537.61C65BD9B@smtp-auth.no-ip.com> Whooo boy, he's itchin for a fight eh? John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, August 23, 2007 12:46 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Query Criteria problem That's right, fan the flames!! LOL Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, August 23, 2007 9:47 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Query Criteria problem Hi Charlotte: The war has already been won... global variables are just fine and this discussion should never again be brought up in polite company. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, August 23, 2007 8:06 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Query Criteria problem Hmmn ... Global variables = another war! LOL Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Wednesday, August 22, 2007 5:31 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Query Criteria problem Y yo tambien. I might also say that you can pass values between forms and between code modules as well. You do need to be careful though as these turn into "global variables" and we all know what THAT means. ;-) John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From carbonnb at gmail.com Thu Aug 23 12:29:01 2007 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Thu, 23 Aug 2007 13:29:01 -0400 Subject: [AccessD] Query Criteria problem In-Reply-To: References: <180F8FDFBD254F1E96356D5D23186AE0@creativesystemdesigns.com> Message-ID: On 8/23/07, Charlotte Foust wrote: > That's right, fan the flames!! LOL Hmmm, is that gasoline that I smell? :) -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" From prosoft6 at hotmail.com Thu Aug 23 12:47:51 2007 From: prosoft6 at hotmail.com (Julie Taylor) Date: Thu, 23 Aug 2007 13:47:51 -0400 Subject: [AccessD] Limit number of records In-Reply-To: References: <180F8FDFBD254F1E96356D5D23186AE0@creativesystemdesigns.com> Message-ID: HI, I know that I have in the past sent a demo out limiting the number of records that can be input. It seems that I have misplaced the code............. I have autonumbers as key fields on a lot of the tables. A validation rule would be a simple fix, but Autonumber fields do not have validation rules. Anyone have a suggestion? Julie Reardon PRO-SOFT of NY, Inc. 44 Public Square, Suite 5 Watertown, NY 13601 Phone: 315.785.0319 Fax: 315.785.0323 NYS IT Contract#CMT026A NYS Certified Woman-Owned Business www.pro-soft.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bryan Carbonnell Sent: Thursday, August 23, 2007 1:29 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Query Criteria problem On 8/23/07, Charlotte Foust wrote: > That's right, fan the flames!! LOL Hmmm, is that gasoline that I smell? :) -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at gmail.com Thu Aug 23 13:04:34 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Thu, 23 Aug 2007 14:04:34 -0400 Subject: [AccessD] Limit number of records In-Reply-To: References: <180F8FDFBD254F1E96356D5D23186AE0@creativesystemdesigns.com> Message-ID: <003701c7e5b0$10742380$048e01c7@SusanOne> Count(*) = totoalnumberofrecords??? Susan H. HI, I know that I have in the past sent a demo out limiting the number of records that can be input. It seems that I have misplaced the code............. I have autonumbers as key fields on a lot of the tables. A validation rule would be a simple fix, but Autonumber fields do not have validation rules. Anyone have a suggestion? From prosoft6 at hotmail.com Thu Aug 23 13:21:55 2007 From: prosoft6 at hotmail.com (Julie Taylor) Date: Thu, 23 Aug 2007 14:21:55 -0400 Subject: [AccessD] Limit number of records In-Reply-To: <003701c7e5b0$10742380$048e01c7@SusanOne> References: <180F8FDFBD254F1E96356D5D23186AE0@creativesystemdesigns.com> <003701c7e5b0$10742380$048e01c7@SusanOne> Message-ID: Hi Susan, This feels like kind of cheating...........I went into the main queries, limited the number of records to the top 5, then saved each query, created an mde and deployed the application using the developer extensions. Worked great. Now the application will only show 5 records. Julie Reardon PRO-SOFT of NY, Inc. 44 Public Square, Suite 5 Watertown, NY 13601 Phone: 315.785.0319 Fax: 315.785.0323 NYS IT Contract#CMT026A NYS Certified Woman-Owned Business www.pro-soft.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Thursday, August 23, 2007 2:05 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Limit number of records Count(*) = totoalnumberofrecords??? Susan H. HI, I know that I have in the past sent a demo out limiting the number of records that can be input. It seems that I have misplaced the code............. I have autonumbers as key fields on a lot of the tables. A validation rule would be a simple fix, but Autonumber fields do not have validation rules. Anyone have a suggestion? -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at gmail.com Thu Aug 23 13:54:14 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Thu, 23 Aug 2007 14:54:14 -0400 Subject: [AccessD] Limit number of records In-Reply-To: References: <180F8FDFBD254F1E96356D5D23186AE0@creativesystemdesigns.com><003701c7e5b0$10742380$048e01c7@SusanOne> Message-ID: <004501c7e5b7$00eee2e0$048e01c7@SusanOne> Whatever works. :) Susan H. Hi Susan, This feels like kind of cheating...........I went into the main queries, limited the number of records to the top 5, then saved each query, created an mde and deployed the application using the developer extensions. Worked great. Now the application will only show 5 records. From adtp at airtelbroadband.in Thu Aug 23 14:15:03 2007 From: adtp at airtelbroadband.in (A.D.TEJPAL) Date: Fri, 24 Aug 2007 00:45:03 +0530 Subject: [AccessD] Query Criteria problem References: <180F8FDFBD254F1E96356D5D23186AE0@creativesystemdesigns.com> Message-ID: <01f801c7e5ba$286c4350$ec57a27a@pcadt> Queries using form based values (Use of functions in lieu of parameters) =========================== Generic function grabbing values from form controls offers the benefit of global nature without using global variables. It accepts two arguments - form's name & control's name. There is no dependence upon any event related to form or control (e.g. form's current event or control's update event). Whenever called, the value returned by such a function always conforms to the current status of form control. Even if the form is not open, the query will not fail, as the function returns the default value (zero length string for text type data and zero value for number type data). Similar is the case if the control in question happens to be blank. Sample generic functions named Fn_TextData() for text type data and Fn_NumberData() for number type data, are given below. Benefits of using such functions in queries, in lieu of direct form based parameters, have already been brought out in my previous post (dated 22-Aug-2007). A.D.Tejpal --------------- Fn_TextData() =================================== Function Fn_TextData( _ Formname As String, _ ControlName As String) As String On Error Resume Next Dim Rtv As String Rtv = Nz(Forms(Formname)(ControlName), "") Fn_TextData = Rtv On Error GoTo 0 End Function =================================== Fn_NumberData() =================================== Function Fn_NumberData( _ Formname As String, _ ControlName As String) As Long On Error Resume Next Dim Rtv As Long Rtv = Nz(Forms(Formname)(ControlName), 0) Fn_NumberData = Rtv On Error GoTo 0 End Function =================================== ----- Original Message ----- From: jwcolby To: 'Access Developers discussion and problem solving' Sent: Thursday, August 23, 2007 22:24 Subject: Re: [AccessD] Query Criteria problem Whooo boy, he's itchin for a fight eh? John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, August 23, 2007 12:46 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Query Criteria problem That's right, fan the flames!! LOL Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, August 23, 2007 9:47 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Query Criteria problem Hi Charlotte: The war has already been won... global variables are just fine and this discussion should never again be brought up in polite company. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, August 23, 2007 8:06 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Query Criteria problem Hmmn ... Global variables = another war! LOL Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Wednesday, August 22, 2007 5:31 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Query Criteria problem Y yo tambien. I might also say that you can pass values between forms and between code modules as well. You do need to be careful though as these turn into "global variables" and we all know what THAT means. ;-) John W. Colby Colby Consulting www.ColbyConsulting.com From jwcolby at colbyconsulting.com Thu Aug 23 14:37:39 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 23 Aug 2007 15:37:39 -0400 Subject: [AccessD] Query Criteria problem In-Reply-To: <01f801c7e5ba$286c4350$ec57a27a@pcadt> Message-ID: <20070823193824.A8BCABF64@smtp-auth.no-ip.com> A.D. That certainly works. The downside is that to see data you have to have a form open, and you have to cause the form to display the values you want pulled in to your function. Using a static function where the form pushes its value in to the function allows the query to work even if the form is not open, or even if the form has never been opened - just push the values to the function manually. Of course you are correct, the form does have to "push" the right value into the function somehow. It is not difficult to do that however and I prefer the flexibility to be able to "push" whatever values I please for testing purposes without having to have a form open and muck around getting the form to set the values I want to test. For error testing (setting values that the form is not SUPPOSED to push) this is much easier with my static functions. Pros and cons of course. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of A.D.TEJPAL Sent: Thursday, August 23, 2007 3:15 PM To: Access Developers discussion and problem solving Cc: A.D.TEJPAL Subject: Re: [AccessD] Query Criteria problem Queries using form based values (Use of functions in lieu of parameters) =========================== Generic function grabbing values from form controls offers the benefit of global nature without using global variables. It accepts two arguments - form's name & control's name. There is no dependence upon any event related to form or control (e.g. form's current event or control's update event). Whenever called, the value returned by such a function always conforms to the current status of form control. Even if the form is not open, the query will not fail, as the function returns the default value (zero length string for text type data and zero value for number type data). Similar is the case if the control in question happens to be blank. Sample generic functions named Fn_TextData() for text type data and Fn_NumberData() for number type data, are given below. Benefits of using such functions in queries, in lieu of direct form based parameters, have already been brought out in my previous post (dated 22-Aug-2007). A.D.Tejpal --------------- Fn_TextData() =================================== Function Fn_TextData( _ Formname As String, _ ControlName As String) As String On Error Resume Next Dim Rtv As String Rtv = Nz(Forms(Formname)(ControlName), "") Fn_TextData = Rtv On Error GoTo 0 End Function =================================== Fn_NumberData() =================================== Function Fn_NumberData( _ Formname As String, _ ControlName As String) As Long On Error Resume Next Dim Rtv As Long Rtv = Nz(Forms(Formname)(ControlName), 0) Fn_NumberData = Rtv On Error GoTo 0 End Function =================================== ----- Original Message ----- From: jwcolby To: 'Access Developers discussion and problem solving' Sent: Thursday, August 23, 2007 22:24 Subject: Re: [AccessD] Query Criteria problem Whooo boy, he's itchin for a fight eh? John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, August 23, 2007 12:46 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Query Criteria problem That's right, fan the flames!! LOL Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, August 23, 2007 9:47 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Query Criteria problem Hi Charlotte: The war has already been won... global variables are just fine and this discussion should never again be brought up in polite company. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, August 23, 2007 8:06 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Query Criteria problem Hmmn ... Global variables = another war! LOL Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Wednesday, August 22, 2007 5:31 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Query Criteria problem Y yo tambien. I might also say that you can pass values between forms and between code modules as well. You do need to be careful though as these turn into "global variables" and we all know what THAT means. ;-) John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From adtp at airtelbroadband.in Fri Aug 24 00:00:06 2007 From: adtp at airtelbroadband.in (A.D.TEJPAL) Date: Fri, 24 Aug 2007 10:30:06 +0530 Subject: [AccessD] Query Criteria problem References: <20070823193824.A8BCABF64@smtp-auth.no-ip.com> Message-ID: <013f01c7e60b$cec25720$ec57a27a@pcadt> John, I agree. The situation in hand and stage of project would determine the best suited course of action. At developmental stage, while testing for errors & projected results, without having to necessarily open the relevant forms, the method using a multitude of variables might prove convenient. For normal use, where the user prefers to get the results as per values manually entered or selected on a form, the other method, where the function grabs the required value directly from a form control, has its advantages. Both the above alternatives get rid of direct form based parameters in a query, thus overcoming the attendant drawbacks. Best wishes, A.D.Tejpal --------------- ----- Original Message ----- From: jwcolby To: 'Access Developers discussion and problem solving' Sent: Friday, August 24, 2007 01:07 Subject: Re: [AccessD] Query Criteria problem A.D. That certainly works. The downside is that to see data you have to have a form open, and you have to cause the form to display the values you want pulled in to your function. Using a static function where the form pushes its value in to the function allows the query to work even if the form is not open, or even if the form has never been opened - just push the values to the function manually. Of course you are correct, the form does have to "push" the right value into the function somehow. It is not difficult to do that however and I prefer the flexibility to be able to "push" whatever values I please for testing purposes without having to have a form open and muck around getting the form to set the values I want to test. For error testing (setting values that the form is not SUPPOSED to push) this is much easier with my static functions. Pros and cons of course. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of A.D.TEJPAL Sent: Thursday, August 23, 2007 3:15 PM To: Access Developers discussion and problem solving Cc: A.D.TEJPAL Subject: Re: [AccessD] Query Criteria problem Queries using form based values (Use of functions in lieu of parameters) =========================== Generic function grabbing values from form controls offers the benefit of global nature without using global variables. It accepts two arguments - form's name & control's name. There is no dependence upon any event related to form or control (e.g. form's current event or control's update event). Whenever called, the value returned by such a function always conforms to the current status of form control. Even if the form is not open, the query will not fail, as the function returns the default value (zero length string for text type data and zero value for number type data). Similar is the case if the control in question happens to be blank. Sample generic functions named Fn_TextData() for text type data and Fn_NumberData() for number type data, are given below. Benefits of using such functions in queries, in lieu of direct form based parameters, have already been brought out in my previous post (dated 22-Aug-2007). A.D.Tejpal --------------- Fn_TextData() =================================== Function Fn_TextData( _ Formname As String, _ ControlName As String) As String On Error Resume Next Dim Rtv As String Rtv = Nz(Forms(Formname)(ControlName), "") Fn_TextData = Rtv On Error GoTo 0 End Function =================================== Fn_NumberData() =================================== Function Fn_NumberData( _ Formname As String, _ ControlName As String) As Long On Error Resume Next Dim Rtv As Long Rtv = Nz(Forms(Formname)(ControlName), 0) Fn_NumberData = Rtv On Error GoTo 0 End Function =================================== From askolits at nni.com Fri Aug 24 07:50:42 2007 From: askolits at nni.com (John Skolits) Date: Fri, 24 Aug 2007 08:50:42 -0400 Subject: [AccessD] Newer Common Dialog Box In-Reply-To: <013f01c7e60b$cec25720$ec57a27a@pcadt> References: <20070823193824.A8BCABF64@smtp-auth.no-ip.com> <013f01c7e60b$cec25720$ec57a27a@pcadt> Message-ID: <005901c7e64d$61a063c0$0f01a8c0@officexp> I posted this a while back and never heard back from anyone. I've been using comdlg32.ocx for years. Now I would like to use the newer one I see when I try to open a file using something like Word 2002. Anyone have code for the new common dialog? John Skolits From Lambert.Heenan at AIG.com Fri Aug 24 08:48:52 2007 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Fri, 24 Aug 2007 09:48:52 -0400 Subject: [AccessD] Newer Common Dialog Box Message-ID: <34C8A2AB1EF3564CB0D64DB6AFFDD5C208ED6EE8@XLIVMBX35bkup.aig.com> Try here... http://www.mvps.org/access/api/api0001.htm ... Looks like a lot of code, but of course once it's in a module you can just call it. I also have a modification of this that puts it in a Class. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Skolits Sent: Friday, August 24, 2007 8:51 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Newer Common Dialog Box I posted this a while back and never heard back from anyone. I've been using comdlg32.ocx for years. Now I would like to use the newer one I see when I try to open a file using something like Word 2002. Anyone have code for the new common dialog? John Skolits -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From fuller.artful at gmail.com Fri Aug 24 09:10:14 2007 From: fuller.artful at gmail.com (Arthur Fuller) Date: Fri, 24 Aug 2007 10:10:14 -0400 Subject: [AccessD] A couple of Excel questions Message-ID: <29f585dd0708240710h70824400mc9b46cb1c910462f@mail.gmail.com> Forgive the double-post. I wasn't sure whether this belongs on dba-Tech or if it's ok here. 1. When I change column widths on one sheet, it seems to change them on all sheets. Can't I affect only one sheet? 2. On one of my sheets there is a column that does a VLOOKUP() into another sheet. Except for the relative row number of the lookup value, the formulae are identical down the column. But two lookups fail. There doesn't seem to be anything different about these two. In one case the lookup value is 4431 and the other 11503. I tried switching them to strings and ditto in lookup table, to no avail. Any idea why these two, and only these two out of about 80 lookups, fail? TIA, Arthur From dwaters at usinternet.com Fri Aug 24 09:36:33 2007 From: dwaters at usinternet.com (Dan Waters) Date: Fri, 24 Aug 2007 09:36:33 -0500 Subject: [AccessD] A couple of Excel questions In-Reply-To: <29f585dd0708240710h70824400mc9b46cb1c910462f@mail.gmail.com> References: <29f585dd0708240710h70824400mc9b46cb1c910462f@mail.gmail.com> Message-ID: <001301c7e65c$2aef8b30$0200a8c0@danwaters> Hi Arthur, I couldn't duplicate your #1 issue - what steps are you going through to change column width? On #2 I have to pass! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Friday, August 24, 2007 9:10 AM To: Access Developers discussion and problem solving; Discussion of Hardware and Software issues Subject: [AccessD] A couple of Excel questions Forgive the double-post. I wasn't sure whether this belongs on dba-Tech or if it's ok here. 1. When I change column widths on one sheet, it seems to change them on all sheets. Can't I affect only one sheet? 2. On one of my sheets there is a column that does a VLOOKUP() into another sheet. Except for the relative row number of the lookup value, the formulae are identical down the column. But two lookups fail. There doesn't seem to be anything different about these two. In one case the lookup value is 4431 and the other 11503. I tried switching them to strings and ditto in lookup table, to no avail. Any idea why these two, and only these two out of about 80 lookups, fail? TIA, Arthur -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Donald.A.McGillivray at sprint.com Fri Aug 24 09:39:03 2007 From: Donald.A.McGillivray at sprint.com (McGillivray, Don [IT]) Date: Fri, 24 Aug 2007 09:39:03 -0500 Subject: [AccessD] A couple of Excel questions In-Reply-To: <29f585dd0708240710h70824400mc9b46cb1c910462f@mail.gmail.com> References: <29f585dd0708240710h70824400mc9b46cb1c910462f@mail.gmail.com> Message-ID: Arthur, I've seen behavior 1 only when I've multi-selected sheets in a book. IOW, if both sheets are selected. Is that the case for you? (Ctrl+Shift+PgDn(Up) will select the current sheet and its adjacent one, or hold shift while selecting tabs.) If this is not the case, I'm afraid I'm not much help. As for 2, is your lookup table sorted according to values in the index column? If you set the "RangeLookup" flag to False (the default), the values in that column need to be sorted in ascending order. If the "RangeLookup" flag is set to True, Vlookup will return an approximate match, and the values needn't be sorted. Beware that multiple occurrences of the same value in your lookup index may cause unexpected results. I hope this helps . . . Don -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Friday, August 24, 2007 7:10 AM To: Access Developers discussion and problem solving; Discussion of Hardware and Software issues Subject: [AccessD] A couple of Excel questions Forgive the double-post. I wasn't sure whether this belongs on dba-Tech or if it's ok here. 1. When I change column widths on one sheet, it seems to change them on all sheets. Can't I affect only one sheet? 2. On one of my sheets there is a column that does a VLOOKUP() into another sheet. Except for the relative row number of the lookup value, the formulae are identical down the column. But two lookups fail. There doesn't seem to be anything different about these two. In one case the lookup value is 4431 and the other 11503. I tried switching them to strings and ditto in lookup table, to no avail. Any idea why these two, and only these two out of about 80 lookups, fail? TIA, Arthur -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From fuller.artful at gmail.com Fri Aug 24 09:52:25 2007 From: fuller.artful at gmail.com (Arthur Fuller) Date: Fri, 24 Aug 2007 10:52:25 -0400 Subject: [AccessD] A couple of Excel questions In-Reply-To: References: <29f585dd0708240710h70824400mc9b46cb1c910462f@mail.gmail.com> Message-ID: <29f585dd0708240752u7bbc7653x63f042a6afc00cfe@mail.gmail.com> Don, 1. Aha! I think that you've hit the bullseye. I didn't realize that Ctrl+PgUp|Dn multi-selected the sheets. I've just been using it as a simple navigation method, because with 50 sheets in the book, clicking takes way too long. Well, now I know! Thanks a bunch. 2. I think you're right again. I've been passing False as the last argument to VLOOKUP. I'll try it both ways, passing True and sorting the table, to see if there is any difference. Thanks much, Don. A. On 8/24/07, McGillivray, Don [IT] wrote: > > Arthur, > > I've seen behavior 1 only when I've multi-selected sheets in a book. IOW, > if both sheets are selected. Is that the case for > you? (Ctrl+Shift+PgDn(Up) will select the current sheet and its adjacent > one, or hold shift while selecting tabs.) If this is not the case, I'm > afraid I'm not much help. > > As for 2, is your lookup table sorted according to values in the index > column? If you set the "RangeLookup" flag to False (the default), the > values in that column need to be sorted in ascending order. If the > "RangeLookup" flag is set to True, Vlookup will return an approximate match, > and the values needn't be sorted. Beware that multiple occurrences of the > same value in your lookup index may cause unexpected results. > > I hope this helps . . . > > Don > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto: > accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller > Sent: Friday, August 24, 2007 7:10 AM > To: Access Developers discussion and problem solving; Discussion of > Hardware and Software issues > Subject: [AccessD] A couple of Excel questions > > Forgive the double-post. I wasn't sure whether this belongs on dba-Tech or > if it's ok here. > > > 1. When I change column widths on one sheet, it seems to change them on > all > sheets. Can't I affect only one sheet? > 2. On one of my sheets there is a column that does a VLOOKUP() into > another > sheet. Except for the relative row number of the lookup value, the > formulae > are identical down the column. But two lookups fail. There doesn't seem to > be anything different about these two. In one case the lookup value is > 4431 > and the other 11503. I tried switching them to strings and ditto in lookup > table, to no avail. Any idea why these two, and only these two out of > about > 80 lookups, fail? > > 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 Donald.A.McGillivray at sprint.com Fri Aug 24 09:57:07 2007 From: Donald.A.McGillivray at sprint.com (McGillivray, Don [IT]) Date: Fri, 24 Aug 2007 09:57:07 -0500 Subject: [AccessD] A couple of Excel questions In-Reply-To: References: <29f585dd0708240710h70824400mc9b46cb1c910462f@mail.gmail.com> Message-ID: Oops, looks like the default for RangeLookup is True. Check the help in Excel for a clearer description of this flag's function. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of McGillivray, Don [IT] Sent: Friday, August 24, 2007 7:39 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] A couple of Excel questions Arthur, I've seen behavior 1 only when I've multi-selected sheets in a book. IOW, if both sheets are selected. Is that the case for you? (Ctrl+Shift+PgDn(Up) will select the current sheet and its adjacent one, or hold shift while selecting tabs.) If this is not the case, I'm afraid I'm not much help. As for 2, is your lookup table sorted according to values in the index column? If you set the "RangeLookup" flag to False (the default), the values in that column need to be sorted in ascending order. If the "RangeLookup" flag is set to True, Vlookup will return an approximate match, and the values needn't be sorted. Beware that multiple occurrences of the same value in your lookup index may cause unexpected results. I hope this helps . . . Don -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Friday, August 24, 2007 7:10 AM To: Access Developers discussion and problem solving; Discussion of Hardware and Software issues Subject: [AccessD] A couple of Excel questions Forgive the double-post. I wasn't sure whether this belongs on dba-Tech or if it's ok here. 1. When I change column widths on one sheet, it seems to change them on all sheets. Can't I affect only one sheet? 2. On one of my sheets there is a column that does a VLOOKUP() into another sheet. Except for the relative row number of the lookup value, the formulae are identical down the column. But two lookups fail. There doesn't seem to be anything different about these two. In one case the lookup value is 4431 and the other 11503. I tried switching them to strings and ditto in lookup table, to no avail. Any idea why these two, and only these two out of about 80 lookups, fail? 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 Patricia.O'Connor at otda.state.ny.us Fri Aug 24 10:47:23 2007 From: Patricia.O'Connor at otda.state.ny.us (O'Connor, Patricia (OTDA)) Date: Fri, 24 Aug 2007 11:47:23 -0400 Subject: [AccessD] A2k form control undo In-Reply-To: <001b01c77144$ace71a50$657aa8c0@m6805> References: <002101c77143$43009e50$0201a8c0@HAL9005> <001b01c77144$ace71a50$657aa8c0@m6805> Message-ID: <01DBAB52E30A9A4AB3D94EF8029EDBE8021BAF7E@EXCNYSM0A1AI.nysemail.nyenet> When I try to undo a control the original text does not display in the control on the form. I have even tried to repaint the form but that doesn't help.. Also if the person does select another file - the new file name will not show up on form even after the AFTER_UPDATE Thanks ************************************************** * Patricia O'Connor * Associate Computer Programmer Analyst * OTDA - BDMA * (W) mailto:Patricia.O'Connor at otda.state.ny.us * (w) mailto:aa1160 at nysemail.state.ny.us ************************************************** Private Sub strFileNm_BeforeUpdate(Cancel As Integer) Dim myPath As String strFilter = "Rpt Files(*Bic*.txt; *.txt)" & vbNullChar & "*RPT*.txt;*.TXT;*.DOC;*.XLS" myPath = strFileNm If IsNull(strFileNm.text) Or strFileNm.text = "" Then GoTo strFileNm_BeforeUpdate_GetFile ElseIf Not (Len(Dir$(myPath)) > 0) Then If MsgBox("This file not found " & vbLf & strFileNm & vbLf & _ "Do you want to Search?", vbYesNo, "RPT File Name") = vbYES Then GoTo strFileNm_BeforeUpdate_GetFile Else Cancel = True 'Me.strFileNm.Undo 'Tried both these 'Me!strFileNm.Undo strFileNm.Undo Me.Repaint 'added this - still does not show original value Exit Sub End If End If Exit Sub strFileNm_BeforeUpdate_GetFile: myPath = tsGetFileFromUser(, gstrPPathFTP, strFilter, , "txt", , "RPT Import Files", True) If IsNull(myPath) Then Cancel = True Me.strFileNm.Undo Exit Sub End If End Sub -------------------------------------------------------- This e-mail, including any attachments, may be confidential, privileged or otherwise legally protected. It is intended only for the addressee. If you received this e-mail in error or from someone who was not authorized to send it to you, do not disseminate, copy or otherwise use this e-mail or its attachments. Please notify the sender immediately by reply e-mail and delete the e-mail from your system. From cfoust at infostatsystems.com Fri Aug 24 11:03:10 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 24 Aug 2007 09:03:10 -0700 Subject: [AccessD] A2k form control undo In-Reply-To: <01DBAB52E30A9A4AB3D94EF8029EDBE8021BAF7E@EXCNYSM0A1AI.nysemail.nyenet> References: <002101c77143$43009e50$0201a8c0@HAL9005><001b01c77144$ace71a50$657aa8c0@m6805> <01DBAB52E30A9A4AB3D94EF8029EDBE8021BAF7E@EXCNYSM0A1AI.nysemail.nyenet> Message-ID: If this is unbound, there isn't a value to return to. I usually handle that by assigning the initial value to a variable or to the control's tag property so I can simply reset the control to that value if they cancel. As for your second question, I don't see any code assigning myPath to the strFileNm control. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of O'Connor, Patricia (OTDA) Sent: Friday, August 24, 2007 8:47 AM To: Access Developers discussion and problem solving Subject: [AccessD] A2k form control undo When I try to undo a control the original text does not display in the control on the form. I have even tried to repaint the form but that doesn't help.. Also if the person does select another file - the new file name will not show up on form even after the AFTER_UPDATE Thanks ************************************************** * Patricia O'Connor * Associate Computer Programmer Analyst * OTDA - BDMA * (W) mailto:Patricia.O'Connor at otda.state.ny.us * (w) mailto:aa1160 at nysemail.state.ny.us ************************************************** Private Sub strFileNm_BeforeUpdate(Cancel As Integer) Dim myPath As String strFilter = "Rpt Files(*Bic*.txt; *.txt)" & vbNullChar & "*RPT*.txt;*.TXT;*.DOC;*.XLS" myPath = strFileNm If IsNull(strFileNm.text) Or strFileNm.text = "" Then GoTo strFileNm_BeforeUpdate_GetFile ElseIf Not (Len(Dir$(myPath)) > 0) Then If MsgBox("This file not found " & vbLf & strFileNm & vbLf & _ "Do you want to Search?", vbYesNo, "RPT File Name") = vbYES Then GoTo strFileNm_BeforeUpdate_GetFile Else Cancel = True 'Me.strFileNm.Undo 'Tried both these 'Me!strFileNm.Undo strFileNm.Undo Me.Repaint 'added this - still does not show original value Exit Sub End If End If Exit Sub strFileNm_BeforeUpdate_GetFile: myPath = tsGetFileFromUser(, gstrPPathFTP, strFilter, , "txt", , "RPT Import Files", True) If IsNull(myPath) Then Cancel = True Me.strFileNm.Undo Exit Sub End If End Sub -------------------------------------------------------- This e-mail, including any attachments, may be confidential, privileged or otherwise legally protected. It is intended only for the addressee. If you received this e-mail in error or from someone who was not authorized to send it to you, do not disseminate, copy or otherwise use this e-mail or its attachments. Please notify the sender immediately by reply e-mail and delete the e-mail from your system. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From askolits at nni.com Fri Aug 24 11:12:09 2007 From: askolits at nni.com (John Skolits) Date: Fri, 24 Aug 2007 12:12:09 -0400 Subject: [AccessD] A good book reference In-Reply-To: References: <29f585dd0708240710h70824400mc9b46cb1c910462f@mail.gmail.com> Message-ID: <014301c7e669$86116530$0f01a8c0@officexp> I have someone who is familiar with programming and wants to learn Access. He doesn't necessarily get into the nitty gritty stuff (VBA and such), but just the basics. I actually had a few books but got rid of them. I now do all my learning on-line (and of course through DatabaseAdvisors!) What book would you guys recommend as a good beginner book for someone with some programming experience? John Skolits From ssharkins at gmail.com Fri Aug 24 11:17:57 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Fri, 24 Aug 2007 12:17:57 -0400 Subject: [AccessD] A good book reference In-Reply-To: <014301c7e669$86116530$0f01a8c0@officexp> References: <29f585dd0708240710h70824400mc9b46cb1c910462f@mail.gmail.com> <014301c7e669$86116530$0f01a8c0@officexp> Message-ID: <002101c7e66a$5acaa3e0$048e01c7@SusanOne> Mike Gunderloy and I wrote a basic VBA book -- Using VBA to Automate Access --- it's full of the basics and has lots of examples. Susan H. I have someone who is familiar with programming and wants to learn Access. He doesn't necessarily get into the nitty gritty stuff (VBA and such), but just the basics. I actually had a few books but got rid of them. I now do all my learning on-line (and of course through DatabaseAdvisors!) What book would you guys recommend as a good beginner book for someone with some programming experience? From cfoust at infostatsystems.com Fri Aug 24 11:22:14 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 24 Aug 2007 09:22:14 -0700 Subject: [AccessD] A good book reference In-Reply-To: <014301c7e669$86116530$0f01a8c0@officexp> References: <29f585dd0708240710h70824400mc9b46cb1c910462f@mail.gmail.com> <014301c7e669$86116530$0f01a8c0@officexp> Message-ID: If he doesn't want to learn VBA and such, One of MS Step By Step books would teach him how to use the UI. I don't see what programming experience has to do with it if he doesn't want to deal with VBA. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Skolits Sent: Friday, August 24, 2007 9:12 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] A good book reference I have someone who is familiar with programming and wants to learn Access. He doesn't necessarily get into the nitty gritty stuff (VBA and such), but just the basics. I actually had a few books but got rid of them. I now do all my learning on-line (and of course through DatabaseAdvisors!) What book would you guys recommend as a good beginner book for someone with some programming experience? John Skolits -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Fri Aug 24 11:29:54 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 24 Aug 2007 12:29:54 -0400 Subject: [AccessD] Deleting system fields Message-ID: <20070824162956.9688DBDA3@smtp-auth.no-ip.com> I have a database that was apparently "replicated" at some time (the button pressed by mistake), then other tables later added that were not replicated. I tried running trigeminal's unreplicator but I think they got confused by the unreplicated fields and said it wasn't replicated and didn't do anything. I tried to delete just the system field S_GUID but was told I can't because it is a system field and I can't do that. The "suggestion" was to rebuild the table by doing a make table without the S_GUID field. I can certainly do that but I have to also break existing relationships, delete the existing data and then recreate the relationships. Is there ANY method of just deleting the S_GUID field? It is doing no damage but it is taking up space, is confusing, and is simply not needed and I would like to get rid of it. John W. Colby Colby Consulting www.ColbyConsulting.com From askolits at nni.com Fri Aug 24 11:30:49 2007 From: askolits at nni.com (John Skolits) Date: Fri, 24 Aug 2007 12:30:49 -0400 Subject: [AccessD] A good book reference In-Reply-To: <002101c7e66a$5acaa3e0$048e01c7@SusanOne> References: <29f585dd0708240710h70824400mc9b46cb1c910462f@mail.gmail.com><014301c7e669$86116530$0f01a8c0@officexp> <002101c7e66a$5acaa3e0$048e01c7@SusanOne> Message-ID: <0a2101c7e66c$21afbc10$0f01a8c0@officexp> I think I heard you guys had written one. ISBN#? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Friday, August 24, 2007 12:18 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] A good book reference Mike Gunderloy and I wrote a basic VBA book -- Using VBA to Automate Access --- it's full of the basics and has lots of examples. Susan H. I have someone who is familiar with programming and wants to learn Access. He doesn't necessarily get into the nitty gritty stuff (VBA and such), but just the basics. I actually had a few books but got rid of them. I now do all my learning on-line (and of course through DatabaseAdvisors!) What book would you guys recommend as a good beginner book for someone with some programming experience? -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Fri Aug 24 11:35:20 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 24 Aug 2007 09:35:20 -0700 Subject: [AccessD] Deleting system fields In-Reply-To: <20070824162956.9688DBDA3@smtp-auth.no-ip.com> References: <20070824162956.9688DBDA3@smtp-auth.no-ip.com> Message-ID: I've never found any but the hard way, John. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Friday, August 24, 2007 9:30 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Deleting system fields I have a database that was apparently "replicated" at some time (the button pressed by mistake), then other tables later added that were not replicated. I tried running trigeminal's unreplicator but I think they got confused by the unreplicated fields and said it wasn't replicated and didn't do anything. I tried to delete just the system field S_GUID but was told I can't because it is a system field and I can't do that. The "suggestion" was to rebuild the table by doing a make table without the S_GUID field. I can certainly do that but I have to also break existing relationships, delete the existing data and then recreate the relationships. Is there ANY method of just deleting the S_GUID field? It is doing no damage but it is taking up space, is confusing, and is simply not needed and I would like to get rid of it. John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From askolits at nni.com Fri Aug 24 11:48:15 2007 From: askolits at nni.com (John Skolits) Date: Fri, 24 Aug 2007 12:48:15 -0400 Subject: [AccessD] Newer Common Dialog Box In-Reply-To: <34C8A2AB1EF3564CB0D64DB6AFFDD5C208ED6EE8@XLIVMBX35bkup.aig.com> References: <34C8A2AB1EF3564CB0D64DB6AFFDD5C208ED6EE8@XLIVMBX35bkup.aig.com> Message-ID: <0a3601c7e66e$90e8b7b0$0f01a8c0@officexp> Thanks! I'll give it a shot. John -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert Sent: Friday, August 24, 2007 9:49 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Newer Common Dialog Box Try here... http://www.mvps.org/access/api/api0001.htm ... Looks like a lot of code, but of course once it's in a module you can just call it. I also have a modification of this that puts it in a Class. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Skolits Sent: Friday, August 24, 2007 8:51 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Newer Common Dialog Box I posted this a while back and never heard back from anyone. I've been using comdlg32.ocx for years. Now I would like to use the newer one I see when I try to open a file using something like Word 2002. Anyone have code for the new common dialog? John Skolits -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dwaters at usinternet.com Fri Aug 24 11:56:38 2007 From: dwaters at usinternet.com (Dan Waters) Date: Fri, 24 Aug 2007 11:56:38 -0500 Subject: [AccessD] A good book reference In-Reply-To: <0a2101c7e66c$21afbc10$0f01a8c0@officexp> References: <29f585dd0708240710h70824400mc9b46cb1c910462f@mail.gmail.com><014301c7e669$86116530$0f01a8c0@officexp><002101c7e66a$5acaa3e0$048e01c7@SusanOne> <0a2101c7e66c$21afbc10$0f01a8c0@officexp> Message-ID: <002001c7e66f$bcc05c70$0200a8c0@danwaters> ISBN = 0789732440 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Skolits Sent: Friday, August 24, 2007 11:31 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] A good book reference I think I heard you guys had written one. ISBN#? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Friday, August 24, 2007 12:18 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] A good book reference Mike Gunderloy and I wrote a basic VBA book -- Using VBA to Automate Access --- it's full of the basics and has lots of examples. Susan H. I have someone who is familiar with programming and wants to learn Access. He doesn't necessarily get into the nitty gritty stuff (VBA and such), but just the basics. I actually had a few books but got rid of them. I now do all my learning on-line (and of course through DatabaseAdvisors!) What book would you guys recommend as a good beginner book for someone with some programming experience? -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From askolits at nni.com Fri Aug 24 11:58:05 2007 From: askolits at nni.com (John Skolits) Date: Fri, 24 Aug 2007 12:58:05 -0400 Subject: [AccessD] Newer Common Dialog Box In-Reply-To: <0a3601c7e66e$90e8b7b0$0f01a8c0@officexp> References: <34C8A2AB1EF3564CB0D64DB6AFFDD5C208ED6EE8@XLIVMBX35bkup.aig.com> <0a3601c7e66e$90e8b7b0$0f01a8c0@officexp> Message-ID: <0a3701c7e66f$f0dd6cf0$0f01a8c0@officexp> That turns out to be the same box I've been using for years. If you run the old version and compare it to the File Open in Word, you'll see the difference. The new one displays "My Places" which can be added to with the Tools option in the dialog box. John Skolits -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Skolits Sent: Friday, August 24, 2007 12:48 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Newer Common Dialog Box Thanks! I'll give it a shot. John -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert Sent: Friday, August 24, 2007 9:49 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Newer Common Dialog Box Try here... http://www.mvps.org/access/api/api0001.htm ... Looks like a lot of code, but of course once it's in a module you can just call it. I also have a modification of this that puts it in a Class. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Skolits Sent: Friday, August 24, 2007 8:51 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Newer Common Dialog Box I posted this a while back and never heard back from anyone. I've been using comdlg32.ocx for years. Now I would like to use the newer one I see when I try to open a file using something like Word 2002. Anyone have code for the new common dialog? John Skolits -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at verizon.net Fri Aug 24 12:05:33 2007 From: jimdettman at verizon.net (Jim Dettman) Date: Fri, 24 Aug 2007 13:05:33 -0400 Subject: [AccessD] Deleting system fields In-Reply-To: References: <20070824162956.9688DBDA3@smtp-auth.no-ip.com> Message-ID: <000301c7e670$fcd91800$8abea8c0@XPS> John, <> Your talking about this? http://trigeminal.com/lang/1033/utility.asp?ItemID=11#11 The only other thing I know you can do is to: 1. Synch all replicas 2. Recover the design master if you don't have it. 3. Then use the unreplicate wizard. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, August 24, 2007 12:35 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Deleting system fields I've never found any but the hard way, John. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Friday, August 24, 2007 9:30 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Deleting system fields I have a database that was apparently "replicated" at some time (the button pressed by mistake), then other tables later added that were not replicated. I tried running trigeminal's unreplicator but I think they got confused by the unreplicated fields and said it wasn't replicated and didn't do anything. I tried to delete just the system field S_GUID but was told I can't because it is a system field and I can't do that. The "suggestion" was to rebuild the table by doing a make table without the S_GUID field. I can certainly do that but I have to also break existing relationships, delete the existing data and then recreate the relationships. Is there ANY method of just deleting the S_GUID field? It is doing no damage but it is taking up space, is confusing, and is simply not needed and I would like to get rid of it. John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Fri Aug 24 12:07:11 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 24 Aug 2007 13:07:11 -0400 Subject: [AccessD] Deleting system fields In-Reply-To: Message-ID: <20070824170714.82D1ABE75@smtp-auth.no-ip.com> OK, then does anyone have prewritten code for logging / deleting / recreating relationships between tables? This is one area I have never delved into. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, August 24, 2007 12:35 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Deleting system fields I've never found any but the hard way, John. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Friday, August 24, 2007 9:30 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Deleting system fields I have a database that was apparently "replicated" at some time (the button pressed by mistake), then other tables later added that were not replicated. I tried running trigeminal's unreplicator but I think they got confused by the unreplicated fields and said it wasn't replicated and didn't do anything. I tried to delete just the system field S_GUID but was told I can't because it is a system field and I can't do that. The "suggestion" was to rebuild the table by doing a make table without the S_GUID field. I can certainly do that but I have to also break existing relationships, delete the existing data and then recreate the relationships. Is there ANY method of just deleting the S_GUID field? It is doing no damage but it is taking up space, is confusing, and is simply not needed and I would like to get rid of it. John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Fri Aug 24 12:16:43 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 24 Aug 2007 13:16:43 -0400 Subject: [AccessD] Deleting system fields In-Reply-To: <000301c7e670$fcd91800$8abea8c0@XPS> Message-ID: <20070824171646.0733BBE97@smtp-auth.no-ip.com> There never was a master or replica. The button was pushed by mistake YEARS ago and (apparently) there was no backup because they left it that way. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Friday, August 24, 2007 1:06 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Deleting system fields John, <> Your talking about this? http://trigeminal.com/lang/1033/utility.asp?ItemID=11#11 The only other thing I know you can do is to: 1. Synch all replicas 2. Recover the design master if you don't have it. 3. Then use the unreplicate wizard. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, August 24, 2007 12:35 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Deleting system fields I've never found any but the hard way, John. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Friday, August 24, 2007 9:30 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Deleting system fields I have a database that was apparently "replicated" at some time (the button pressed by mistake), then other tables later added that were not replicated. I tried running trigeminal's unreplicator but I think they got confused by the unreplicated fields and said it wasn't replicated and didn't do anything. I tried to delete just the system field S_GUID but was told I can't because it is a system field and I can't do that. The "suggestion" was to rebuild the table by doing a make table without the S_GUID field. I can certainly do that but I have to also break existing relationships, delete the existing data and then recreate the relationships. Is there ANY method of just deleting the S_GUID field? It is doing no damage but it is taking up space, is confusing, and is simply not needed and I would like to get rid of it. John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Lambert.Heenan at AIG.com Fri Aug 24 12:21:53 2007 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Fri, 24 Aug 2007 12:21:53 -0500 Subject: [AccessD] Deleting system fields Message-ID: <34C8A2AB1EF3564CB0D64DB6AFFDD5C208ED6EF8@XLIVMBX35bkup.aig.com> But it's still a replica your looking at (by the sound of it). In which case you can 'recover the design master', which simply means you're telling Access 'this here replica IS the design master'. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Friday, August 24, 2007 1:17 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Deleting system fields There never was a master or replica. The button was pushed by mistake YEARS ago and (apparently) there was no backup because they left it that way. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Friday, August 24, 2007 1:06 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Deleting system fields John, <> Your talking about this? http://trigeminal.com/lang/1033/utility.asp?ItemID=11#11 The only other thing I know you can do is to: 1. Synch all replicas 2. Recover the design master if you don't have it. 3. Then use the unreplicate wizard. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, August 24, 2007 12:35 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Deleting system fields I've never found any but the hard way, John. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Friday, August 24, 2007 9:30 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Deleting system fields I have a database that was apparently "replicated" at some time (the button pressed by mistake), then other tables later added that were not replicated. I tried running trigeminal's unreplicator but I think they got confused by the unreplicated fields and said it wasn't replicated and didn't do anything. I tried to delete just the system field S_GUID but was told I can't because it is a system field and I can't do that. The "suggestion" was to rebuild the table by doing a make table without the S_GUID field. I can certainly do that but I have to also break existing relationships, delete the existing data and then recreate the relationships. Is there ANY method of just deleting the S_GUID field? It is doing no damage but it is taking up space, is confusing, and is simply not needed and I would like to get rid of it. John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- 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 24 12:28:09 2007 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Fri, 24 Aug 2007 13:28:09 -0400 Subject: [AccessD] Newer Common Dialog Box Message-ID: <34C8A2AB1EF3564CB0D64DB6AFFDD5C208ED6EFA@XLIVMBX35bkup.aig.com> Oops. Sorry 'bout that. You meant the "Office File Dialog". Here's where you can get the (much simpler) code to use it... http://www.kbalertz.com/288543/Microsoft.Office.FileDialog.Object.aspx Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Skolits Sent: Friday, August 24, 2007 12:58 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Newer Common Dialog Box That turns out to be the same box I've been using for years. If you run the old version and compare it to the File Open in Word, you'll see the difference. The new one displays "My Places" which can be added to with the Tools option in the dialog box. John Skolits -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Skolits Sent: Friday, August 24, 2007 12:48 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Newer Common Dialog Box Thanks! I'll give it a shot. John -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert Sent: Friday, August 24, 2007 9:49 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Newer Common Dialog Box Try here... http://www.mvps.org/access/api/api0001.htm ... Looks like a lot of code, but of course once it's in a module you can just call it. I also have a modification of this that puts it in a Class. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Skolits Sent: Friday, August 24, 2007 8:51 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Newer Common Dialog Box I posted this a while back and never heard back from anyone. I've been using comdlg32.ocx for years. Now I would like to use the newer one I see when I try to open a file using something like Word 2002. Anyone have code for the new common dialog? John Skolits -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Patricia.O'Connor at otda.state.ny.us Fri Aug 24 12:43:54 2007 From: Patricia.O'Connor at otda.state.ny.us (O'Connor, Patricia (OTDA)) Date: Fri, 24 Aug 2007 13:43:54 -0400 Subject: [AccessD] A2k form control undo In-Reply-To: References: <002101c77143$43009e50$0201a8c0@HAL9005><001b01c77144$ace71a50$657aa8c0@m6805><01DBAB52E30A9A4AB3D94EF8029EDBE8021BAF7E@EXCNYSM0A1AI.nysemail.nyenet> Message-ID: <01DBAB52E30A9A4AB3D94EF8029EDBE8021BAF81@EXCNYSM0A1AI.nysemail.nyenet> It is unbound but I did have a DEFAULT value assigned. Will try setting the tag to the default value. The reason I use the myPath is because when I used If Not (Len(Dir$(strFileNm)) > 0) the DIR$ was not working correctly. If the file was not really found it would not go to the GetFile. When I move strFileNm to mypath it works correctly and will go to the GetFile if that file is not found. THANK YOU Patti ************************************************** * Patricia O'Connor * Associate Computer Programmer Analyst * OTDA - BDMA * (W) mailto:Patricia.O'Connor at otda.state.ny.us * (w) mailto:aa1160 at nysemail.state.ny.us ************************************************** ----- Private Sub strFileNm_BeforeUpdate(Cancel As Integer) Dim myPath As String strFilter = "Bic Files(*Bic*.txt; *.txt)" & vbNullChar & "*Bic*.txt;*.TXT;*.DOC;*.XLS" myPath = strFileNm If IsNull(strFileNm.text) Or strFileNm.text = "" Then GoTo strFileNm_BeforeUpdate_GetFile ElseIf Not (Len(Dir$(myPath)) > 0) Then If MsgBox("This file not found " & vbLf & strFileNm & vbLf & _ "Do you want to Search?", vbYesNo, "Bic File Name") = vbYes Then GoTo strFileNm_BeforeUpdate_GetFile Else Cancel = True 'Me.strFileNm.Undo 'Me!strFileNm.Undo strFileNm.Undo Me.Repaint Exit Sub End If End If Exit Sub strFileNm_BeforeUpdate_GetFile: myPath = tsGetFileFromUser(, gstrPPathFTP, strFilter, , "txt", , "Bic Import Files", True) If IsNull(myPath) Then Cancel = True Me.strFileNm.Undo Exit Sub End If End Sub ---------- > -------------------------------------------------------- This e-mail, including any attachments, may be confidential, privileged or otherwise legally protected. It is intended only for the addressee. If you received this e-mail in error or from someone who was not authorized to send it to you, do not disseminate, copy or otherwise use this e-mail or its attachments. Please notify the sender immediately by reply e-mail and delete the e-mail from your system. -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Charlotte Foust > Sent: Friday, August 24, 2007 12:03 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] A2k form control undo > > If this is unbound, there isn't a value to return to. I > usually handle that by assigning the initial value to a > variable or to the control's tag property so I can simply > reset the control to that value if they cancel. As for your > second question, I don't see any code assigning myPath to the > strFileNm control. > > Charlotte Foust > From Patricia.O'Connor at otda.state.ny.us Fri Aug 24 12:45:09 2007 From: Patricia.O'Connor at otda.state.ny.us (O'Connor, Patricia (OTDA)) Date: Fri, 24 Aug 2007 13:45:09 -0400 Subject: [AccessD] Recall: A2k form control undo Message-ID: <01DBAB52E30A9A4AB3D94EF8029EDBE8021BAF82@EXCNYSM0A1AI.nysemail.nyenet> O'Connor, Patricia (OTDA) would like to recall the message, "[AccessD] A2k form control undo". -------------------------------------------------------- This e-mail, including any attachments, may be confidential, privileged or otherwise legally protected. It is intended only for the addressee. If you received this e-mail in error or from someone who was not authorized to send it to you, do not disseminate, copy or otherwise use this e-mail or its attachments. Please notify the sender immediately by reply e-mail and delete the e-mail from your system. From jimdettman at verizon.net Fri Aug 24 12:46:23 2007 From: jimdettman at verizon.net (Jim Dettman) Date: Fri, 24 Aug 2007 13:46:23 -0400 Subject: [AccessD] Deleting system fields In-Reply-To: <20070824171646.0733BBE97@smtp-auth.no-ip.com> References: <000301c7e670$fcd91800$8abea8c0@XPS> <20070824171646.0733BBE97@smtp-auth.no-ip.com> Message-ID: <001601c7e676$b07908c0$8abea8c0@XPS> John, I think this a utility different then the one you tried. This one is used to remove the system columns specifically. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Friday, August 24, 2007 1:17 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Deleting system fields There never was a master or replica. The button was pushed by mistake YEARS ago and (apparently) there was no backup because they left it that way. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Friday, August 24, 2007 1:06 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Deleting system fields John, <> Your talking about this? http://trigeminal.com/lang/1033/utility.asp?ItemID=11#11 The only other thing I know you can do is to: 1. Synch all replicas 2. Recover the design master if you don't have it. 3. Then use the unreplicate wizard. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, August 24, 2007 12:35 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Deleting system fields I've never found any but the hard way, John. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Friday, August 24, 2007 9:30 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Deleting system fields I have a database that was apparently "replicated" at some time (the button pressed by mistake), then other tables later added that were not replicated. I tried running trigeminal's unreplicator but I think they got confused by the unreplicated fields and said it wasn't replicated and didn't do anything. I tried to delete just the system field S_GUID but was told I can't because it is a system field and I can't do that. The "suggestion" was to rebuild the table by doing a make table without the S_GUID field. I can certainly do that but I have to also break existing relationships, delete the existing data and then recreate the relationships. Is there ANY method of just deleting the S_GUID field? It is doing no damage but it is taking up space, is confusing, and is simply not needed and I would like to get rid of it. John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at gmail.com Fri Aug 24 12:52:02 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Fri, 24 Aug 2007 13:52:02 -0400 Subject: [AccessD] A good book reference In-Reply-To: <002001c7e66f$bcc05c70$0200a8c0@danwaters> References: <29f585dd0708240710h70824400mc9b46cb1c910462f@mail.gmail.com><014301c7e669$86116530$0f01a8c0@officexp><002101c7e66a$5acaa3e0$048e01c7@SusanOne><0a2101c7e66c$21afbc10$0f01a8c0@officexp> <002001c7e66f$bcc05c70$0200a8c0@danwaters> Message-ID: <003a01c7e677$7afe6ea0$048e01c7@SusanOne> Cool -- thank you! ;) Susan H. ISBN = 0789732440 From ssharkins at gmail.com Fri Aug 24 12:52:02 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Fri, 24 Aug 2007 13:52:02 -0400 Subject: [AccessD] A good book reference In-Reply-To: References: <29f585dd0708240710h70824400mc9b46cb1c910462f@mail.gmail.com><014301c7e669$86116530$0f01a8c0@officexp> Message-ID: <003b01c7e677$7c0e30f0$048e01c7@SusanOne> Charlotte's right -- the wizards will do a lot. Susan H. If he doesn't want to learn VBA and such, One of MS Step By Step books would teach him how to use the UI. I don't see what programming experience has to do with it if he doesn't want to deal with VBA. From jwcolby at colbyconsulting.com Fri Aug 24 13:11:20 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 24 Aug 2007 14:11:20 -0400 Subject: [AccessD] Deleting system fields In-Reply-To: <001601c7e676$b07908c0$8abea8c0@XPS> Message-ID: <20070824181122.CE0ADBED3@smtp-auth.no-ip.com> What do you mean when you say "THIS is a utility different...". What utility are you referring to? John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Friday, August 24, 2007 1:46 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Deleting system fields John, I think this a utility different then the one you tried. This one is used to remove the system columns specifically. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Friday, August 24, 2007 1:17 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Deleting system fields There never was a master or replica. The button was pushed by mistake YEARS ago and (apparently) there was no backup because they left it that way. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Friday, August 24, 2007 1:06 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Deleting system fields John, <> Your talking about this? http://trigeminal.com/lang/1033/utility.asp?ItemID=11#11 The only other thing I know you can do is to: 1. Synch all replicas 2. Recover the design master if you don't have it. 3. Then use the unreplicate wizard. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, August 24, 2007 12:35 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Deleting system fields I've never found any but the hard way, John. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Friday, August 24, 2007 9:30 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Deleting system fields I have a database that was apparently "replicated" at some time (the button pressed by mistake), then other tables later added that were not replicated. I tried running trigeminal's unreplicator but I think they got confused by the unreplicated fields and said it wasn't replicated and didn't do anything. I tried to delete just the system field S_GUID but was told I can't because it is a system field and I can't do that. The "suggestion" was to rebuild the table by doing a make table without the S_GUID field. I can certainly do that but I have to also break existing relationships, delete the existing data and then recreate the relationships. Is there ANY method of just deleting the S_GUID field? It is doing no damage but it is taking up space, is confusing, and is simply not needed and I would like to get rid of it. John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Fri Aug 24 13:17:22 2007 From: dwaters at usinternet.com (Dan Waters) Date: Fri, 24 Aug 2007 13:17:22 -0500 Subject: [AccessD] A good book reference In-Reply-To: <003a01c7e677$7afe6ea0$048e01c7@SusanOne> References: <29f585dd0708240710h70824400mc9b46cb1c910462f@mail.gmail.com><014301c7e669$86116530$0f01a8c0@officexp><002101c7e66a$5acaa3e0$048e01c7@SusanOne><0a2101c7e66c$21afbc10$0f01a8c0@officexp><002001c7e66f$bcc05c70$0200a8c0@danwaters> <003a01c7e677$7afe6ea0$048e01c7@SusanOne> Message-ID: <003901c7e67b$03eb8100$0200a8c0@danwaters> No Problem. I keep it in arm's reach! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Friday, August 24, 2007 12:52 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] A good book reference Cool -- thank you! ;) Susan H. ISBN = 0789732440 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at gmail.com Fri Aug 24 13:34:16 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Fri, 24 Aug 2007 14:34:16 -0400 Subject: [AccessD] A good book reference In-Reply-To: <003901c7e67b$03eb8100$0200a8c0@danwaters> References: <29f585dd0708240710h70824400mc9b46cb1c910462f@mail.gmail.com><014301c7e669$86116530$0f01a8c0@officexp><002101c7e66a$5acaa3e0$048e01c7@SusanOne><0a2101c7e66c$21afbc10$0f01a8c0@officexp><002001c7e66f$bcc05c70$0200a8c0@danwaters><003a01c7e677$7afe6ea0$048e01c7@SusanOne> <003901c7e67b$03eb8100$0200a8c0@danwaters> Message-ID: <005a01c7e67d$60f4e0b0$048e01c7@SusanOne> Well, that's just lovely to hear. I am so glad you find it useful. Susan H. No Problem. I keep it in arm's reach! -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.484 / Virus Database: 269.12.1/963 - Release Date: 8/20/2007 5:44 PM From galeper at gmail.com Fri Aug 24 14:13:37 2007 From: galeper at gmail.com (Gale Perez) Date: Fri, 24 Aug 2007 12:13:37 -0700 Subject: [AccessD] Access 2007 Split Form: Datasheet Focus Changes Message-ID: <5b2621db0708241213q52ae2ad0mb269c15f6660d4e7@mail.gmail.com> Hi everyone! I've created a Split Form in Access 2007, and when I move to a field in the Form part of the screen, the focus changes to that field in the Datasheet part of the screen. I understand why it does that, but since I have the Split Form Datasheet property set to Read Only, it seems like the focus shouldn't move around. It's especially distracting when the Datasheet part of the screen jumps to the left or right because the field I'm editing is out of view in the Datasheet. I searched the Properties, but couldn't find anything that would seem to preclude this behavior. I wondered if anyone has a workaround for this. Thank you, and have a great weekend! Gale From jimdettman at verizon.net Fri Aug 24 15:42:20 2007 From: jimdettman at verizon.net (Jim Dettman) Date: Fri, 24 Aug 2007 16:42:20 -0400 Subject: [AccessD] Deleting system fields In-Reply-To: <20070824181122.CE0ADBED3@smtp-auth.no-ip.com> References: <001601c7e676$b07908c0$8abea8c0@XPS> <20070824181122.CE0ADBED3@smtp-auth.no-ip.com> Message-ID: <001801c7e68f$44fdbd20$8abea8c0@XPS> John, The one I provided the link to. He has two utilities on his site in regards to replication. This one: http://trigeminal.com/lang/1033/utility.asp?ItemID=7#7 which is the "Access 2000 Un-replicator" and this one: http://trigeminal.com/lang/1033/utility.asp?ItemID=11#11 which is the "Replication Systems Fields utility" I believe you tried the first, but what you want is the second. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Friday, August 24, 2007 2:11 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Deleting system fields What do you mean when you say "THIS is a utility different...". What utility are you referring to? John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Friday, August 24, 2007 1:46 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Deleting system fields John, I think this a utility different then the one you tried. This one is used to remove the system columns specifically. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Friday, August 24, 2007 1:17 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Deleting system fields There never was a master or replica. The button was pushed by mistake YEARS ago and (apparently) there was no backup because they left it that way. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Friday, August 24, 2007 1:06 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Deleting system fields John, <> Your talking about this? http://trigeminal.com/lang/1033/utility.asp?ItemID=11#11 The only other thing I know you can do is to: 1. Synch all replicas 2. Recover the design master if you don't have it. 3. Then use the unreplicate wizard. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, August 24, 2007 12:35 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Deleting system fields I've never found any but the hard way, John. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Friday, August 24, 2007 9:30 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Deleting system fields I have a database that was apparently "replicated" at some time (the button pressed by mistake), then other tables later added that were not replicated. I tried running trigeminal's unreplicator but I think they got confused by the unreplicated fields and said it wasn't replicated and didn't do anything. I tried to delete just the system field S_GUID but was told I can't because it is a system field and I can't do that. The "suggestion" was to rebuild the table by doing a make table without the S_GUID field. I can certainly do that but I have to also break existing relationships, delete the existing data and then recreate the relationships. Is there ANY method of just deleting the S_GUID field? It is doing no damage but it is taking up space, is confusing, and is simply not needed and I would like to get rid of it. John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Fri Aug 24 17:12:13 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 24 Aug 2007 18:12:13 -0400 Subject: [AccessD] Deleting system fields In-Reply-To: <001801c7e68f$44fdbd20$8abea8c0@XPS> Message-ID: <20070824221216.31E4ABE35@smtp-auth.no-ip.com> Ahhh... I missed that. I did indeed try the first and missed the second. I have used the first one several times in the past, but never knew about the second one. Thanks. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Friday, August 24, 2007 4:42 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Deleting system fields John, The one I provided the link to. He has two utilities on his site in regards to replication. This one: http://trigeminal.com/lang/1033/utility.asp?ItemID=7#7 which is the "Access 2000 Un-replicator" and this one: http://trigeminal.com/lang/1033/utility.asp?ItemID=11#11 which is the "Replication Systems Fields utility" I believe you tried the first, but what you want is the second. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Friday, August 24, 2007 2:11 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Deleting system fields What do you mean when you say "THIS is a utility different...". What utility are you referring to? John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Friday, August 24, 2007 1:46 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Deleting system fields John, I think this a utility different then the one you tried. This one is used to remove the system columns specifically. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Friday, August 24, 2007 1:17 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Deleting system fields There never was a master or replica. The button was pushed by mistake YEARS ago and (apparently) there was no backup because they left it that way. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Friday, August 24, 2007 1:06 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Deleting system fields John, <> Your talking about this? http://trigeminal.com/lang/1033/utility.asp?ItemID=11#11 The only other thing I know you can do is to: 1. Synch all replicas 2. Recover the design master if you don't have it. 3. Then use the unreplicate wizard. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, August 24, 2007 12:35 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Deleting system fields I've never found any but the hard way, John. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Friday, August 24, 2007 9:30 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Deleting system fields I have a database that was apparently "replicated" at some time (the button pressed by mistake), then other tables later added that were not replicated. I tried running trigeminal's unreplicator but I think they got confused by the unreplicated fields and said it wasn't replicated and didn't do anything. I tried to delete just the system field S_GUID but was told I can't because it is a system field and I can't do that. The "suggestion" was to rebuild the table by doing a make table without the S_GUID field. I can certainly do that but I have to also break existing relationships, delete the existing data and then recreate the relationships. Is there ANY method of just deleting the S_GUID field? It is doing no damage but it is taking up space, is confusing, and is simply not needed and I would like to get rid of it. John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From phpons at gmail.com Sat Aug 25 10:13:57 2007 From: phpons at gmail.com (philippe pons) Date: Sat, 25 Aug 2007 17:13:57 +0200 Subject: [AccessD] Is it possible to manipulate a PivotChart on a form? Message-ID: <57144ced0708250813t53515ba8ga48f987e3e41db3e@mail.gmail.com> HI, I just designed a form using the AutoForm: PivotChart tool. The chart is ok, but I would like to know if and how it is possible to manipulate it with VBA, e.g to add a label with a title on it. The chart doesn't seem to have properties similar to the other Access objects. The tool box is not available. Do you have some tips and tricks regarding this matter? TIA, Philippe From jwcolby at colbyconsulting.com Mon Aug 27 10:04:46 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 27 Aug 2007 11:04:46 -0400 Subject: [AccessD] Tele-conferencing Message-ID: <20070827150456.9509EC045@smtp-auth.no-ip.com> I am working with a client where wee need to do some "tele-conferencing". I use that phrase lightly because what we really need is the ability to have one to three people at his end working with me to work through design issues and stuff. They will use a projector to all watch a PC. We are probably going to completely rebuild or at least a major redesign of an old Access app that I have been maintaining for them and which has enough issues to warrant this effort. It is a large application, it runs their business and we need to have a "face to face" without me actually being there. We do not need to see each other i.e. it's not about cameras to see the person, I have been to their business for several "long weekends" for real face to face meetings, and in fact will probably go there again in the next couple of months. What we really need is remote control software and perhaps drawing or other such things. I have tried to use VNC into a system that they are logged in to and it has never worked well for some reason. It caused mouse control issues, jerky mouse (neither of us could control it) and so forth. I just never resolved the why of that. So we are looking for an alternative and some reviews from folks that have used alternatives. I guess (I have never used it myself) programs like GoToMyPC. It seems that there are several out there. I don't think that paying a reasonable fee per day / week would be an issue though we don't need a license for a year or anything like that. So has anyone out there used GoToMyPC or the like to do remote control of a PC while the folks at the other end are watching? They need to be able to control it, as do I. Ideas and recommendations? John W. Colby Colby Consulting www.ColbyConsulting.com From rockysmolin at bchacc.com Mon Aug 27 10:17:45 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Mon, 27 Aug 2007 08:17:45 -0700 Subject: [AccessD] Tele-conferencing In-Reply-To: <20070827150456.9509EC045@smtp-auth.no-ip.com> Message-ID: <007e01c7e8bd$6c01d1b0$0301a8c0@HAL9005> I just tried GoToMyPC and it was simple and effective. First 30 days is free. After that, very reasonable. I tried Remote Assistance but ran into problems with corporate firewalls. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Monday, August 27, 2007 8:05 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Tele-conferencing I am working with a client where wee need to do some "tele-conferencing". I use that phrase lightly because what we really need is the ability to have one to three people at his end working with me to work through design issues and stuff. They will use a projector to all watch a PC. We are probably going to completely rebuild or at least a major redesign of an old Access app that I have been maintaining for them and which has enough issues to warrant this effort. It is a large application, it runs their business and we need to have a "face to face" without me actually being there. We do not need to see each other i.e. it's not about cameras to see the person, I have been to their business for several "long weekends" for real face to face meetings, and in fact will probably go there again in the next couple of months. What we really need is remote control software and perhaps drawing or other such things. I have tried to use VNC into a system that they are logged in to and it has never worked well for some reason. It caused mouse control issues, jerky mouse (neither of us could control it) and so forth. I just never resolved the why of that. So we are looking for an alternative and some reviews from folks that have used alternatives. I guess (I have never used it myself) programs like GoToMyPC. It seems that there are several out there. I don't think that paying a reasonable fee per day / week would be an issue though we don't need a license for a year or anything like that. So has anyone out there used GoToMyPC or the like to do remote control of a PC while the folks at the other end are watching? They need to be able to control it, as do I. Ideas and recommendations? John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.484 / Virus Database: 269.12.9/975 - Release Date: 8/26/2007 9:34 PM From rusty.hammond at cpiqpc.com Mon Aug 27 10:37:22 2007 From: rusty.hammond at cpiqpc.com (rusty.hammond at cpiqpc.com) Date: Mon, 27 Aug 2007 10:37:22 -0500 Subject: [AccessD] Tele-conferencing Message-ID: <8301C8A868251E4C8ECD3D4FFEA40F8A2584BDCB@cpixchng-1.cpiqpc.net> I've used LogMeIn (www.logmein.com) quite a bit. They have a free version that turns off the ability to print to the remote computer and no sharing of the clipboard between host and remote. -----Original Message----- From: jwcolby [mailto:jwcolby at colbyconsulting.com] Sent: Monday, August 27, 2007 10:05 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Tele-conferencing I am working with a client where wee need to do some "tele-conferencing". I use that phrase lightly because what we really need is the ability to have one to three people at his end working with me to work through design issues and stuff. They will use a projector to all watch a PC. We are probably going to completely rebuild or at least a major redesign of an old Access app that I have been maintaining for them and which has enough issues to warrant this effort. It is a large application, it runs their business and we need to have a "face to face" without me actually being there. We do not need to see each other i.e. it's not about cameras to see the person, I have been to their business for several "long weekends" for real face to face meetings, and in fact will probably go there again in the next couple of months. What we really need is remote control software and perhaps drawing or other such things. I have tried to use VNC into a system that they are logged in to and it has never worked well for some reason. It caused mouse control issues, jerky mouse (neither of us could control it) and so forth. I just never resolved the why of that. So we are looking for an alternative and some reviews from folks that have used alternatives. I guess (I have never used it myself) programs like GoToMyPC. It seems that there are several out there. I don't think that paying a reasonable fee per day / week would be an issue though we don't need a license for a year or anything like that. So has anyone out there used GoToMyPC or the like to do remote control of a PC while the folks at the other end are watching? They need to be able to control it, as do I. Ideas and recommendations? John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ********************************************************************** WARNING: All e-mail sent to and from this address will be received, scanned or otherwise recorded by the CPI Qualified Plan Consultants, Inc. corporate e-mail system and is subject to archival, monitoring or review by, and/or disclosure to, someone other than the recipient. ********************************************************************** From jwcolby at colbyconsulting.com Mon Aug 27 10:45:45 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 27 Aug 2007 11:45:45 -0400 Subject: [AccessD] Tele-conferencing In-Reply-To: <007e01c7e8bd$6c01d1b0$0301a8c0@HAL9005> Message-ID: <20070827154554.BF7F7BC73@smtp-auth.no-ip.com> I am using Hamachi to "get around" corporate firewalls, though I think it is possible to shut down Hamachi in a firewall if the notwork gurus want to. I have never gotten Remote Assistance to work correctly. I am using Hamachi / VNC in some cases and Hamachi and Remote Desktop Conection (RDC) in others. I am NOT getting a simultaneous RDC and VNC at the same time. The last one to connect boots the first to connect in that case. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Monday, August 27, 2007 11:18 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Tele-conferencing I just tried GoToMyPC and it was simple and effective. First 30 days is free. After that, very reasonable. I tried Remote Assistance but ran into problems with corporate firewalls. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Monday, August 27, 2007 8:05 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Tele-conferencing I am working with a client where wee need to do some "tele-conferencing". I use that phrase lightly because what we really need is the ability to have one to three people at his end working with me to work through design issues and stuff. They will use a projector to all watch a PC. We are probably going to completely rebuild or at least a major redesign of an old Access app that I have been maintaining for them and which has enough issues to warrant this effort. It is a large application, it runs their business and we need to have a "face to face" without me actually being there. We do not need to see each other i.e. it's not about cameras to see the person, I have been to their business for several "long weekends" for real face to face meetings, and in fact will probably go there again in the next couple of months. What we really need is remote control software and perhaps drawing or other such things. I have tried to use VNC into a system that they are logged in to and it has never worked well for some reason. It caused mouse control issues, jerky mouse (neither of us could control it) and so forth. I just never resolved the why of that. So we are looking for an alternative and some reviews from folks that have used alternatives. I guess (I have never used it myself) programs like GoToMyPC. It seems that there are several out there. I don't think that paying a reasonable fee per day / week would be an issue though we don't need a license for a year or anything like that. So has anyone out there used GoToMyPC or the like to do remote control of a PC while the folks at the other end are watching? They need to be able to control it, as do I. Ideas and recommendations? John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.484 / Virus Database: 269.12.9/975 - Release Date: 8/26/2007 9:34 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Lambert.Heenan at AIG.com Mon Aug 27 10:48:38 2007 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Mon, 27 Aug 2007 10:48:38 -0500 Subject: [AccessD] Tele-conferencing Message-ID: <34C8A2AB1EF3564CB0D64DB6AFFDD5C208ED6F14@XLIVMBX35bkup.aig.com> "I think it is possible to shut down Hamachi in a firewall if the notwork gurus want to" Love it! Was that a typo or a piece of inspired criticism? Lambert From jwcolby at colbyconsulting.com Mon Aug 27 11:07:48 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 27 Aug 2007 12:07:48 -0400 Subject: [AccessD] Tele-conferencing In-Reply-To: <34C8A2AB1EF3564CB0D64DB6AFFDD5C208ED6F14@XLIVMBX35bkup.aig.com> Message-ID: <20070827160758.88D62BF2F@smtp-auth.no-ip.com> LOL. Are you referring to "notwork guru"? That is an inspired criticism. I don't think I made up the term but rather ran across it and loved it, and use it all the time now. Understand that I respect and admire network guys. That is a whole complex area of expertise that I don't have (but wish I did), I just love to rag on them. They can be very difficult when they want to be - UNLIKE us database types ;-) John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert Sent: Monday, August 27, 2007 11:49 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Tele-conferencing "I think it is possible to shut down Hamachi in a firewall if the notwork gurus want to" Love it! Was that a typo or a piece of inspired criticism? Lambert -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jedi at charm.net Mon Aug 27 11:09:26 2007 From: jedi at charm.net (Michael Bahr) Date: Mon, 27 Aug 2007 12:09:26 -0400 (EDT) Subject: [AccessD] Tele-conferencing In-Reply-To: <20070827150456.9509EC045@smtp-auth.no-ip.com> References: <20070827150456.9509EC045@smtp-auth.no-ip.com> Message-ID: <15698.198.118.127.182.1188230966.squirrel@mail.expedient.net> Hi John, take a look at Webex to see if it meets your needs. http://www.webex.com/ Mike... > I am working with a client where wee need to do some "tele-conferencing". > I > use that phrase lightly because what we really need is the ability to have > one to three people at his end working with me to work through design > issues > and stuff. They will use a projector to all watch a PC. We are probably > going to completely rebuild or at least a major redesign of an old Access > app that I have been maintaining for them and which has enough issues to > warrant this effort. It is a large application, it runs their business > and > we need to have a "face to face" without me actually being there. We do > not > need to see each other i.e. it's not about cameras to see the person, I > have > been to their business for several "long weekends" for real face to face > meetings, and in fact will probably go there again in the next couple of > months. > > What we really need is remote control software and perhaps drawing or > other > such things. I have tried to use VNC into a system that they are logged > in > to and it has never worked well for some reason. It caused mouse control > issues, jerky mouse (neither of us could control it) and so forth. I just > never resolved the why of that. So we are looking for an alternative and > some reviews from folks that have used alternatives. I guess (I have > never > used it myself) programs like GoToMyPC. It seems that there are several > out > there. I don't think that paying a reasonable fee per day / week would be > an issue though we don't need a license for a year or anything like that. > > So has anyone out there used GoToMyPC or the like to do remote control of > a > PC while the folks at the other end are watching? They need to be able to > control it, as do I. > > Ideas and recommendations? > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From max.wanadoo at gmail.com Mon Aug 27 11:24:07 2007 From: max.wanadoo at gmail.com (Gmail) Date: Mon, 27 Aug 2007 17:24:07 +0100 Subject: [AccessD] Tele-conferencing In-Reply-To: <20070827154554.BF7F7BC73@smtp-auth.no-ip.com> References: <007e01c7e8bd$6c01d1b0$0301a8c0@HAL9005> <20070827154554.BF7F7BC73@smtp-auth.no-ip.com> Message-ID: <001e01c7e8c6$b2416fb0$8119fea9@LTVM> You guys might want to try LogMeIn. I have been using it now for some 3-4 months and it is great! Max Sherman -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Monday, August 27, 2007 4:46 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Tele-conferencing I am using Hamachi to "get around" corporate firewalls, though I think it is possible to shut down Hamachi in a firewall if the notwork gurus want to. I have never gotten Remote Assistance to work correctly. I am using Hamachi / VNC in some cases and Hamachi and Remote Desktop Conection (RDC) in others. I am NOT getting a simultaneous RDC and VNC at the same time. The last one to connect boots the first to connect in that case. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Monday, August 27, 2007 11:18 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Tele-conferencing I just tried GoToMyPC and it was simple and effective. First 30 days is free. After that, very reasonable. I tried Remote Assistance but ran into problems with corporate firewalls. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Monday, August 27, 2007 8:05 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Tele-conferencing I am working with a client where wee need to do some "tele-conferencing". I use that phrase lightly because what we really need is the ability to have one to three people at his end working with me to work through design issues and stuff. They will use a projector to all watch a PC. We are probably going to completely rebuild or at least a major redesign of an old Access app that I have been maintaining for them and which has enough issues to warrant this effort. It is a large application, it runs their business and we need to have a "face to face" without me actually being there. We do not need to see each other i.e. it's not about cameras to see the person, I have been to their business for several "long weekends" for real face to face meetings, and in fact will probably go there again in the next couple of months. What we really need is remote control software and perhaps drawing or other such things. I have tried to use VNC into a system that they are logged in to and it has never worked well for some reason. It caused mouse control issues, jerky mouse (neither of us could control it) and so forth. I just never resolved the why of that. So we are looking for an alternative and some reviews from folks that have used alternatives. I guess (I have never used it myself) programs like GoToMyPC. It seems that there are several out there. I don't think that paying a reasonable fee per day / week would be an issue though we don't need a license for a year or anything like that. So has anyone out there used GoToMyPC or the like to do remote control of a PC while the folks at the other end are watching? They need to be able to control it, as do I. Ideas and recommendations? John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.484 / Virus Database: 269.12.9/975 - Release Date: 8/26/2007 9:34 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From robert at webedb.com Mon Aug 27 12:34:54 2007 From: robert at webedb.com (Robert L. Stewart) Date: Mon, 27 Aug 2007 12:34:54 -0500 Subject: [AccessD] Tele-conferencing In-Reply-To: References: Message-ID: <200708271737.l7RHbJsC009112@databaseadvisors.com> A friend of mine and I use GoToMeeting.com to do something similar. You might want to check them out. Robert At 12:00 PM 8/27/2007, you wrote: >Date: Mon, 27 Aug 2007 11:04:46 -0400 >From: "jwcolby" >Subject: [AccessD] Tele-conferencing >To: "'Access Developers discussion and problem solving'" > >Message-ID: <20070827150456.9509EC045 at smtp-auth.no-ip.com> >Content-Type: text/plain; charset="us-ascii" > >I am working with a client where wee need to do some "tele-conferencing". I >use that phrase lightly because what we really need is the ability to have >one to three people at his end working with me to work through design issues >and stuff. They will use a projector to all watch a PC. We are probably >going to completely rebuild or at least a major redesign of an old Access >app that I have been maintaining for them and which has enough issues to >warrant this effort. From jwcolby at colbyconsulting.com Mon Aug 27 15:51:49 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 27 Aug 2007 16:51:49 -0400 Subject: [AccessD] IN clause Message-ID: <20070827205159.06E8FBD31@smtp-auth.no-ip.com> Can a SQL statement use an IN 'DatabaseName' clause which references a table in a SQL Server database? I know how to do it with an MDB, just place the path in 'DatabaseName' but what do you do if the table is in SQL Server? John W. Colby Colby Consulting www.ColbyConsulting.com From mikedorism at verizon.net Mon Aug 27 16:41:05 2007 From: mikedorism at verizon.net (Doris Manning) Date: Mon, 27 Aug 2007 17:41:05 -0400 Subject: [AccessD] IN clause In-Reply-To: <20070827205159.06E8FBD31@smtp-auth.no-ip.com> References: <20070827205159.06E8FBD31@smtp-auth.no-ip.com> Message-ID: <000301c7e8f2$fa01cc60$2f01a8c0@Kermit> Server.dbo.TableName Doris Manning Database Administrator Hargrove Inc. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Monday, August 27, 2007 4:52 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] IN clause Can a SQL statement use an IN 'DatabaseName' clause which references a table in a SQL Server database? I know how to do it with an MDB, just place the path in 'DatabaseName' but what do you do if the table is in SQL Server? John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From shamil at users.mns.ru Mon Aug 27 17:45:31 2007 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Tue, 28 Aug 2007 02:45:31 +0400 Subject: [AccessD] IN clause In-Reply-To: <20070827205159.06E8FBD31@smtp-auth.no-ip.com> Message-ID: <000d01c7e8fb$f8cfc5f0$6601a8c0@nant> John, Here is how it works here in Spb, Russia :) IN '' [ODBC;DRIVER=SQL Native Client;SERVER=NANT\SQLEXPRESS;Trusted_Connection=Yes;DATABASE=myDatabase;] Watch out line wraps! This set of lines above is just one source line. Example MS SQL table query using this IN clause: Select * FROM Workstation IN '' [ODBC;DRIVER=SQL Native Client;SERVER=NANT\SQLEXPRESS;Trusted_Connection=Yes;DATABASE=myDatabase;] HTH. -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Tuesday, August 28, 2007 12:52 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] IN clause Can a SQL statement use an IN 'DatabaseName' clause which references a table in a SQL Server database? I know how to do it with an MDB, just place the path in 'DatabaseName' but what do you do if the table is in SQL Server? John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Mon Aug 27 18:04:50 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 27 Aug 2007 19:04:50 -0400 Subject: [AccessD] IN clause In-Reply-To: <000301c7e8f2$fa01cc60$2f01a8c0@Kermit> Message-ID: <20070827230500.6468BBF5A@smtp-auth.no-ip.com> Bueno, thanks for that. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doris Manning Sent: Monday, August 27, 2007 5:41 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] IN clause Server.dbo.TableName Doris Manning Database Administrator Hargrove Inc. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Monday, August 27, 2007 4:52 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] IN clause Can a SQL statement use an IN 'DatabaseName' clause which references a table in a SQL Server database? I know how to do it with an MDB, just place the path in 'DatabaseName' but what do you do if the table is in SQL Server? John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From kathryn at bassett.net Mon Aug 27 20:17:34 2007 From: kathryn at bassett.net (Kathryn Bassett) Date: Mon, 27 Aug 2007 18:17:34 -0700 Subject: [AccessD] Tele-conferencing In-Reply-To: <8301C8A868251E4C8ECD3D4FFEA40F8A2584BDCB@cpixchng-1.cpiqpc.net> Message-ID: <005d01c7e911$36d7d9e0$6501a8c0@Kathryn> I use LogMeIn free version a LOT. I've even used it to control my father and sisters computers and they are both on dialup. Gets a little frustrating waiting for screen to react, but it's faster than I originally thought it would be. I've even got it installed on my own computer and turn it on in the morning before I leave for Gwen's. There's been more than once that while at her house, I've needed some info off my computer, so I just log in, and do what I need to do and log back off again. -- 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 > rusty.hammond at cpiqpc.com > Sent: 27 Aug 2007 8:37 am > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Tele-conferencing > > I've used LogMeIn (www.logmein.com) quite a bit. They have a > free version that turns off the ability to print to the > remote computer and no sharing of the clipboard between host > and remote. > > -----Original Message----- > From: jwcolby [mailto:jwcolby at colbyconsulting.com] > Sent: Monday, August 27, 2007 10:05 AM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] Tele-conferencing > > > I am working with a client where wee need to do some > "tele-conferencing". I use that phrase lightly because what > we really need is the ability to have one to three people at > his end working with me to work through design issues and > stuff. They will use a projector to all watch a PC. We are > probably going to completely rebuild or at least a major > redesign of an old Access app that I have been maintaining > for them and which has enough issues to warrant this effort. > It is a large application, it runs their business and we need > to have a "face to face" without me actually being there. We > do not need to see each other i.e. it's not about cameras to > see the person, I have been to their business for several > "long weekends" for real face to face meetings, and in fact > will probably go there again in the next couple of months. > > What we really need is remote control software and perhaps > drawing or other such things. I have tried to use VNC into a > system that they are logged in to and it has never worked > well for some reason. It caused mouse control issues, jerky > mouse (neither of us could control it) and so forth. I just > never resolved the why of that. So we are looking for an > alternative and some reviews from folks that have used > alternatives. I guess (I have never used it myself) programs > like GoToMyPC. It seems that there are several out there. I > don't think that paying a reasonable fee per day / week would > be an issue though we don't need a license for a year or > anything like that. > > So has anyone out there used GoToMyPC or the like to do > remote control of a PC while the folks at the other end are > watching? They need to be able to control it, as do I. > > Ideas and recommendations? > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > ********************************************************************** > WARNING: All e-mail sent to and from this address will be > received, scanned or otherwise recorded by the CPI Qualified > Plan Consultants, Inc. > corporate e-mail system and is subject to archival, > monitoring or review by, and/or disclosure to, someone other > than the recipient. > ********************************************************************** > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.484 / Virus Database: 269.12.8/973 - Release > Date: 25 Aug 07 5:00 pm > > No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.484 / Virus Database: 269.12.9/975 - Release Date: 26 Aug 07 9:34 pm From jwcolby at colbyconsulting.com Mon Aug 27 21:43:36 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 27 Aug 2007 22:43:36 -0400 Subject: [AccessD] IN clause In-Reply-To: <000d01c7e8fb$f8cfc5f0$6601a8c0@nant> Message-ID: <20070828024347.501B4BC99@smtp-auth.no-ip.com> Hmmm.. I'll have to study that one. BTW there is a full eclipse of the moon tonight in the US, I think Europe is out of luck on this one. I'll be outside about 5am to see it. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Monday, August 27, 2007 6:46 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] IN clause John, Here is how it works here in Spb, Russia :) IN '' [ODBC;DRIVER=SQL Native Client;SERVER=NANT\SQLEXPRESS;Trusted_Connection=Yes;DATABASE=myDatabase;] Watch out line wraps! This set of lines above is just one source line. Example MS SQL table query using this IN clause: Select * FROM Workstation IN '' [ODBC;DRIVER=SQL Native Client;SERVER=NANT\SQLEXPRESS;Trusted_Connection=Yes;DATABASE=myDatabase;] HTH. -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Tuesday, August 28, 2007 12:52 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] IN clause Can a SQL statement use an IN 'DatabaseName' clause which references a table in a SQL Server database? I know how to do it with an MDB, just place the path in 'DatabaseName' but what do you do if the table is in SQL Server? John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Mon Aug 27 23:09:12 2007 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue, 28 Aug 2007 14:09:12 +1000 Subject: [AccessD] IN clause In-Reply-To: <20070828024347.501B4BC99@smtp-auth.no-ip.com> References: <000d01c7e8fb$f8cfc5f0$6601a8c0@nant>, <20070828024347.501B4BC99@smtp-auth.no-ip.com> Message-ID: <46D39FE8.11700.39ECDD45@stuart.lexacorp.com.pg> Here in Port Moresby tonight: Sunset 5:47pm Moonrise: 6:01pm Full Moon: 8:35pm. Major Eclipse between about 7:30 and and 9:30pm A bunch of us are going to sit out in the tropical air on top of a hill and drink a few beers. On 27 Aug 2007 at 22:43, jwcolby wrote: > > BTW there is a full eclipse of the moon tonight in the US, I think Europe is > out of luck on this one. I'll be outside about 5am to see it. From kp at sdsonline.net Mon Aug 27 23:23:12 2007 From: kp at sdsonline.net (Kath Pelletti) Date: Tue, 28 Aug 2007 14:23:12 +1000 Subject: [AccessD] IN clause References: <000d01c7e8fb$f8cfc5f0$6601a8c0@nant>, <20070828024347.501B4BC99@smtp-auth.no-ip.com> <46D39FE8.11700.39ECDD45@stuart.lexacorp.com.pg> Message-ID: <003e01c7e92b$30a05d30$6401a8c0@office> lucky us - (although I wouldnt call Melbourne tropical !!) Kath ----- Original Message ----- From: Stuart McLachlan To: Access Developers discussion and problem solving Sent: Tuesday, August 28, 2007 2:09 PM Subject: Re: [AccessD] IN clause Here in Port Moresby tonight: Sunset 5:47pm Moonrise: 6:01pm Full Moon: 8:35pm. Major Eclipse between about 7:30 and and 9:30pm A bunch of us are going to sit out in the tropical air on top of a hill and drink a few beers. On 27 Aug 2007 at 22:43, jwcolby wrote: > > BTW there is a full eclipse of the moon tonight in the US, I think Europe is > out of luck on this one. I'll be outside about 5am to see it. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From kp at sdsonline.net Mon Aug 27 23:32:47 2007 From: kp at sdsonline.net (Kath Pelletti) Date: Tue, 28 Aug 2007 14:32:47 +1000 Subject: [AccessD] open pdf file Message-ID: <007a01c7e92c$8787b840$6401a8c0@office> Any tips on some code that will allow me to open an (existing) a pdf file ? I would like it to open in the user's default pdf reader (whether that be adobe or free acrobat reader etc?) Or do I need to spefically use Create/GetObject to open Acrobat reader? TIA ______________________________________ Kath Pelletti Software Design and Solutions Pty Ltd. Ph: 9505-6714 Fax: 9505-6430 Email: KP at SDSOnline.net From stuart at lexacorp.com.pg Tue Aug 28 00:05:39 2007 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue, 28 Aug 2007 15:05:39 +1000 Subject: [AccessD] open pdf file In-Reply-To: <007a01c7e92c$8787b840$6401a8c0@office> References: <007a01c7e92c$8787b840$6401a8c0@office> Message-ID: <46D3AD23.29814.3A208BFB@stuart.lexacorp.com.pg> YOu need to use the ShellExecute() API call Declare Function ShellExecute Lib _ "shell32.dll" Alias "ShellExecuteA" _ (ByVal hWnd As Long, ByVal lpOperation _ As String, ByVal lpFile As String, ByVal _ lpParameters As String, ByVal lpDirectory _ As String, ByVal nShowCmd As Long) As Long Then: ShellExecute 0,"Open","C:\MyPDF.pdf",vbNullString,CurDir$,vbNormalFocus On 28 Aug 2007 at 14:32, Kath Pelletti wrote: > Any tips on some code that will allow me to open an (existing) a pdf file ? I would like it to open in the user's default pdf reader (whether that be adobe or free acrobat reader etc?) > > Or do I need to spefically use Create/GetObject to open Acrobat reader? From pcs at azizaz.com Tue Aug 28 00:34:41 2007 From: pcs at azizaz.com (pcs at azizaz.com) Date: Tue, 28 Aug 2007 15:34:41 +1000 (EST) Subject: [AccessD] Tabcontrol mis-behaving Message-ID: <20070828153441.DBS81366@dommail.onthenet.com.au> Access 2003 On XP and Vista I have Form in a small app that has a Tabcontrol with 4 pages two of which are in use. On on tab page a few text controls and subform control On the other tab page an activex control (ocxWeb) Transparent Backstyle Style = None Multirow = No After a couple of days running fine on Vista it now crashes continous when trying to open the Form with the tabcontrol. On XP box works fine I Import the app from XP box to Vista box - same thing happens again - Access crashes (exception in Access.exe) when trying to open Form. I create an empty .mdb and import all objects. I Open the App and lo and behold!! the Form opens, but the background / backstyle of the Tabcontrol is now WHITE!! although setting is still set to transparent backstyle.... No way I can get rid of this unwanted white background. What is this? Should I just re-create the Form with a transparent backstyle tabcontrol - hoping this is just a one time odd behaviour - or is there something about tabcontrols that suggest that I should stay away from them??? Regards Borge From rockysmolin at bchacc.com Tue Aug 28 00:37:45 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Mon, 27 Aug 2007 22:37:45 -0700 Subject: [AccessD] Resizing a Tab Control Message-ID: <017301c7e935$902bda40$0301a8c0@HAL9005> Dear List: I have an app with several tab controls and I am using the adh resizing code, which works well about 96% of the time. But this time I need it to be 100%. It's not resizing the tab controls correctly. Does anyone use something else for screen resizing that they like? MTIA, rocky From accessd at shaw.ca Tue Aug 28 01:19:19 2007 From: accessd at shaw.ca (Jim Lawrence) Date: Mon, 27 Aug 2007 23:19:19 -0700 Subject: [AccessD] Force a new page in code In-Reply-To: <017301c7e935$902bda40$0301a8c0@HAL9005> Message-ID: <5526AB2DF1F5471FA07F36291F385BB5@creativesystemdesigns.com> Hi all: Is there a way to force a new page in Access reports under program control? TIA Jim From kp at sdsonline.net Tue Aug 28 01:35:44 2007 From: kp at sdsonline.net (Kath Pelletti) Date: Tue, 28 Aug 2007 16:35:44 +1000 Subject: [AccessD] open pdf file References: <007a01c7e92c$8787b840$6401a8c0@office> <46D3AD23.29814.3A208BFB@stuart.lexacorp.com.pg> Message-ID: <001701c7e93d$aa4f7780$6401a8c0@office> thx Stuart ----- Original Message ----- From: Stuart McLachlan To: Access Developers discussion and problem solving Sent: Tuesday, August 28, 2007 3:05 PM Subject: Re: [AccessD] open pdf file YOu need to use the ShellExecute() API call Declare Function ShellExecute Lib _ "shell32.dll" Alias "ShellExecuteA" _ (ByVal hWnd As Long, ByVal lpOperation _ As String, ByVal lpFile As String, ByVal _ lpParameters As String, ByVal lpDirectory _ As String, ByVal nShowCmd As Long) As Long Then: ShellExecute 0,"Open","C:\MyPDF.pdf",vbNullString,CurDir$,vbNormalFocus On 28 Aug 2007 at 14:32, Kath Pelletti wrote: > Any tips on some code that will allow me to open an (existing) a pdf file ? I would like it to open in the user's default pdf reader (whether that be adobe or free acrobat reader etc?) > > Or do I need to spefically use Create/GetObject to open Acrobat reader? -- 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 28 01:53:21 2007 From: andy at minstersystems.co.uk (Andy Lacey) Date: Tue, 28 Aug 2007 07:53:21 +0100 Subject: [AccessD] Resizing a Tab Control In-Reply-To: <017301c7e935$902bda40$0301a8c0@HAL9005> Message-ID: <000801c7e940$1fafc460$e41e0c54@minster33c3r25> Rocky, bear in mind that it won't resize a tab control if there are controls at the bottom or on the right of the tab which prevent it. IME you not only have to resize the tab's controls but reposition them too, then the tab resize worked. -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Rocky Smolin at Beach Access Software > Sent: 28 August 2007 06:38 > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] Resizing a Tab Control > > > Dear List: > > I have an app with several tab controls and I am using the > adh resizing code, which works well about 96% of the time. > But this time I need it to be 100%. It's not resizing the > tab controls correctly. > > Does anyone use something else for screen resizing that they like? > > MTIA, > > rocky > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From rockysmolin at bchacc.com Tue Aug 28 07:01:54 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Tue, 28 Aug 2007 05:01:54 -0700 Subject: [AccessD] Force a new page in code In-Reply-To: <5526AB2DF1F5471FA07F36291F385BB5@creativesystemdesigns.com> Message-ID: <000301c7e96b$3a7706c0$0301a8c0@HAL9005> Jim: There's a page break control which I have made visible and invisible programmatically during report generation, depending on whether I want it active. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Monday, August 27, 2007 11:19 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Force a new page in code Hi all: Is there a way to force a new page in Access reports under program control? TIA Jim -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.484 / Virus Database: 269.12.10/976 - Release Date: 8/27/2007 6:20 PM From dwaters at usinternet.com Tue Aug 28 07:30:12 2007 From: dwaters at usinternet.com (Dan Waters) Date: Tue, 28 Aug 2007 07:30:12 -0500 Subject: [AccessD] Tabcontrol mis-behaving In-Reply-To: <20070828153441.DBS81366@dommail.onthenet.com.au> References: <20070828153441.DBS81366@dommail.onthenet.com.au> Message-ID: <000601c7e96f$2e992aa0$0200a8c0@danwaters> Hi Borge, In Access 2003, you have the option of using Windows Themed Controls in Tools|Options|Forms & Reports. If you check this, you get rounded corner buttons, white tab control backgrounds, etc. Perhaps your original database did not have this checked, but your new database does. I wasn't able to change the tab control color in Access 2002 either - it was always Access gray. Keep using tab controls! They are a great way to present many times the number of controls to users as you have space on the screen. I don't know about the other issues. Good luck with those. Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of pcs at azizaz.com Sent: Tuesday, August 28, 2007 12:35 AM To: Access Developers discussion and problemsolving Subject: [AccessD] Tabcontrol mis-behaving Access 2003 On XP and Vista I have Form in a small app that has a Tabcontrol with 4 pages two of which are in use. On on tab page a few text controls and subform control On the other tab page an activex control (ocxWeb) Transparent Backstyle Style = None Multirow = No After a couple of days running fine on Vista it now crashes continous when trying to open the Form with the tabcontrol. On XP box works fine I Import the app from XP box to Vista box - same thing happens again - Access crashes (exception in Access.exe) when trying to open Form. I create an empty .mdb and import all objects. I Open the App and lo and behold!! the Form opens, but the background / backstyle of the Tabcontrol is now WHITE!! although setting is still set to transparent backstyle.... No way I can get rid of this unwanted white background. What is this? Should I just re-create the Form with a transparent backstyle tabcontrol - hoping this is just a one time odd behaviour - or is there something about tabcontrols that suggest that I should stay away from them??? Regards Borge -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From lmrazek at lcm-res.com Tue Aug 28 08:40:20 2007 From: lmrazek at lcm-res.com (Lawrence Mrazek) Date: Tue, 28 Aug 2007 08:40:20 -0500 Subject: [AccessD] Calendar Control Not Displaying Day Numbers In-Reply-To: <000601c7e96f$2e992aa0$0200a8c0@danwaters> References: <20070828153441.DBS81366@dommail.onthenet.com.au> <000601c7e96f$2e992aa0$0200a8c0@danwaters> Message-ID: <005a01c7e978$fa76b760$026fa8c0@lcmdv8000> Hi Folks: I have one user who reports that his calendar control, while it displays, is lacking the numbers for the days. That is (trying to explain this ... ), the calendar control displays, with the proper days in the boxes, etc., and if you click on a "day", it does return the proper date. Any ideas on how to troubleshoot this? The same FE is working fine on other workstations. Larry Mrazek LCM Research, Inc. www.lcm-res.com lmrazek at lcm-res.com ph. 314-432-5886 mobile: 314-496-1645 From ssharkins at gmail.com Tue Aug 28 09:11:07 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Tue, 28 Aug 2007 10:11:07 -0400 Subject: [AccessD] Calendar Control Not Displaying Day Numbers In-Reply-To: <005a01c7e978$fa76b760$026fa8c0@lcmdv8000> References: <20070828153441.DBS81366@dommail.onthenet.com.au><000601c7e96f$2e992aa0$0200a8c0@danwaters> <005a01c7e978$fa76b760$026fa8c0@lcmdv8000> Message-ID: <000201c7e97d$47f9de50$048e01c7@SusanOne> I'd check the Windows International and Regional settings first, but honestly... I can't see how that would affect the actual day's number. Susan H. I have one user who reports that his calendar control, while it displays, is lacking the numbers for the days. That is (trying to explain this ... ), the calendar control displays, with the proper days in the boxes, etc., and if you click on a "day", it does return the proper date. Any ideas on how to troubleshoot this? From Chester_Kaup at kindermorgan.com Tue Aug 28 09:32:40 2007 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Tue, 28 Aug 2007 09:32:40 -0500 Subject: [AccessD] Interactive Query Question Message-ID: I have a make table query in a database. Each time I run this I have to go into design view and change the name of the table the query writes to. Is there a way in the query or in VBA to insert a table name interactively. I cannot seem to think of one. Thanks. Chester Kaup Engineering Technician Kinder Morgan CO2 Company, LLP Office (432) 688-3797 FAX (432) 688-3799 No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. From Lambert.Heenan at AIG.com Tue Aug 28 09:43:58 2007 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Tue, 28 Aug 2007 10:43:58 -0400 Subject: [AccessD] Calendar Control Not Displaying Day Numbers Message-ID: <34C8A2AB1EF3564CB0D64DB6AFFDD5C208ED6F30@XLIVMBX35bkup.aig.com> You could try Drew's minicalendar, which you can find at... http://www.mvps.org/access/forms/frm0050.htm It uses no activeX controls at all, so should convert and run on any version of Access. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lawrence Mrazek Sent: Tuesday, August 28, 2007 9:40 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Calendar Control Not Displaying Day Numbers Hi Folks: I have one user who reports that his calendar control, while it displays, is lacking the numbers for the days. That is (trying to explain this ... ), the calendar control displays, with the proper days in the boxes, etc., and if you click on a "day", it does return the proper date. Any ideas on how to troubleshoot this? The same FE is working fine on other workstations. Larry Mrazek LCM Research, Inc. www.lcm-res.com lmrazek at lcm-res.com ph. 314-432-5886 mobile: 314-496-1645 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Tue Aug 28 10:08:20 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Tue, 28 Aug 2007 08:08:20 -0700 Subject: [AccessD] Resizing a Tab Control In-Reply-To: <000801c7e940$1fafc460$e41e0c54@minster33c3r25> Message-ID: <001201c7e985$46ca3e50$0301a8c0@HAL9005> Got it. Thanks. Any guidelines on how close to the edge or bottom you can have a control before it resizes incorrectly? Or is it just trial and error? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey Sent: Monday, August 27, 2007 11:53 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Resizing a Tab Control Rocky, bear in mind that it won't resize a tab control if there are controls at the bottom or on the right of the tab which prevent it. IME you not only have to resize the tab's controls but reposition them too, then the tab resize worked. -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky > Smolin at Beach Access Software > Sent: 28 August 2007 06:38 > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] Resizing a Tab Control > > > Dear List: > > I have an app with several tab controls and I am using the adh > resizing code, which works well about 96% of the time. > But this time I need it to be 100%. It's not resizing the tab > controls correctly. > > Does anyone use something else for screen resizing that they like? > > MTIA, > > rocky > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.484 / Virus Database: 269.12.10/976 - Release Date: 8/27/2007 6:20 PM From bill_patten at embarqmail.com Tue Aug 28 10:14:42 2007 From: bill_patten at embarqmail.com (Bill Patten) Date: Tue, 28 Aug 2007 08:14:42 -0700 Subject: [AccessD] Calendar Control Not Displaying Day Numbers In-Reply-To: <005a01c7e978$fa76b760$026fa8c0@lcmdv8000> References: <20070828153441.DBS81366@dommail.onthenet.com.au><000601c7e96f$2e992aa0$0200a8c0@danwaters> <005a01c7e978$fa76b760$026fa8c0@lcmdv8000> Message-ID: Hi Larry, Any chance the background color and the dayfontcolor are the same??? Bill ----- Original Message ----- From: "Lawrence Mrazek" To: "'Access Developers discussion and problem solving'" Sent: Tuesday, August 28, 2007 6:40 AM Subject: [AccessD] Calendar Control Not Displaying Day Numbers Hi Folks: I have one user who reports that his calendar control, while it displays, is lacking the numbers for the days. That is (trying to explain this ... ), the calendar control displays, with the proper days in the boxes, etc., and if you click on a "day", it does return the proper date. Any ideas on how to troubleshoot this? The same FE is working fine on other workstations. Larry Mrazek LCM Research, Inc. www.lcm-res.com lmrazek at lcm-res.com ph. 314-432-5886 mobile: 314-496-1645 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at gmail.com Tue Aug 28 10:21:55 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Tue, 28 Aug 2007 11:21:55 -0400 Subject: [AccessD] Interactive Query Question In-Reply-To: References: Message-ID: <002601c7e987$2ce01c10$048e01c7@SusanOne> I have a make table query in a database. Each time I run this I have to go into design view and change the name of the table the query writes to. Is there a way in the query or in VBA to insert a table name interactively. I cannot seem to think of one. Thanks. ===========I don't think you can with a fixed query. You'd need code. Susan H. From bill_patten at embarqmail.com Tue Aug 28 10:05:12 2007 From: bill_patten at embarqmail.com (Bill Patten) Date: Tue, 28 Aug 2007 08:05:12 -0700 Subject: [AccessD] Calendar Control Not Displaying Day Numbers In-Reply-To: <005a01c7e978$fa76b760$026fa8c0@lcmdv8000> References: <20070828153441.DBS81366@dommail.onthenet.com.au><000601c7e96f$2e992aa0$0200a8c0@danwaters> <005a01c7e978$fa76b760$026fa8c0@lcmdv8000> Message-ID: <6DDC7FB60B1A4AC6B68B61C2AB8427D2@BPCS> Hi Larry, Any chance the background color and the dayfontcolor are the same??? Bill ----- Original Message ----- From: "Lawrence Mrazek" To: "'Access Developers discussion and problem solving'" Sent: Tuesday, August 28, 2007 6:40 AM Subject: [AccessD] Calendar Control Not Displaying Day Numbers Hi Folks: I have one user who reports that his calendar control, while it displays, is lacking the numbers for the days. That is (trying to explain this ... ), the calendar control displays, with the proper days in the boxes, etc., and if you click on a "day", it does return the proper date. Any ideas on how to troubleshoot this? The same FE is working fine on other workstations. Larry Mrazek LCM Research, Inc. www.lcm-res.com lmrazek at lcm-res.com ph. 314-432-5886 mobile: 314-496-1645 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From prodevmg at yahoo.com Tue Aug 28 10:37:07 2007 From: prodevmg at yahoo.com (Lonnie Johnson) Date: Tue, 28 Aug 2007 08:37:07 -0700 (PDT) Subject: [AccessD] Interactive Query Question Message-ID: <103650.98245.qm@web33111.mail.mud.yahoo.com> 1. Create a new form. 2. Put a text box and a command button on it. 3. Name the text box txtTableName 4. Name the command button cmdMakeTable 5. In the Click Event of the command button put this code... Private Sub cmdMakeTable_Click() Dim strSQL As String strSQL = "SELECT CUSTID, CUST_NAME, CUST_ADDRESS INTO " _ & Me.txtTableName & " FROM tblCustomers" DoCmd.SetWarnings False DoCmd.RunSQL strSQL DoCmd.SetWarnings True End Sub 6. Of course you will change fields and tblCustomers to coincide with your fields and table name. 7. If you want to have the warning messages then comment out the two SetWarnings lines. 8. Load the form, type a name in the text box and click the button., May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us ----- Original Message ---- From: "Kaup, Chester" To: Access Developers discussion and problem solving Sent: Tuesday, August 28, 2007 9:32:40 AM Subject: [AccessD] Interactive Query Question I have a make table query in a database. Each time I run this I have to go into design view and change the name of the table the query writes to. Is there a way in the query or in VBA to insert a table name interactively. I cannot seem to think of one. Thanks. Chester Kaup Engineering Technician Kinder Morgan CO2 Company, LLP Office (432) 688-3797 FAX (432) 688-3799 No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ____________________________________________________________________________________ Boardwalk for $500? In 2007? Ha! Play Monopoly Here and Now (it's updated for today's economy) at Yahoo! Games. http://get.games.yahoo.com/proddesc?gamekey=monopolyherenow From accessd at shaw.ca Tue Aug 28 11:07:00 2007 From: accessd at shaw.ca (Jim Lawrence) Date: Tue, 28 Aug 2007 09:07:00 -0700 Subject: [AccessD] Force a new page in code In-Reply-To: <000301c7e96b$3a7706c0$0301a8c0@HAL9005> Message-ID: Hi Rocky: How is that control setup? Is it a group, a command or a piece of code? A client has a fairly straight forward report but at times wishes to have a certain group start at the top of a new page. I can think of certain long clumsy methods to do this but there must be some eloquent method like: Me.page.newpage < this is just pseudo code TIA Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Tuesday, August 28, 2007 5:02 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Force a new page in code Jim: There's a page break control which I have made visible and invisible programmatically during report generation, depending on whether I want it active. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Monday, August 27, 2007 11:19 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Force a new page in code Hi all: Is there a way to force a new page in Access reports under program control? TIA Jim -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.484 / Virus Database: 269.12.10/976 - Release Date: 8/27/2007 6:20 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Chester_Kaup at kindermorgan.com Tue Aug 28 11:07:55 2007 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Tue, 28 Aug 2007 11:07:55 -0500 Subject: [AccessD] Interactive Query Question In-Reply-To: <103650.98245.qm@web33111.mail.mud.yahoo.com> References: <103650.98245.qm@web33111.mail.mud.yahoo.com> Message-ID: Works great. Now one more question. What combination of single and double quotes do I use if the table name has spaces in it. Thanks! -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lonnie Johnson Sent: Tuesday, August 28, 2007 10:37 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Interactive Query Question 1. Create a new form. 2. Put a text box and a command button on it. 3. Name the text box txtTableName 4. Name the command button cmdMakeTable 5. In the Click Event of the command button put this code... Private Sub cmdMakeTable_Click() Dim strSQL As String strSQL = "SELECT CUSTID, CUST_NAME, CUST_ADDRESS INTO " _ & Me.txtTableName & " FROM tblCustomers" DoCmd.SetWarnings False DoCmd.RunSQL strSQL DoCmd.SetWarnings True End Sub 6. Of course you will change fields and tblCustomers to coincide with your fields and table name. 7. If you want to have the warning messages then comment out the two SetWarnings lines. 8. Load the form, type a name in the text box and click the button., May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us ----- Original Message ---- From: "Kaup, Chester" To: Access Developers discussion and problem solving Sent: Tuesday, August 28, 2007 9:32:40 AM Subject: [AccessD] Interactive Query Question I have a make table query in a database. Each time I run this I have to go into design view and change the name of the table the query writes to. Is there a way in the query or in VBA to insert a table name interactively. I cannot seem to think of one. Thanks. Chester Kaup Engineering Technician Kinder Morgan CO2 Company, LLP Office (432) 688-3797 FAX (432) 688-3799 No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ________________________________________________________________________ ____________ Boardwalk for $500? In 2007? Ha! Play Monopoly Here and Now (it's updated for today's economy) at Yahoo! Games. http://get.games.yahoo.com/proddesc?gamekey=monopolyherenow -- 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 28 11:22:33 2007 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Tue, 28 Aug 2007 12:22:33 -0400 Subject: [AccessD] Interactive Query Question Message-ID: <34C8A2AB1EF3564CB0D64DB6AFFDD5C208ED6F34@XLIVMBX35bkup.aig.com> strSQL = "SELECT CUSTID, CUST_NAME, CUST_ADDRESS INTO [" _ & Me.txtTableName & "] FROM tblCustomers" Just adding the square brackets should work for tables with or without spaces in their names. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Tuesday, August 28, 2007 12:08 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Interactive Query Question Works great. Now one more question. What combination of single and double quotes do I use if the table name has spaces in it. Thanks! -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lonnie Johnson Sent: Tuesday, August 28, 2007 10:37 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Interactive Query Question 1. Create a new form. 2. Put a text box and a command button on it. 3. Name the text box txtTableName 4. Name the command button cmdMakeTable 5. In the Click Event of the command button put this code... Private Sub cmdMakeTable_Click() Dim strSQL As String strSQL = "SELECT CUSTID, CUST_NAME, CUST_ADDRESS INTO " _ & Me.txtTableName & " FROM tblCustomers" DoCmd.SetWarnings False DoCmd.RunSQL strSQL DoCmd.SetWarnings True End Sub 6. Of course you will change fields and tblCustomers to coincide with your fields and table name. 7. If you want to have the warning messages then comment out the two SetWarnings lines. 8. Load the form, type a name in the text box and click the button., May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us ----- Original Message ---- From: "Kaup, Chester" To: Access Developers discussion and problem solving Sent: Tuesday, August 28, 2007 9:32:40 AM Subject: [AccessD] Interactive Query Question I have a make table query in a database. Each time I run this I have to go into design view and change the name of the table the query writes to. Is there a way in the query or in VBA to insert a table name interactively. I cannot seem to think of one. Thanks. Chester Kaup Engineering Technician Kinder Morgan CO2 Company, LLP Office (432) 688-3797 FAX (432) 688-3799 No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ________________________________________________________________________ ____________ Boardwalk for $500? In 2007? Ha! Play Monopoly Here and Now (it's updated for today's economy) at Yahoo! Games. http://get.games.yahoo.com/proddesc?gamekey=monopolyherenow -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From carbonnb at gmail.com Tue Aug 28 11:27:45 2007 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Tue, 28 Aug 2007 12:27:45 -0400 Subject: [AccessD] JIT SubForms Message-ID: I'm finally back in the development mode, from management mode, and have run into a problem with some JIT sub forms. I have a SubForm Control that can hold 1 of 5 subforms. I set the SourceObject, LinkChildFields and LinkMasterFields in code to change the subform. If I use one of the 3 that are similar (display, add and edit version), everything works just fine, but when I try and switch to a subform that is completely different, I get Parameter requests and errors popping up. It first asks for parameter that is one of the link fields (Child IIRC)., When I cancel the parameter request dialog I get an error 2101 The Setting you entered isn't valid for this property. The code actually DOES change it, but gives an error. This is the actual code I use: Me.sfmSubForm.SourceObject = "sfmShiftReport" Me.sfmSubForm.LinkChildFields = "ShiftReportDate" Me.sfmSubForm.LinkMasterFields = "txtShiftReportDate" I've tried setting all of these to an empty string first. No Joy, the error still appears. I've tried various orders of setting things, and "unsetting" them. Still get the error. Does anyone have any insight to why this isn't working for me? Thanks, -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" From accessd at shaw.ca Tue Aug 28 11:45:33 2007 From: accessd at shaw.ca (Jim Lawrence) Date: Tue, 28 Aug 2007 09:45:33 -0700 Subject: [AccessD] JIT SubForms In-Reply-To: Message-ID: <10F4C12C012C42C89EC8BA1DE35942EF@creativesystemdesigns.com> Hi Bryan: This is just a SWAG but would something like the following work? Me.fmMainForm.sfmSubForm.SourceObject = "sfmShiftReport" HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bryan Carbonnell Sent: Tuesday, August 28, 2007 9:28 AM To: Access Developers discussion and problem solving Subject: [AccessD] JIT SubForms I'm finally back in the development mode, from management mode, and have run into a problem with some JIT sub forms. I have a SubForm Control that can hold 1 of 5 subforms. I set the SourceObject, LinkChildFields and LinkMasterFields in code to change the subform. If I use one of the 3 that are similar (display, add and edit version), everything works just fine, but when I try and switch to a subform that is completely different, I get Parameter requests and errors popping up. It first asks for parameter that is one of the link fields (Child IIRC)., When I cancel the parameter request dialog I get an error 2101 The Setting you entered isn't valid for this property. The code actually DOES change it, but gives an error. This is the actual code I use: Me.sfmSubForm.SourceObject = "sfmShiftReport" Me.sfmSubForm.LinkChildFields = "ShiftReportDate" Me.sfmSubForm.LinkMasterFields = "txtShiftReportDate" I've tried setting all of these to an empty string first. No Joy, the error still appears. I've tried various orders of setting things, and "unsetting" them. Still get the error. Does anyone have any insight to why this isn't working for me? Thanks, -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Tue Aug 28 11:48:25 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 28 Aug 2007 09:48:25 -0700 Subject: [AccessD] JIT SubForms In-Reply-To: References: Message-ID: I ran into this some years ago. The master child fields can't be changed on the fly, if I remember correctly, so you can only set them if there is no sourceobject. I made sure that all the JIT subforms for a particular tab used the same master/child links and then added something like this: strSrcObject = "fsbDailyRigInfo" If Len(Me.fsbDailyRigInfo.SourceObject) = 0 Or _ Me.fsbDailyRigInfo.SourceObject <> strSrcObject Then Me.fsbDailyRigInfo.SourceObject = strSrcObject If Len(Me.fsbDailyRigInfo.LinkMasterFields) = 0 Then Me.fsbDailyRigInfo.LinkMasterFields = "cboWellID;cboReportNo" End If If Len(Me.fsbDailyRigInfo.LinkChildFields) = 0 Then Me.fsbDailyRigInfo.LinkChildFields = "WellID;ReportNo" End If End If Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bryan Carbonnell Sent: Tuesday, August 28, 2007 9:28 AM To: Access Developers discussion and problem solving Subject: [AccessD] JIT SubForms I'm finally back in the development mode, from management mode, and have run into a problem with some JIT sub forms. I have a SubForm Control that can hold 1 of 5 subforms. I set the SourceObject, LinkChildFields and LinkMasterFields in code to change the subform. If I use one of the 3 that are similar (display, add and edit version), everything works just fine, but when I try and switch to a subform that is completely different, I get Parameter requests and errors popping up. It first asks for parameter that is one of the link fields (Child IIRC)., When I cancel the parameter request dialog I get an error 2101 The Setting you entered isn't valid for this property. The code actually DOES change it, but gives an error. This is the actual code I use: Me.sfmSubForm.SourceObject = "sfmShiftReport" Me.sfmSubForm.LinkChildFields = "ShiftReportDate" Me.sfmSubForm.LinkMasterFields = "txtShiftReportDate" I've tried setting all of these to an empty string first. No Joy, the error still appears. I've tried various orders of setting things, and "unsetting" them. Still get the error. Does anyone have any insight to why this isn't working for me? Thanks, -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From lmrazek at lcm-res.com Tue Aug 28 12:03:10 2007 From: lmrazek at lcm-res.com (Lawrence Mrazek) Date: Tue, 28 Aug 2007 12:03:10 -0500 Subject: [AccessD] Calendar Control Not Displaying Day Numbers In-Reply-To: <6DDC7FB60B1A4AC6B68B61C2AB8427D2@BPCS> References: <20070828153441.DBS81366@dommail.onthenet.com.au><000601c7e96f$2e992aa0$0200a8c0@danwaters><005a01c7e978$fa76b760$026fa8c0@lcmdv8000> <6DDC7FB60B1A4AC6B68B61C2AB8427D2@BPCS> Message-ID: <009801c7e995$50201ff0$026fa8c0@lcmdv8000> Hi Bill: No, they are different, since the same app runs fine on all of the other workstations ... Larry Mrazek LCM Research, Inc. www.lcm-res.com lmrazek at lcm-res.com ph. 314-432-5886 mobile: 314-496-1645 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bill Patten Sent: Tuesday, August 28, 2007 10:05 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Calendar Control Not Displaying Day Numbers Hi Larry, Any chance the background color and the dayfontcolor are the same??? Bill ----- Original Message ----- From: "Lawrence Mrazek" To: "'Access Developers discussion and problem solving'" Sent: Tuesday, August 28, 2007 6:40 AM Subject: [AccessD] Calendar Control Not Displaying Day Numbers Hi Folks: I have one user who reports that his calendar control, while it displays, is lacking the numbers for the days. That is (trying to explain this ... ), the calendar control displays, with the proper days in the boxes, etc., and if you click on a "day", it does return the proper date. Any ideas on how to troubleshoot this? The same FE is working fine on other workstations. Larry Mrazek LCM Research, Inc. www.lcm-res.com lmrazek at lcm-res.com ph. 314-432-5886 mobile: 314-496-1645 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Tue Aug 28 12:12:12 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 28 Aug 2007 13:12:12 -0400 Subject: [AccessD] JIT SubForms In-Reply-To: Message-ID: <20070828171225.14DD7C10D@smtp-auth.no-ip.com> I think Charlotte is correct. What you have to do is clear the source object, set the master/child fields, then set the source object again. Never set / clear either of the master / child field properties with the source object property set. Basically what you also want to do is make sure each subform will load NOT JIT first, get everything correct there, then do it in the order shown above. I have JIT built in to my framework and so the code always does it in this order and I do not experience problems. I do literally dozens of different JIT subforms. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, August 28, 2007 12:48 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] JIT SubForms I ran into this some years ago. The master child fields can't be changed on the fly, if I remember correctly, so you can only set them if there is no sourceobject. I made sure that all the JIT subforms for a particular tab used the same master/child links and then added something like this: strSrcObject = "fsbDailyRigInfo" If Len(Me.fsbDailyRigInfo.SourceObject) = 0 Or _ Me.fsbDailyRigInfo.SourceObject <> strSrcObject Then Me.fsbDailyRigInfo.SourceObject = strSrcObject If Len(Me.fsbDailyRigInfo.LinkMasterFields) = 0 Then Me.fsbDailyRigInfo.LinkMasterFields = "cboWellID;cboReportNo" End If If Len(Me.fsbDailyRigInfo.LinkChildFields) = 0 Then Me.fsbDailyRigInfo.LinkChildFields = "WellID;ReportNo" End If End If Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bryan Carbonnell Sent: Tuesday, August 28, 2007 9:28 AM To: Access Developers discussion and problem solving Subject: [AccessD] JIT SubForms I'm finally back in the development mode, from management mode, and have run into a problem with some JIT sub forms. I have a SubForm Control that can hold 1 of 5 subforms. I set the SourceObject, LinkChildFields and LinkMasterFields in code to change the subform. If I use one of the 3 that are similar (display, add and edit version), everything works just fine, but when I try and switch to a subform that is completely different, I get Parameter requests and errors popping up. It first asks for parameter that is one of the link fields (Child IIRC)., When I cancel the parameter request dialog I get an error 2101 The Setting you entered isn't valid for this property. The code actually DOES change it, but gives an error. This is the actual code I use: Me.sfmSubForm.SourceObject = "sfmShiftReport" Me.sfmSubForm.LinkChildFields = "ShiftReportDate" Me.sfmSubForm.LinkMasterFields = "txtShiftReportDate" I've tried setting all of these to an empty string first. No Joy, the error still appears. I've tried various orders of setting things, and "unsetting" them. Still get the error. Does anyone have any insight to why this isn't working for me? Thanks, -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Tue Aug 28 12:13:41 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 28 Aug 2007 10:13:41 -0700 Subject: [AccessD] Calendar Control Not Displaying Day Numbers In-Reply-To: <009801c7e995$50201ff0$026fa8c0@lcmdv8000> References: <20070828153441.DBS81366@dommail.onthenet.com.au><000601c7e96f$2e992aa0$0200a8c0@danwaters><005a01c7e978$fa76b760$026fa8c0@lcmdv8000><6DDC7FB60B1A4AC6B68B61C2AB8427D2@BPCS> <009801c7e995$50201ff0$026fa8c0@lcmdv8000> Message-ID: Is the user running Vista? Does his workstation have the same Access service packs and MDAC version as all the others? Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lawrence Mrazek Sent: Tuesday, August 28, 2007 10:03 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Calendar Control Not Displaying Day Numbers Hi Bill: No, they are different, since the same app runs fine on all of the other workstations ... Larry Mrazek LCM Research, Inc. www.lcm-res.com lmrazek at lcm-res.com ph. 314-432-5886 mobile: 314-496-1645 - From bill_patten at embarqmail.com Tue Aug 28 12:16:46 2007 From: bill_patten at embarqmail.com (Bill Patten) Date: Tue, 28 Aug 2007 10:16:46 -0700 Subject: [AccessD] Calendar Control Not Displaying Day Numbers In-Reply-To: <009801c7e995$50201ff0$026fa8c0@lcmdv8000> References: <20070828153441.DBS81366@dommail.onthenet.com.au><000601c7e96f$2e992aa0$0200a8c0@danwaters><005a01c7e978$fa76b760$026fa8c0@lcmdv8000><6DDC7FB60B1A4AC6B68B61C2AB8427D2@BPCS> <009801c7e995$50201ff0$026fa8c0@lcmdv8000> Message-ID: Larry, I was thinking that perhaps the user changed the default windows color or something and that had an effect, I didn't test it of course. Bill ----- Original Message ----- From: "Lawrence Mrazek" To: "'Access Developers discussion and problem solving'" Sent: Tuesday, August 28, 2007 10:03 AM Subject: Re: [AccessD] Calendar Control Not Displaying Day Numbers Hi Bill: No, they are different, since the same app runs fine on all of the other workstations ... Larry Mrazek LCM Research, Inc. www.lcm-res.com lmrazek at lcm-res.com ph. 314-432-5886 mobile: 314-496-1645 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bill Patten Sent: Tuesday, August 28, 2007 10:05 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Calendar Control Not Displaying Day Numbers Hi Larry, Any chance the background color and the dayfontcolor are the same??? Bill ----- Original Message ----- From: "Lawrence Mrazek" To: "'Access Developers discussion and problem solving'" Sent: Tuesday, August 28, 2007 6:40 AM Subject: [AccessD] Calendar Control Not Displaying Day Numbers Hi Folks: I have one user who reports that his calendar control, while it displays, is lacking the numbers for the days. That is (trying to explain this ... ), the calendar control displays, with the proper days in the boxes, etc., and if you click on a "day", it does return the proper date. Any ideas on how to troubleshoot this? The same FE is working fine on other workstations. Larry Mrazek LCM Research, Inc. www.lcm-res.com lmrazek at lcm-res.com ph. 314-432-5886 mobile: 314-496-1645 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Tue Aug 28 12:36:31 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Tue, 28 Aug 2007 10:36:31 -0700 Subject: [AccessD] Force a new page in code In-Reply-To: Message-ID: <001301c7e999$f8b63fb0$0301a8c0@HAL9005> It sounds like you need to add a grouping level, if it's not already there, and then add the header and the footer. In the footer you drag the page break control from the report design toolbar and drop it into the footer. So it will page break on that group level. In the format event of the header for that group, ask if this is the group that you want to break on. If so, make the page break control visible, if not make it invisible. Clear as mud? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Tuesday, August 28, 2007 9:07 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Force a new page in code Hi Rocky: How is that control setup? Is it a group, a command or a piece of code? A client has a fairly straight forward report but at times wishes to have a certain group start at the top of a new page. I can think of certain long clumsy methods to do this but there must be some eloquent method like: Me.page.newpage < this is just pseudo code TIA Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Tuesday, August 28, 2007 5:02 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Force a new page in code Jim: There's a page break control which I have made visible and invisible programmatically during report generation, depending on whether I want it active. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Monday, August 27, 2007 11:19 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Force a new page in code Hi all: Is there a way to force a new page in Access reports under program control? TIA Jim -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.484 / Virus Database: 269.12.10/976 - Release Date: 8/27/2007 6:20 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.484 / Virus Database: 269.12.10/976 - Release Date: 8/27/2007 6:20 PM From carbonnb at gmail.com Tue Aug 28 13:30:22 2007 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Tue, 28 Aug 2007 14:30:22 -0400 Subject: [AccessD] JIT SubForms In-Reply-To: <20070828171225.14DD7C10D@smtp-auth.no-ip.com> References: <20070828171225.14DD7C10D@smtp-auth.no-ip.com> Message-ID: On 8/28/07, jwcolby wrote: > I think Charlotte is correct. What you have to do is clear the source > object, set the master/child fields, then set the source object again. > Never set / clear either of the master / child field properties with the > source object property set. > > Basically what you also want to do is make sure each subform will load NOT > JIT first, get everything correct there, then do it in the order shown > above. I have JIT built in to my framework and so the code always does it > in this order and I do not experience problems. I do literally dozens of > different JIT subforms. OK, let's see if I've got this right, this is my new code, that STILL doesn't work without throwing an error 2101. Me.sfmSubForm.SourceObject = vbNullString Me.sfmSubForm.LinkChildFields = "" '<-- Error's Here Me.sfmSubForm.LinkMasterFields = "" ' <-And Here Me.sfmSubForm.LinkMasterFields = "txtShiftReportDate" ' <-And Here Me.sfmSubForm.LinkChildFields = "ShiftReportDate" ' <-And Here Me.sfmSubForm.SourceObject = "sfmShiftReport" The weird thing is that the even though Access throws an error, the value does actually get set. I can work around the error bu sticking an On Error Resume Next before everything gets set, and then restoring the error handling after it all, but that just doesn't feel right. Does this look right? -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" From lmrazek at lcm-res.com Tue Aug 28 13:33:23 2007 From: lmrazek at lcm-res.com (Lawrence Mrazek) Date: Tue, 28 Aug 2007 13:33:23 -0500 Subject: [AccessD] Calendar Control Not Displaying Day Numbers In-Reply-To: References: <20070828153441.DBS81366@dommail.onthenet.com.au><000601c7e96f$2e992aa0$0200a8c0@danwaters><005a01c7e978$fa76b760$026fa8c0@lcmdv8000><6DDC7FB60B1A4AC6B68B61C2AB8427D2@BPCS><009801c7e995$50201ff0$026fa8c0@lcmdv8000> Message-ID: <00ad01c7e9a1$ea88aa60$026fa8c0@lcmdv8000> Hi Charlotte: I'll check out his machine specs ... He shouldn't be running Vista, however, since it isn't on the company's list of approved software. Would reinstalling the control possibly help? Larry Mrazek LCM Research, Inc. www.lcm-res.com lmrazek at lcm-res.com ph. 314-432-5886 mobile: 314-496-1645 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, August 28, 2007 12:14 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Calendar Control Not Displaying Day Numbers Is the user running Vista? Does his workstation have the same Access service packs and MDAC version as all the others? Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lawrence Mrazek Sent: Tuesday, August 28, 2007 10:03 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Calendar Control Not Displaying Day Numbers Hi Bill: No, they are different, since the same app runs fine on all of the other workstations ... Larry Mrazek LCM Research, Inc. www.lcm-res.com lmrazek at lcm-res.com ph. 314-432-5886 mobile: 314-496-1645 - -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Tue Aug 28 13:43:17 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 28 Aug 2007 14:43:17 -0400 Subject: [AccessD] JIT SubForms In-Reply-To: Message-ID: <20070828184329.EB2BCBD98@smtp-auth.no-ip.com> I set the source object to "" (empty string) John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bryan Carbonnell Sent: Tuesday, August 28, 2007 2:30 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] JIT SubForms On 8/28/07, jwcolby wrote: > I think Charlotte is correct. What you have to do is clear the source > object, set the master/child fields, then set the source object again. > Never set / clear either of the master / child field properties with > the source object property set. > > Basically what you also want to do is make sure each subform will load > NOT JIT first, get everything correct there, then do it in the order > shown above. I have JIT built in to my framework and so the code > always does it in this order and I do not experience problems. I do > literally dozens of different JIT subforms. OK, let's see if I've got this right, this is my new code, that STILL doesn't work without throwing an error 2101. Me.sfmSubForm.SourceObject = vbNullString Me.sfmSubForm.LinkChildFields = "" '<-- Error's Here Me.sfmSubForm.LinkMasterFields = "" ' <-And Here Me.sfmSubForm.LinkMasterFields = "txtShiftReportDate" ' <-And Here Me.sfmSubForm.LinkChildFields = "ShiftReportDate" ' <-And Here Me.sfmSubForm.SourceObject = "sfmShiftReport" The weird thing is that the even though Access throws an error, the value does actually get set. I can work around the error bu sticking an On Error Resume Next before everything gets set, and then restoring the error handling after it all, but that just doesn't feel right. Does this look right? -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Tue Aug 28 13:54:16 2007 From: accessd at shaw.ca (Jim Lawrence) Date: Tue, 28 Aug 2007 11:54:16 -0700 Subject: [AccessD] Force a new page in code In-Reply-To: <001301c7e999$f8b63fb0$0301a8c0@HAL9005> Message-ID: <214FED4CA47B4306B89C3CA6714926D7@creativesystemdesigns.com> Hi Rocky: I am not usually this slow but a senior moment.... extending into hours has over come me. Maybe a sample would help??? TIA Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Tuesday, August 28, 2007 10:37 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Force a new page in code It sounds like you need to add a grouping level, if it's not already there, and then add the header and the footer. In the footer you drag the page break control from the report design toolbar and drop it into the footer. So it will page break on that group level. In the format event of the header for that group, ask if this is the group that you want to break on. If so, make the page break control visible, if not make it invisible. Clear as mud? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Tuesday, August 28, 2007 9:07 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Force a new page in code Hi Rocky: How is that control setup? Is it a group, a command or a piece of code? A client has a fairly straight forward report but at times wishes to have a certain group start at the top of a new page. I can think of certain long clumsy methods to do this but there must be some eloquent method like: Me.page.newpage < this is just pseudo code TIA Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Tuesday, August 28, 2007 5:02 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Force a new page in code Jim: There's a page break control which I have made visible and invisible programmatically during report generation, depending on whether I want it active. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Monday, August 27, 2007 11:19 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Force a new page in code Hi all: Is there a way to force a new page in Access reports under program control? TIA Jim -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.484 / Virus Database: 269.12.10/976 - Release Date: 8/27/2007 6:20 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.484 / Virus Database: 269.12.10/976 - Release Date: 8/27/2007 6:20 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From carbonnb at gmail.com Tue Aug 28 13:59:11 2007 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Tue, 28 Aug 2007 14:59:11 -0400 Subject: [AccessD] JIT SubForms In-Reply-To: <20070828184329.EB2BCBD98@smtp-auth.no-ip.com> References: <20070828184329.EB2BCBD98@smtp-auth.no-ip.com> Message-ID: On 8/28/07, jwcolby wrote: > I set the source object to "" (empty string) Tried that too. Same issue. -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" From cfoust at infostatsystems.com Tue Aug 28 14:46:18 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 28 Aug 2007 12:46:18 -0700 Subject: [AccessD] JIT SubForms In-Reply-To: References: <20070828184329.EB2BCBD98@smtp-auth.no-ip.com> Message-ID: I don't remember ever being able to clear the Master/Child links once they'd been set, even after clearing the source object. Have you tried clearing the source object and then just setting the links to the new strings without clearing them first? Otherwise, we'll have to ask JC what magic code he uses and what version of Access it runs in. ;-> Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bryan Carbonnell Sent: Tuesday, August 28, 2007 11:59 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] JIT SubForms On 8/28/07, jwcolby wrote: > I set the source object to "" (empty string) Tried that too. Same issue. -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Tue Aug 28 14:48:07 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 28 Aug 2007 12:48:07 -0700 Subject: [AccessD] Calendar Control Not Displaying Day Numbers In-Reply-To: <00ad01c7e9a1$ea88aa60$026fa8c0@lcmdv8000> References: <20070828153441.DBS81366@dommail.onthenet.com.au><000601c7e96f$2e992aa0$0200a8c0@danwaters><005a01c7e978$fa76b760$026fa8c0@lcmdv8000><6DDC7FB60B1A4AC6B68B61C2AB8427D2@BPCS><009801c7e995$50201ff0$026fa8c0@lcmdv8000> <00ad01c7e9a1$ea88aa60$026fa8c0@lcmdv8000> Message-ID: If the calendar control is third party, then reinstalling the control could help. If it's one of the Windows dlls, try reregistering it on that machine. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lawrence Mrazek Sent: Tuesday, August 28, 2007 11:33 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Calendar Control Not Displaying Day Numbers Hi Charlotte: I'll check out his machine specs ... He shouldn't be running Vista, however, since it isn't on the company's list of approved software. Would reinstalling the control possibly help? Larry Mrazek LCM Research, Inc. www.lcm-res.com lmrazek at lcm-res.com ph. 314-432-5886 mobile: 314-496-1645 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, August 28, 2007 12:14 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Calendar Control Not Displaying Day Numbers Is the user running Vista? Does his workstation have the same Access service packs and MDAC version as all the others? Charlotte Foust From jwcolby at colbyconsulting.com Tue Aug 28 15:21:14 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 28 Aug 2007 16:21:14 -0400 Subject: [AccessD] JIT SubForms In-Reply-To: Message-ID: <20070828202126.A73E0BC02@smtp-auth.no-ip.com> I'll go find the code in my framework. I don't actually use it in this manner though. I usually set the links then clear and load the source object. I think I remember having to save the link data, set all to "" and then set all three of them again. I can't find the source until after I cook dinner and take my son to his Karate class though so it will be this evening. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, August 28, 2007 3:46 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] JIT SubForms I don't remember ever being able to clear the Master/Child links once they'd been set, even after clearing the source object. Have you tried clearing the source object and then just setting the links to the new strings without clearing them first? Otherwise, we'll have to ask JC what magic code he uses and what version of Access it runs in. ;-> Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bryan Carbonnell Sent: Tuesday, August 28, 2007 11:59 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] JIT SubForms On 8/28/07, jwcolby wrote: > I set the source object to "" (empty string) Tried that too. Same issue. -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From carbonnb at gmail.com Tue Aug 28 15:31:12 2007 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Tue, 28 Aug 2007 16:31:12 -0400 Subject: [AccessD] JIT SubForms In-Reply-To: References: <20070828184329.EB2BCBD98@smtp-auth.no-ip.com> Message-ID: On 8/28/07, Charlotte Foust wrote: > I don't remember ever being able to clear the Master/Child links once > they'd been set, even after clearing the source object. Have you tried > clearing the source object and then just setting the links to the new > strings without clearing them first? Yep, I've tried setting them directly. Still no dice. They actually DO set to the new values, but it throws the error. > Otherwise, we'll have to ask JC > what magic code he uses and what version of Access it runs in. ;-> Magic code.... mmmm.... Does he have a magic bank card? :) -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" From carbonnb at gmail.com Tue Aug 28 15:33:00 2007 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Tue, 28 Aug 2007 16:33:00 -0400 Subject: [AccessD] JIT SubForms In-Reply-To: <20070828202126.A73E0BC02@smtp-auth.no-ip.com> References: <20070828202126.A73E0BC02@smtp-auth.no-ip.com> Message-ID: On 8/28/07, jwcolby wrote: > I'll go find the code in my framework. I don't actually use it in this > manner though. I usually set the links then clear and load the source > object. I think I remember having to save the link data, set all to "" and > then set all three of them again. > > I can't find the source until after I cook dinner and take my son to his > Karate class though so it will be this evening. Ah, the joys of being at home with the kids. Gotta love it!!! No rush. This project isn't going anywhere fast. My brain ain't working too well these days :) -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" From lmrazek at lcm-res.com Tue Aug 28 17:07:45 2007 From: lmrazek at lcm-res.com (Lawrence Mrazek) Date: Tue, 28 Aug 2007 17:07:45 -0500 Subject: [AccessD] Calendar Control Not Displaying Day Numbers In-Reply-To: References: <20070828153441.DBS81366@dommail.onthenet.com.au><000601c7e96f$2e992aa0$0200a8c0@danwaters><005a01c7e978$fa76b760$026fa8c0@lcmdv8000><6DDC7FB60B1A4AC6B68B61C2AB8427D2@BPCS><009801c7e995$50201ff0$026fa8c0@lcmdv8000><00ad01c7e9a1$ea88aa60$026fa8c0@lcmdv8000> Message-ID: <00ea01c7e9bf$dd11dff0$026fa8c0@lcmdv8000> Thanks Charlotte: They are using the MSCAL.ocx control, so I suppose I'll try to re-register it to see if that does the trick. Larry Mrazek LCM Research, Inc. www.lcm-res.com lmrazek at lcm-res.com ph. 314-432-5886 mobile: 314-496-1645 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, August 28, 2007 2:48 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Calendar Control Not Displaying Day Numbers If the calendar control is third party, then reinstalling the control could help. If it's one of the Windows dlls, try reregistering it on that machine. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lawrence Mrazek Sent: Tuesday, August 28, 2007 11:33 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Calendar Control Not Displaying Day Numbers Hi Charlotte: I'll check out his machine specs ... He shouldn't be running Vista, however, since it isn't on the company's list of approved software. Would reinstalling the control possibly help? Larry Mrazek LCM Research, Inc. www.lcm-res.com lmrazek at lcm-res.com ph. 314-432-5886 mobile: 314-496-1645 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, August 28, 2007 12:14 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Calendar Control Not Displaying Day Numbers Is the user running Vista? Does his workstation have the same Access service packs and MDAC version as all the others? Charlotte Foust -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Tue Aug 28 18:36:13 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 28 Aug 2007 19:36:13 -0400 Subject: [AccessD] JIT SubForms In-Reply-To: Message-ID: <20070828233614.A3BC1BEC9@smtp-auth.no-ip.com> It is entirely possible that I just ignore the error as well. 8~0 John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bryan Carbonnell Sent: Tuesday, August 28, 2007 4:31 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] JIT SubForms On 8/28/07, Charlotte Foust wrote: > I don't remember ever being able to clear the Master/Child links once > they'd been set, even after clearing the source object. Have you > tried clearing the source object and then just setting the links to > the new strings without clearing them first? Yep, I've tried setting them directly. Still no dice. They actually DO set to the new values, but it throws the error. > Otherwise, we'll have to ask JC > what magic code he uses and what version of Access it runs in. ;-> Magic code.... mmmm.... Does he have a magic bank card? :) -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Tue Aug 28 18:40:05 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 28 Aug 2007 19:40:05 -0400 Subject: [AccessD] JIT SubForms In-Reply-To: Message-ID: <20070828234006.DD007BEC9@smtp-auth.no-ip.com> My commute is a royal PITA. These days I am working 5 am to 5 pm. I have to climb at least 10 stairs to get to the office. On the up side, my first item of business once arriving at my office is to get on the treadmill for 20 minutes or so, then 15 minutes on the home gym. Gotta get those numbers up. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bryan Carbonnell Sent: Tuesday, August 28, 2007 4:33 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] JIT SubForms On 8/28/07, jwcolby wrote: > I'll go find the code in my framework. I don't actually use it in > this manner though. I usually set the links then clear and load the > source object. I think I remember having to save the link data, set > all to "" and then set all three of them again. > > I can't find the source until after I cook dinner and take my son to > his Karate class though so it will be this evening. Ah, the joys of being at home with the kids. Gotta love it!!! No rush. This project isn't going anywhere fast. My brain ain't working too well these days :) -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Tue Aug 28 18:59:23 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 28 Aug 2007 19:59:23 -0400 Subject: [AccessD] JIT SubForms In-Reply-To: Message-ID: <20070828235924.8CBCCBD7C@smtp-auth.no-ip.com> Bryan, This is the code from C2DbFW3G. It doesn't appear that I am seeing errors on the bind side. On the unbind side I have an error case 2101 which I have not commented as to what it is. I will look back at the older framework to see how I handled it there as well. Function Bind(Optional lstrLinkChildFields As Variant = "", _ Optional lstrLinkMasterFields As Variant = "", _ Optional lstrSrcObject As Variant = "") On Error GoTo Err_Bind Dim lfrm As Form If Not IsEmpty(lstrLinkChildFields) Then mstrLinkChildFields = lstrLinkChildFields End If If Not IsEmpty(lstrLinkMasterFields) Then mstrLinkMasterFields = lstrLinkMasterFields End If If Not IsEmpty(lstrSrcObject) Then mstrSourceObject = lstrSrcObject End If With mctlSFrm .LinkChildFields = mstrLinkChildFields .LinkMasterFields = mstrLinkMasterFields .SourceObject = mstrSourceObject On Error Resume Next Set lfrm = mctlSFrm.Form Set mSubFormClass = lfrm.fclsfrm Set lfrm = Nothing End With Exit_Bind: Exit Function Err_Bind: MsgBox Err.Description, , "Error in Function dclsCtlSFrm.Bind" Resume Exit_Bind Resume 0 '.FOR TROUBLESHOOTING End Function ' 'Unbinds the subform from the subform control for JIT subforms ' 'The SourceObject needs to be cleared first since a Current event will run for each Link you clear 'if the SourceObject is still set ' Function UnBind() On Error GoTo Err_UnBind If mctlSFrm.SourceObject <> "" Then 'Debug.Print mctlSFrm.Name & " is unbinding" assDebugPrint mctlSFrm.name & ":UnBind:" & mctlSFrm.SourceObject, DebugPrint ' If Len(mctlSFrm.Form.RecordSource) = 0 Then ' End If ' On Error Resume Next If mblnJITSFrmUnload Then mfrm.fclsfrm.Unbinding = True 'cleanup pointer to the subform's class mSubFormClass.mTerm Set mSubFormClass = Nothing mctlSFrm.SourceObject = "" mfrm.RecordSource = "" mctlSFrm.LinkChildFields = "" mctlSFrm.LinkMasterFields = "" End If End If Exit_UnBind: On Error Resume Next Exit Function Err_UnBind: Select Case Err Case 2101 Resume Next Case Else MsgBox Err.Description, , "Error in Function dclsCtlSFrm.UnBind" Resume Exit_UnBind End Select Resume 0 '.FOR TROUBLESHOOTING End Function John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bryan Carbonnell Sent: Tuesday, August 28, 2007 4:33 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] JIT SubForms On 8/28/07, jwcolby wrote: > I'll go find the code in my framework. I don't actually use it in > this manner though. I usually set the links then clear and load the > source object. I think I remember having to save the link data, set > all to "" and then set all three of them again. > > I can't find the source until after I cook dinner and take my son to > his Karate class though so it will be this evening. Ah, the joys of being at home with the kids. Gotta love it!!! No rush. This project isn't going anywhere fast. My brain ain't working too well these days :) -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Tue Aug 28 19:15:11 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Tue, 28 Aug 2007 17:15:11 -0700 Subject: [AccessD] Force a new page in code In-Reply-To: <214FED4CA47B4306B89C3CA6714926D7@creativesystemdesigns.com> Message-ID: <008301c7e9d1$ab1a1b40$0301a8c0@HAL9005> Jim: I'll send you a sample report off-line if you send me your email address. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Tuesday, August 28, 2007 11:54 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Force a new page in code Hi Rocky: I am not usually this slow but a senior moment.... extending into hours has over come me. Maybe a sample would help??? TIA Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Tuesday, August 28, 2007 10:37 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Force a new page in code It sounds like you need to add a grouping level, if it's not already there, and then add the header and the footer. In the footer you drag the page break control from the report design toolbar and drop it into the footer. So it will page break on that group level. In the format event of the header for that group, ask if this is the group that you want to break on. If so, make the page break control visible, if not make it invisible. Clear as mud? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Tuesday, August 28, 2007 9:07 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Force a new page in code Hi Rocky: How is that control setup? Is it a group, a command or a piece of code? A client has a fairly straight forward report but at times wishes to have a certain group start at the top of a new page. I can think of certain long clumsy methods to do this but there must be some eloquent method like: Me.page.newpage < this is just pseudo code TIA Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Tuesday, August 28, 2007 5:02 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Force a new page in code Jim: There's a page break control which I have made visible and invisible programmatically during report generation, depending on whether I want it active. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Monday, August 27, 2007 11:19 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Force a new page in code Hi all: Is there a way to force a new page in Access reports under program control? TIA Jim -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.484 / Virus Database: 269.12.10/976 - Release Date: 8/27/2007 6:20 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.484 / Virus Database: 269.12.10/976 - Release Date: 8/27/2007 6:20 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.484 / Virus Database: 269.12.10/976 - Release Date: 8/27/2007 6:20 PM From pcs at azizaz.com Tue Aug 28 19:37:15 2007 From: pcs at azizaz.com (pcs at azizaz.com) Date: Wed, 29 Aug 2007 10:37:15 +1000 (EST) Subject: [AccessD] Tabcontrol mis-behaving Message-ID: <20070829103715.DBU53417@dommail.onthenet.com.au> Hi Dan, The old .mdb file had themed controls turned off!! Yes, when I created the new database container and copied all the objects into this, I only turned off 'Track Name Autocorrect info' and didn't know that the .mdb would default to 'Use Windows Themed Controls on Forms'.... When turning this option off, I was able to get a transparent backstyle tab control again - using Access 2003 ... So, I guess if you want to use Windows Themed Control and also have a background color on the Tab pages that are similar to the general background color of the Form, your only option is to fill out the tab page with a colored box control to cover up the default white background of the tab page.... Regards borge ---- Original message ---- >Date: Tue, 28 Aug 2007 07:30:12 -0500 >From: "Dan Waters" >Subject: Re: [AccessD] Tabcontrol mis-behaving >To: "'Access Developers discussion and problem solving'" > >Hi Borge, > >In Access 2003, you have the option of using Windows Themed Controls in >Tools|Options|Forms & Reports. If you check this, you get rounded corner >buttons, white tab control backgrounds, etc. Perhaps your original database >did not have this checked, but your new database does. > >I wasn't able to change the tab control color in Access 2002 either - it was >always Access gray. > >Keep using tab controls! They are a great way to present many times the >number of controls to users as you have space on the screen. > >I don't know about the other issues. Good luck with those. > >Dan > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of pcs at azizaz.com >Sent: Tuesday, August 28, 2007 12:35 AM >To: Access Developers discussion and problemsolving >Subject: [AccessD] Tabcontrol mis-behaving > >Access 2003 >On XP and Vista > >I have Form in a small app that has a Tabcontrol with 4 >pages two of which are in use. >On on tab page a few text controls and subform control >On the other tab page an activex control (ocxWeb) > >Transparent Backstyle >Style = None >Multirow = No > >After a couple of days running fine on Vista it now crashes >continous when trying to open the Form with the tabcontrol. > >On XP box works fine > >I Import the app from XP box to Vista box - same thing >happens again - Access crashes (exception in Access.exe) >when trying to open Form. > >I create an empty .mdb and import all objects. > >I Open the App and lo and behold!! the Form opens, but the >background / backstyle of the Tabcontrol is now WHITE!! >although setting is still set to transparent backstyle.... > >No way I can get rid of this unwanted white background. > >What is this? > >Should I just re-create the Form with a transparent >backstyle tabcontrol - hoping this is just a one time odd >behaviour - or is there something about tabcontrols that >suggest that I should stay away from them??? > >Regards >Borge >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com From carbonnb at gmail.com Tue Aug 28 20:23:03 2007 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Tue, 28 Aug 2007 21:23:03 -0400 Subject: [AccessD] JIT SubForms In-Reply-To: <20070828233614.A3BC1BEC9@smtp-auth.no-ip.com> References: <20070828233614.A3BC1BEC9@smtp-auth.no-ip.com> Message-ID: On 8/28/07, jwcolby wrote: > It is entirely possible that I just ignore the error as well. 8~0 Yea, I'm thinking that's the way I'm going to have to go. It just feels like cheating though. -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" From carbonnb at gmail.com Tue Aug 28 20:28:00 2007 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Tue, 28 Aug 2007 21:28:00 -0400 Subject: [AccessD] JIT SubForms In-Reply-To: <20070828235924.8CBCCBD7C@smtp-auth.no-ip.com> References: <20070828235924.8CBCCBD7C@smtp-auth.no-ip.com> Message-ID: On 8/28/07, jwcolby wrote: > This is the code from C2DbFW3G. It doesn't appear that I am seeing errors > on the bind side. On the unbind side I have an error case 2101 which I have > not commented as to what it is. I will look back at the older framework to > see how I handled it there as well. Thanks John. I'll look at this in more detail in the am during my commute. It looks like I just need to handle the 2101 and ignore it. Still feels like cheating though. -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" From fuller.artful at gmail.com Wed Aug 29 02:38:05 2007 From: fuller.artful at gmail.com (Arthur Fuller) Date: Wed, 29 Aug 2007 03:38:05 -0400 Subject: [AccessD] Date-scoping Message-ID: <29f585dd0708290038q70225123v23b00e4bbacdab3b@mail.gmail.com> It's been a long while since I've done an MDB-BE and it's amazing how much one forgets. I'm trying to date-scope a report. I've got a little form that asks for start and end dates, and the result is being passed in like this: (TransactionTypeID= 2 AND TransactionDate BETWEEN #03-Jul-07# AND #03-Jul-07#) This is not working. What am I doing wrong? TIA, Arthur From fuller.artful at gmail.com Wed Aug 29 04:31:59 2007 From: fuller.artful at gmail.com (Arthur Fuller) Date: Wed, 29 Aug 2007 05:31:59 -0400 Subject: [AccessD] Access date-time format Message-ID: <29f585dd0708290231q2014c1e7p23e37df2adec806d@mail.gmail.com> Is there a format string that one can use to combine date and time format, to guide the user? I want to combine medium date format and medium time format into one format for the whole field but I can't seem to get it right. I want the formatted data to look like this: 30-Sep-07 5:30 PM It seems silly to use two fields to achieve this but I can't get the correct format string to just use one. TIA, Arthur From fuller.artful at gmail.com Wed Aug 29 04:37:00 2007 From: fuller.artful at gmail.com (Arthur Fuller) Date: Wed, 29 Aug 2007 05:37:00 -0400 Subject: [AccessD] Combined Date and Time Format Message-ID: <29f585dd0708290237m3ae2c6b7h50cba24e2dff0d45@mail.gmail.com> Doh! Right after clicking Send I got it. 99\->LLL;0;_ Arthur From ssharkins at gmail.com Wed Aug 29 05:40:05 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Wed, 29 Aug 2007 06:40:05 -0400 Subject: [AccessD] Date-scoping In-Reply-To: <29f585dd0708290038q70225123v23b00e4bbacdab3b@mail.gmail.com> References: <29f585dd0708290038q70225123v23b00e4bbacdab3b@mail.gmail.com> Message-ID: <000001c7ea28$f8033660$048e01c7@SusanOne> Well, it looks Okay Arthur -- what's happening, is it returning incorrect dates, no dates, or an error? How are you passing this search string? Susan H. It's been a long while since I've done an MDB-BE and it's amazing how much one forgets. I'm trying to date-scope a report. I've got a little form that asks for start and end dates, and the result is being passed in like this: (TransactionTypeID= 2 AND TransactionDate BETWEEN #03-Jul-07# AND #03-Jul-07#) This is not working. What am I doing wrong? From fuller.artful at gmail.com Wed Aug 29 07:09:58 2007 From: fuller.artful at gmail.com (Arthur Fuller) Date: Wed, 29 Aug 2007 08:09:58 -0400 Subject: [AccessD] Date-scoping In-Reply-To: <000001c7ea28$f8033660$048e01c7@SusanOne> References: <29f585dd0708290038q70225123v23b00e4bbacdab3b@mail.gmail.com> <000001c7ea28$f8033660$048e01c7@SusanOne> Message-ID: <29f585dd0708290509p51b3b2a4k338a04e46ac9fe03@mail.gmail.com> I'm passing it as the criteria string to a docmd.openreport. Thanks for looking at it. I'll keeping flailing about and see what happens. :) On 8/29/07, Susan Harkins wrote: > > Well, it looks Okay Arthur -- what's happening, is it returning incorrect > dates, no dates, or an error? How are you passing this search string? > > Susan H. > > It's been a long while since I've done an MDB-BE and it's amazing how much > one forgets. I'm trying to date-scope a report. I've got a little form > that > asks for start and end dates, and the result is being passed in like this: > > (TransactionTypeID= 2 AND TransactionDate BETWEEN #03-Jul-07# AND > #03-Jul-07#) > > This is not working. What am I doing wrong? > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From prodevmg at yahoo.com Wed Aug 29 07:24:56 2007 From: prodevmg at yahoo.com (Lonnie Johnson) Date: Wed, 29 Aug 2007 05:24:56 -0700 (PDT) Subject: [AccessD] Access date-time format Message-ID: <571426.76814.qm@web33111.mail.mud.yahoo.com> You can use an input mask on the field in your form which would be... 00->LLL May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us ----- Original Message ---- From: Arthur Fuller To: Access Developers discussion and problem solving Sent: Wednesday, August 29, 2007 4:31:59 AM Subject: [AccessD] Access date-time format Is there a format string that one can use to combine date and time format, to guide the user? I want to combine medium date format and medium time format into one format for the whole field but I can't seem to get it right. I want the formatted data to look like this: 30-Sep-07 5:30 PM It seems silly to use two fields to achieve this but I can't get the correct format string to just use one. TIA, Arthur -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ____________________________________________________________________________________ Take the Internet to Go: Yahoo!Go puts the Internet in your pocket: mail, news, photos & more. http://mobile.yahoo.com/go?refer=1GNXIC From dwaters at usinternet.com Wed Aug 29 07:34:15 2007 From: dwaters at usinternet.com (Dan Waters) Date: Wed, 29 Aug 2007 07:34:15 -0500 Subject: [AccessD] Date-scoping In-Reply-To: <29f585dd0708290509p51b3b2a4k338a04e46ac9fe03@mail.gmail.com> References: <29f585dd0708290038q70225123v23b00e4bbacdab3b@mail.gmail.com><000001c7ea28$f8033660$048e01c7@SusanOne> <29f585dd0708290509p51b3b2a4k338a04e46ac9fe03@mail.gmail.com> Message-ID: <000f01c7ea38$e99fa350$0200a8c0@danwaters> Arthur, A Guess - Try adding a pair of parentheses: (TransactionTypeID= 2 AND (TransactionDate BETWEEN #03-Jul-07# AND #03-Jul-07#)) Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Wednesday, August 29, 2007 7:10 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Date-scoping I'm passing it as the criteria string to a docmd.openreport. Thanks for looking at it. I'll keeping flailing about and see what happens. :) On 8/29/07, Susan Harkins wrote: > > Well, it looks Okay Arthur -- what's happening, is it returning incorrect > dates, no dates, or an error? How are you passing this search string? > > Susan H. > > It's been a long while since I've done an MDB-BE and it's amazing how much > one forgets. I'm trying to date-scope a report. I've got a little form > that > asks for start and end dates, and the result is being passed in like this: > > (TransactionTypeID= 2 AND TransactionDate BETWEEN #03-Jul-07# AND > #03-Jul-07#) > > This is not working. What am I doing wrong? > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From andy at minstersystems.co.uk Wed Aug 29 08:26:34 2007 From: andy at minstersystems.co.uk (Andy Lacey) Date: Wed, 29 Aug 2007 14:26:34 +0100 Subject: [AccessD] Resizing a Tab Control Message-ID: <20070829132638.D2E9C65A1D@smtp.nildram.co.uk> Not sure of the exact figure but I reckon it's around 0.3 cm, or maybe 0.25. -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "'Access Developers discussion and problem solving'" Subject: Re: [AccessD] Resizing a Tab Control Date: 29/08/07 11:17 Got it. Thanks. Any guidelines on how close to the edge or bottom you can have a control before it resizes incorrectly? Or is it just trial and error? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey Sent: Monday, August 27, 2007 11:53 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Resizing a Tab Control Rocky, bear in mind that it won't resize a tab control if there are controls at the bottom or on the right of the tab which prevent it. IME you not only have to resize the tab's controls but reposition them too, then the tab resize worked. -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky > Smolin at Beach Access Software > Sent: 28 August 2007 06:38 > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] Resizing a Tab Control > > > Dear List: > > I have an app with several tab controls and I am using the adh > resizing code, which works well about 96% of the time. > But this time I need it to be 100%. It's not resizing the tab > controls correctly. > > Does anyone use something else for screen resizing that they like? > > MTIA, > > rocky > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.484 / Virus Database: 269.12.10/976 - Release Date: 8/27/2007 6:20 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ________________________________________________ Message sent using UebiMiau 2.7.2 From pharold at proftesting.com Wed Aug 29 08:54:29 2007 From: pharold at proftesting.com (Perry L Harold) Date: Wed, 29 Aug 2007 09:54:29 -0400 Subject: [AccessD] Date-scoping In-Reply-To: <29f585dd0708290038q70225123v23b00e4bbacdab3b@mail.gmail.com> References: <29f585dd0708290038q70225123v23b00e4bbacdab3b@mail.gmail.com> Message-ID: <00F5FCB4F80FDB4EB03FBAAEAD97CEAD4D1274@EXCHANGE.ptiorl.local> I don't use BETWEEN much but technically there's no date between your 2 values when they're the same. Does it work with =? Perry Harold -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Wednesday, August 29, 2007 3:38 AM To: Access Developers discussion and problem solving Subject: [AccessD] Date-scoping It's been a long while since I've done an MDB-BE and it's amazing how much one forgets. I'm trying to date-scope a report. I've got a little form that asks for start and end dates, and the result is being passed in like this: (TransactionTypeID= 2 AND TransactionDate BETWEEN #03-Jul-07# AND #03-Jul-07#) This is not working. What am I doing wrong? TIA, Arthur -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Wed Aug 29 09:05:22 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Wed, 29 Aug 2007 07:05:22 -0700 Subject: [AccessD] Date-scoping In-Reply-To: <00F5FCB4F80FDB4EB03FBAAEAD97CEAD4D1274@EXCHANGE.ptiorl.local> Message-ID: <002601c7ea45$a3fae3c0$0301a8c0@HAL9005> Arthur: I'd try: TransactionDate >= #03-Jul-07# AND TransactionDate <= #03-Jul-07# Will the two dates always e the same or will there mostly be a range. Also, try removing the date filter to see what's being returned. Could it be that there are no records with July 3, 07? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Wednesday, August 29, 2007 3:38 AM To: Access Developers discussion and problem solving Subject: [AccessD] Date-scoping It's been a long while since I've done an MDB-BE and it's amazing how much one forgets. I'm trying to date-scope a report. I've got a little form that asks for start and end dates, and the result is being passed in like this: (TransactionTypeID= 2 AND TransactionDate BETWEEN #03-Jul-07# AND #03-Jul-07#) This is not working. What am I doing wrong? TIA, Arthur -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.484 / Virus Database: 269.12.10/977 - Release Date: 8/28/2007 4:29 PM From carbonnb at gmail.com Wed Aug 29 09:17:29 2007 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Wed, 29 Aug 2007 10:17:29 -0400 Subject: [AccessD] JIT SubForms In-Reply-To: References: <20070828235924.8CBCCBD7C@smtp-auth.no-ip.com> Message-ID: On 8/28/07, Bryan Carbonnell wrote: > On 8/28/07, jwcolby wrote: > > > This is the code from C2DbFW3G. It doesn't appear that I am seeing errors > > on the bind side. On the unbind side I have an error case 2101 which I have > > not commented as to what it is. I will look back at the older framework to > > see how I handled it there as well. > > > > Thanks John. > > I'll look at this in more detail in the am during my commute. > > It looks like I just need to handle the 2101 and ignore it. Still > feels like cheating though. After looking at the code, which has helped (Thanks John) I'm going to be rewriting a significant chunk of the app to use an idea similar to this, and just handle and ignore the 2101 error. Thanks again all. -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" From papparuff at comcast.net Wed Aug 29 09:23:22 2007 From: papparuff at comcast.net (papparuff at comcast.net) Date: Wed, 29 Aug 2007 14:23:22 +0000 Subject: [AccessD] Date-scoping Message-ID: <082920071423.25076.46D5815A000678C4000061F4220681509300009A9D0E9F9F0E9F@comcast.net> I've always had problems with getting records based on a range of dates until I changed me methodology. I look for those dates that are greater than the date before the actual start date and the dates that are less the the date after the last date. This way I always include the start date beginning at midnight and the last date ending at 11:59.59. So I would do this: TransactionDate > dateadd("d",-1,StartDate) AND TransactionDate < dateadd("d",+1,EndDate) papparuff -- John V. Ruff ? The Eternal Optimist :-) ?Commit to the Lord whatever you do, and your plans will succeed.? Proverbs 16:3 -------------- Original message -------------- From: "Rocky Smolin at Beach Access Software" > > Arthur: > > I'd try: TransactionDate >= #03-Jul-07# AND TransactionDate <= #03-Jul-07# > > Will the two dates always e the same or will there mostly be a range. Also, > try removing the date filter to see what's being returned. Could it be that > there are no records with July 3, 07? > > Rocky > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller > Sent: Wednesday, August 29, 2007 3:38 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] Date-scoping > > It's been a long while since I've done an MDB-BE and it's amazing how much > one forgets. I'm trying to date-scope a report. I've got a little form that > asks for start and end dates, and the result is being passed in like this: > > (TransactionTypeID= 2 AND TransactionDate BETWEEN #03-Jul-07# AND > #03-Jul-07#) > > This is not working. What am I doing wrong? > > TIA, > Arthur > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.484 / Virus Database: 269.12.10/977 - Release Date: 8/28/2007 > 4:29 PM > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From markamatte at hotmail.com Wed Aug 29 09:23:32 2007 From: markamatte at hotmail.com (Mark A Matte) Date: Wed, 29 Aug 2007 14:23:32 +0000 Subject: [AccessD] Date-scoping In-Reply-To: <000f01c7ea38$e99fa350$0200a8c0@danwaters> Message-ID: I think in using docmd.openreport where condition...your criteria should be in quotes. Good luck, Mark A. Matte >From: "Dan Waters" >Reply-To: Access Developers discussion and problem >solving >To: "'Access Developers discussion and problem >solving'" >Subject: Re: [AccessD] Date-scoping >Date: Wed, 29 Aug 2007 07:34:15 -0500 > >Arthur, > >A Guess - Try adding a pair of parentheses: > >(TransactionTypeID= 2 AND (TransactionDate BETWEEN #03-Jul-07# AND >#03-Jul-07#)) > >Dan > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller >Sent: Wednesday, August 29, 2007 7:10 AM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] Date-scoping > >I'm passing it as the criteria string to a docmd.openreport. Thanks for >looking at it. I'll keeping flailing about and see what happens. :) > >On 8/29/07, Susan Harkins wrote: > > > > Well, it looks Okay Arthur -- what's happening, is it returning >incorrect > > dates, no dates, or an error? How are you passing this search string? > > > > Susan H. > > > > It's been a long while since I've done an MDB-BE and it's amazing how >much > > one forgets. I'm trying to date-scope a report. I've got a little form > > that > > asks for start and end dates, and the result is being passed in like >this: > > > > (TransactionTypeID= 2 AND TransactionDate BETWEEN #03-Jul-07# AND > > #03-Jul-07#) > > > > This is not working. What am I doing wrong? > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Puzzles, trivia teasers, word scrambles and more. Play for your chance to win! http://club.live.com/home.aspx?icid=CLUB_hotmailtextlink From robert at webedb.com Wed Aug 29 09:47:06 2007 From: robert at webedb.com (Robert L. Stewart) Date: Wed, 29 Aug 2007 09:47:06 -0500 Subject: [AccessD] Date-scoping In-Reply-To: References: Message-ID: <200708291449.l7TEnRVY028370@databaseadvisors.com> Does the transaction date include the time? If so, you need to make it midnight so you match the range you are giving it. With no time specified in your range, it is looking for only midnight. Robert At 04:32 AM 8/29/2007, you wrote: >Date: Wed, 29 Aug 2007 03:38:05 -0400 >From: "Arthur Fuller" >Subject: [AccessD] Date-scoping >To: "Access Developers discussion and problem solving" > >Message-ID: > <29f585dd0708290038q70225123v23b00e4bbacdab3b at mail.gmail.com> >Content-Type: text/plain; charset=ISO-8859-1 > >It's been a long while since I've done an MDB-BE and it's amazing how much >one forgets. I'm trying to date-scope a report. I've got a little form that >asks for start and end dates, and the result is being passed in like this: > >(TransactionTypeID= 2 AND TransactionDate BETWEEN #03-Jul-07# AND >#03-Jul-07#) > >This is not working. What am I doing wrong? > >TIA, >Arthur From ssharkins at gmail.com Wed Aug 29 11:39:44 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Wed, 29 Aug 2007 12:39:44 -0400 Subject: [AccessD] Date-scoping In-Reply-To: <00F5FCB4F80FDB4EB03FBAAEAD97CEAD4D1274@EXCHANGE.ptiorl.local> References: <29f585dd0708290038q70225123v23b00e4bbacdab3b@mail.gmail.com> <00F5FCB4F80FDB4EB03FBAAEAD97CEAD4D1274@EXCHANGE.ptiorl.local> Message-ID: <003301c7ea5b$37bcebc0$048e01c7@SusanOne> Oh, nicely done! I didn't even compare the dates -- just checked the syntax! Susan H. I don't use BETWEEN much but technically there's no date between your 2 values when they're the same. Does it work with =? From tinanfields at torchlake.com Wed Aug 29 12:44:05 2007 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Wed, 29 Aug 2007 13:44:05 -0400 Subject: [AccessD] What problems converting A2K3 mdb to A2K7? Message-ID: <46D5B065.7020200@torchlake.com> Hi All, A client called with this story: We had a functioning database developed in A2K3. We gave the data to an off-site developer who did some redesign work. While the database was away being reworked, we upgraded in the office to A2K7. The database now seems to be missing some fields and is not really functional. My first impression (I have not looked at the database yet) is that the difficulties probably are associated with the off-site rework rather than the upgrade. But, I thought I'd check out what to watch out for when I do go look at the database. Thanks for any advice and information on A2K3-A2K7 issues. Tina From ssharkins at gmail.com Wed Aug 29 13:01:18 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Wed, 29 Aug 2007 14:01:18 -0400 Subject: [AccessD] What problems converting A2K3 mdb to A2K7? In-Reply-To: <46D5B065.7020200@torchlake.com> References: <46D5B065.7020200@torchlake.com> Message-ID: <000301c7ea66$9ee28e80$048e01c7@SusanOne> I only have a few dbs, but they all have code, and they've all upgraded without fail, but I'm not running anything very complex. Susan H. My first impression (I have not looked at the database yet) is that the difficulties probably are associated with the off-site rework rather than the upgrade. But, I thought I'd check out what to watch out for when I do go look at the database. From markamatte at hotmail.com Wed Aug 29 13:09:52 2007 From: markamatte at hotmail.com (Mark A Matte) Date: Wed, 29 Aug 2007 18:09:52 +0000 Subject: [AccessD] Date-scoping In-Reply-To: <003301c7ea5b$37bcebc0$048e01c7@SusanOne> Message-ID: Not entirely...if the field is just a date and not a datetime...then BETWEEN 1/1/07 and 1/1/07 would return any records that are 1/1/07 because BETWEEN is inclusive. If it were a datetime...then it would only look for 1/1/07 00:00:00. Mark A. Matte >From: "Susan Harkins" >Reply-To: Access Developers discussion and problem >solving >To: "'Access Developers discussion and problem >solving'" >Subject: Re: [AccessD] Date-scoping >Date: Wed, 29 Aug 2007 12:39:44 -0400 > >Oh, nicely done! I didn't even compare the dates -- just checked the >syntax! > >Susan H. > >I don't use BETWEEN much but technically there's no date between your 2 >values when they're the same. Does it work with =? > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Learn.Laugh.Share. Reallivemoms is right place! http://www.reallivemoms.com?ocid=TXT_TAGHM&loc=us From tinanfields at torchlake.com Wed Aug 29 16:23:42 2007 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Wed, 29 Aug 2007 17:23:42 -0400 Subject: [AccessD] What problems converting A2K3 mdb to A2K7? In-Reply-To: <000301c7ea66$9ee28e80$048e01c7@SusanOne> References: <46D5B065.7020200@torchlake.com> <000301c7ea66$9ee28e80$048e01c7@SusanOne> Message-ID: <46D5E3DE.4090004@torchlake.com> Thanks, Susan. I suspect that the "rework" was actually creation of a new db that is, in fact, missing some of the fields that were in the original. As explained to me, the db just tracks the people who have made inquiry into a certain educational program - whether they just inquired or went all the way through to complete the program. It doesn't sound awfully complex. I'll be eager to hear what anyone else has to say. Tina Susan Harkins wrote: > I only have a few dbs, but they all have code, and they've all upgraded > without fail, but I'm not running anything very complex. > > Susan H. > > > My first impression (I have not looked at the database yet) is that the > difficulties probably are associated with the off-site rework rather than > the upgrade. But, I thought I'd check out what to watch out for when I do > go look at the database. > > > From Patricia.O'Connor at otda.state.ny.us Wed Aug 29 16:40:10 2007 From: Patricia.O'Connor at otda.state.ny.us (O'Connor, Patricia (OTDA)) Date: Wed, 29 Aug 2007 17:40:10 -0400 Subject: [AccessD] Date-scoping References: Message-ID: <01DBAB52E30A9A4AB3D94EF8029EDBE80253C13F@EXCNYSM0A1AI.nysemail.nyenet> Because I deal with Oracle every day I have gotten into the habit of using the day before and day after. I stopped using between even on an Access DB because there were times I might miss a record. This other way better guarantees I get all my records. (TransactionTypeID= 2 AND (TransactionDate > #02-Jul-2007# AND TransactionDate < #04-Jul-2007#)) ************************************************************* * Patricia E. O'Connor * Associate Computer Programmer/Analyst * OTDA - BDMA * (W) mailto:Patricia.O'Connor at otda.state.ny.us * (W) mailto:aa1160 at otda.state.ny.us *********************************************************** -------------------------------------------------------- This e-mail, including any attachments, may be confidential, privileged or otherwise legally protected. It is intended only for the addressee. If you received this e-mail in error or from someone who was not authorized to send it to you, do not disseminate, copy or otherwise use this e-mail or its attachments. Please notify the sender immediately by reply e-mail and delete the e-mail from your system. ________________________________ From: accessd-bounces at databaseadvisors.com on behalf of Mark A Matte Sent: Wed 08/29/2007 2:09 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Date-scoping Not entirely...if the field is just a date and not a datetime...then BETWEEN 1/1/07 and 1/1/07 would return any records that are 1/1/07 because BETWEEN is inclusive. If it were a datetime...then it would only look for 1/1/07 00:00:00. Mark A. Matte From miscellany at mvps.org Wed Aug 29 17:03:33 2007 From: miscellany at mvps.org (Steve Schapel) Date: Thu, 30 Aug 2007 10:03:33 +1200 Subject: [AccessD] Combined Date and Time Format In-Reply-To: <29f585dd0708290237m3ae2c6b7h50cba24e2dff0d45@mail.gmail.com> References: <29f585dd0708290237m3ae2c6b7h50cba24e2dff0d45@mail.gmail.com> Message-ID: <46D5ED35.9030000@mvps.org> Arthur, What you have come up with would possibly be an applicable Input Mask (I would personally never use an Input Mask for a Date field anyway). Your original question was about Format, in which case I think this would do it: dd-mmm-yy h:nnAM/PM Regards Steve Arthur Fuller wrote: > Doh! Right after clicking Send I got it. > > 99\->LLL;0;_ > > Arthur From askolits at nni.com Wed Aug 29 21:38:21 2007 From: askolits at nni.com (John Skolits) Date: Wed, 29 Aug 2007 22:38:21 -0400 Subject: [AccessD] Finding the sort order on a datasheet. In-Reply-To: <005a01c7e67d$60f4e0b0$048e01c7@SusanOne> References: <29f585dd0708240710h70824400mc9b46cb1c910462f@mail.gmail.com><014301c7e669$86116530$0f01a8c0@officexp><002101c7e66a$5acaa3e0$048e01c7@SusanOne><0a2101c7e66c$21afbc10$0f01a8c0@officexp><002001c7e66f$bcc05c70$0200a8c0@danwaters><003a01c7e677$7afe6ea0$048e01c7@SusanOne><003901c7e67b$03eb8100$0200a8c0@danwaters> <005a01c7e67d$60f4e0b0$048e01c7@SusanOne> Message-ID: <028101c7eaae$d58dd640$0f01a8c0@officexp> I have a form that is displayed as a datasheet. If I do some filtering, I can get the filter by "Forms!frmName.filter" But, what if I sort descending or ascending on a field? Is there anyway to get that info? Is there a property of the datasheet like "DatasheetSort"? John Skolits -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.484 / Virus Database: 269.12.1/963 - Release Date: 8/20/2007 5:44 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dw-murphy at cox.net Wed Aug 29 21:40:00 2007 From: dw-murphy at cox.net (Doug Murphy) Date: Wed, 29 Aug 2007 19:40:00 -0700 Subject: [AccessD] What problems converting A2K3 mdb to A2K7? In-Reply-To: <46D5B065.7020200@torchlake.com> Message-ID: <003301c7eaaf$0f804770$0200a8c0@murphy3234aaf1> If the database uses any code with references set check that these are still set. I was asked to fix a database that was moved to Access 2007 and most of the problems were with broken references. The biggest PITA was figuring out where the menu items are in 2007. Doug -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tina Norris Fields Sent: Wednesday, August 29, 2007 10:44 AM To: DatabaseAdvisors-Access Subject: [AccessD] What problems converting A2K3 mdb to A2K7? Hi All, A client called with this story: We had a functioning database developed in A2K3. We gave the data to an off-site developer who did some redesign work. While the database was away being reworked, we upgraded in the office to A2K7. The database now seems to be missing some fields and is not really functional. My first impression (I have not looked at the database yet) is that the difficulties probably are associated with the off-site rework rather than the upgrade. But, I thought I'd check out what to watch out for when I do go look at the database. Thanks for any advice and information on A2K3-A2K7 issues. Tina -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From pcs at azizaz.com Wed Aug 29 22:00:28 2007 From: pcs at azizaz.com (pcs at azizaz.com) Date: Thu, 30 Aug 2007 13:00:28 +1000 (EST) Subject: [AccessD] Finding the sort order on a datasheet. Message-ID: <20070830130028.DBW66606@dommail.onthenet.com.au> Hi John, What about Forms!frmName.OrderBy Regards borge ---- Original message ---- >Date: Wed, 29 Aug 2007 22:38:21 -0400 >From: "John Skolits" >Subject: [AccessD] Finding the sort order on a datasheet. >To: "'Access Developers discussion and problem solving'" > > >I have a form that is displayed as a datasheet. If I do some filtering, I >can get the filter by >"Forms!frmName.filter" > >But, what if I sort descending or ascending on a field? Is there anyway to >get that info? Is there a property of the datasheet like "DatasheetSort"? > >John Skolits > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > >No virus found in this incoming message. >Checked by AVG Free Edition. >Version: 7.5.484 / Virus Database: 269.12.1/963 - Release Date: 8/20/2007 >5:44 PM > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com From askolits at nni.com Wed Aug 29 22:40:20 2007 From: askolits at nni.com (John Skolits) Date: Wed, 29 Aug 2007 23:40:20 -0400 Subject: [AccessD] Finding the sort order on a datasheet. In-Reply-To: <20070830130028.DBW66606@dommail.onthenet.com.au> References: <20070830130028.DBW66606@dommail.onthenet.com.au> Message-ID: <02cb01c7eab7$7d6e64d0$0f01a8c0@officexp> Duh!!! Well, I hope no one else sees this question! John -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of pcs at azizaz.com Sent: Wednesday, August 29, 2007 11:00 PM To: Access Developers discussion and problemsolving Subject: Re: [AccessD] Finding the sort order on a datasheet. Hi John, What about Forms!frmName.OrderBy Regards borge ---- Original message ---- >Date: Wed, 29 Aug 2007 22:38:21 -0400 >From: "John Skolits" >Subject: [AccessD] Finding the sort order on a datasheet. >To: "'Access Developers discussion and problem solving'" > > >I have a form that is displayed as a datasheet. If I do some filtering, I >can get the filter by >"Forms!frmName.filter" > >But, what if I sort descending or ascending on a field? Is there anyway to >get that info? Is there a property of the datasheet like "DatasheetSort"? > >John Skolits > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > >No virus found in this incoming message. >Checked by AVG Free Edition. >Version: 7.5.484 / Virus Database: 269.12.1/963 - Release Date: 8/20/2007 >5:44 PM > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From askolits at nni.com Wed Aug 29 23:46:03 2007 From: askolits at nni.com (John Skolits) Date: Thu, 30 Aug 2007 00:46:03 -0400 Subject: [AccessD] Finding the sort order on a datasheet. UPDATE: And then loading it' In-Reply-To: <02cb01c7eab7$7d6e64d0$0f01a8c0@officexp> References: <20070830130028.DBW66606@dommail.onthenet.com.au> <02cb01c7eab7$7d6e64d0$0f01a8c0@officexp> Message-ID: <02db01c7eac0$abbc4010$0f01a8c0@officexp> OK, so I can get the "order by" info, but when I try to push that info into the datasheet's OrderBy property, it doesn't seem to change the view. After I set the property, I tried doing a Forms!frmName.refresh (or requery) and the form doesn't change. The info is in the property but it doesn't refresh. Is their a property of the form that is something like the AllowOrderBy? So, how can I get the form to refresh after I set the OrderBy value? John Skolits -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Skolits Sent: Wednesday, August 29, 2007 11:40 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Finding the sort order on a datasheet. Duh!!! Well, I hope no one else sees this question! John -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of pcs at azizaz.com Sent: Wednesday, August 29, 2007 11:00 PM To: Access Developers discussion and problemsolving Subject: Re: [AccessD] Finding the sort order on a datasheet. Hi John, What about Forms!frmName.OrderBy Regards borge ---- Original message ---- >Date: Wed, 29 Aug 2007 22:38:21 -0400 >From: "John Skolits" >Subject: [AccessD] Finding the sort order on a datasheet. >To: "'Access Developers discussion and problem solving'" > > >I have a form that is displayed as a datasheet. If I do some filtering, I >can get the filter by >"Forms!frmName.filter" > >But, what if I sort descending or ascending on a field? Is there anyway to >get that info? Is there a property of the datasheet like "DatasheetSort"? > >John Skolits > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > >No virus found in this incoming message. >Checked by AVG Free Edition. >Version: 7.5.484 / Virus Database: 269.12.1/963 - Release Date: 8/20/2007 >5:44 PM > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From pcs at azizaz.com Thu Aug 30 00:23:35 2007 From: pcs at azizaz.com (pcs at azizaz.com) Date: Thu, 30 Aug 2007 15:23:35 +1000 (EST) Subject: [AccessD] Finding the sort order on a datasheet. UPDATE: And then loading it' Message-ID: <20070830152335.DBW90564@dommail.onthenet.com.au> John, Try this: Forms("frmName").OrderBy = "tblTableName.FieldName" Forms("frmTest").OrderByOn = True Regards borge ---- Original message ---- >Date: Thu, 30 Aug 2007 00:46:03 -0400 >From: "John Skolits" >Subject: Re: [AccessD] Finding the sort order on a datasheet. UPDATE: And then loading it' >To: "'Access Developers discussion and problem solving'" > > >OK, so I can get the "order by" info, but when I try to push that info into >the datasheet's OrderBy property, it doesn't seem to change the view. >After I set the property, I tried doing a Forms! frmName.refresh (or requery) >and the form doesn't change. >The info is in the property but it doesn't refresh. Is their a property of >the form that is something like the AllowOrderBy? >So, how can I get the form to refresh after I set the OrderBy value? > > >John Skolits > > > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Skolits >Sent: Wednesday, August 29, 2007 11:40 PM >To: 'Access Developers discussion and problem solving' >Subject: Re: [AccessD] Finding the sort order on a datasheet. > >Duh!!! > >Well, I hope no one else sees this question! > >John > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of pcs at azizaz.com >Sent: Wednesday, August 29, 2007 11:00 PM >To: Access Developers discussion and problemsolving >Subject: Re: [AccessD] Finding the sort order on a datasheet. > >Hi John, >What about > >Forms!frmName.OrderBy > >Regards >borge > > >---- Original message ---- >>Date: Wed, 29 Aug 2007 22:38:21 -0400 >>From: "John Skolits" >>Subject: [AccessD] Finding the sort order on a datasheet. >>To: "'Access Developers discussion and problem solving'" > >> >> >>I have a form that is displayed as a datasheet. If I do >some filtering, I >>can get the filter by >>"Forms!frmName.filter" >> >>But, what if I sort descending or ascending on a field? Is >there anyway to >>get that info? Is there a property of the datasheet >like "DatasheetSort"? >> >>John Skolits >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >>-- >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >> >>No virus found in this incoming message. >>Checked by AVG Free Edition. >>Version: 7.5.484 / Virus Database: 269.12.1/963 - Release >Date: 8/20/2007 >>5:44 PM >> >> >>-- >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >> >>-- >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >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 30 00:59:44 2007 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 30 Aug 2007 15:59:44 +1000 Subject: [AccessD] Finding the sort order on a datasheet. UPDATE: And then loading it' In-Reply-To: <02db01c7eac0$abbc4010$0f01a8c0@officexp> References: <20070830130028.DBW66606@dommail.onthenet.com.au>, <02cb01c7eab7$7d6e64d0$0f01a8c0@officexp>, <02db01c7eac0$abbc4010$0f01a8c0@officexp> Message-ID: <46D65CD0.18034.449EC794@stuart.lexacorp.com.pg> You need to set the OrderByOn property in Code. It's one of many Form properties that don't show on the Property Sheet. :-( On 30 Aug 2007 at 0:46, John Skolits wrote: > > OK, so I can get the "order by" info, but when I try to push that info into > the datasheet's OrderBy property, it doesn't seem to change the view. > After I set the property, I tried doing a Forms!frmName.refresh (or requery) > and the form doesn't change. > The info is in the property but it doesn't refresh. Is their a property of > the form that is something like the AllowOrderBy? > So, how can I get the form to refresh after I set the OrderBy value? > > > John Skolits > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Skolits > Sent: Wednesday, August 29, 2007 11:40 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Finding the sort order on a datasheet. > > Duh!!! > > Well, I hope no one else sees this question! > > John > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of pcs at azizaz.com > Sent: Wednesday, August 29, 2007 11:00 PM > To: Access Developers discussion and problemsolving > Subject: Re: [AccessD] Finding the sort order on a datasheet. > > Hi John, > What about > > Forms!frmName.OrderBy > > Regards > borge > > > ---- Original message ---- > >Date: Wed, 29 Aug 2007 22:38:21 -0400 > >From: "John Skolits" > >Subject: [AccessD] Finding the sort order on a datasheet. > >To: "'Access Developers discussion and problem solving'" > > > > > > >I have a form that is displayed as a datasheet. If I do > some filtering, I > >can get the filter by > >"Forms!frmName.filter" > > > >But, what if I sort descending or ascending on a field? Is > there anyway to > >get that info? Is there a property of the datasheet > like "DatasheetSort"? > > > >John Skolits > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >-- > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > > > >No virus found in this incoming message. > >Checked by AVG Free Edition. > >Version: 7.5.484 / Virus Database: 269.12.1/963 - Release > Date: 8/20/2007 > >5:44 PM > > > > > >-- > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > > > >-- > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From askolits at nni.com Thu Aug 30 05:36:17 2007 From: askolits at nni.com (John Skolits) Date: Thu, 30 Aug 2007 06:36:17 -0400 Subject: [AccessD] Finding the sort order on a datasheet. UPDATE: And then loading it' In-Reply-To: <20070830152335.DBW90564@dommail.onthenet.com.au> References: <20070830152335.DBW90564@dommail.onthenet.com.au> Message-ID: <005b01c7eaf1$995f5c50$0f01a8c0@officexp> Borg and Stewart, Great Thanks. I figured it may have been something like that! John -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of pcs at azizaz.com Sent: Thursday, August 30, 2007 1:24 AM To: Access Developers discussion and problemsolving Subject: Re: [AccessD] Finding the sort order on a datasheet. UPDATE: And then loading it' John, Try this: Forms("frmName").OrderBy = "tblTableName.FieldName" Forms("frmTest").OrderByOn = True Regards borge ---- Original message ---- >Date: Thu, 30 Aug 2007 00:46:03 -0400 >From: "John Skolits" >Subject: Re: [AccessD] Finding the sort order on a datasheet. UPDATE: And then loading it' >To: "'Access Developers discussion and problem solving'" > > >OK, so I can get the "order by" info, but when I try to push that info into >the datasheet's OrderBy property, it doesn't seem to change the view. >After I set the property, I tried doing a Forms! frmName.refresh (or requery) >and the form doesn't change. >The info is in the property but it doesn't refresh. Is their a property of >the form that is something like the AllowOrderBy? >So, how can I get the form to refresh after I set the OrderBy value? > > >John Skolits > > > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Skolits >Sent: Wednesday, August 29, 2007 11:40 PM >To: 'Access Developers discussion and problem solving' >Subject: Re: [AccessD] Finding the sort order on a datasheet. > >Duh!!! > >Well, I hope no one else sees this question! > >John > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of pcs at azizaz.com >Sent: Wednesday, August 29, 2007 11:00 PM >To: Access Developers discussion and problemsolving >Subject: Re: [AccessD] Finding the sort order on a datasheet. > >Hi John, >What about > >Forms!frmName.OrderBy > >Regards >borge > > >---- Original message ---- >>Date: Wed, 29 Aug 2007 22:38:21 -0400 >>From: "John Skolits" >>Subject: [AccessD] Finding the sort order on a datasheet. >>To: "'Access Developers discussion and problem solving'" > >> >> >>I have a form that is displayed as a datasheet. If I do >some filtering, I >>can get the filter by >>"Forms!frmName.filter" >> >>But, what if I sort descending or ascending on a field? Is >there anyway to >>get that info? Is there a property of the datasheet >like "DatasheetSort"? >> >>John Skolits >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >>-- >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >> >>No virus found in this incoming message. >>Checked by AVG Free Edition. >>Version: 7.5.484 / Virus Database: 269.12.1/963 - Release >Date: 8/20/2007 >>5:44 PM >> >> >>-- >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >> >>-- >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at gmail.com Thu Aug 30 08:17:42 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Thu, 30 Aug 2007 09:17:42 -0400 Subject: [AccessD] What problems converting A2K3 mdb to A2K7? In-Reply-To: <003301c7eaaf$0f804770$0200a8c0@murphy3234aaf1> References: <46D5B065.7020200@torchlake.com> <003301c7eaaf$0f804770$0200a8c0@murphy3234aaf1> Message-ID: <006201c7eb08$2b857220$048e01c7@SusanOne> The biggest PITA was figuring out where the menu items are in 2007. ========I know I'm committing Access hari-kari, but I like the 2007 ribbon. :) Susan H. From tinanfields at torchlake.com Thu Aug 30 08:46:37 2007 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Thu, 30 Aug 2007 09:46:37 -0400 Subject: [AccessD] What problems converting A2K3 mdb to A2K7? In-Reply-To: <003301c7eaaf$0f804770$0200a8c0@murphy3234aaf1> References: <003301c7eaaf$0f804770$0200a8c0@murphy3234aaf1> Message-ID: <46D6CA3D.8040201@torchlake.com> Thanks, Doug. Oh yeah, always check those references. The business of moving things around on the menus, I figure it's just a test to see if we can keep our balance. Years ago, I wrote up a new Extended Education course on Microsoft Works for Windows, version 2 - which was what was installed on our campus computers and in my home office. The first run of the class happened in January after the Christmas and New Year break. I powered up the computers and was met with Works for Windows, version 3, which had been installed over the holidays. My screen captures were now all wrong, the menus did not match, even the task launcher screen was different! What a wonderful, exciting, adventure! So, I turned it into a teaching-learning opportunity. Ha! say I - what if you come in to work one day and a new version of your program has been installed - what do you do? We had a fine class - and I opined that teaching them how to look for things that were no longer where they used to be was one of the greatest gifts I could actually give them. Thanks for the note, Tina Doug Murphy wrote: > If the database uses any code with references set check that these are still > set. I was asked to fix a database that was moved to Access 2007 and most of > the problems were with broken references. The biggest PITA was figuring out > where the menu items are in 2007. > > Doug > > > From garykjos at gmail.com Thu Aug 30 08:47:44 2007 From: garykjos at gmail.com (Gary Kjos) Date: Thu, 30 Aug 2007 08:47:44 -0500 Subject: [AccessD] What problems converting A2K3 mdb to A2K7? In-Reply-To: <006201c7eb08$2b857220$048e01c7@SusanOne> References: <46D5B065.7020200@torchlake.com> <003301c7eaaf$0f804770$0200a8c0@murphy3234aaf1> <006201c7eb08$2b857220$048e01c7@SusanOne> Message-ID: Get her! She's over there! And she LIKES the Access 2007 Ribbon! GK On 8/30/07, Susan Harkins wrote: > The biggest PITA was figuring out where the menu items are in 2007. > > ========I know I'm committing Access hari-kari, but I like the 2007 ribbon. > :) > > Susan H. > -- Gary Kjos garykjos at gmail.com From jwcolby at colbyconsulting.com Thu Aug 30 08:50:37 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 30 Aug 2007 09:50:37 -0400 Subject: [AccessD] What problems converting A2K3 mdb to A2K7? In-Reply-To: <006201c7eb08$2b857220$048e01c7@SusanOne> Message-ID: <20070830135041.36534C110@smtp-auth.no-ip.com> But do you do development on a day to day basis, for a livelihood? That could affect your like. ;-) John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Thursday, August 30, 2007 9:18 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] What problems converting A2K3 mdb to A2K7? The biggest PITA was figuring out where the menu items are in 2007. ========I know I'm committing Access hari-kari, but I like the 2007 ribbon. :) Susan H. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From tinanfields at torchlake.com Thu Aug 30 08:58:10 2007 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Thu, 30 Aug 2007 09:58:10 -0400 Subject: [AccessD] What problems converting A2K3 mdb to A2K7? In-Reply-To: <006201c7eb08$2b857220$048e01c7@SusanOne> References: <46D5B065.7020200@torchlake.com> <003301c7eaaf$0f804770$0200a8c0@murphy3234aaf1> <006201c7eb08$2b857220$048e01c7@SusanOne> Message-ID: <46D6CCF2.2030606@torchlake.com> Susan, If the ribbon had been there all along, everyone would like it. Don't you think it's just the change that people object to? Once we get used to it, we'll gripe when we have to use an older version that doesn't have it. I know I've been guilty of such gripes, anyway. :) Tina Susan Harkins wrote: > The biggest PITA was figuring out where the menu items are in 2007. > > ========I know I'm committing Access hari-kari, but I like the 2007 ribbon. > :) > > Susan H. > > From ssharkins at gmail.com Thu Aug 30 09:03:34 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Thu, 30 Aug 2007 10:03:34 -0400 Subject: [AccessD] What problems converting A2K3 mdb to A2K7? In-Reply-To: <20070830135041.36534C110@smtp-auth.no-ip.com> References: <006201c7eb08$2b857220$048e01c7@SusanOne> <20070830135041.36534C110@smtp-auth.no-ip.com> Message-ID: <009001c7eb0e$92c2add0$048e01c7@SusanOne> No, but I use it everyday. I have a few small db's that I use every day for my own purpose and then of course, all the writing, which is mostly for users, not developers. I haven't had any trouble adapting and my db's have upgraded without issue, but I'm not using high-end stuff. I just track assignments and money. Susan H. But do you do development on a day to day basis, for a livelihood? That could affect your like. ;-) From ssharkins at gmail.com Thu Aug 30 09:04:08 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Thu, 30 Aug 2007 10:04:08 -0400 Subject: [AccessD] What problems converting A2K3 mdb to A2K7? In-Reply-To: References: <46D5B065.7020200@torchlake.com><003301c7eaaf$0f804770$0200a8c0@murphy3234aaf1><006201c7eb08$2b857220$048e01c7@SusanOne> Message-ID: <009101c7eb0e$a4e72630$048e01c7@SusanOne> Doomed... :) Susan H. Get her! She's over there! And she LIKES the Access 2007 Ribbon! From ssharkins at gmail.com Thu Aug 30 09:09:28 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Thu, 30 Aug 2007 10:09:28 -0400 Subject: [AccessD] What problems converting A2K3 mdb to A2K7? In-Reply-To: <46D6CCF2.2030606@torchlake.com> References: <46D5B065.7020200@torchlake.com> <003301c7eaaf$0f804770$0200a8c0@murphy3234aaf1><006201c7eb08$2b857220$048e01c7@SusanOne> <46D6CCF2.2030606@torchlake.com> Message-ID: <009501c7eb0f$657b3a80$048e01c7@SusanOne> Susan, If the ribbon had been there all along, everyone would like it. Don't you think it's just the change that people object to? Once we get used to it, we'll gripe when we have to use an older version that doesn't have it. I know I've been guilty of such gripes, anyway. =========That's been my experience. At first I just thought... Yuck... But it only took a few sessions to feel comfortable with it. Susan H. From fuller.artful at gmail.com Thu Aug 30 09:17:35 2007 From: fuller.artful at gmail.com (Arthur Fuller) Date: Thu, 30 Aug 2007 10:17:35 -0400 Subject: [AccessD] Version Problem -- Emergency Message-ID: <29f585dd0708300717t5053de23t9857685cc143dcf6@mail.gmail.com> Hi all, I developed an MDB in Office 2000 and it runs fine. In Office 2003, however, immediate problems. "Module not found.". Tools | References is greyed out until I click the stop button. Then the References lists shows Visual Basic for Applications, Access 11.0 Object library, OLE Automation and ADO 2.1library. That latter sounded obsolete so I unchecked it, and selected instead ADO 2.6 and also DAO 3.6 (which some of the code needs). No joy, however. Attempt to compile produces the same message, Module Not Found. I'm going to try creating a new MDB from Access 2003 and importing everything to see if that fixes it. Any other suggestions? Arthur From cfoust at infostatsystems.com Thu Aug 30 09:38:51 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 30 Aug 2007 07:38:51 -0700 Subject: [AccessD] What problems converting A2K3 mdb to A2K7? In-Reply-To: <006201c7eb08$2b857220$048e01c7@SusanOne> References: <46D5B065.7020200@torchlake.com><003301c7eaaf$0f804770$0200a8c0@murphy3234aaf1> <006201c7eb08$2b857220$048e01c7@SusanOne> Message-ID: TRAITOR!! Charlotte -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Thursday, August 30, 2007 6:18 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] What problems converting A2K3 mdb to A2K7? The biggest PITA was figuring out where the menu items are in 2007. ========I know I'm committing Access hari-kari, but I like the 2007 ribbon. :) Susan H. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Thu Aug 30 09:42:07 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 30 Aug 2007 07:42:07 -0700 Subject: [AccessD] What problems converting A2K3 mdb to A2K7? In-Reply-To: <46D6CCF2.2030606@torchlake.com> References: <46D5B065.7020200@torchlake.com> <003301c7eaaf$0f804770$0200a8c0@murphy3234aaf1><006201c7eb08$2b857220$048e01c7@SusanOne> <46D6CCF2.2030606@torchlake.com> Message-ID: I have to disagree. Perhaps if we'd all been weaned on Macs, we'd like it, but then I never liked the Mac's "intuitive" UI either. The ribbon is the next logical step from personalized menus, which I also hated. With the kind of confusion personalized menus tended to cause, you'd think they would have thought long and hard before dumping the ribbon on us, but I doubt that they did. Now you see it, now you don't is great for stage magicians but not for software developers. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tina Norris Fields Sent: Thursday, August 30, 2007 6:58 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] What problems converting A2K3 mdb to A2K7? Susan, If the ribbon had been there all along, everyone would like it. Don't you think it's just the change that people object to? Once we get used to it, we'll gripe when we have to use an older version that doesn't have it. I know I've been guilty of such gripes, anyway. :) Tina Susan Harkins wrote: > The biggest PITA was figuring out where the menu items are in 2007. > > ========I know I'm committing Access hari-kari, but I like the 2007 ribbon. > :) > > Susan H. > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at gmail.com Thu Aug 30 10:07:03 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Thu, 30 Aug 2007 11:07:03 -0400 Subject: [AccessD] What problems converting A2K3 mdb to A2K7? In-Reply-To: References: <46D5B065.7020200@torchlake.com> <003301c7eaaf$0f804770$0200a8c0@murphy3234aaf1><006201c7eb08$2b857220$048e01c7@SusanOne><46D6CCF2.2030606@torchlake.com> Message-ID: <00a801c7eb17$6dd2b890$048e01c7@SusanOne> I have to disagree. Perhaps if we'd all been weaned on Macs, we'd like it, but then I never liked the Mac's "intuitive" UI either. The ribbon is the next logical step from personalized menus, which I also hated. With the kind of confusion personalized menus tended to cause, you'd think they would have thought long and hard before dumping the ribbon on us, but I doubt that they did. Now you see it, now you don't is great for stage magicians but not for software developers. ==========I don't care for personalized menus either. As for the developer issue -- as much as we all love Access as a developer's tool, the truth is, MS doesn't market it that way. Love it or hate it, we're kind of stuck with it. As a developer, why don't you like the ribbon -- how is it impacting your work in a negative way? Susan H. From jwcolby at colbyconsulting.com Thu Aug 30 10:13:41 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 30 Aug 2007 11:13:41 -0400 Subject: [AccessD] Version Problem -- Emergency In-Reply-To: <29f585dd0708300717t5053de23t9857685cc143dcf6@mail.gmail.com> Message-ID: <20070830151345.9D943BDFA@smtp-auth.no-ip.com> It sounds like the VBA 11.0 is the problem. Did you change that? If it can't find the VBA module you are in trouble. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Thursday, August 30, 2007 10:18 AM To: Access Developers discussion and problem solving Subject: [AccessD] Version Problem -- Emergency Hi all, I developed an MDB in Office 2000 and it runs fine. In Office 2003, however, immediate problems. "Module not found.". Tools | References is greyed out until I click the stop button. Then the References lists shows Visual Basic for Applications, Access 11.0 Object library, OLE Automation and ADO 2.1library. That latter sounded obsolete so I unchecked it, and selected instead ADO 2.6 and also DAO 3.6 (which some of the code needs). No joy, however. Attempt to compile produces the same message, Module Not Found. I'm going to try creating a new MDB from Access 2003 and importing everything to see if that fixes it. Any other suggestions? Arthur -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Thu Aug 30 10:19:46 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 30 Aug 2007 11:19:46 -0400 Subject: [AccessD] What problems converting A2K3 mdb to A2K7? In-Reply-To: <009001c7eb0e$92c2add0$048e01c7@SusanOne> Message-ID: <20070830151950.55375C225@smtp-auth.no-ip.com> And that seems to be the problem. The ribbon bars are all about the user and ignore the needs and wants of developers. As a developer I know where everything is. I click menu items all day, use shortcut keys, do things automatically. Now suddenly all that stuff doesn't work and I can't get any work done. This stuff is know as "muscle memory" and it is a well documented fact. Your body just "learns" how to do things, everything from typing to playing an instrument to holding a fork to walking. Imagine handing a sax player a saxophone where all of the keys are randomly changed. Now imagine handing that to a professional musician with a concert to play that night, where he is being paid thousands of dollars to play. Now imagine handing such instruments to every member of the orchestra. It is bad enough to do that to my users, but I charge my clients hundreds of dollars an hour to hunt down where they hid everything. My clients are NOT HAPPY and they are NOT HAPPY with ME!!! John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Thursday, August 30, 2007 10:04 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] What problems converting A2K3 mdb to A2K7? No, but I use it everyday. I have a few small db's that I use every day for my own purpose and then of course, all the writing, which is mostly for users, not developers. I haven't had any trouble adapting and my db's have upgraded without issue, but I'm not using high-end stuff. I just track assignments and money. Susan H. But do you do development on a day to day basis, for a livelihood? That could affect your like. ;-) -- 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 30 10:23:25 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 30 Aug 2007 08:23:25 -0700 Subject: [AccessD] What problems converting A2K3 mdb to A2K7? In-Reply-To: <00a801c7eb17$6dd2b890$048e01c7@SusanOne> References: <46D5B065.7020200@torchlake.com> <003301c7eaaf$0f804770$0200a8c0@murphy3234aaf1><006201c7eb08$2b857220$048e01c7@SusanOne><46D6CCF2.2030606@torchlake.com> <00a801c7eb17$6dd2b890$048e01c7@SusanOne> Message-ID: It doesn't while I'm writing code. They have pretty much left the IDE alone. Designing UI, though, leaves me hunting for such simple items as Save, which drives me nuts. You want to format the text on a control, say change the font? You have to be in the right ribbon to do that. Yes, human beings can adapt to nearly anything, but we work best with a relatively stable environment. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Thursday, August 30, 2007 8:07 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] What problems converting A2K3 mdb to A2K7? I have to disagree. Perhaps if we'd all been weaned on Macs, we'd like it, but then I never liked the Mac's "intuitive" UI either. The ribbon is the next logical step from personalized menus, which I also hated. With the kind of confusion personalized menus tended to cause, you'd think they would have thought long and hard before dumping the ribbon on us, but I doubt that they did. Now you see it, now you don't is great for stage magicians but not for software developers. ==========I don't care for personalized menus either. As for the developer issue -- as much as we all love Access as a developer's tool, the truth is, MS doesn't market it that way. Love it or hate it, we're kind of stuck with it. As a developer, why don't you like the ribbon -- how is it impacting your work in a negative way? Susan H. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From john at winhaven.net Thu Aug 30 10:25:22 2007 From: john at winhaven.net (John Bartow) Date: Thu, 30 Aug 2007 10:25:22 -0500 Subject: [AccessD] Version Problem -- Emergency In-Reply-To: <29f585dd0708300717t5053de23t9857685cc143dcf6@mail.gmail.com> References: <29f585dd0708300717t5053de23t9857685cc143dcf6@mail.gmail.com> Message-ID: <01fd01c7eb19$fb8e3860$6402a8c0@ScuzzPaq> Does re-ordering the references so that DAO is listed before ADO help? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Hi all, I developed an MDB in Office 2000 and it runs fine. In Office 2003, however, immediate problems. "Module not found.". Tools | References is greyed out until I click the stop button. Then the References lists shows Visual Basic for Applications, Access 11.0 Object library, OLE Automation and ADO 2.1library. That latter sounded obsolete so I unchecked it, and selected instead ADO 2.6 and also DAO 3.6 (which some of the code needs). No joy, however. Attempt to compile produces the same message, Module Not Found. I'm going to try creating a new MDB from Access 2003 and importing everything to see if that fixes it. Any other suggestions? From shamil at users.mns.ru Thu Aug 30 10:48:46 2007 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Thu, 30 Aug 2007 19:48:46 +0400 Subject: [AccessD] What problems converting A2K3 mdb to A2K7? In-Reply-To: <20070830151950.55375C225@smtp-auth.no-ip.com> Message-ID: <000901c7eb1d$400f6c40$6401a8c0@nant> Hello John, Recently I had to work with MS Access 2007 because there were no other options available around as e.g. to use MS Access 2003... I must say that in a few hours I started to feel that MS Access 2007 ribbon is more useful (more ergonomic) than that of MS Office 2003 - one just have to adapt to it... And of course having several tables, queries, forms,... opened and being able to switch between them using tabs - just one this feature is worth to switch to MS Access 2007 :) Just IMO of course. Thanks. -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Thursday, August 30, 2007 7:20 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] What problems converting A2K3 mdb to A2K7? And that seems to be the problem. The ribbon bars are all about the user and ignore the needs and wants of developers. As a developer I know where everything is. I click menu items all day, use shortcut keys, do things automatically. Now suddenly all that stuff doesn't work and I can't get any work done. This stuff is know as "muscle memory" and it is a well documented fact. Your body just "learns" how to do things, everything from typing to playing an instrument to holding a fork to walking. Imagine handing a sax player a saxophone where all of the keys are randomly changed. Now imagine handing that to a professional musician with a concert to play that night, where he is being paid thousands of dollars to play. Now imagine handing such instruments to every member of the orchestra. It is bad enough to do that to my users, but I charge my clients hundreds of dollars an hour to hunt down where they hid everything. My clients are NOT HAPPY and they are NOT HAPPY with ME!!! John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Thursday, August 30, 2007 10:04 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] What problems converting A2K3 mdb to A2K7? No, but I use it everyday. I have a few small db's that I use every day for my own purpose and then of course, all the writing, which is mostly for users, not developers. I haven't had any trouble adapting and my db's have upgraded without issue, but I'm not using high-end stuff. I just track assignments and money. Susan H. But do you do development on a day to day basis, for a livelihood? That could affect your like. ;-) From ssharkins at gmail.com Thu Aug 30 11:02:27 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Thu, 30 Aug 2007 12:02:27 -0400 Subject: [AccessD] What problems converting A2K3 mdb to A2K7? In-Reply-To: <000901c7eb1d$400f6c40$6401a8c0@nant> References: <20070830151950.55375C225@smtp-auth.no-ip.com> <000901c7eb1d$400f6c40$6401a8c0@nant> Message-ID: <00c901c7eb1f$2a47ca90$048e01c7@SusanOne> Shamil, keep it up and we'll have to go live on an island somewhere. ;) Susan H. I must say that in a few hours I started to feel that MS Access 2007 ribbon is more useful (more ergonomic) than that of MS Office 2003 - one just have to adapt to it... From jwcolby at colbyconsulting.com Thu Aug 30 11:16:57 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 30 Aug 2007 12:16:57 -0400 Subject: [AccessD] What problems converting A2K3 mdb to A2K7? In-Reply-To: <000901c7eb1d$400f6c40$6401a8c0@nant> Message-ID: <20070830161700.EB92EC109@smtp-auth.no-ip.com> Shamil, I have one specific client who is firmly implanted in 800x600 mode. Even though he is upgrading all of the 15" and smaller monitors to at least 18" his users complain bitterly if they cannot stay in 800x600 mode ("eye strain"). This is a real application, not a toy - it completely runs a disability insurance call center. It has a main form with a tab control with more than 15 tabs. Each tab has either controls on it or JIT subforms. The tabs are already crammed with controls. The client WANTS it that way. I cannot do ANYTHING to this thing without slider bars appearing at the bottom and right edge because I have pushed the size of the main form out past the edges of the 800x600 screen. ALL of my clients use a database which performs a purpose. They hire people with NO experience in Access (or even excel or word) to use an application to get work done. The application does precisely and only what the BUSINESS OWNER wants done. The employees do not play around doing stuff, they work - click buttons, open reports, enter and display data. These people wouldn't know a report design view if it bit them in the behind nor are they allowed to. They don't build their own tables, or queries, or reports. They have highly technical skills which involve processing insurance claims (for example), NOT changing the application. Now throw in Access 2007 and tell me where you are at. The users don't NEED the ribbons - PERIOD. They use the forms to enter data and to display data about the claims. They are not designing ANYTHING. Not changing fonts, not building queries or reports, not... Well you get the picture. Toolbars take up screen real estate for absolutely ZERO gain. We are not talking some gain, or little gain, we are talking ZERO GAIN. Access is NOT an "office application" in my universe, it is a way to design a database to a customer spec. A HUGE part of that spec is that the users don't dick around with the application, they do what they are told, when they are told, how they are told. If they need functionality they say so and the business owner decides whether, when and how to add it. Hey, that sounds a bit like software design in the non-office world. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Thursday, August 30, 2007 11:49 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] What problems converting A2K3 mdb to A2K7? Hello John, Recently I had to work with MS Access 2007 because there were no other options available around as e.g. to use MS Access 2003... I must say that in a few hours I started to feel that MS Access 2007 ribbon is more useful (more ergonomic) than that of MS Office 2003 - one just have to adapt to it... And of course having several tables, queries, forms,... opened and being able to switch between them using tabs - just one this feature is worth to switch to MS Access 2007 :) Just IMO of course. Thanks. -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Thursday, August 30, 2007 7:20 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] What problems converting A2K3 mdb to A2K7? And that seems to be the problem. The ribbon bars are all about the user and ignore the needs and wants of developers. As a developer I know where everything is. I click menu items all day, use shortcut keys, do things automatically. Now suddenly all that stuff doesn't work and I can't get any work done. This stuff is know as "muscle memory" and it is a well documented fact. Your body just "learns" how to do things, everything from typing to playing an instrument to holding a fork to walking. Imagine handing a sax player a saxophone where all of the keys are randomly changed. Now imagine handing that to a professional musician with a concert to play that night, where he is being paid thousands of dollars to play. Now imagine handing such instruments to every member of the orchestra. It is bad enough to do that to my users, but I charge my clients hundreds of dollars an hour to hunt down where they hid everything. My clients are NOT HAPPY and they are NOT HAPPY with ME!!! John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From jwcolby at colbyconsulting.com Thu Aug 30 11:18:04 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 30 Aug 2007 12:18:04 -0400 Subject: [AccessD] What problems converting A2K3 mdb to A2K7? In-Reply-To: <00c901c7eb1f$2a47ca90$048e01c7@SusanOne> Message-ID: <20070830161807.D9E36C1C2@smtp-auth.no-ip.com> LOL, I am happy that you are happy, I am just unhappy that my clients are unhappy. They are staying at XP and 2003 in droves. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Thursday, August 30, 2007 12:02 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] What problems converting A2K3 mdb to A2K7? Shamil, keep it up and we'll have to go live on an island somewhere. ;) Susan H. I must say that in a few hours I started to feel that MS Access 2007 ribbon is more useful (more ergonomic) than that of MS Office 2003 - one just have to adapt to it... -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From robert at webedb.com Thu Aug 30 11:50:42 2007 From: robert at webedb.com (Robert L. Stewart) Date: Thu, 30 Aug 2007 11:50:42 -0500 Subject: [AccessD] What problems converting A2K3 mdb to A2K7? In-Reply-To: References: Message-ID: <200708301655.l7UGtL2H017566@databaseadvisors.com> Tina, I have converted my Social Service management from 2003 to 07. It is about 35 meg. I had no issues at all. Just do not try running the MDB under 2007. I ran into all kinds of corruption of the database when I did that. But after converting it to the 07 format, everything was smooth sailing with it. So, I would say it is 99% probable that it is the rework. Robert At 10:25 AM 8/30/2007, you wrote: >Date: Wed, 29 Aug 2007 13:44:05 -0400 >From: Tina Norris Fields >Subject: [AccessD] What problems converting A2K3 mdb to A2K7? >To: DatabaseAdvisors-Access >Message-ID: <46D5B065.7020200 at torchlake.com> >Content-Type: text/plain; charset=ISO-8859-1; format=flowed > >Hi All, > >A client called with this story: We had a functioning database >developed in A2K3. We gave the data to an off-site developer who did >some redesign work. While the database was away being reworked, we >upgraded in the office to A2K7. The database now seems to be missing >some fields and is not really functional. > >My first impression (I have not looked at the database yet) is that the >difficulties probably are associated with the off-site rework rather >than the upgrade. But, I thought I'd check out what to watch out for >when I do go look at the database. > >Thanks for any advice and information on A2K3-A2K7 issues. > >Tina From jimdettman at verizon.net Thu Aug 30 13:02:59 2007 From: jimdettman at verizon.net (Jim Dettman) Date: Thu, 30 Aug 2007 14:02:59 -0400 Subject: [AccessD] Version Problem -- Emergency In-Reply-To: <29f585dd0708300717t5053de23t9857685cc143dcf6@mail.gmail.com> References: <29f585dd0708300717t5053de23t9857685cc143dcf6@mail.gmail.com> Message-ID: <002101c7eb30$06ea1470$9a41a8c0@LaptopII> <> /decompile on a copy of the MDB. Then do a compile. A fresh MDB would clean it up to. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Thursday, August 30, 2007 10:18 AM To: Access Developers discussion and problem solving Subject: [AccessD] Version Problem -- Emergency Hi all, I developed an MDB in Office 2000 and it runs fine. In Office 2003, however, immediate problems. "Module not found.". Tools | References is greyed out until I click the stop button. Then the References lists shows Visual Basic for Applications, Access 11.0 Object library, OLE Automation and ADO 2.1library. That latter sounded obsolete so I unchecked it, and selected instead ADO 2.6 and also DAO 3.6 (which some of the code needs). No joy, however. Attempt to compile produces the same message, Module Not Found. I'm going to try creating a new MDB from Access 2003 and importing everything to see if that fixes it. Any other suggestions? Arthur -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From tinanfields at torchlake.com Thu Aug 30 13:08:23 2007 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Thu, 30 Aug 2007 14:08:23 -0400 Subject: [AccessD] What problems converting A2K3 mdb to A2K7? In-Reply-To: References: <46D5B065.7020200@torchlake.com> <003301c7eaaf$0f804770$0200a8c0@murphy3234aaf1><006201c7eb08$2b857220$048e01c7@SusanOne> <46D6CCF2.2030606@torchlake.com> Message-ID: <46D70797.60201@torchlake.com> Hmm -- good point. I didn't like the "personalized" menus one bit, especially not when I was teaching newbies how to use a program. Having the placement (or even appearance) of commands on menus be unreliable was way too confusing for my students. So, I taught them how to turn that stuff off. This should be an interesting discussion. Tina Charlotte Foust wrote: > I have to disagree. Perhaps if we'd all been weaned on Macs, we'd like > it, but then I never liked the Mac's "intuitive" UI either. The ribbon > is the next logical step from personalized menus, which I also hated. > With the kind of confusion personalized menus tended to cause, you'd > think they would have thought long and hard before dumping the ribbon on > us, but I doubt that they did. Now you see it, now you don't is great > for stage magicians but not for software developers. > > Charlotte Foust > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tina Norris > Fields > Sent: Thursday, August 30, 2007 6:58 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] What problems converting A2K3 mdb to A2K7? > > Susan, > If the ribbon had been there all along, everyone would like it. Don't > you think it's just the change that people object to? Once we get used > to it, we'll gripe when we have to use an older version that doesn't > have it. I know I've been guilty of such gripes, anyway. :) Tina > > Susan Harkins wrote: > >> The biggest PITA was figuring out where the menu items are in 2007. >> >> ========I know I'm committing Access hari-kari, but I like the 2007 >> > ribbon. > >> :) >> >> Susan H. >> >> >> > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From tinanfields at torchlake.com Thu Aug 30 13:16:04 2007 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Thu, 30 Aug 2007 14:16:04 -0400 Subject: [AccessD] What problems converting A2K3 mdb to A2K7? In-Reply-To: <200708301655.l7UGtL2H017566@databaseadvisors.com> References: <200708301655.l7UGtL2H017566@databaseadvisors.com> Message-ID: <46D70964.9010702@torchlake.com> Thanks Robert, I will remember not to run an 03 db under 07 but convert it first! Tina Robert L. Stewart wrote: > Tina, > > I have converted my Social Service management from 2003 to 07. > It is about 35 meg. I had no issues at all. Just do not try > running the MDB under 2007. I ran into all kinds of corruption > of the database when I did that. But after converting it to > the 07 format, everything was smooth sailing with it. > > So, I would say it is 99% probable that it is the rework. > > Robert > > At 10:25 AM 8/30/2007, you wrote: > >> Date: Wed, 29 Aug 2007 13:44:05 -0400 >> From: Tina Norris Fields >> Subject: [AccessD] What problems converting A2K3 mdb to A2K7? >> To: DatabaseAdvisors-Access >> Message-ID: <46D5B065.7020200 at torchlake.com> >> Content-Type: text/plain; charset=ISO-8859-1; format=flowed >> >> Hi All, >> >> A client called with this story: We had a functioning database >> developed in A2K3. We gave the data to an off-site developer who did >> some redesign work. While the database was away being reworked, we >> upgraded in the office to A2K7. The database now seems to be missing >> some fields and is not really functional. >> >> My first impression (I have not looked at the database yet) is that the >> difficulties probably are associated with the off-site rework rather >> than the upgrade. But, I thought I'd check out what to watch out for >> when I do go look at the database. >> >> Thanks for any advice and information on A2K3-A2K7 issues. >> >> Tina >> > > > From ssharkins at gmail.com Thu Aug 30 13:24:37 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Thu, 30 Aug 2007 14:24:37 -0400 Subject: [AccessD] What problems converting A2K3 mdb to A2K7? In-Reply-To: <46D70964.9010702@torchlake.com> References: <200708301655.l7UGtL2H017566@databaseadvisors.com> <46D70964.9010702@torchlake.com> Message-ID: <010801c7eb33$07a0b2e0$048e01c7@SusanOne> I will remember not to run an 03 db under 07 but convert it first! =======I haven't converted anything. Just opened my mdb's in 07 and they worked fine. My guess is, like every upgrade, there are some things that work fine and others that don't. Susan H. From fuller.artful at gmail.com Thu Aug 30 13:42:36 2007 From: fuller.artful at gmail.com (Arthur Fuller) Date: Thu, 30 Aug 2007 14:42:36 -0400 Subject: [AccessD] Version Problem -- Emergency In-Reply-To: <002101c7eb30$06ea1470$9a41a8c0@LaptopII> References: <29f585dd0708300717t5053de23t9857685cc143dcf6@mail.gmail.com> <002101c7eb30$06ea1470$9a41a8c0@LaptopII> Message-ID: <29f585dd0708301142o4230518bx9497489060d31b7@mail.gmail.com> As I wrote at the end, I tried creating a new 2003 MDB and imported everything into it. Worked a treat. Problem disappeared. The strange thing was, though, when I compared the references in the broken one and the new one, they were identical. I'm content to let that mystery lie,and get on with what must be completed. A. On 8/30/07, Jim Dettman wrote: > > <> > > /decompile on a copy of the MDB. Then do a compile. > > A fresh MDB would clean it up to. > > Jim. From fuller.artful at gmail.com Thu Aug 30 16:27:26 2007 From: fuller.artful at gmail.com (Arthur Fuller) Date: Thu, 30 Aug 2007 17:27:26 -0400 Subject: [AccessD] Lose the warnings Message-ID: <29f585dd0708301427x488fa0fdgf3567511ce58fab3@mail.gmail.com> Having converted my 2k app to 2k3, I suffer two warnings upon entry to the system, and cannot locate how to kill them. One says something about potentially unsafe, the other about open. I want these to go away permanently for my particular app, bu I want them to remain for all else. Is this possible? I did look at the Security stuff on the menu, which was no help. In typical MS style. TIA, Arthur From garykjos at gmail.com Thu Aug 30 16:52:33 2007 From: garykjos at gmail.com (Gary Kjos) Date: Thu, 30 Aug 2007 16:52:33 -0500 Subject: [AccessD] Lose the warnings In-Reply-To: <29f585dd0708301427x488fa0fdgf3567511ce58fab3@mail.gmail.com> References: <29f585dd0708301427x488fa0fdgf3567511ce58fab3@mail.gmail.com> Message-ID: >From the menu go to Tools/Macros/Security/Security Level and once there select the Low Setting and that fixes that. GK On 8/30/07, Arthur Fuller wrote: > Having converted my 2k app to 2k3, I suffer two warnings upon entry to the > system, and cannot locate how to kill them. One says something about > potentially unsafe, the other about open. I want these to go away > permanently for my particular app, bu I want them to remain for all else. Is > this possible? > > I did look at the Security stuff on the menu, which was no help. In typical > MS style. > > TIA, > Arthur > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Gary Kjos garykjos at gmail.com From garykjos at gmail.com Thu Aug 30 16:53:33 2007 From: garykjos at gmail.com (Gary Kjos) Date: Thu, 30 Aug 2007 16:53:33 -0500 Subject: [AccessD] Lose the warnings In-Reply-To: References: <29f585dd0708301427x488fa0fdgf3567511ce58fab3@mail.gmail.com> Message-ID: Oh and you have to exit the database and restart to make it use that setting. GK On 8/30/07, Gary Kjos wrote: > From the menu go to > > Tools/Macros/Security/Security Level > > and once there select the Low Setting and that fixes that. > > GK > > On 8/30/07, Arthur Fuller wrote: > > Having converted my 2k app to 2k3, I suffer two warnings upon entry to the > > system, and cannot locate how to kill them. One says something about > > potentially unsafe, the other about open. I want these to go away > > permanently for my particular app, bu I want them to remain for all else. Is > > this possible? > > > > I did look at the Security stuff on the menu, which was no help. In typical > > MS style. > > > > TIA, > > Arthur > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > -- > Gary Kjos > garykjos at gmail.com > -- Gary Kjos garykjos at gmail.com From kathryn at bassett.net Thu Aug 30 16:53:46 2007 From: kathryn at bassett.net (Kathryn Bassett) Date: Thu, 30 Aug 2007 14:53:46 -0700 Subject: [AccessD] Opening error Message-ID: <005301c7eb50$3ec35c10$6601a8c0@Kathryn> Technically this is more of an XP problem than Access problem, but you will probably know the answer. When I open an mdb directly by doubleclicking on it, everything is fine. BThe ones I use the most often, I have shortcuts for on my desktop. Double clicking there used to be fine, but in the last couple months, when I do I get this: http://www.bassett.net/storage/Access/openingerror.jpg It opens fine and everything works fine, but I have to click the OK button first to get rid of it. Why do I get this message when using a shortcut but not otherwise? -- Kathryn Rhinehart Bassett (Pasadena CA) "Genealogy is my bag" "GH is my soap" kathryn at bassett.net http://bassett.net No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.484 / Virus Database: 269.12.12/979 - Release Date: 29 Aug 07 8:21 pm From askolits at nni.com Thu Aug 30 17:11:15 2007 From: askolits at nni.com (John Skolits) Date: Thu, 30 Aug 2007 18:11:15 -0400 Subject: [AccessD] Access Speed Issue In-Reply-To: <005301c7eb50$3ec35c10$6601a8c0@Kathryn> References: <005301c7eb50$3ec35c10$6601a8c0@Kathryn> Message-ID: <00bc01c7eb52$b0a61af0$0f01a8c0@officexp> I know a few tricks on speeding my app up but maybe there is some ideas that someone has compiled. Without getting into too much detail: I wrote an APP that support 4-5 people. There is a main form and two sub forms. They are related. All forms are bound either to tables are through queries. Database is split with Tables on backend. Have a bound, hidden form connected to the backend so there is always a connection. (Tip I got from the group) I have already created plenty of indexes (which helped with the speed until..) Issue is that with one person it works fine, but with two or more it drags to it's knees. Maybe a record locking type? Should I set the locking at the table level (Row level locking)? Any other quick fixes I should be looking for. Maybe the PC that's acting as a server may need some tweaking (record locks and such?) I have to run for a few hours but will look at the responses later. TIA! John Skolits From Erwin.Craps at ithelps.eu Fri Aug 31 05:55:16 2007 From: Erwin.Craps at ithelps.eu (Erwin Craps - IT Helps) Date: Fri, 31 Aug 2007 12:55:16 +0200 Subject: [AccessD] References in Access/ office VBA Message-ID: <430E80531228BA4497C5EB1A7BA786B0276A27@stekelbes.ithelps.local> Hi For some reason when I click on the references menu in Access (any) or any Office app VBA, I get an "error getting access to the system registry" (translated from dutch). I do not get into the list after that error, and that gives me a serious problem. I suspect this to come from wrong permissions in my registry but I have no clue where to start looking. Can someone point me in the right direction? Erwin Craps Zaakvoerder Nieuwe internetwinkel op www.ithelps.be/shop www.ithelps.be/onsgezin bezoek ook eens de website van mijn zus www.friedacraps.be This E-mail is confidential, may be legally privileged, and is for the intended recipient only. Access, disclosure, copying, distribution, or reliance on any of it by anyone else is prohibited and may be a criminal offence. Please delete if obtained in error and E-mail confirmation to the sender. IT Helps - I.T. Help Center *** Box Office Belgium & Luxembourg www.ithelps.be * www.boxoffice.be * www.stadleuven.be IT Helps bvba* ** Mercatorpad 3 ** 3000 Leuven IT Helps * Phone: +32 16 296 404 * Fax: +32 16 296 405 E-mail: Info at ithelps.be Box Office ** Fax: +32 16 296 406 ** Box Office E-mail: Staff at boxoffice.be From Erwin.Craps at ithelps.eu Fri Aug 31 06:21:07 2007 From: Erwin.Craps at ithelps.eu (Erwin Craps - IT Helps) Date: Fri, 31 Aug 2007 13:21:07 +0200 Subject: [AccessD] References in Access/ office VBA References: <430E80531228BA4497C5EB1A7BA786B0276A27@stekelbes.ithelps.local> Message-ID: <430E80531228BA4497C5EB1A7BA786B0276A28@stekelbes.ithelps.local> Ha, found an article in MSKB for exactly my problem. I searched before but apparently did not used the right words, it was the first match now. http://support.microsoft.com/kb/269383 Its caused by an install of Crystal Reports 8.0.0.371 that is include with the new accountancy software I purchased and installed. I trying to resolve it now. Erwin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Erwin Craps - IT Helps Sent: Friday, August 31, 2007 12:55 PM To: Access Developers discussion and problem solving Subject: [AccessD] References in Access/ office VBA Hi For some reason when I click on the references menu in Access (any) or any Office app VBA, I get an "error getting access to the system registry" (translated from dutch). I do not get into the list after that error, and that gives me a serious problem. I suspect this to come from wrong permissions in my registry but I have no clue where to start looking. Can someone point me in the right direction? Erwin Craps Zaakvoerder Nieuwe internetwinkel op www.ithelps.be/shop www.ithelps.be/onsgezin bezoek ook eens de website van mijn zus www.friedacraps.be This E-mail is confidential, may be legally privileged, and is for the intended recipient only. Access, disclosure, copying, distribution, or reliance on any of it by anyone else is prohibited and may be a criminal offence. Please delete if obtained in error and E-mail confirmation to the sender. IT Helps - I.T. Help Center *** Box Office Belgium & Luxembourg www.ithelps.be * www.boxoffice.be * www.stadleuven.be IT Helps bvba* ** Mercatorpad 3 ** 3000 Leuven IT Helps * Phone: +32 16 296 404 * Fax: +32 16 296 405 E-mail: Info at ithelps.be Box Office ** Fax: +32 16 296 406 ** Box Office E-mail: Staff at boxoffice.be -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From max.wanadoo at gmail.com Fri Aug 31 06:37:42 2007 From: max.wanadoo at gmail.com (Gmail) Date: Fri, 31 Aug 2007 12:37:42 +0100 Subject: [AccessD] EATBloat V3.0 In-Reply-To: <430E80531228BA4497C5EB1A7BA786B0276A27@stekelbes.ithelps.local> References: <430E80531228BA4497C5EB1A7BA786B0276A27@stekelbes.ithelps.local> Message-ID: <004c01c7ebc3$58de4420$8119fea9@LTVM> Just to let you know that EATBloat V3.0 is available for anybody that wants it. You can get it from: http//www.peoplelinks.co.uk/msaccess Regards Max From fuller.artful at gmail.com Fri Aug 31 09:04:54 2007 From: fuller.artful at gmail.com (Arthur Fuller) Date: Fri, 31 Aug 2007 10:04:54 -0400 Subject: [AccessD] Shutting off the security warnings Message-ID: <29f585dd0708310704g6cf419d5u95ce861272e6c3bf@mail.gmail.com> How do I shut off the warnings that appear when I load an Access 2003 app? The first message says Security Warning: unsafe expressions are not blocked. I answer No and the next message says Security Warning. This file may not be safe if it contains code that was intended to harm your computer. How to suppress these annoying messages? Arthur From max.wanadoo at gmail.com Fri Aug 31 09:16:11 2007 From: max.wanadoo at gmail.com (Gmail) Date: Fri, 31 Aug 2007 15:16:11 +0100 Subject: [AccessD] Shutting off the security warnings In-Reply-To: <29f585dd0708310704g6cf419d5u95ce861272e6c3bf@mail.gmail.com> References: <29f585dd0708310704g6cf419d5u95ce861272e6c3bf@mail.gmail.com> Message-ID: <001901c7ebd9$7c676550$8119fea9@LTVM> Hi Arthur, Go to Tools/Macro/Security. Set to LOW. Regards Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Friday, August 31, 2007 3:05 PM To: Access Developers discussion and problem solving Subject: [AccessD] Shutting off the security warnings How do I shut off the warnings that appear when I load an Access 2003 app? The first message says Security Warning: unsafe expressions are not blocked. I answer No and the next message says Security Warning. This file may not be safe if it contains code that was intended to harm your computer. How to suppress these annoying messages? Arthur -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From fuller.artful at gmail.com Fri Aug 31 09:22:31 2007 From: fuller.artful at gmail.com (Arthur Fuller) Date: Fri, 31 Aug 2007 10:22:31 -0400 Subject: [AccessD] Shutting off the security warnings In-Reply-To: <001901c7ebd9$7c676550$8119fea9@LTVM> References: <29f585dd0708310704g6cf419d5u95ce861272e6c3bf@mail.gmail.com> <001901c7ebd9$7c676550$8119fea9@LTVM> Message-ID: <29f585dd0708310722k3ad85fedm302cca99f6040752@mail.gmail.com> Thanks! Arthur On 8/31/07, Gmail wrote: > > Hi Arthur, > Go to Tools/Macro/Security. Set to LOW. > Regards > Max > From pharold at proftesting.com Fri Aug 31 09:33:01 2007 From: pharold at proftesting.com (Perry L Harold) Date: Fri, 31 Aug 2007 10:33:01 -0400 Subject: [AccessD] Opening error In-Reply-To: <005301c7eb50$3ec35c10$6601a8c0@Kathryn> References: <005301c7eb50$3ec35c10$6601a8c0@Kathryn> Message-ID: <00F5FCB4F80FDB4EB03FBAAEAD97CEAD4D13B8@EXCHANGE.ptiorl.local> See if making a new shortcut will give you an indication. Even if it doesn't the new shortcut may make it available again. Perry Harold -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kathryn Bassett Sent: Thursday, August 30, 2007 5:54 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Opening error Technically this is more of an XP problem than Access problem, but you will probably know the answer. When I open an mdb directly by doubleclicking on it, everything is fine. BThe ones I use the most often, I have shortcuts for on my desktop. Double clicking there used to be fine, but in the last couple months, when I do I get this: http://www.bassett.net/storage/Access/openingerror.jpg It opens fine and everything works fine, but I have to click the OK button first to get rid of it. Why do I get this message when using a shortcut but not otherwise? -- Kathryn Rhinehart Bassett (Pasadena CA) "Genealogy is my bag" "GH is my soap" kathryn at bassett.net http://bassett.net No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.484 / Virus Database: 269.12.12/979 - Release Date: 29 Aug 07 8:21 pm -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From max.wanadoo at gmail.com Fri Aug 31 09:43:54 2007 From: max.wanadoo at gmail.com (Gmail) Date: Fri, 31 Aug 2007 15:43:54 +0100 Subject: [AccessD] EATBloat V3.0 Message-ID: <002001c7ebdd$5c02dde0$8119fea9@LTVM> Just to let you know that EATBloat V3.0 is available for anybody that wants it. You can get it from: http//www.peoplelinks.co.uk/msaccess Regards Max From adtp at airtelbroadband.in Fri Aug 31 09:52:35 2007 From: adtp at airtelbroadband.in (A.D.TEJPAL) Date: Fri, 31 Aug 2007 20:22:35 +0530 Subject: [AccessD] Force a new page in code References: <5526AB2DF1F5471FA07F36291F385BB5@creativesystemdesigns.com> Message-ID: <00cd01c7ebde$b050f070$7b57a27a@personalec1122> Jim, For conditional page break, ForceNewPage property can be manipulated in format event of the section concerned. Sample code in detail section's format event, as given below, will force a page break after every two records in the group. TxtCountGrp is a count tracking text box for the group. Note: (a) Use of Else clause is always necessary, otherwise after the condition is once met, the break will keep get applied for each record. (b) Different values that can be assigned to ForceNewPage property, and implications thereof, are explained in HELP. If no conditions are involved, ForceNewPage property can be set permanently in design view (Format tab of properties dialog box for the pertinent section). Best wishes, A.D.Tejpal -------------- ================================ Private Sub Detail_Format(Cancel As Integer, _ FormatCount As Integer) If Me.TxtCountGrp Mod 2 = 0 Then Me.Detail.ForceNewPage = 2 ' Pg break after section Else Me.Detail.ForceNewPage = 0 ' No pg break End If End Sub ================================ ----- Original Message ----- From: Jim Lawrence To: 'Access Developers discussion and problem solving' Sent: Tuesday, August 28, 2007 11:49 Subject: [AccessD] Force a new page in code Hi all: Is there a way to force a new page in Access reports under program control? TIA Jim From max.wanadoo at gmail.com Fri Aug 31 10:27:56 2007 From: max.wanadoo at gmail.com (Gmail) Date: Fri, 31 Aug 2007 16:27:56 +0100 Subject: [AccessD] EATBloat V3.0 In-Reply-To: <010701c7ebdf$bfc9b450$6402a8c0@ScuzzPaq> References: <002001c7ebdd$5c02dde0$8119fea9@LTVM> <010701c7ebdf$bfc9b450$6402a8c0@ScuzzPaq> Message-ID: <002701c7ebe3$82709bb0$8119fea9@LTVM> Hi John, Sorry, missed the colon off. It should be http://www.peoplelinks.co.uk/msaccess/index.html I should have noticed that it didn't turn blue when I typed it in. Apologies for any confusion. Jim: Can you post to DBA site please. Regards Max -----Original Message----- From: John Bartow [mailto:john at winhaven.net] Sent: Friday, August 31, 2007 4:01 PM To: 'Gmail' Cc: 'Jim Lawrence' Subject: RE: [AccessD] EATBloat V3.0 Hi Max, The link didn't work for me. If you wish - send this to Jim and he can post it on the DBA site for you. Jim Lawrence: accessd at shaw.ca John Bartow, President Database Advisors, Inc. Email: mailto:president at databaseadvisors.com Website: http://www.databaseadvisors.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gmail Sent: Friday, August 31, 2007 9:44 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] EATBloat V3.0 Just to let you know that EATBloat V3.0 is available for anybody that wants it. You can get it from: http//www.peoplelinks.co.uk/msaccess Regards Max -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From phpons at gmail.com Fri Aug 31 10:55:45 2007 From: phpons at gmail.com (philippe pons) Date: Fri, 31 Aug 2007 17:55:45 +0200 Subject: [AccessD] How would you declare a variable pointing to an attached project? Message-ID: <57144ced0708310855n6daf2240k88323d3e472d5d8d@mail.gmail.com> Hi, In my main Access application, I referenced another mdb file of which I need to run a form from the main. I managed to have the following snippet running ok! Public Function ppSendEmail() ' init de la gestion d'erreur: la biblioth?que peut ne pas avoir ?t? r?f?renc?e On Error GoTo ppSendEmail_Error AccXP_Mail.modDivers.openFrmCourriel ' AccXP_Mail: the name of the project of the AccXP_Mail.mdb attached ' modDivers: the name of the code module ' openFrmCourriel: the public function that open the form On Error GoTo 0 Exit Function ppSendEmail_Error: MsgBox ("La fonction d'envoi d'email n'est pas install?e!") End Function The problem is that in case the AccXP_Mail.mdb is not attached, a compilation error is triggered due to the fact that AccXP_Mail has not been declared. And the error is not trapped by the On Error GoTo ppSendEmail_Error. I tried different things to try declare AccXP_Mail, but unsuccessfully till now. How would you do that? TIA, Philippe From john at winhaven.net Fri Aug 31 11:26:05 2007 From: john at winhaven.net (John Bartow) Date: Fri, 31 Aug 2007 11:26:05 -0500 Subject: [AccessD] EATBloat V3.0 In-Reply-To: <002701c7ebe3$82709bb0$8119fea9@LTVM> References: <002001c7ebdd$5c02dde0$8119fea9@LTVM><010701c7ebdf$bfc9b450$6402a8c0@ScuzzPaq> <002701c7ebe3$82709bb0$8119fea9@LTVM> Message-ID: <012001c7ebeb$a188af80$6402a8c0@ScuzzPaq> Thanks, that worked. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gmail Sent: Friday, August 31, 2007 10:28 AM To: 'John Bartow' Cc: 'Jim Lawrence'; 'Access Developers discussion and problem solving' Subject: Re: [AccessD] EATBloat V3.0 Hi John, Sorry, missed the colon off. It should be http://www.peoplelinks.co.uk/msaccess/index.html From shamil at users.mns.ru Fri Aug 31 12:28:52 2007 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Fri, 31 Aug 2007 21:28:52 +0400 Subject: [AccessD] What problems converting A2K3 mdb to A2K7? In-Reply-To: <00c901c7eb1f$2a47ca90$048e01c7@SusanOne> Message-ID: <001201c7ebf4$6677e6f0$6401a8c0@nant> Susan, OK, what islands would you prefer: Canary or Hawaii or ... ? :) -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Thursday, August 30, 2007 8:02 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] What problems converting A2K3 mdb to A2K7? Shamil, keep it up and we'll have to go live on an island somewhere. ;) Susan H. I must say that in a few hours I started to feel that MS Access 2007 ribbon is more useful (more ergonomic) than that of MS Office 2003 - one just have to adapt to it... -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From shamil at users.mns.ru Fri Aug 31 12:35:45 2007 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Fri, 31 Aug 2007 21:35:45 +0400 Subject: [AccessD] What problems converting A2K3 mdb to A2K7? In-Reply-To: <20070830161700.EB92EC109@smtp-auth.no-ip.com> Message-ID: <001901c7ebf5$5d3667f0$6401a8c0@nant> John, I will try to check at the end of the next week when urgent work will hopefully be finished here: - I'd think that MS Access 2007 built-in MDI tabbing feature should be very suitable for your multi-tab designs - you will have to "just" disintegrate your multi-tab forms... - I'd also think (and Martin can approve./disapprove) that ribbon can be made hidden/substituted with custom "thin" ribbons a la' good old commandbars... - and I suppose that MS Access 2007 free runtime, which (I expect) should be not a big issue to install on fresh PCs can help you to smoothly solve the third part of your "puzzle" - I mean supply your customers/users with an interface you develop for them and nothing else "extra" on top of that... Access 2007 is what is called progress comparing with MS Access 2003, isn't it? :) I'd suppose MS staff spent countless (and usually well paid hours) before they made and implemented new MS Office 2007 interface solution... And AFAIK MS has a lot of corporate customers and they (MS stuff) do communicate closely with these customers and they do react on their demands - so my simple guess is that ribbon was requested by their customers first of all because it's very useful in there everyday work... Not arguing, just supposing/proposing that "fighting/neglecting" MS-driven progress "bulldozer" could be an expensive endeavor... :) -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Thursday, August 30, 2007 8:17 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] What problems converting A2K3 mdb to A2K7? Shamil, I have one specific client who is firmly implanted in 800x600 mode. Even though he is upgrading all of the 15" and smaller monitors to at least 18" his users complain bitterly if they cannot stay in 800x600 mode ("eye strain"). This is a real application, not a toy - it completely runs a disability insurance call center. It has a main form with a tab control with more than 15 tabs. Each tab has either controls on it or JIT subforms. The tabs are already crammed with controls. The client WANTS it that way. I cannot do ANYTHING to this thing without slider bars appearing at the bottom and right edge because I have pushed the size of the main form out past the edges of the 800x600 screen. ALL of my clients use a database which performs a purpose. They hire people with NO experience in Access (or even excel or word) to use an application to get work done. The application does precisely and only what the BUSINESS OWNER wants done. The employees do not play around doing stuff, they work - click buttons, open reports, enter and display data. These people wouldn't know a report design view if it bit them in the behind nor are they allowed to. They don't build their own tables, or queries, or reports. They have highly technical skills which involve processing insurance claims (for example), NOT changing the application. Now throw in Access 2007 and tell me where you are at. The users don't NEED the ribbons - PERIOD. They use the forms to enter data and to display data about the claims. They are not designing ANYTHING. Not changing fonts, not building queries or reports, not... Well you get the picture. Toolbars take up screen real estate for absolutely ZERO gain. We are not talking some gain, or little gain, we are talking ZERO GAIN. Access is NOT an "office application" in my universe, it is a way to design a database to a customer spec. A HUGE part of that spec is that the users don't dick around with the application, they do what they are told, when they are told, how they are told. If they need functionality they say so and the business owner decides whether, when and how to add it. Hey, that sounds a bit like software design in the non-office world. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Thursday, August 30, 2007 11:49 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] What problems converting A2K3 mdb to A2K7? Hello John, Recently I had to work with MS Access 2007 because there were no other options available around as e.g. to use MS Access 2003... I must say that in a few hours I started to feel that MS Access 2007 ribbon is more useful (more ergonomic) than that of MS Office 2003 - one just have to adapt to it... And of course having several tables, queries, forms,... opened and being able to switch between them using tabs - just one this feature is worth to switch to MS Access 2007 :) Just IMO of course. Thanks. -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Thursday, August 30, 2007 7:20 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] What problems converting A2K3 mdb to A2K7? And that seems to be the problem. The ribbon bars are all about the user and ignore the needs and wants of developers. As a developer I know where everything is. I click menu items all day, use shortcut keys, do things automatically. Now suddenly all that stuff doesn't work and I can't get any work done. This stuff is know as "muscle memory" and it is a well documented fact. Your body just "learns" how to do things, everything from typing to playing an instrument to holding a fork to walking. Imagine handing a sax player a saxophone where all of the keys are randomly changed. Now imagine handing that to a professional musician with a concert to play that night, where he is being paid thousands of dollars to play. Now imagine handing such instruments to every member of the orchestra. It is bad enough to do that to my users, but I charge my clients hundreds of dollars an hour to hunt down where they hid everything. My clients are NOT HAPPY and they are NOT HAPPY with ME!!! John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Fri Aug 31 12:52:11 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 31 Aug 2007 10:52:11 -0700 Subject: [AccessD] What problems converting A2K3 mdb to A2K7? In-Reply-To: <001901c7ebf5$5d3667f0$6401a8c0@nant> References: <20070830161700.EB92EC109@smtp-auth.no-ip.com> <001901c7ebf5$5d3667f0$6401a8c0@nant> Message-ID: Shamil, You have much more faith in market-driven (as opposed to MARKETING!-driven) design that I have. I seriously doubt that the ribbon, which didn't exist before, was market-driven. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Friday, August 31, 2007 10:36 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] What problems converting A2K3 mdb to A2K7? John, I will try to check at the end of the next week when urgent work will hopefully be finished here: - I'd think that MS Access 2007 built-in MDI tabbing feature should be very suitable for your multi-tab designs - you will have to "just" disintegrate your multi-tab forms... - I'd also think (and Martin can approve./disapprove) that ribbon can be made hidden/substituted with custom "thin" ribbons a la' good old commandbars... - and I suppose that MS Access 2007 free runtime, which (I expect) should be not a big issue to install on fresh PCs can help you to smoothly solve the third part of your "puzzle" - I mean supply your customers/users with an interface you develop for them and nothing else "extra" on top of that... Access 2007 is what is called progress comparing with MS Access 2003, isn't it? :) I'd suppose MS staff spent countless (and usually well paid hours) before they made and implemented new MS Office 2007 interface solution... And AFAIK MS has a lot of corporate customers and they (MS stuff) do communicate closely with these customers and they do react on their demands - so my simple guess is that ribbon was requested by their customers first of all because it's very useful in there everyday work... Not arguing, just supposing/proposing that "fighting/neglecting" MS-driven progress "bulldozer" could be an expensive endeavor... :) -- Shamil From ssharkins at gmail.com Fri Aug 31 13:32:11 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Fri, 31 Aug 2007 14:32:11 -0400 Subject: [AccessD] What problems converting A2K3 mdb to A2K7? In-Reply-To: <001201c7ebf4$6677e6f0$6401a8c0@nant> References: <00c901c7eb1f$2a47ca90$048e01c7@SusanOne> <001201c7ebf4$6677e6f0$6401a8c0@nant> Message-ID: <00e101c7ebfd$4364c800$048e01c7@SusanOne> OK, what islands would you prefer: Canary or Hawaii or ... ? :) =========I only require warm sands and shade trees. :) Susan H. From fuller.artful at gmail.com Fri Aug 31 16:49:27 2007 From: fuller.artful at gmail.com (Arthur Fuller) Date: Fri, 31 Aug 2007 17:49:27 -0400 Subject: [AccessD] Asked and answered Message-ID: <29f585dd0708311449r2b52291co829dd2bf1eef4f0e@mail.gmail.com> I know this has been asked and answered before, but I'll ask again. I have an MDB-FE and I want to create a shortcut that specifically loads Access2003 with the file of interest. A. From dwaters at usinternet.com Fri Aug 31 17:03:54 2007 From: dwaters at usinternet.com (Dan Waters) Date: Fri, 31 Aug 2007 17:03:54 -0500 Subject: [AccessD] Asked and answered In-Reply-To: <29f585dd0708311449r2b52291co829dd2bf1eef4f0e@mail.gmail.com> References: <29f585dd0708311449r2b52291co829dd2bf1eef4f0e@mail.gmail.com> Message-ID: <001101c7ec1a$d2dfdde0$0200a8c0@danwaters> Hi Arthur, This is one of mine. It goes in the target field of the shortcut. "C:\Program Files\Microsoft Office\OFFICE11\MSACCESS.EXE" "C:\Consulting\PSISystemDEV\FrontEnd\PSIFE.mdb" /wrkgrp "C:\Consulting\PSISystemDEV\Workgroup\PSI.mdw" You can also decompile like this: "C:\Program Files\Microsoft Office\OFFICE11\MSACCESS.EXE" "C:\Consulting\PSISystemDEV\FrontEnd\PSIFE.mdb" /wrkgrp "C:\Consulting\PSISystemDEV\Workgroup\PSI.mdw" /decompile Or you can compact & repair like this: "C:\Program Files\Microsoft Office\OFFICE11\MSACCESS.EXE" "C:\Consulting\PSISystemDEV\FrontEnd\PSIFE.mdb" /wrkgrp "C:\Consulting\PSISystemDEV\Workgroup\PSI.mdw" /compact Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Friday, August 31, 2007 4:49 PM To: Access Developers discussion and problem solving Subject: [AccessD] Asked and answered I know this has been asked and answered before, but I'll ask again. I have an MDB-FE and I want to create a shortcut that specifically loads Access2003 with the file of interest. A. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Wed Aug 1 06:49:20 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Wed, 1 Aug 2007 04:49:20 -0700 Subject: [AccessD] SMTP or Outlook? Message-ID: <000901c7d431$ff7210e0$0301a8c0@HAL9005> Dear List: I am developing a legal matter tracking app for a client. One of the features is to email reports on a regular schedule to clients regarding the various matters being handled. We can go with either Outlook or SMTP. There's already some SMTP code in the app (legacy app) and I've got some code for Outlook. Outlook, of course, has the disadvantage of thae nag messages requiring you to allow access to Outlook when sending from another app. I get around this by using Click Yes but that has a security problem, obviously, in that malware could then use Outlook. BTW, this isn't just for in-house use - he intends to make this a product. Any opinions? Is there a third alternative? MTIA Rocky From rockysmolin at bchacc.com Wed Aug 1 06:58:37 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Wed, 1 Aug 2007 04:58:37 -0700 Subject: [AccessD] Empty Recordset Message-ID: <001701c7d433$4bd32d60$0301a8c0@HAL9005> Dear List: On a bound form a modifying the Recordsource with WHERE conditions might result in no records being retrieved. Then there are lots of things you can do which generate errors. Is there a way to detect this no record condition in a bound form? MTIA Rocky From max at sherman.org.uk Wed Aug 1 07:29:35 2007 From: max at sherman.org.uk (Max Sherman) Date: Wed, 1 Aug 2007 13:29:35 +0100 Subject: [AccessD] SMTP or Outlook? Message-ID: <003b01c7d437$9fcf6f10$8119fea9@LTVM> Hi Rocky, I use CDO which does not need any client system. Code below, as you can see I hold the parameters in a table, but have put the defaults as comments on the lines. Got bits from the web some time ago and heavily modified it. I have been using it now for some time and it works perfectly everytime. No Outlook, etc, just an account that you can send mail through. Watch for word wraps. Max Sherman Option Compare Database Option Explicit Public Function pfEmailByCDO(strSubject As String, strBody As String, _ strTo As String, strCC As String, strBCC As String, bDisplay As Boolean, Optional strAttachment As String) On Error GoTo errhandler Dim gdatStarted As Date, gdatFinished As Date gdatStarted = Now Dim strFrom As String ', strAttachment As String Dim varPort As Variant, varSendVia As Variant, varAuthenticate As Variant Dim varServerPort As Variant, varSecs2Wait As Variant, sql2 As String Dim strUserName As String, strPwd As String, strUseSSL As String Dim sql As String Const conErr1 As String = "The server rejected one or more recipient addresses. The server response was: 550 " Const conErr2 As String = "The server rejected one or more recipient addresses. The server response was: 501 bad address syntax: <" Const ConErrX As String = "The transport failed to connect to the server" Dim strErr As String, strDomain As String, strEmailMaxail As String, strFind As String Call pfLogEvent("Function: 'pfEmailByCDO' - Started") ' for testing, ignore rst2 and just the test table Dim objMessage, SendTo Dim dbs As DAO.Database, rstParams As DAO.Recordset Dim rstErr As DAO.Recordset Set dbs = CurrentDb ' Set rstErr = Me.RecordsetClone gbSendEmails = True If gbSendEmails = False Then Call pfLogEvent("Function: 'pfEmailByCDO' - Not Sent gbSendEmails set to False") GoTo exithere End If ' get the params for this particular mailing Set rstParams = dbs.OpenRecordset("Select * from tblEmailCDOParams Where ParamsID=18") With rstParams strFrom = !objMessageName & make sure you have it in brackets 'strSubject = !objMessageSubject ' your subject 'strBody = !objMessageTextBody ' your text 'strAttachment = Nz(!objMessageAddAttachment, "") ' path for attachment on drive strUserName = !objMessageConfigurationFieldsItemUserName ' pop account name eg pop.gmail.com strPwd = "xxxxxxxx" ' password for the pop account strUseSSL = !objMessageConfigurationFieldsItemUseSSL 'False varPort = !cdoSendUsingPort'2 varSendVia = !objMessageConfigurationFieldsItemDNSorIP ' eg smtp.gmail.com varServerPort = !objMessageConfigurationFieldsItemPort '25 for me varAuthenticate = !cdoBasic '1 varSecs2Wait = !objMessageConfigurationFieldsItemSec2Wait '60 End With Set objMessage = CreateObject("CDO.Message") ' Create the message object. objMessage.from = "server at yourdoma.org" ' or whatever you want the recipient to see objMessage.To = strTo 'email address objMessage.cc = strCC 'email address objMessage.bcc = strBCC 'email address objMessage.Subject = strSubject' your subject ' Now for the Message Options Part. objMessage.TextBody = strBody objMessage.AddAttachment strAttachment objMessage.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/confi guration/sendusing") = varPort objMessage.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/confi guration/smtpserver") = varSendVia objMessage.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/confi guration/smtpauthenticate") = varAuthenticate objMessage.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/confi guration/sendusername") = strUserName objMessage.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/confi guration/sendpassword") = strPwd objMessage.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/confi guration/smtpserverport") = varServerPort objMessage.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/confi guration/smtpusessl") = strUseSSL objMessage.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/confi guration/smtpconnectiontimeout") = varSecs2Wait objMessage.Configuration.Fields.Update ' Update configuration If bDisplay Then MsgBox objMessage.GetStream.ReadText ' Use to show the message. End If objMessage.Send ' Send the message. DoEvents Call pfLogEvent("Function: 'pfEmailByCDO' - Completed OK") exithere: Set dbs = Nothing: Set rstErr = Nothing Exit Function errhandler: strErr = "pfEmailByCDO - Send Errors " & Err.Description If InStr(strErr, ConErrX) > 0 Then strErr = strErr & " No Email Sent" End If Debug.Print strErr Call pfLogEvent("Function: 'pfEmailByCDO' - SEND ERRORS " & strErr) GoTo exithere End Function -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, August 01, 2007 12:49 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] SMTP or Outlook? Dear List: I am developing a legal matter tracking app for a client. One of the features is to email reports on a regular schedule to clients regarding the various matters being handled. We can go with either Outlook or SMTP. There's already some SMTP code in the app (legacy app) and I've got some code for Outlook. Outlook, of course, has the disadvantage of thae nag messages requiring you to allow access to Outlook when sending from another app. I get around this by using Click Yes but that has a security problem, obviously, in that malware could then use Outlook. BTW, this isn't just for in-house use - he intends to make this a product. Any opinions? Is there a third alternative? MTIA Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From max at sherman.org.uk Wed Aug 1 07:31:15 2007 From: max at sherman.org.uk (Max Sherman) Date: Wed, 1 Aug 2007 13:31:15 +0100 Subject: [AccessD] Empty Recordset In-Reply-To: <001701c7d433$4bd32d60$0301a8c0@HAL9005> References: <001701c7d433$4bd32d60$0301a8c0@HAL9005> Message-ID: <003c01c7d437$daf09c40$8119fea9@LTVM> Hi Rocky, You could use a dcount("*","tableOrqueryetc","Your Where condition") before doing anything else. Max Sherman -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, August 01, 2007 12:59 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Empty Recordset Dear List: On a bound form a modifying the Recordsource with WHERE conditions might result in no records being retrieved. Then there are lots of things you can do which generate errors. Is there a way to detect this no record condition in a bound form? MTIA Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dwaters at usinternet.com Wed Aug 1 07:33:54 2007 From: dwaters at usinternet.com (Dan Waters) Date: Wed, 1 Aug 2007 07:33:54 -0500 Subject: [AccessD] SMTP or Outlook? In-Reply-To: <000901c7d431$ff7210e0$0301a8c0@HAL9005> References: <000901c7d431$ff7210e0$0301a8c0@HAL9005> Message-ID: <000901c7d438$397192b0$0200a8c0@danwaters> Rocky, I have three customers in this situation. All have Outlook. One of them has an administrative way to eliminate the Outlook nag messages so we use Outlook exclusively there. The other two have parent companies who have 'declined' to eliminate the nag messages. So there I use both SMTP and Outlook. SMTP is used when the email is sent in the background (I use vbSendMail - you should look at this). Outlook is used when I want the email window to appear and have the user physically click the Send button (trap for 2501 if user closes w/o sending). However, I needed to coordinate with the IT department to make this work in all three cases - making your app a product could be a challenge! BOL! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, August 01, 2007 6:49 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] SMTP or Outlook? Dear List: I am developing a legal matter tracking app for a client. One of the features is to email reports on a regular schedule to clients regarding the various matters being handled. We can go with either Outlook or SMTP. There's already some SMTP code in the app (legacy app) and I've got some code for Outlook. Outlook, of course, has the disadvantage of thae nag messages requiring you to allow access to Outlook when sending from another app. I get around this by using Click Yes but that has a security problem, obviously, in that malware could then use Outlook. BTW, this isn't just for in-house use - he intends to make this a product. Any opinions? Is there a third alternative? MTIA Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From andy at minstersystems.co.uk Wed Aug 1 07:36:46 2007 From: andy at minstersystems.co.uk (Andy Lacey) Date: Wed, 1 Aug 2007 13:36:46 +0100 Subject: [AccessD] SMTP or Outlook? Message-ID: <20070801123650.4227B4F5DC@smtp.nildram.co.uk> Rocky Not so much an opinion as a comment. To get round the Outlook security question you don't need to use ClickYes. I (and many others on this list I reckon) use Redemption instead. Requires more programming but it's largely a case of replacing Outlook objects with the parallel Redemption object. Not at all difficult. Check out http://www.dimastr.com/redemption/ . So if that's your main reason for concern about Outlook there is another way. -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "'Access Developers discussion and problem solving'" Subject: [AccessD] SMTP or Outlook? Date: 01/08/07 12:05 Dear List: I am developing a legal matter tracking app for a client. One of the features is to email reports on a regular schedule to clients regarding the various matters being handled. We can go with either Outlook or SMTP. There's already some SMTP code in the app (legacy app) and I've got some code for Outlook. Outlook, of course, has the disadvantage of thae nag messages requiring you to allow access to Outlook when sending from another app. I get around this by using Click Yes but that has a security problem, obviously, in that malware could then use Outlook. BTW, this isn't just for in-house use - he intends to make this a product. Any opinions? Is there a third alternative? MTIA Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ________________________________________________ Message sent using UebiMiau 2.7.2 From dwaters at usinternet.com Wed Aug 1 07:36:47 2007 From: dwaters at usinternet.com (Dan Waters) Date: Wed, 1 Aug 2007 07:36:47 -0500 Subject: [AccessD] Empty Recordset In-Reply-To: <001701c7d433$4bd32d60$0301a8c0@HAL9005> References: <001701c7d433$4bd32d60$0301a8c0@HAL9005> Message-ID: <000a01c7d438$a0d243a0$0200a8c0@danwaters> Rocky, Before you actually modify the form's recordsource in code, you'll need to open a recordset to see if rst.EOF = True Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, August 01, 2007 6:59 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Empty Recordset Dear List: On a bound form a modifying the Recordsource with WHERE conditions might result in no records being retrieved. Then there are lots of things you can do which generate errors. Is there a way to detect this no record condition in a bound form? MTIA Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From andy at minstersystems.co.uk Wed Aug 1 07:38:00 2007 From: andy at minstersystems.co.uk (Andy Lacey) Date: Wed, 1 Aug 2007 13:38:00 +0100 Subject: [AccessD] Empty Recordset Message-ID: <20070801123804.882882CAD73@smtp.nildram.co.uk> Rocky, try If Me.Recordsetclone.recordcount=0 then.... Ought to work I think. -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "'Access Developers discussion and problem solving'" Subject: [AccessD] Empty Recordset Date: 01/08/07 12:13 Dear List: On a bound form a modifying the Recordsource with WHERE conditions might result in no records being retrieved. Then there are lots of things you can do which generate errors. Is there a way to detect this no record condition in a bound form? MTIA Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ________________________________________________ Message sent using UebiMiau 2.7.2 From robin at musicalmemories.co.uk Wed Aug 1 08:37:45 2007 From: robin at musicalmemories.co.uk (Robin ) Date: Wed, 1 Aug 2007 14:37:45 +0100 Subject: [AccessD] Lebans PDF in Access 97 Message-ID: <560E2B80EC8F624B93A87B943B7A9CD5530536@rgiserv.rg.local> Hi, I'm trying to use Lebans Snapshot to PDF converter - his database works fine in A2K but I need to work in A97 for this one Have converted his database to A97 (there is a note about reading the Readme file before converting but I can't see any information regarding that) and I get an immediate output error when running the form. I get the same error exporting a report to Snapshot file direct from my own A97 database so I think it's something to do with the snapshot creation? I have Full Access XP and 97 installed together on this computer .... Any help greatly appreciated Rgds Robin Lawrence From wdhindman at dejpolsystems.com Wed Aug 1 09:32:46 2007 From: wdhindman at dejpolsystems.com (William Hindman) Date: Wed, 1 Aug 2007 10:32:46 -0400 Subject: [AccessD] Lebans PDF in Access 97 References: <560E2B80EC8F624B93A87B943B7A9CD5530536@rgiserv.rg.local> Message-ID: <000f01c7d448$d4c25d70$0c10a8c0@jisshowsbs.local> Robin ...Steve hangs out in the ms public access newsgroup and responds there fairly quickly to questions about his stuff ...hth. William Hindman ----- Original Message ----- From: "Robin " To: Sent: Wednesday, August 01, 2007 9:37 AM Subject: [AccessD] Lebans PDF in Access 97 > Hi, > I'm trying to use Lebans Snapshot to PDF converter - his database works > fine in A2K but I need to work in A97 for this one > > Have converted his database to A97 (there is a note about reading the > Readme file before converting but I can't see any information regarding > that) and I get an immediate output error when running the form. > > I get the same error exporting a report to Snapshot file direct from my > own A97 database so I think it's something to do with the snapshot > creation? > > I have Full Access XP and 97 installed together on this computer .... > > Any help greatly appreciated > > Rgds > Robin Lawrence > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From robin at musicalmemories.co.uk Wed Aug 1 09:36:32 2007 From: robin at musicalmemories.co.uk (Robin ) Date: Wed, 1 Aug 2007 15:36:32 +0100 Subject: [AccessD] Lebans PDF in Access 97 Message-ID: <560E2B80EC8F624B93A87B943B7A9CD5530538@rgiserv.rg.local> Thanks William, Just thinking at the back of my mind something about the Snapshot format when A2k came out but can't latch on to it.... Will give that a try, meanwhile if anyone this jogs anyone's memory ?? Rgds Robin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: 01 August 2007 15:33 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Lebans PDF in Access 97 Robin ...Steve hangs out in the ms public access newsgroup and responds there fairly quickly to questions about his stuff ...hth. William Hindman ----- Original Message ----- From: "Robin " To: Sent: Wednesday, August 01, 2007 9:37 AM Subject: [AccessD] Lebans PDF in Access 97 > Hi, > I'm trying to use Lebans Snapshot to PDF converter - his database > works fine in A2K but I need to work in A97 for this one > > Have converted his database to A97 (there is a note about reading the > Readme file before converting but I can't see any information > regarding > that) and I get an immediate output error when running the form. > > I get the same error exporting a report to Snapshot file direct from > my own A97 database so I think it's something to do with the snapshot > creation? > > I have Full Access XP and 97 installed together on this computer .... > > Any help greatly appreciated > > Rgds > Robin Lawrence > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Patricia.O'Connor at otda.state.ny.us Wed Aug 1 12:32:07 2007 From: Patricia.O'Connor at otda.state.ny.us (O'Connor, Patricia (OTDA)) Date: Wed, 1 Aug 2007 13:32:07 -0400 Subject: [AccessD] Empty Recordset In-Reply-To: <000a01c7d438$a0d243a0$0200a8c0@danwaters> References: <001701c7d433$4bd32d60$0301a8c0@HAL9005> <000a01c7d438$a0d243a0$0200a8c0@danwaters> Message-ID: <01DBAB52E30A9A4AB3D94EF8029EDBE8021BAF48@EXCNYSM0A1AI.nysemail.nyenet> Thought you had to check for both rst.EOF and rst.BOF? I also check rst.Recordcount ************************************************** * Patricia O'Connor * Associate Computer Programmer Analyst * OTDA - BDMA * (W) mailto:Patricia.O'Connor at otda.state.ny.us * (w) mailto:aa1160 at nysemail.state.ny.us ************************************************** > -------------------------------------------------------- This e-mail, including any attachments, may be confidential, privileged or otherwise legally protected. It is intended only for the addressee. If you received this e-mail in error or from someone who was not authorized to send it to you, do not disseminate, copy or otherwise use this e-mail or its attachments. Please notify the sender immediately by reply e-mail and delete the e-mail from your system. -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters > Sent: Wednesday, August 01, 2007 08:37 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Empty Recordset > > Rocky, > > Before you actually modify the form's recordsource in code, > you'll need to open a recordset to see if rst.EOF = True > > Dan > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Rocky Smolin at Beach Access Software > Sent: Wednesday, August 01, 2007 6:59 AM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] Empty Recordset > > Dear List: > > On a bound form a modifying the Recordsource with WHERE > conditions might result in no records being retrieved. Then > there are lots of things you can do which generate errors. > Is there a way to detect this no record condition in a bound form? > > MTIA > > Rocky > > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From cfoust at infostatsystems.com Wed Aug 1 14:17:29 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 1 Aug 2007 12:17:29 -0700 Subject: [AccessD] Empty Recordset In-Reply-To: <01DBAB52E30A9A4AB3D94EF8029EDBE8021BAF48@EXCNYSM0A1AI.nysemail.nyenet> References: <001701c7d433$4bd32d60$0301a8c0@HAL9005><000a01c7d438$a0d243a0$0200a8c0@danwaters> <01DBAB52E30A9A4AB3D94EF8029EDBE8021BAF48@EXCNYSM0A1AI.nysemail.nyenet> Message-ID: If you use ADO, you have to check both because both are true only in an empty recordset. If you use DAO, one is sufficient because an empty recordset is at EOF. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of O'Connor, Patricia (OTDA) Sent: Wednesday, August 01, 2007 10:32 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Empty Recordset Thought you had to check for both rst.EOF and rst.BOF? I also check rst.Recordcount ************************************************** * Patricia O'Connor * Associate Computer Programmer Analyst * OTDA - BDMA * (W) mailto:Patricia.O'Connor at otda.state.ny.us * (w) mailto:aa1160 at nysemail.state.ny.us ************************************************** > -------------------------------------------------------- This e-mail, including any attachments, may be confidential, privileged or otherwise legally protected. It is intended only for the addressee. If you received this e-mail in error or from someone who was not authorized to send it to you, do not disseminate, copy or otherwise use this e-mail or its attachments. Please notify the sender immediately by reply e-mail and delete the e-mail from your system. -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters > Sent: Wednesday, August 01, 2007 08:37 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Empty Recordset > > Rocky, > > Before you actually modify the form's recordsource in code, you'll > need to open a recordset to see if rst.EOF = True > > Dan > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky > Smolin at Beach Access Software > Sent: Wednesday, August 01, 2007 6:59 AM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] Empty Recordset > > Dear List: > > On a bound form a modifying the Recordsource with WHERE conditions > might result in no records being retrieved. Then there are lots of > things you can do which generate errors. > Is there a way to detect this no record condition in a bound form? > > MTIA > > Rocky > > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From miscellany at mvps.org Wed Aug 1 14:33:47 2007 From: miscellany at mvps.org (Steve Schapel) Date: Thu, 02 Aug 2007 07:33:47 +1200 Subject: [AccessD] Empty Recordset In-Reply-To: <01DBAB52E30A9A4AB3D94EF8029EDBE8021BAF48@EXCNYSM0A1AI.nysemail.nyenet> References: <001701c7d433$4bd32d60$0301a8c0@HAL9005> <000a01c7d438$a0d243a0$0200a8c0@danwaters> <01DBAB52E30A9A4AB3D94EF8029EDBE8021BAF48@EXCNYSM0A1AI.nysemail.nyenet> Message-ID: <46B0E01B.7050409@mvps.org> Patricia, As Charlotte said, Dan's approach will be fine in a DAO recordset. Like you, I prefer to use rst.RecordCount = 0 ... but I am not sure about your "also". It is an alterrnative to checking rst.EOF, not additional? Regards Steve O'Connor, Patricia (OTDA) wrote: > Thought you had to check for both rst.EOF and rst.BOF? > I also check rst.Recordcount > From miscellany at mvps.org Wed Aug 1 15:48:40 2007 From: miscellany at mvps.org (Steve Schapel) Date: Thu, 02 Aug 2007 08:48:40 +1200 Subject: [AccessD] Lebans PDF in Access 97 In-Reply-To: <560E2B80EC8F624B93A87B943B7A9CD5530538@rgiserv.rg.local> References: <560E2B80EC8F624B93A87B943B7A9CD5530538@rgiserv.rg.local> Message-ID: <46B0F1A8.3030103@mvps.org> Robin, Snapshot format was not included in the original release of Access 97. You need the Service Packs installed. Presumably you have done that? Regards Steve Robin wrote: > Just thinking at the back of my mind something about the Snapshot format > when A2k came out but can't latch on to it.... > Will give that a try, meanwhile if anyone this jogs anyone's memory ?? From cjeris at fas.harvard.edu Wed Aug 1 16:36:32 2007 From: cjeris at fas.harvard.edu (Christopher Jeris) Date: Wed, 01 Aug 2007 17:36:32 -0400 Subject: [AccessD] Listbox-type browse control for large dataset Message-ID: <46B0FCE0.2040102@fas.harvard.edu> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi everybody, I have a form on which I'd like to provide a listbox-type browse control on a dataset with a large number of rows (tens of thousands). Specifically, the user interface control for this dataset needs to support the following interactions: 1. Allow the user to click on a row, or select it using arrow keys, to bring that row up in a form for editing 2. Recenter the control's viewable area around a specific row which is known by key (not by ordinal in the listbox's dataset) 3. Ideally, browse from top to bottom of the entire dataset using a scroll bar, although this can be weakened if necessary In our prototype, we are using a regular ListBox, and the problem is that #2 -- that is, selecting a row using box.Value = someRowKey is too slow, perhaps almost a second with 50,000 rows. Also, I have no idea whether there is a hard limit (2^16?) on the number of rows in a ListBox. I have searched briefly for third-party ActiveX controls, but the only likely candidate I've seen -- FarPoint ListPro -- doesn't seem to work in Access, only standalone VB. (As in, I tried it, and I can't get it to work.) At this point I'm looking at implementing "paging" by hand, that is, binding a set of a few hundred records at a time to the listbox and forcing the user to make transitions from one page to the next explicitly. Can anyone suggest alternative ways to attack the problem? thanks, Chris Jeris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGsPzg5ICCNV0oGWARAtY7AKCcWO0vIorPo7Yyk8SCUBIZoRQ29gCcC3Xd oCDWvvKv2k36zA8s+SU6Af4= =CLvT -----END PGP SIGNATURE----- From miscellany at mvps.org Wed Aug 1 17:01:27 2007 From: miscellany at mvps.org (Steve Schapel) Date: Thu, 02 Aug 2007 10:01:27 +1200 Subject: [AccessD] Listbox-type browse control for large dataset In-Reply-To: <46B0FCE0.2040102@fas.harvard.edu> References: <46B0FCE0.2040102@fas.harvard.edu> Message-ID: <46B102B7.2010109@mvps.org> Chris, Presumably the data in the listbox is ordered according to a human-readable field? If so, would it be feasible to put an unbound textbox on the form, and have the user enter the first few characters of this field? If so, you could leave the listbox unpopulated until this textbox contains a minimum number of characters, and then use code at that point to assign/modify the listbox's RowSource. I expect that having a filtered row source would speed up your step #2. Regards Steve Christopher Jeris wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi everybody, > > I have a form on which I'd like to provide a listbox-type browse control > on a dataset with a large number of rows (tens of thousands). > Specifically, the user interface control for this dataset needs to > support the following interactions: > > 1. Allow the user to click on a row, or select it using arrow keys, to > bring that row up in a form for editing > 2. Recenter the control's viewable area around a specific row which is > known by key (not by ordinal in the listbox's dataset) > 3. Ideally, browse from top to bottom of the entire dataset using a > scroll bar, although this can be weakened if necessary > > In our prototype, we are using a regular ListBox, and the problem is > that #2 -- that is, selecting a row using > box.Value = someRowKey > is too slow, perhaps almost a second with 50,000 rows. Also, I have no > idea whether there is a hard limit (2^16?) on the number of rows in a > ListBox. > > I have searched briefly for third-party ActiveX controls, but the only > likely candidate I've seen -- FarPoint ListPro -- doesn't seem to work > in Access, only standalone VB. (As in, I tried it, and I can't get it > to work.) > > At this point I'm looking at implementing "paging" by hand, that is, > binding a set of a few hundred records at a time to the listbox and > forcing the user to make transitions from one page to the next explicitly. > > Can anyone suggest alternative ways to attack the problem? > From cjeris at fas.harvard.edu Wed Aug 1 17:11:21 2007 From: cjeris at fas.harvard.edu (Christopher Jeris) Date: Wed, 01 Aug 2007 18:11:21 -0400 Subject: [AccessD] Listbox-type browse control for large dataset In-Reply-To: <46B102B7.2010109@mvps.org> References: <46B0FCE0.2040102@fas.harvard.edu> <46B102B7.2010109@mvps.org> Message-ID: <46B10509.5060409@fas.harvard.edu> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Steve Schapel wrote: > Presumably the data in the listbox is ordered according to a > human-readable field? If so, would it be feasible to put an unbound > textbox on the form, and have the user enter the first few characters of > this field? If so, you could leave the listbox unpopulated until this > textbox contains a minimum number of characters, and then use code at > that point to assign/modify the listbox's RowSource. I expect that > having a filtered row source would speed up your step #2. We actually have such a filter control already, but the UI designer considers it valuable for usability to have a browse control that can span -- somehow -- the entire dataset, so I'm trying to puzzle out a way to provide one. peace, Chris Jeris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGsQUJ5ICCNV0oGWARAvFJAJ9ShW975qdaIsjRMaYSwcjZRzhW+gCeMF7x Og0j40JOX2lDPafK/G7KroU= =mA42 -----END PGP SIGNATURE----- From cfoust at infostatsystems.com Wed Aug 1 17:46:27 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 1 Aug 2007 15:46:27 -0700 Subject: [AccessD] Listbox-type browse control for large dataset In-Reply-To: <46B10509.5060409@fas.harvard.edu> References: <46B0FCE0.2040102@fas.harvard.edu> <46B102B7.2010109@mvps.org> <46B10509.5060409@fas.harvard.edu> Message-ID: The UI designer obviously knows little or nothing about Access, and I question their UI design qualifications as well. I personally would not want to browse *anything*, including a continuous form, that spanned the entire dataset. The whole point of the UI is to provide a means for getting where you want to go without having to wade through everything you DON'T want!! Use a treeview, if nothing else! Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Christopher Jeris Sent: Wednesday, August 01, 2007 3:11 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Listbox-type browse control for large dataset -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Steve Schapel wrote: > Presumably the data in the listbox is ordered according to a > human-readable field? If so, would it be feasible to put an unbound > textbox on the form, and have the user enter the first few characters > of this field? If so, you could leave the listbox unpopulated until > this textbox contains a minimum number of characters, and then use > code at that point to assign/modify the listbox's RowSource. I expect > that having a filtered row source would speed up your step #2. We actually have such a filter control already, but the UI designer considers it valuable for usability to have a browse control that can span -- somehow -- the entire dataset, so I'm trying to puzzle out a way to provide one. peace, Chris Jeris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGsQUJ5ICCNV0oGWARAvFJAJ9ShW975qdaIsjRMaYSwcjZRzhW+gCeMF7x Og0j40JOX2lDPafK/G7KroU= =mA42 -----END PGP SIGNATURE----- -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From miscellany at mvps.org Wed Aug 1 17:49:46 2007 From: miscellany at mvps.org (Steve Schapel) Date: Thu, 02 Aug 2007 10:49:46 +1200 Subject: [AccessD] Listbox-type browse control for large dataset In-Reply-To: <46B10509.5060409@fas.harvard.edu> References: <46B0FCE0.2040102@fas.harvard.edu> <46B102B7.2010109@mvps.org> <46B10509.5060409@fas.harvard.edu> Message-ID: <46B10E0A.6000802@mvps.org> Chris, No impertinence intended, and obviously I know nothing about the application you are working on. But it is difficult to imagine a situation where 10,000s of records "browsable" like this could be desirable UI. Anyway, here's another thought... I don't know whether a continuous view subform would be more efficient for your purposes than a listbox, but may be worth checking. Regards Steve Christopher Jeris wrote: > We actually have such a filter control already, but the UI designer > considers it valuable for usability to have a browse control that can > span -- somehow -- the entire dataset, so I'm trying to puzzle out a way > to provide one. From rockysmolin at bchacc.com Wed Aug 1 21:09:07 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Wed, 1 Aug 2007 19:09:07 -0700 Subject: [AccessD] Empty Recordset In-Reply-To: <01DBAB52E30A9A4AB3D94EF8029EDBE8021BAF48@EXCNYSM0A1AI.nysemail.nyenet> Message-ID: <004001c7d4aa$1c396200$0301a8c0@HAL9005> Oh, it's not a recordset. It's the number of records in a bound form that I'm looking for. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of O'Connor, Patricia (OTDA) Sent: Wednesday, August 01, 2007 10:32 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Empty Recordset Thought you had to check for both rst.EOF and rst.BOF? I also check rst.Recordcount ************************************************** * Patricia O'Connor * Associate Computer Programmer Analyst * OTDA - BDMA * (W) mailto:Patricia.O'Connor at otda.state.ny.us * (w) mailto:aa1160 at nysemail.state.ny.us ************************************************** > -------------------------------------------------------- This e-mail, including any attachments, may be confidential, privileged or otherwise legally protected. It is intended only for the addressee. If you received this e-mail in error or from someone who was not authorized to send it to you, do not disseminate, copy or otherwise use this e-mail or its attachments. Please notify the sender immediately by reply e-mail and delete the e-mail from your system. -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters > Sent: Wednesday, August 01, 2007 08:37 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Empty Recordset > > Rocky, > > Before you actually modify the form's recordsource in code, you'll > need to open a recordset to see if rst.EOF = True > > Dan > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky > Smolin at Beach Access Software > Sent: Wednesday, August 01, 2007 6:59 AM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] Empty Recordset > > Dear List: > > On a bound form a modifying the Recordsource with WHERE conditions > might result in no records being retrieved. Then there are lots of > things you can do which generate errors. > Is there a way to detect this no record condition in a bound form? > > MTIA > > Rocky > > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.2/931 - Release Date: 8/1/2007 4:53 PM From rockysmolin at bchacc.com Wed Aug 1 21:09:28 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Wed, 1 Aug 2007 19:09:28 -0700 Subject: [AccessD] Empty Recordset In-Reply-To: <20070801123804.882882CAD73@smtp.nildram.co.uk> Message-ID: <004101c7d4aa$28310ae0$0301a8c0@HAL9005> That looks right Andy. I'll give it a try later. Thanks. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey Sent: Wednesday, August 01, 2007 5:38 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Empty Recordset Rocky, try If Me.Recordsetclone.recordcount=0 then.... Ought to work I think. -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "'Access Developers discussion and problem solving'" Subject: [AccessD] Empty Recordset Date: 01/08/07 12:13 Dear List: On a bound form a modifying the Recordsource with WHERE conditions might result in no records being retrieved. Then there are lots of things you can do which generate errors. Is there a way to detect this no record condition in a bound form? MTIA Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ________________________________________________ Message sent using UebiMiau 2.7.2 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.0/929 - Release Date: 7/31/2007 5:26 PM From rockysmolin at bchacc.com Wed Aug 1 22:21:58 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Wed, 1 Aug 2007 20:21:58 -0700 Subject: [AccessD] SMTP or Outlook? In-Reply-To: <20070801123650.4227B4F5DC@smtp.nildram.co.uk> Message-ID: <004301c7d4b4$496e84d0$0301a8c0@HAL9005> SMTP? Outlook? CDO? Sounds like the programmer's full employment Act of 2007. Thanks to all for the feedback. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey Sent: Wednesday, August 01, 2007 5:37 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] SMTP or Outlook? Rocky Not so much an opinion as a comment. To get round the Outlook security question you don't need to use ClickYes. I (and many others on this list I reckon) use Redemption instead. Requires more programming but it's largely a case of replacing Outlook objects with the parallel Redemption object. Not at all difficult. Check out http://www.dimastr.com/redemption/ . So if that's your main reason for concern about Outlook there is another way. -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "'Access Developers discussion and problem solving'" Subject: [AccessD] SMTP or Outlook? Date: 01/08/07 12:05 Dear List: I am developing a legal matter tracking app for a client. One of the features is to email reports on a regular schedule to clients regarding the various matters being handled. We can go with either Outlook or SMTP. There's already some SMTP code in the app (legacy app) and I've got some code for Outlook. Outlook, of course, has the disadvantage of thae nag messages requiring you to allow access to Outlook when sending from another app. I get around this by using Click Yes but that has a security problem, obviously, in that malware could then use Outlook. BTW, this isn't just for in-house use - he intends to make this a product. Any opinions? Is there a third alternative? MTIA Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ________________________________________________ Message sent using UebiMiau 2.7.2 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.0/929 - Release Date: 7/31/2007 5:26 PM From Gustav at cactus.dk Thu Aug 2 04:33:25 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Thu, 02 Aug 2007 11:33:25 +0200 Subject: [AccessD] Listbox-type browse control for large dataset Message-ID: Hi Chris We've used a subform designed to mimic a Listbox for a similar purpose. However, the list counted about a hundred records - as several have mentioned, browsing ten thousand records is, ehh, not optimal. /gustav >>> cjeris at fas.harvard.edu 01-08-2007 23:36 >>> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi everybody, I have a form on which I'd like to provide a listbox-type browse control on a dataset with a large number of rows (tens of thousands). Specifically, the user interface control for this dataset needs to support the following interactions: 1. Allow the user to click on a row, or select it using arrow keys, to bring that row up in a form for editing 2. Recenter the control's viewable area around a specific row which is known by key (not by ordinal in the listbox's dataset) 3. Ideally, browse from top to bottom of the entire dataset using a scroll bar, although this can be weakened if necessary In our prototype, we are using a regular ListBox, and the problem is that #2 -- that is, selecting a row using box.Value = someRowKey is too slow, perhaps almost a second with 50,000 rows. Also, I have no idea whether there is a hard limit (2^16?) on the number of rows in a ListBox. I have searched briefly for third-party ActiveX controls, but the only likely candidate I've seen -- FarPoint ListPro -- doesn't seem to work in Access, only standalone VB. (As in, I tried it, and I can't get it to work.) At this point I'm looking at implementing "paging" by hand, that is, binding a set of a few hundred records at a time to the listbox and forcing the user to make transitions from one page to the next explicitly. Can anyone suggest alternative ways to attack the problem? thanks, Chris Jeris From adtp at airtelbroadband.in Thu Aug 2 09:02:58 2007 From: adtp at airtelbroadband.in (A.D.TEJPAL) Date: Thu, 2 Aug 2007 19:32:58 +0530 Subject: [AccessD] Listbox-type browse control for large dataset References: <46B0FCE0.2040102@fas.harvard.edu> Message-ID: <00bd01c7d50d$e55ee0c0$1257a27a@pcadt> Chris, My sample db named Form_SubformAsListBox might be of interest to you. It is available at Rogers Access Library (other developers library). Link - http://www.rogersaccesslibrary.com/OtherLibraries.asp#Tejpal,A.D. You could adapt the underlying approach suitably, for your specific needs. Best wishes, A.D.Tejpal --------------- Form_SubformAsListBox (Sample db) Brief Description ==================================== This sample db demonstrates use of subform as list box. Two alternatives are covered: (a) Continuous subform type list box. (b) Datasheet subform type list box. For each alternative, three styles of list box simulation are demonstrated as follows: (a) Multi-Select - Extended (b) Multi-Select - Simple (c) Single Select Selection behavior in each case is similar to that of typical normal style for the pertinent list box. Extraction of information regarding selected items is relatively more convenient as compared to a conventional list box. Subform based list box affords the added facility of convenient formatting & alignment. In datasheet based alternative, the user can even adjust the row height if required, so as to suit multi-line content. Note: (a) Overall performance regarding prompt rendering of highlight colors (based upon conditional formatting) is found to be best under Access 2003 (even better than Access 2007). (b) For multi-select (extended) list box based upon datasheet subform in versions other than A2K3 (i.e. A2K, XP, A2K7), highlight colors representing multi-selection take complete effect only when Shift key is finally released. (c) For multi-select (extended) list box based upon continuous subform, the performance in versions other than A2K7 is found to be OK (though it appears to be best in A2K3). In Access 2007 however, there is a slight time lag in rendering the highlights, though it does not wait till the shift key is finally released. 5 - Version: Access 2000 File Format 6 - References: DAO 3.6 ==================================== ----- Original Message ----- From: Christopher Jeris To: Access Developers discussion and problem solving Sent: Thursday, August 02, 2007 03:06 Subject: [AccessD] Listbox-type browse control for large dataset -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi everybody, I have a form on which I'd like to provide a listbox-type browse control on a dataset with a large number of rows (tens of thousands). Specifically, the user interface control for this dataset needs to support the following interactions: 1. Allow the user to click on a row, or select it using arrow keys, to bring that row up in a form for editing 2. Recenter the control's viewable area around a specific row which is known by key (not by ordinal in the listbox's dataset) 3. Ideally, browse from top to bottom of the entire dataset using a scroll bar, although this can be weakened if necessary In our prototype, we are using a regular ListBox, and the problem is that #2 -- that is, selecting a row using box.Value = someRowKey is too slow, perhaps almost a second with 50,000 rows. Also, I have no idea whether there is a hard limit (2^16?) on the number of rows in a ListBox. I have searched briefly for third-party ActiveX controls, but the only likely candidate I've seen -- FarPoint ListPro -- doesn't seem to work in Access, only standalone VB. (As in, I tried it, and I can't get it to work.) At this point I'm looking at implementing "paging" by hand, that is, binding a set of a few hundred records at a time to the listbox and forcing the user to make transitions from one page to the next explicitly. Can anyone suggest alternative ways to attack the problem? thanks, Chris Jeris From rockysmolin at bchacc.com Thu Aug 2 16:25:07 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Thu, 2 Aug 2007 14:25:07 -0700 Subject: [AccessD] Tab Control Color Message-ID: <00c101c7d54b$997e6750$0301a8c0@HAL9005> Dear List: When I display a form with a tab control on it in A2003, it has a sort of taupe color. But when my client displays it on his machine using A2007, the tab is the same color as the back color of the form - kind of like the tab control was transparent. Bug? Any fix? MTIA Rocky From kp at sdsonline.net Thu Aug 2 19:12:00 2007 From: kp at sdsonline.net (Kath Pelletti) Date: Fri, 3 Aug 2007 10:12:00 +1000 Subject: [AccessD] Tab Control Color References: <00c101c7d54b$997e6750$0301a8c0@HAL9005> Message-ID: <001a01c7d562$eace5310$6401a8c0@office> Rocky - I don't have/use 2007 yet but ti sounds a bit like when we upgraded from 2000 to 2003 - and clients had the option 'Use Windows Themed COntrols on Forms' ticked. Is there an option like that in 2007 that might be on? Kath ----- Original Message ----- From: Rocky Smolin at Beach Access Software To: 'Access Developers discussion and problem solving' Sent: Friday, August 03, 2007 7:25 AM Subject: [AccessD] Tab Control Color Dear List: When I display a form with a tab control on it in A2003, it has a sort of taupe color. But when my client displays it on his machine using A2007, the tab is the same color as the back color of the form - kind of like the tab control was transparent. Bug? Any fix? MTIA Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Thu Aug 2 21:19:40 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Thu, 2 Aug 2007 19:19:40 -0700 Subject: [AccessD] Tab Control Color In-Reply-To: <001a01c7d562$eace5310$6401a8c0@office> Message-ID: <012701c7d574$bfe35da0$0301a8c0@HAL9005> Well, I'll forward your post to the client and see what feedback I get. Thanks Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kath Pelletti Sent: Thursday, August 02, 2007 5:12 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Tab Control Color Rocky - I don't have/use 2007 yet but ti sounds a bit like when we upgraded from 2000 to 2003 - and clients had the option 'Use Windows Themed COntrols on Forms' ticked. Is there an option like that in 2007 that might be on? Kath ----- Original Message ----- From: Rocky Smolin at Beach Access Software To: 'Access Developers discussion and problem solving' Sent: Friday, August 03, 2007 7:25 AM Subject: [AccessD] Tab Control Color Dear List: When I display a form with a tab control on it in A2003, it has a sort of taupe color. But when my client displays it on his machine using A2007, the tab is the same color as the back color of the form - kind of like the tab control was transparent. Bug? Any fix? MTIA Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.2/931 - Release Date: 8/1/2007 4:53 PM From wdhindman at dejpolsystems.com Thu Aug 2 21:31:35 2007 From: wdhindman at dejpolsystems.com (William Hindman) Date: Thu, 2 Aug 2007 22:31:35 -0400 Subject: [AccessD] Tab Control Color References: <00c101c7d54b$997e6750$0301a8c0@HAL9005> Message-ID: <003701c7d576$6a2056f0$517a6c4c@jisshowsbs.local> Rocky ...the tab control color in pre A2k7 is set by one of the more obscure windows system colors ...A2k7 gives you more say over the control colors ...I have a utility I cobbled together that lets me set all the app/control colors in A2k3 but its not ready for release as yet ...but if you want to do something quick and dirty FMS still has an old A97 freebie control color setting tool on their website that is specific to version 8 ...however their source code is easily modified to work in version 11 and may provide you better compatibility between 11 and 12 re control colors. ...if anyone is interested most of the other FMS A97 freebies can be updated easily as well, I've used their old text formatting control in A2k3 in a few instances with good results. William Hindman ----- Original Message ----- From: "Rocky Smolin at Beach Access Software" To: "'Access Developers discussion and problem solving'" Sent: Thursday, August 02, 2007 5:25 PM Subject: [AccessD] Tab Control Color > Dear List: > > When I display a form with a tab control on it in A2003, it has a sort of > taupe color. But when my client displays it on his machine using A2007, > the > tab is the same color as the back color of the form - kind of like the tab > control was transparent. > > Bug? Any fix? > > MTIA > > Rocky > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From rockysmolin at bchacc.com Thu Aug 2 23:20:51 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Thu, 2 Aug 2007 21:20:51 -0700 Subject: [AccessD] Tab Control Color In-Reply-To: <003701c7d576$6a2056f0$517a6c4c@jisshowsbs.local> Message-ID: <013901c7d585$adb20440$0301a8c0@HAL9005> So in A2K7 you can set the color of a tab control? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Thursday, August 02, 2007 7:32 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Tab Control Color Rocky ...the tab control color in pre A2k7 is set by one of the more obscure windows system colors ...A2k7 gives you more say over the control colors ...I have a utility I cobbled together that lets me set all the app/control colors in A2k3 but its not ready for release as yet ...but if you want to do something quick and dirty FMS still has an old A97 freebie control color setting tool on their website that is specific to version 8 ...however their source code is easily modified to work in version 11 and may provide you better compatibility between 11 and 12 re control colors. ...if anyone is interested most of the other FMS A97 freebies can be updated easily as well, I've used their old text formatting control in A2k3 in a few instances with good results. William Hindman ----- Original Message ----- From: "Rocky Smolin at Beach Access Software" To: "'Access Developers discussion and problem solving'" Sent: Thursday, August 02, 2007 5:25 PM Subject: [AccessD] Tab Control Color > Dear List: > > When I display a form with a tab control on it in A2003, it has a sort of > taupe color. But when my client displays it on his machine using A2007, > the > tab is the same color as the back color of the form - kind of like the tab > control was transparent. > > Bug? Any fix? > > MTIA > > Rocky > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.2/933 - Release Date: 8/2/2007 2:22 PM From john at winhaven.net Fri Aug 3 01:37:02 2007 From: john at winhaven.net (John Bartow) Date: Fri, 3 Aug 2007 01:37:02 -0500 Subject: [AccessD] Checking Outlook Contact Info from Access In-Reply-To: <013901c7d585$adb20440$0301a8c0@HAL9005> References: <003701c7d576$6a2056f0$517a6c4c@jisshowsbs.local> <013901c7d585$adb20440$0301a8c0@HAL9005> Message-ID: <002f01c7d598$b3a579a0$6402a8c0@ScuzzPaq> I've got routines to pull data into Access from Outlook as I need it when adding new client's to a db. I also pull in the "EntryID" as its the only unique property per item I can locate in Contacts. I'm now attempting to verify and add/update Outlook Contact info from Access when editing in Access by using EntryID to filter the Outlook Items. Problem is - and this took me quite awhile to see in the help file for some reason - "EntryID" can't be used with the Restrict method. Set oApp = CreateObject("Outlook.Application") Set oNspc = oApp.GetNamespace("MAPI") Set oContacts = oNspc.GetDefaultFolder(olFolderContacts).Items strContactToCheck = "[CustomerID] = """ & strEntryID & """" Set oItems = oContacts.Restrict(strContactToCheck) Someone recently asked what the problem with Outlook IDs was. Well here it is, the one unique ID and it can't be used to filter the Items. Any ideas on how to lookup a specific contact in Outlook so that it's properties can be compared to the Access data? From Erwin.Craps at ithelps.eu Fri Aug 3 03:17:03 2007 From: Erwin.Craps at ithelps.eu (Erwin Craps - IT Helps) Date: Fri, 3 Aug 2007 10:17:03 +0200 Subject: [AccessD] Checking Outlook Contact Info from Access References: <003701c7d576$6a2056f0$517a6c4c@jisshowsbs.local><013901c7d585$adb20440$0301a8c0@HAL9005> <002f01c7d598$b3a579a0$6402a8c0@ScuzzPaq> Message-ID: <430E80531228BA4497C5EB1A7BA786B01B4B0E@stekelbes.ithelps.local> There is a customerid property that I use. Here a small extract from the code I use "ITH" is a prefix I use to specify from which database the contact in Outlook comes CustomerID is the company id ContactID is the contact from this company id When creating: objOItem.CustomerID = "ITH" & CustomerID & "/" & ContactID When updating: Set objContactItem = oFolderContact.Items.Find("[CustomerID] = " & "ITH" & CustomerID & "/" &ContactID) If TypeName(objContactItem) = "Nothing" Then 'Create new contact because it does not exist Set objContactItem = oFolderContact.Items.Add(olContactItem) ' do your add new contact thingy Else 'Update using found contact. 'put your update code here End If Greetz Erwin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Friday, August 03, 2007 8:37 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Checking Outlook Contact Info from Access I've got routines to pull data into Access from Outlook as I need it when adding new client's to a db. I also pull in the "EntryID" as its the only unique property per item I can locate in Contacts. I'm now attempting to verify and add/update Outlook Contact info from Access when editing in Access by using EntryID to filter the Outlook Items. Problem is - and this took me quite awhile to see in the help file for some reason - "EntryID" can't be used with the Restrict method. Set oApp = CreateObject("Outlook.Application") Set oNspc = oApp.GetNamespace("MAPI") Set oContacts = oNspc.GetDefaultFolder(olFolderContacts).Items strContactToCheck = "[CustomerID] = """ & strEntryID & """" Set oItems = oContacts.Restrict(strContactToCheck) Someone recently asked what the problem with Outlook IDs was. Well here it is, the one unique ID and it can't be used to filter the Items. Any ideas on how to lookup a specific contact in Outlook so that it's properties can be compared to the Access data? -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From john at winhaven.net Fri Aug 3 03:58:33 2007 From: john at winhaven.net (John Bartow) Date: Fri, 3 Aug 2007 03:58:33 -0500 Subject: [AccessD] Checking Outlook Contact Info from Access In-Reply-To: <430E80531228BA4497C5EB1A7BA786B01B4B0E@stekelbes.ithelps.local> References: <003701c7d576$6a2056f0$517a6c4c@jisshowsbs.local><013901c7d585$adb20440$0301a8c0@HAL9005><002f01c7d598$b3a579a0$6402a8c0@ScuzzPaq> <430E80531228BA4497C5EB1A7BA786B01B4B0E@stekelbes.ithelps.local> Message-ID: <006301c7d5ac$79057340$6402a8c0@ScuzzPaq> Hi Erwin, I iterated through my Outlook Items and Customary was null in all of them. So, just so I understand correctly, let me ask you: Did you create the original value in the Outlook Customary property? Do you know if Outlook itself ever uses this Customary property? Thanks, John BTW what I am attempting to accomplish is to pull a contact from Outlook, load its information into an Access table and from that point on keep he data synchronized in both applications. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Erwin Craps - IT Helps Sent: Friday, August 03, 2007 3:17 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Checking Outlook Contact Info from Access There is a customerid property that I use. Here a small extract from the code I use "ITH" is a prefix I use to specify from which database the contact in Outlook comes CustomerID is the company id ContactID is the contact from this company id When creating: objOItem.CustomerID = "ITH" & CustomerID & "/" & ContactID When updating: Set objContactItem = oFolderContact.Items.Find("[CustomerID] = " & "ITH" & CustomerID & "/" &ContactID) If TypeName(objContactItem) = "Nothing" Then 'Create new contact because it does not exist Set objContactItem = oFolderContact.Items.Add(olContactItem) ' do your add new contact thingy Else 'Update using found contact. 'put your update code here End If Greetz Erwin From Erwin.Craps at ithelps.eu Fri Aug 3 04:26:07 2007 From: Erwin.Craps at ithelps.eu (Erwin Craps - IT Helps) Date: Fri, 3 Aug 2007 11:26:07 +0200 Subject: [AccessD] Checking Outlook Contact Info from Access References: <003701c7d576$6a2056f0$517a6c4c@jisshowsbs.local><013901c7d585$adb20440$0301a8c0@HAL9005><002f01c7d598$b3a579a0$6402a8c0@ScuzzPaq><430E80531228BA4497C5EB1A7BA786B01B4B0E@stekelbes.ithelps.local> <006301c7d5ac$79057340$6402a8c0@ScuzzPaq> Message-ID: <430E80531228BA4497C5EB1A7BA786B01B4B12@stekelbes.ithelps.local> Thats about the same I do, except for the (automated) synchronising. Mainly it means that, opposing to your technique, I use the uniqueID in Access to identify the items in Outlook, cause I know that is rock solid. The entryID could change in certain situations. I have a central Access database (wel 2 infact), I added a Outlook contact button next to the company or contactperson in Access. The first time I create a new company or contact in my database I also click on that buttom. This will create a new contact in my outlook contacts and set the outlook contact item "Customerid" property to the id from my database. If I alter my contact data in the Access datebase, I click again on this button. But first Access will search in the contact items by using the ID from the Access database and in the "Customerid" property of the Outlook contact item. If it does exists it updates the item inmediatly, if it does not exists Access asks if I want to add the contact to my Outlook contacts. I do not update automaticly, I do not sync in both directions, but with the technique I use I could if I wanted to. What I believe/suggest you should do is. Adapt your routine that when you read the EntryID from a Outlook Contactitem and add the new contact to the Access database, you should inmediatly add the unique Company and/or ContactID that u use in the Access Database to the "Companyid" property of the Outlook Contact item. >From that point on u always identify and/or link contact in both Outlook and Access based on that CompanyID and no longer on the entry ID. Infact it is pointless from that moment on to even store that entryID. The CompanyID is in Outlook visible in other fields, I even see them when i'm in my contact folder. Don't know if that is by default or after a form alteration from me. It is posible for the user to change the CompanyID field from within Outlook. This is maybe an issue for you, it is not for me in my situation. I believe, but not sure, you can resolve this by using a customer property instead of the CompanyID property. I use a custom property for linking E-mails to my Access database, so I supose you can also use custom properies in contacts. Hope this helps. Erwin From john at winhaven.net Fri Aug 3 04:57:52 2007 From: john at winhaven.net (John Bartow) Date: Fri, 3 Aug 2007 04:57:52 -0500 Subject: [AccessD] Checking Outlook Contact Info from Access In-Reply-To: <430E80531228BA4497C5EB1A7BA786B01B4B12@stekelbes.ithelps.local> References: <003701c7d576$6a2056f0$517a6c4c@jisshowsbs.local><013901c7d585$adb20440$0301a8c0@HAL9005><002f01c7d598$b3a579a0$6402a8c0@ScuzzPaq><430E80531228BA4497C5EB1A7BA786B01B4B0E@stekelbes.ithelps.local><006301c7d5ac$79057340$6402a8c0@ScuzzPaq> <430E80531228BA4497C5EB1A7BA786B01B4B12@stekelbes.ithelps.local> Message-ID: <009401c7d5b4$ce6e1960$6402a8c0@ScuzzPaq> Erwin, I'm sure your advice will help a lot. I will work on this project using the ideas you have laid out for me. If anything interesting comes up I will post my questions and or results. Thanks you much! John -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Erwin Craps - IT Helps Sent: Friday, August 03, 2007 4:26 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Checking Outlook Contact Info from Access Thats about the same I do, except for the (automated) synchronising. Mainly it means that, opposing to your technique, I use the uniqueID in Access to identify the items in Outlook, cause I know that is rock solid. The entryID could change in certain situations. I have a central Access database (wel 2 infact), I added a Outlook contact button next to the company or contactperson in Access. The first time I create a new company or contact in my database I also click on that buttom. This will create a new contact in my outlook contacts and set the outlook contact item "Customerid" property to the id from my database. If I alter my contact data in the Access datebase, I click again on this button. But first Access will search in the contact items by using the ID from the Access database and in the "Customerid" property of the Outlook contact item. If it does exists it updates the item inmediatly, if it does not exists Access asks if I want to add the contact to my Outlook contacts. I do not update automaticly, I do not sync in both directions, but with the technique I use I could if I wanted to. What I believe/suggest you should do is. Adapt your routine that when you read the EntryID from a Outlook Contactitem and add the new contact to the Access database, you should inmediatly add the unique Company and/or ContactID that u use in the Access Database to the "Companyid" property of the Outlook Contact item. >From that point on u always identify and/or link contact in both >Outlook and Access based on that CompanyID and no longer on the entry ID. Infact it is pointless from that moment on to even store that entryID. The CompanyID is in Outlook visible in other fields, I even see them when i'm in my contact folder. Don't know if that is by default or after a form alteration from me. It is posible for the user to change the CompanyID field from within Outlook. This is maybe an issue for you, it is not for me in my situation. I believe, but not sure, you can resolve this by using a customer property instead of the CompanyID property. I use a custom property for linking E-mails to my Access database, so I supose you can also use custom properies in contacts. Hope this helps. Erwin -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From wdhindman at dejpolsystems.com Fri Aug 3 06:27:09 2007 From: wdhindman at dejpolsystems.com (William Hindman) Date: Fri, 3 Aug 2007 07:27:09 -0400 Subject: [AccessD] Tab Control Color References: <013901c7d585$adb20440$0301a8c0@HAL9005> Message-ID: <000701c7d5c1$3b499170$517a6c4c@jisshowsbs.local> http://blogs.msdn.com/access/archive/2006/03/28/563337.aspx ...hth William Hindman ----- Original Message ----- From: "Rocky Smolin at Beach Access Software" To: "'Access Developers discussion and problem solving'" Sent: Friday, August 03, 2007 12:20 AM Subject: Re: [AccessD] Tab Control Color > So in A2K7 you can set the color of a tab control? > > Rocky > > > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman > Sent: Thursday, August 02, 2007 7:32 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Tab Control Color > > Rocky > > ...the tab control color in pre A2k7 is set by one of the more obscure > windows system colors ...A2k7 gives you more say over the control colors > ...I have a utility I cobbled together that lets me set all the > app/control > colors in A2k3 but its not ready for release as yet ...but if you want to > do > something quick and dirty FMS still has an old A97 freebie control color > setting tool on their website that is specific to version 8 ...however > their > source code is easily modified to work in version 11 and may provide you > better compatibility between 11 and 12 re control colors. > > ...if anyone is interested most of the other FMS A97 freebies can be > updated > easily as well, I've used their old text formatting control in A2k3 in a > few > instances with good results. > > William Hindman > > ----- Original Message ----- > From: "Rocky Smolin at Beach Access Software" > To: "'Access Developers discussion and problem solving'" > > Sent: Thursday, August 02, 2007 5:25 PM > Subject: [AccessD] Tab Control Color > > >> Dear List: >> >> When I display a form with a tab control on it in A2003, it has a sort of >> taupe color. But when my client displays it on his machine using A2007, >> the >> tab is the same color as the back color of the form - kind of like the >> tab >> control was transparent. >> >> Bug? Any fix? >> >> MTIA >> >> Rocky >> >> >> >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.476 / Virus Database: 269.11.2/933 - Release Date: 8/2/2007 > 2:22 PM > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From Erwin.Craps at ithelps.eu Fri Aug 3 06:57:49 2007 From: Erwin.Craps at ithelps.eu (Erwin Craps - IT Helps) Date: Fri, 3 Aug 2007 13:57:49 +0200 Subject: [AccessD] Checking Outlook Contact Info from Access References: <003701c7d576$6a2056f0$517a6c4c@jisshowsbs.local><013901c7d585$adb20440$0301a8c0@HAL9005><002f01c7d598$b3a579a0$6402a8c0@ScuzzPaq><430E80531228BA4497C5EB1A7BA786B01B4B0E@stekelbes.ithelps.local><006301c7d5ac$79057340$6402a8c0@ScuzzPaq><430E80531228BA4497C5EB1A7BA786B01B4B12@stekelbes.ithelps.local> <009401c7d5b4$ce6e1960$6402a8c0@ScuzzPaq> Message-ID: <430E80531228BA4497C5EB1A7BA786B01B4B15@stekelbes.ithelps.local> No problem. I'm not always reading all AccessD e-mails every day, so in case I'm not responding, mail me directly.. Erwin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Friday, August 03, 2007 11:58 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Checking Outlook Contact Info from Access Erwin, I'm sure your advice will help a lot. I will work on this project using the ideas you have laid out for me. If anything interesting comes up I will post my questions and or results. Thanks you much! John -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Erwin Craps - IT Helps Sent: Friday, August 03, 2007 4:26 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Checking Outlook Contact Info from Access Thats about the same I do, except for the (automated) synchronising. Mainly it means that, opposing to your technique, I use the uniqueID in Access to identify the items in Outlook, cause I know that is rock solid. The entryID could change in certain situations. I have a central Access database (wel 2 infact), I added a Outlook contact button next to the company or contactperson in Access. The first time I create a new company or contact in my database I also click on that buttom. This will create a new contact in my outlook contacts and set the outlook contact item "Customerid" property to the id from my database. If I alter my contact data in the Access datebase, I click again on this button. But first Access will search in the contact items by using the ID from the Access database and in the "Customerid" property of the Outlook contact item. If it does exists it updates the item inmediatly, if it does not exists Access asks if I want to add the contact to my Outlook contacts. I do not update automaticly, I do not sync in both directions, but with the technique I use I could if I wanted to. What I believe/suggest you should do is. Adapt your routine that when you read the EntryID from a Outlook Contactitem and add the new contact to the Access database, you should inmediatly add the unique Company and/or ContactID that u use in the Access Database to the "Companyid" property of the Outlook Contact item. >From that point on u always identify and/or link contact in both >Outlook and Access based on that CompanyID and no longer on the entry ID. Infact it is pointless from that moment on to even store that entryID. The CompanyID is in Outlook visible in other fields, I even see them when i'm in my contact folder. Don't know if that is by default or after a form alteration from me. It is posible for the user to change the CompanyID field from within Outlook. This is maybe an issue for you, it is not for me in my situation. I believe, but not sure, you can resolve this by using a customer property instead of the CompanyID property. I use a custom property for linking E-mails to my Access database, so I supose you can also use custom properies in contacts. Hope this helps. Erwin -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Fri Aug 3 11:58:44 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Fri, 3 Aug 2007 09:58:44 -0700 Subject: [AccessD] FW: Tab Control Color Message-ID: <007001c7d5ef$8d662490$0301a8c0@HAL9005> Thanks. Will forward. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Friday, August 03, 2007 4:27 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Tab Control Color http://blogs.msdn.com/access/archive/2006/03/28/563337.aspx ...hth William Hindman ----- Original Message ----- From: "Rocky Smolin at Beach Access Software" To: "'Access Developers discussion and problem solving'" Sent: Friday, August 03, 2007 12:20 AM Subject: Re: [AccessD] Tab Control Color > So in A2K7 you can set the color of a tab control? > > Rocky > > > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William > Hindman > Sent: Thursday, August 02, 2007 7:32 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Tab Control Color > > Rocky > > ...the tab control color in pre A2k7 is set by one of the more obscure > windows system colors ...A2k7 gives you more say over the control > colors ...I have a utility I cobbled together that lets me set all the > app/control colors in A2k3 but its not ready for release as yet ...but > if you want to do something quick and dirty FMS still has an old A97 > freebie control color setting tool on their website that is specific > to version 8 ...however their source code is easily modified to work > in version 11 and may provide you better compatibility between 11 and > 12 re control colors. > > ...if anyone is interested most of the other FMS A97 freebies can be > updated easily as well, I've used their old text formatting control in > A2k3 in a few instances with good results. > > William Hindman > > ----- Original Message ----- > From: "Rocky Smolin at Beach Access Software" > To: "'Access Developers discussion and problem solving'" > > Sent: Thursday, August 02, 2007 5:25 PM > Subject: [AccessD] Tab Control Color > > >> Dear List: >> >> When I display a form with a tab control on it in A2003, it has a >> sort of taupe color. But when my client displays it on his machine >> using A2007, the tab is the same color as the back color of the form >> - kind of like the tab control was transparent. >> >> Bug? Any fix? >> >> MTIA >> >> Rocky >> >> >> >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.476 / Virus Database: 269.11.2/933 - Release Date: > 8/2/2007 > 2:22 PM > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.2/933 - Release Date: 8/2/2007 2:22 PM From cjeris at fas.harvard.edu Fri Aug 3 16:04:52 2007 From: cjeris at fas.harvard.edu (Christopher Jeris) Date: Fri, 03 Aug 2007 17:04:52 -0400 Subject: [AccessD] ADO.Recordset "Object does not support Automation" Message-ID: <46B39874.5030502@fas.harvard.edu> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi everybody, Most of my project runs on DAO, but there's one place where I'd like to back a listbox with a recordset returned by a SQL Server stored procedure that returns multiple recordsets. (This is the browse control from my last post, which I finally managed to convince people shouldn't be a monolithic 50,000 row list box.) It seems that - - DAO recordsets in Jet workspaces don't support the NextRecordset method, so multiple result sets are not accessible - - The docs say that DAO recordsets from ODBCDirect workspaces can't be assigned to the .Recordset property of a ListBox control So I have to use an ADO recordset. So I get the connection going and the query runs and the recordset comes back okay: Public Sub InitializeByOffset(filterString As String, offset As Long) Dim sql As String sql = ' some SQL text lives here Dim cxn As ADODB.Connection Set cxn = Util.ADOConn ' this returns a cached ADO connection Dim rs As New ADODB.Recordset rs.Open sql, cxn, adOpenKeyset rs.MoveFirst ' initialize some properties of the object from the first ' recordset's rows ' now remember the second recordset Set mRecordset = rs.NextRecordset End Sub That all works fine, and the "next recordset" returned is alive and has the right data in it. Then when I try to assign the resulting recordset to the .Recordset property of the ListBox control on my form, I get the following error: "Class does not support Automation or does not support expected interface". This is Access 2002 SP3 on Windows XP SP2; my installed version of MDAC is 2.81 (2.8 SP1); the active set of References in the VB editor is as follows: Visual Basic For Applications Microsoft Access 10.0 Object Library OLE Automation Microsoft DAO 3.6 Object Library Microsoft ActiveX Data Objects 2.8 Library [C:\Program Files\Common Files\System\ado\msado15.dll] Microsoft Data Access Components Installed Version [C:\WINDOWS\system32\odbcconf.dll] Microsoft ActiveX Data Objects Recordset 2.8 Library [C:\Program Files\Common Files\System\ado\msador15.dll] Googling suggests that the problem has something to do with out-of-sync MDAC versions, but I have tried substituting all the other available ADO references in the VB project (2.1, 2.5, 2.6, 2.7) without success. Can anyone tell me what's going on here? many thanks for all your help, Chris Jeris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGs5h05ICCNV0oGWARAkUzAJ9rRO4Q5dpJFip4gaesi+KBjZCopwCglBy8 bu1IYkzwc/mubdZeRIPIjmE= =i6T1 -----END PGP SIGNATURE----- From miscellany at mvps.org Fri Aug 3 16:24:54 2007 From: miscellany at mvps.org (Steve Schapel) Date: Sat, 04 Aug 2007 09:24:54 +1200 Subject: [AccessD] Coordinating use of space on report Message-ID: <46B39D26.6060207@mvps.org> Hi. I would appreciate any bright ideas on a very specific requirement. On a report, I have a strictly limited width for some data. This data is in 2 fields. The data in the left field will be left aligned, and the data in the right field can be right aligned. It's the name of a sports team, and their score in a competition. The number of characters in the score can vary quite a bit. It could be like any of these: 2 234/9 25 (WBC) LBD In some cases, the name of the team will need to be truncated in order to fit. That's ok. Growing the control height is not possible. But I don't want to have to make the right-hand control wide enough to cater to the widest possible score data. This would mean reducing the amount of space available for the team name, which in most practical cases would restrict it much more than necessary. In other words, I don't want to make *all* the team names narrow enough so that a score of 25(WBC) could be fitted in, when in most cases the score will be more like 2 allowing a wider team name and possibly preventing truncating. Hope that makes sense. I have played with the idea of using fixed width font, and concatenating the team and score into one control, with the requisitre number of spaces in between to justify the text. 2 problems with this: Fixed width fonts generally take up more space anyway, for the same amount of text. And this report is output to PDF and for internet download, so many users who will be trying to print it will not have that font installed. So... what would you try? Regards Steve From rockysmolin at bchacc.com Fri Aug 3 16:55:01 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Fri, 3 Aug 2007 14:55:01 -0700 Subject: [AccessD] Coordinating use of space on report In-Reply-To: <46B39D26.6060207@mvps.org> Message-ID: <00b901c7d618$f168e0d0$0301a8c0@HAL9005> Courier is ugly and takes more space than, say, Arial narrow. But everybody has it, AFAIK. And it's fixed width. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Schapel Sent: Friday, August 03, 2007 2:25 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Coordinating use of space on report Hi. I would appreciate any bright ideas on a very specific requirement. On a report, I have a strictly limited width for some data. This data is in 2 fields. The data in the left field will be left aligned, and the data in the right field can be right aligned. It's the name of a sports team, and their score in a competition. The number of characters in the score can vary quite a bit. It could be like any of these: 2 234/9 25 (WBC) LBD In some cases, the name of the team will need to be truncated in order to fit. That's ok. Growing the control height is not possible. But I don't want to have to make the right-hand control wide enough to cater to the widest possible score data. This would mean reducing the amount of space available for the team name, which in most practical cases would restrict it much more than necessary. In other words, I don't want to make *all* the team names narrow enough so that a score of 25(WBC) could be fitted in, when in most cases the score will be more like 2 allowing a wider team name and possibly preventing truncating. Hope that makes sense. I have played with the idea of using fixed width font, and concatenating the team and score into one control, with the requisitre number of spaces in between to justify the text. 2 problems with this: Fixed width fonts generally take up more space anyway, for the same amount of text. And this report is output to PDF and for internet download, so many users who will be trying to print it will not have that font installed. So... what would you try? Regards Steve -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.2/933 - Release Date: 8/2/2007 2:22 PM From ssharkins at gmail.com Sat Aug 4 11:57:49 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Sat, 4 Aug 2007 12:57:49 -0400 Subject: [AccessD] SANS and NAS Message-ID: <17c80a4d0708040957g5966758dwcd7f3516813d61b6@mail.gmail.com> I'm looking for someone with good experience and knowlege in Enterprise Data Storage -- specifically, SANS and NAS all that crap. I have a publisher looking for someone who can write about these topics on a regular basis. Contact me privately at ssharkins at gmail. Thanks! Susan H. From rockysmolin at bchacc.com Sat Aug 4 20:10:04 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Sat, 4 Aug 2007 18:10:04 -0700 Subject: [AccessD] Need SMTP Code Message-ID: <002001c7d6fd$5b538a60$0301a8c0@HAL9005> Dear List: I have a lot of Access sites bookmarked but can never find what I need in them. I'm looking for some code to handle email from Access using SMTP. Does anyone know if there's a module I can crib from one of the many Access sites? MTIA Rocky From wdhindman at dejpolsystems.com Sat Aug 4 21:13:03 2007 From: wdhindman at dejpolsystems.com (William Hindman) Date: Sat, 4 Aug 2007 22:13:03 -0400 Subject: [AccessD] Need SMTP Code References: <002001c7d6fd$5b538a60$0301a8c0@HAL9005> Message-ID: <000301c7d706$28392dc0$517a6c4c@jisshowsbs.local> http://support.microsoft.com/?kbid=286431 ...hth William Hindman ----- Original Message ----- From: "Rocky Smolin at Beach Access Software" To: "'Access Developers discussion and problem solving'" Sent: Saturday, August 04, 2007 9:10 PM Subject: [AccessD] Need SMTP Code > Dear List: > > > I have a lot of Access sites bookmarked but can never find what I need in > them. I'm looking for some code to handle email from Access using SMTP. > Does anyone know if there's a module I can crib from one of the many > Access > sites? > > MTIA > > Rocky > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jwcolby at colbyconsulting.com Sat Aug 4 22:08:19 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 4 Aug 2007 23:08:19 -0400 Subject: [AccessD] Need SMTP Code In-Reply-To: <000301c7d706$28392dc0$517a6c4c@jisshowsbs.local> Message-ID: <20070805030821.EFEADBCD9@smtp-auth.no-ip.com> I am getting the following from Firefox on ONE of my computers, mostly on MS site links. Any ideas? Server Error in '/' Application. Runtime Error Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine. Details: To enable the details of this specific error message to be viewable on remote machines, please create a tag within a "web.config" configuration file located in the root directory of the current web application. This tag should then have its "mode" attribute set to "Off". Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's configuration tag to point to a custom error page URL. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Saturday, August 04, 2007 10:13 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Need SMTP Code http://support.microsoft.com/?kbid=286431 ...hth William Hindman ----- Original Message ----- From: "Rocky Smolin at Beach Access Software" To: "'Access Developers discussion and problem solving'" Sent: Saturday, August 04, 2007 9:10 PM Subject: [AccessD] Need SMTP Code > Dear List: > > > I have a lot of Access sites bookmarked but can never find what I need in > them. I'm looking for some code to handle email from Access using SMTP. > Does anyone know if there's a module I can crib from one of the many > Access > sites? > > MTIA > > Rocky > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Sun Aug 5 00:47:20 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Sat, 4 Aug 2007 22:47:20 -0700 Subject: [AccessD] Popup Form Message-ID: <002401c7d724$1759bce0$0301a8c0@HAL9005> Dear List: Can a form be opened in either popup or not depending on the value of a switch? MTIA Rocky From ebarro at verizon.net Sun Aug 5 01:04:30 2007 From: ebarro at verizon.net (Eric Barro) Date: Sat, 04 Aug 2007 23:04:30 -0700 Subject: [AccessD] Need SMTP Code In-Reply-To: <20070805030821.EFEADBCD9@smtp-auth.no-ip.com> Message-ID: <0JMA00DHRE7GLTQA@vms046.mailsrvcs.net> John, This is a generic .NET message to indicate that there's something wrong with the application. It's server-based and not client-based. Eric -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Saturday, August 04, 2007 8:08 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Need SMTP Code I am getting the following from Firefox on ONE of my computers, mostly on MS site links. Any ideas? Server Error in '/' Application. Runtime Error Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine. Details: To enable the details of this specific error message to be viewable on remote machines, please create a tag within a "web.config" configuration file located in the root directory of the current web application. This tag should then have its "mode" attribute set to "Off". Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's configuration tag to point to a custom error page URL. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Saturday, August 04, 2007 10:13 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Need SMTP Code http://support.microsoft.com/?kbid=286431 ...hth William Hindman ----- Original Message ----- From: "Rocky Smolin at Beach Access Software" To: "'Access Developers discussion and problem solving'" Sent: Saturday, August 04, 2007 9:10 PM Subject: [AccessD] Need SMTP Code > Dear List: > > > I have a lot of Access sites bookmarked but can never find what I need > in them. I'm looking for some code to handle email from Access using SMTP. > Does anyone know if there's a module I can crib from one of the many > Access sites? > > MTIA > > Rocky > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.4/935 - Release Date: 8/3/2007 5:46 PM From miscellany at mvps.org Sun Aug 5 02:46:05 2007 From: miscellany at mvps.org (Steve Schapel) Date: Sun, 05 Aug 2007 19:46:05 +1200 Subject: [AccessD] Popup Form In-Reply-To: <002401c7d724$1759bce0$0301a8c0@HAL9005> References: <002401c7d724$1759bce0$0301a8c0@HAL9005> Message-ID: <46B5803D.3010605@mvps.org> Rocky, I think something like this should work... If YourSwitch Then DoCmd.OpenForm "YourForm", , , , , acDialog Else DoCmd.OpenForm "YourForm" End If Regards Steve Rocky Smolin at Beach Access Software wrote: > Can a form be opened in either popup or not depending on the value of a > switch? From miscellany at mvps.org Sun Aug 5 02:49:46 2007 From: miscellany at mvps.org (Steve Schapel) Date: Sun, 05 Aug 2007 19:49:46 +1200 Subject: [AccessD] Coordinating use of space on report In-Reply-To: <00b901c7d618$f168e0d0$0301a8c0@HAL9005> References: <00b901c7d618$f168e0d0$0301a8c0@HAL9005> Message-ID: <46B5811A.80402@mvps.org> Thanks a lot for this comment, Rocky. I have found that the amount of characters you can fit in to a given space with Courier is considerably less than the proportional fonts. And ugly, yes I agree. I am not working on solving the situation using overlapping controls, and abbreviating the data as required in code. Regards Steve Rocky Smolin at Beach Access Software wrote: > Courier is ugly and takes more space than, say, Arial narrow. But everybody > has it, AFAIK. And it's fixed width. > From andy at minstersystems.co.uk Sun Aug 5 02:53:43 2007 From: andy at minstersystems.co.uk (Andy Lacey) Date: Sun, 5 Aug 2007 08:53:43 +0100 Subject: [AccessD] Popup Form In-Reply-To: <002401c7d724$1759bce0$0301a8c0@HAL9005> Message-ID: <000a01c7d735$beddbd70$aa8cd355@minster33c3r25> Well it can be opened in Dialog or not depending on a switch if that does you. Set your switch (eg lngSwitch) to either acDialog or acNormal and open like DoCmd.OpenForm "frm",,,,,lngSwitch HTH -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Rocky Smolin at Beach Access Software > Sent: 05 August 2007 06:47 > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] Popup Form > > > > > Dear List: > > Can a form be opened in either popup or not depending on the > value of a switch? > > MTIA > > Rocky > > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From fuller.artful at gmail.com Sun Aug 5 06:28:00 2007 From: fuller.artful at gmail.com (Arthur Fuller) Date: Sun, 5 Aug 2007 07:28:00 -0400 Subject: [AccessD] Popup Form In-Reply-To: <000a01c7d735$beddbd70$aa8cd355@minster33c3r25> References: <002401c7d724$1759bce0$0301a8c0@HAL9005> <000a01c7d735$beddbd70$aa8cd355@minster33c3r25> Message-ID: <29f585dd0708050428u156b1b02y42e896b12aa3e8b4@mail.gmail.com> Quite right, Andy. I often use your technique in conjunction with the NotInList event of a combo, also supplying the datamode switch to put the form in data-entry mode as well as dialog mode so the user can add a new record if it's not in the list, then return to that form after exiting the dialog. It's the same form as the normal one but opened in dialog. It works a treat. Arthur On 8/5/07, Andy Lacey wrote: > > Well it can be opened in Dialog or not depending on a switch if that does > you. > > Set your switch (eg lngSwitch) to either acDialog or acNormal and open > like > > DoCmd.OpenForm "frm",,,,,lngSwitch > > HTH > > -- Andy Lacey > http://www.minstersystems.co.uk > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > > Rocky Smolin at Beach Access Software > > Sent: 05 August 2007 06:47 > > To: 'Access Developers discussion and problem solving' > > Subject: [AccessD] Popup Form > > > > > > > > > > Dear List: > > > > Can a form be opened in either popup or not depending on the > > value of a switch? > > > > MTIA > > > > Rocky > > > > > > > > > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From fuller.artful at gmail.com Sun Aug 5 06:42:06 2007 From: fuller.artful at gmail.com (Arthur Fuller) Date: Sun, 5 Aug 2007 07:42:06 -0400 Subject: [AccessD] Listbox-type browse control for large dataset In-Reply-To: <00bd01c7d50d$e55ee0c0$1257a27a@pcadt> References: <46B0FCE0.2040102@fas.harvard.edu> <00bd01c7d50d$e55ee0c0$1257a27a@pcadt> Message-ID: <29f585dd0708050442p1409eda0i64c788c3ed1e8997@mail.gmail.com> Chris, I have used another technique which might help you, that doesn't use a subform. I don't populate the row-source attribute until the user enters 3 characters at least. Then I use those characters in a SELECT statement to grab only the relevant rows. 1. User enters "Ful" 2. I build the rowsource: strSQL = _ "SELECT PK, Surname FROM Employees WHERE Surname LIKE " & chr(39) & me.combo & "*" & chr(39) '<--- supplying the double quotes and asterisk 3. me.combo.rowsource = strSQL No need to requery. Changing the rowsource does that automatically. Typically this approach reduces the number of rows to something very manageable while also satisfying the requirement that all 50K rows are "accessible". hth, Arthur On 8/2/07, A.D.TEJPAL wrote: > > Chris, > > My sample db named Form_SubformAsListBox might be of interest to you. > It is available at Rogers Access Library (other developers library). Link - > http://www.rogersaccesslibrary.com/OtherLibraries.asp#Tejpal,A.D. > > You could adapt the underlying approach suitably, for your specific > needs. > > Best wishes, > A.D.Tejpal > --------------- > > Form_SubformAsListBox (Sample db) > Brief Description > ==================================== > This sample db demonstrates use of subform as list box. > > Two alternatives are covered: > (a) Continuous subform type list box. > (b) Datasheet subform type list box. > > For each alternative, three styles of list box simulation are > demonstrated as follows: > (a) Multi-Select - Extended > (b) Multi-Select - Simple > (c) Single Select > > Selection behavior in each case is similar to that of typical normal > style for the pertinent list box. Extraction of information regarding > selected items is relatively more convenient as compared to a conventional > list box. > > Subform based list box affords the added facility of convenient > formatting & alignment. In datasheet based alternative, the user can even > adjust the row height if required, so as to suit multi-line content. > > Note: > (a) Overall performance regarding prompt rendering of highlight colors > (based upon conditional formatting) is found to be best under Access 2003 > (even better than Access 2007). > (b) For multi-select (extended) list box based upon datasheet subform > in versions other than A2K3 (i.e. A2K, XP, A2K7), highlight colors > representing multi-selection take complete effect only when Shift key is > finally released. > (c) For multi-select (extended) list box based upon continuous > subform, the performance in versions other than A2K7 is found to be OK > (though it appears to be best in A2K3). In Access 2007 however, there is a > slight time lag in rendering the highlights, though it does not wait till > the shift key is finally released. > > 5 - Version: Access 2000 File Format > > 6 - References: DAO 3.6 > ==================================== > > ----- Original Message ----- > From: Christopher Jeris > To: Access Developers discussion and problem solving > Sent: Thursday, August 02, 2007 03:06 > Subject: [AccessD] Listbox-type browse control for large dataset > > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi everybody, > > I have a form on which I'd like to provide a listbox-type browse control > on a dataset with a large number of rows (tens of thousands). > Specifically, the user interface control for this dataset needs to > support the following interactions: > > 1. Allow the user to click on a row, or select it using arrow keys, to > bring that row up in a form for editing > 2. Recenter the control's viewable area around a specific row which is > known by key (not by ordinal in the listbox's dataset) > 3. Ideally, browse from top to bottom of the entire dataset using a > scroll bar, although this can be weakened if necessary > > In our prototype, we are using a regular ListBox, and the problem is > that #2 -- that is, selecting a row using box.Value = someRowKey > is too slow, perhaps almost a second with 50,000 rows. Also, I have no > idea whether there is a hard limit (2^16?) on the number of rows in a > ListBox. > > I have searched briefly for third-party ActiveX controls, but the only > likely candidate I've seen -- FarPoint ListPro -- doesn't seem to work > in Access, only standalone VB. (As in, I tried it, and I can't get it > to work.) > > At this point I'm looking at implementing "paging" by hand, that is, > binding a set of a few hundred records at a time to the listbox and > forcing the user to make transitions from one page to the next > explicitly. > > Can anyone suggest alternative ways to attack the problem? > > thanks, Chris Jeris > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From fuller.artful at gmail.com Sun Aug 5 06:48:53 2007 From: fuller.artful at gmail.com (Arthur Fuller) Date: Sun, 5 Aug 2007 07:48:53 -0400 Subject: [AccessD] Coordinating use of space on report In-Reply-To: <46B5811A.80402@mvps.org> References: <00b901c7d618$f168e0d0$0301a8c0@HAL9005> <46B5811A.80402@mvps.org> Message-ID: <29f585dd0708050448w38e84f38laaebc26070d641bc@mail.gmail.com> What about doing a little arithmetic on each row? Would that work? You could right-justify the score, count the characters in same, then print as many chars of the team name as will still fit. hth, Arthur On 8/5/07, Steve Schapel wrote: > > Thanks a lot for this comment, Rocky. I have found that the amount of > characters you can fit in to a given space with Courier is considerably > less than the proportional fonts. And ugly, yes I agree. > > I am not working on solving the situation using overlapping controls, > and abbreviating the data as required in code. > > Regards > Steve > > > Rocky Smolin at Beach Access Software wrote: > > Courier is ugly and takes more space than, say, Arial narrow. But > everybody > > has it, AFAIK. And it's fixed width. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From fahooper at trapo.com Sun Aug 5 07:35:58 2007 From: fahooper at trapo.com (Fred Hooper) Date: Sun, 5 Aug 2007 08:35:58 -0400 Subject: [AccessD] Need SMTP Code In-Reply-To: <002001c7d6fd$5b538a60$0301a8c0@HAL9005> Message-ID: <018d01c7d75d$2d00dc70$af15c048@fredxp> I've used the code below in many places. Fred Public Sub SendEmail(strFrom As String, strTo As String, strSubject As String, strMessage As String) Dim objEmail As Object Dim objMsg As Object Dim objConf As Object Dim Flds As Variant Set objMsg = CreateObject("cdo.message") Set objConf = CreateObject("cdo.configuration") Set Flds = objConf.Fields With Flds ' The first item with value "2" indicates that smpt is not installed on this machine .Item("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2 ' Next item is the name of the smpt server to use. ' Look in Outlook | Tools | Email Accounts | View or change... | Change to find .Item("http://schemas.microsoft.com/cdo/configuration/smtpserver") = "yourmailhost.com" ' This is the port the smpt server uses, 25 is the default .Item("http://schemas.microsoft.com/cdo/configuration/smptserverport") = 25 .Update End With With objMsg Set .configuration = objConf .To = strTo .from = strFrom .Subject = strSubject .Textbody = strMessage ' It doesn't work with more than one attachment ' .AddAttachment "c:\readme.txt" .Fields.Update .Send End With Set objMsg = Nothing Set objConf = Nothing End Sub -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Saturday, August 04, 2007 9:10 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Need SMTP Code Dear List: I have a lot of Access sites bookmarked but can never find what I need in them. I'm looking for some code to handle email from Access using SMTP. Does anyone know if there's a module I can crib from one of the many Access sites? MTIA Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Sun Aug 5 07:40:06 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sun, 5 Aug 2007 08:40:06 -0400 Subject: [AccessD] Need SMTP Code In-Reply-To: <0JMA00DHRE7GLTQA@vms046.mailsrvcs.net> Message-ID: <20070805124007.20A42BD5D@smtp-auth.no-ip.com> Eric, Thanks for the reply. It seems to happen on my laptop a LOT, and if I switch to another machine I can get right in to the web page, or even if I switch to IE on my laptop. I got it when I tried to open the link in the response to Rocky in this message. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Eric Barro Sent: Sunday, August 05, 2007 2:05 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Need SMTP Code John, This is a generic .NET message to indicate that there's something wrong with the application. It's server-based and not client-based. Eric -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Saturday, August 04, 2007 8:08 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Need SMTP Code I am getting the following from Firefox on ONE of my computers, mostly on MS site links. Any ideas? Server Error in '/' Application. Runtime Error Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine. Details: To enable the details of this specific error message to be viewable on remote machines, please create a tag within a "web.config" configuration file located in the root directory of the current web application. This tag should then have its "mode" attribute set to "Off". Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's configuration tag to point to a custom error page URL. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Saturday, August 04, 2007 10:13 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Need SMTP Code http://support.microsoft.com/?kbid=286431 ...hth William Hindman ----- Original Message ----- From: "Rocky Smolin at Beach Access Software" To: "'Access Developers discussion and problem solving'" Sent: Saturday, August 04, 2007 9:10 PM Subject: [AccessD] Need SMTP Code > Dear List: > > > I have a lot of Access sites bookmarked but can never find what I need > in them. I'm looking for some code to handle email from Access using SMTP. > Does anyone know if there's a module I can crib from one of the many > Access sites? > > MTIA > > Rocky From jwcolby at colbyconsulting.com Sun Aug 5 07:57:20 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sun, 5 Aug 2007 08:57:20 -0400 Subject: [AccessD] Popup Form In-Reply-To: <002401c7d724$1759bce0$0301a8c0@HAL9005> Message-ID: <20070805125720.F0C4CBD53@smtp-auth.no-ip.com> Rocky, Awhile back I published a class for automatically parsing and handling OpenArgs. I use this in my framework and it allows me to pass in OpenArgs in the now common format: VarName1=VarValue1;VarName2=VarValue2;etc;etc; The class parses the OpenArgs and places them in a collection so that the opening form can then use the openargs without having to do its own parsing. Since the OpenArgs class is passed in a reference to the form, the class also looks for Openargs whose names match form properties and if found applies the openarg(s) to the form property. Thus you can pass in openargs such as: AllowEdits=True;AllowDeletes=False;AllowAdditions=False;PKID=21;etc;etc; Notice that AllowEdits is the name of a form property. clsOpenArgs will automatically set AllowEdits of the form to True, AllowDeletes property to False, and AllowAdditions to false. It will also hold PKID in the OpenArgs collection so that the form can use that openarg for whatever the form is supposed to do with it (move to that PKID?). This class works well for doing exactly what you are discussing here, passing in specific form properties, EVEN properties that the simple docmd.OpenForm parameters will not allow you to directly pass and best of all just automatically applies the properties to the form. To get the class, go to http://www.databaseadvisors.com/downloads.asp and download my OpenArgs demo. It will give you the class as well as a working demo of using the class in a form, passing in form properties etc. The class is dead simple to use and can be used in any form where you need to pass in openargs and use them inside of the form, either directly in form properties or simply as values that the form needs to use for something. Classes are our friend. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Sunday, August 05, 2007 1:47 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Popup Form Dear List: Can a form be opened in either popup or not depending on the value of a switch? MTIA Rocky From rockysmolin at bchacc.com Sun Aug 5 08:31:06 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Sun, 5 Aug 2007 06:31:06 -0700 Subject: [AccessD] Popup Form In-Reply-To: <46B5803D.3010605@mvps.org> Message-ID: <001401c7d764$e06f9920$0301a8c0@HAL9005> Steve, et al: Dialog is the same as popup? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Schapel Sent: Sunday, August 05, 2007 12:46 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Popup Form Rocky, I think something like this should work... If YourSwitch Then DoCmd.OpenForm "YourForm", , , , , acDialog Else DoCmd.OpenForm "YourForm" End If Regards Steve Rocky Smolin at Beach Access Software wrote: > Can a form be opened in either popup or not depending on the value of > a switch? -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.4/936 - Release Date: 8/4/2007 2:42 PM From rockysmolin at bchacc.com Sun Aug 5 08:32:49 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Sun, 5 Aug 2007 06:32:49 -0700 Subject: [AccessD] Need SMTP Code In-Reply-To: <018d01c7d75d$2d00dc70$af15c048@fredxp> Message-ID: <001501c7d765$1e1bb6f0$0301a8c0@HAL9005> Fred: Seems too easy. :) CDO is a standard part of Windows? Or Access? Thanks and regards, Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Fred Hooper Sent: Sunday, August 05, 2007 5:36 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Need SMTP Code I've used the code below in many places. Fred Public Sub SendEmail(strFrom As String, strTo As String, strSubject As String, strMessage As String) Dim objEmail As Object Dim objMsg As Object Dim objConf As Object Dim Flds As Variant Set objMsg = CreateObject("cdo.message") Set objConf = CreateObject("cdo.configuration") Set Flds = objConf.Fields With Flds ' The first item with value "2" indicates that smpt is not installed on this machine .Item("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2 ' Next item is the name of the smpt server to use. ' Look in Outlook | Tools | Email Accounts | View or change... | Change to find .Item("http://schemas.microsoft.com/cdo/configuration/smtpserver") = "yourmailhost.com" ' This is the port the smpt server uses, 25 is the default .Item("http://schemas.microsoft.com/cdo/configuration/smptserverport") = 25 .Update End With With objMsg Set .configuration = objConf .To = strTo .from = strFrom .Subject = strSubject .Textbody = strMessage ' It doesn't work with more than one attachment ' .AddAttachment "c:\readme.txt" .Fields.Update .Send End With Set objMsg = Nothing Set objConf = Nothing End Sub -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Saturday, August 04, 2007 9:10 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Need SMTP Code Dear List: I have a lot of Access sites bookmarked but can never find what I need in them. I'm looking for some code to handle email from Access using SMTP. Does anyone know if there's a module I can crib from one of the many Access sites? MTIA Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.4/936 - Release Date: 8/4/2007 2:42 PM From rockysmolin at bchacc.com Sun Aug 5 08:34:42 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Sun, 5 Aug 2007 06:34:42 -0700 Subject: [AccessD] Popup Form In-Reply-To: <20070805125720.F0C4CBD53@smtp-auth.no-ip.com> Message-ID: <001601c7d765$61a831f0$0301a8c0@HAL9005> Can the popup property be set during the open event? The simple statement Me.Popup = True is failing in the open event. Regards, Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Sunday, August 05, 2007 5:57 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Popup Form Rocky, Awhile back I published a class for automatically parsing and handling OpenArgs. I use this in my framework and it allows me to pass in OpenArgs in the now common format: VarName1=VarValue1;VarName2=VarValue2;etc;etc; The class parses the OpenArgs and places them in a collection so that the opening form can then use the openargs without having to do its own parsing. Since the OpenArgs class is passed in a reference to the form, the class also looks for Openargs whose names match form properties and if found applies the openarg(s) to the form property. Thus you can pass in openargs such as: AllowEdits=True;AllowDeletes=False;AllowAdditions=False;PKID=21;etc;etc; Notice that AllowEdits is the name of a form property. clsOpenArgs will automatically set AllowEdits of the form to True, AllowDeletes property to False, and AllowAdditions to false. It will also hold PKID in the OpenArgs collection so that the form can use that openarg for whatever the form is supposed to do with it (move to that PKID?). This class works well for doing exactly what you are discussing here, passing in specific form properties, EVEN properties that the simple docmd.OpenForm parameters will not allow you to directly pass and best of all just automatically applies the properties to the form. To get the class, go to http://www.databaseadvisors.com/downloads.asp and download my OpenArgs demo. It will give you the class as well as a working demo of using the class in a form, passing in form properties etc. The class is dead simple to use and can be used in any form where you need to pass in openargs and use them inside of the form, either directly in form properties or simply as values that the form needs to use for something. Classes are our friend. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Sunday, August 05, 2007 1:47 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Popup Form Dear List: Can a form be opened in either popup or not depending on the value of a switch? MTIA Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.4/936 - Release Date: 8/4/2007 2:42 PM From jimdettman at verizon.net Sun Aug 5 09:28:13 2007 From: jimdettman at verizon.net (Jim Dettman) Date: Sun, 05 Aug 2007 10:28:13 -0400 Subject: [AccessD] Need SMTP Code In-Reply-To: <002001c7d6fd$5b538a60$0301a8c0@HAL9005> References: <002001c7d6fd$5b538a60$0301a8c0@HAL9005> Message-ID: <0cd201c7d76c$dcdbf170$8abea8c0@XPS> Rocky, see: http://www.freevbcode.com/ShowCode.Asp?ID=109 works well with Access. Have used it for years. Only requires one .DLL Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Saturday, August 04, 2007 9:10 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Need SMTP Code Dear List: I have a lot of Access sites bookmarked but can never find what I need in them. I'm looking for some code to handle email from Access using SMTP. Does anyone know if there's a module I can crib from one of the many Access sites? MTIA Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Sun Aug 5 10:44:19 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Sun, 5 Aug 2007 08:44:19 -0700 Subject: [AccessD] Need SMTP Code In-Reply-To: <0cd201c7d76c$dcdbf170$8abea8c0@XPS> Message-ID: <002001c7d777$7d2a9050$0301a8c0@HAL9005> Thanks. Looks easy enough. Is it better than the CDO approach? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Sunday, August 05, 2007 7:28 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Need SMTP Code Rocky, see: http://www.freevbcode.com/ShowCode.Asp?ID=109 works well with Access. Have used it for years. Only requires one .DLL Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Saturday, August 04, 2007 9:10 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Need SMTP Code Dear List: I have a lot of Access sites bookmarked but can never find what I need in them. I'm looking for some code to handle email from Access using SMTP. Does anyone know if there's a module I can crib from one of the many Access sites? MTIA Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.4/936 - Release Date: 8/4/2007 2:42 PM From fahooper at trapo.com Sun Aug 5 10:56:04 2007 From: fahooper at trapo.com (Fred Hooper) Date: Sun, 5 Aug 2007 11:56:04 -0400 Subject: [AccessD] Need SMTP Code In-Reply-To: <001501c7d765$1e1bb6f0$0301a8c0@HAL9005> Message-ID: <019701c7d779$213ae130$af15c048@fredxp> Rocky: I use the code on W2K servers (with and without Office installed) and XP pc's, haven't tried it on Vista. BTW, the "http://schemas.microsoft.com/cdo/configuration/smtpserver" does *not* contact Microsoft, which I determined when a client was concerned. A Google search on "cdo -debt -chromo Microsoft" got some interesting hits. Fred -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Sunday, August 05, 2007 9:33 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Need SMTP Code Fred: Seems too easy. :) CDO is a standard part of Windows? Or Access? Thanks and regards, Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Fred Hooper Sent: Sunday, August 05, 2007 5:36 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Need SMTP Code I've used the code below in many places. Fred Public Sub SendEmail(strFrom As String, strTo As String, strSubject As String, strMessage As String) Dim objEmail As Object Dim objMsg As Object Dim objConf As Object Dim Flds As Variant Set objMsg = CreateObject("cdo.message") Set objConf = CreateObject("cdo.configuration") Set Flds = objConf.Fields With Flds ' The first item with value "2" indicates that smpt is not installed on this machine .Item("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2 ' Next item is the name of the smpt server to use. ' Look in Outlook | Tools | Email Accounts | View or change... | Change to find .Item("http://schemas.microsoft.com/cdo/configuration/smtpserver") = "yourmailhost.com" ' This is the port the smpt server uses, 25 is the default .Item("http://schemas.microsoft.com/cdo/configuration/smptserverport") = 25 .Update End With With objMsg Set .configuration = objConf .To = strTo .from = strFrom .Subject = strSubject .Textbody = strMessage ' It doesn't work with more than one attachment ' .AddAttachment "c:\readme.txt" .Fields.Update .Send End With Set objMsg = Nothing Set objConf = Nothing End Sub -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Saturday, August 04, 2007 9:10 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Need SMTP Code Dear List: I have a lot of Access sites bookmarked but can never find what I need in them. I'm looking for some code to handle email from Access using SMTP. Does anyone know if there's a module I can crib from one of the many Access sites? MTIA Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.4/936 - Release Date: 8/4/2007 2:42 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at gmail.com Sun Aug 5 12:12:00 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Sun, 5 Aug 2007 13:12:00 -0400 Subject: [AccessD] Enterprise Data Storage Message-ID: <17c80a4d0708051012x20ca68fcjc1ed48c95c247afe@mail.gmail.com> I'm looking for someone with experience in Enterprise Data Storage -- SANS and the like. Please contact me privately at ssharkins at gmail.com -- this would involve writing. I sent this yesterday, but I haven't seen it come through and I suspect I sent it from the wrong account. If this is a repeat, I apologize. Susan H. From actebs at actebs.com.au Sun Aug 5 12:27:31 2007 From: actebs at actebs.com.au (ACTEBS) Date: Mon, 6 Aug 2007 03:27:31 +1000 Subject: [AccessD] Need SMTP Code In-Reply-To: <002001c7d777$7d2a9050$0301a8c0@HAL9005> Message-ID: <002201c7d785$e7330050$0d08a8c0@carltonone.local> Rocky, The easiest and feature rich method I have found useful is by using Blat. You can find it here: http://www.blat.net/ It even has an Access Class you can use already written: http://www.blat.net/examples/MSAccess_class.html Distribute Blat with your application and you won't need to worry about those annoying MS messages anymore. HTH Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Monday, 6 August 2007 1:44 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Need SMTP Code Thanks. Looks easy enough. Is it better than the CDO approach? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Sunday, August 05, 2007 7:28 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Need SMTP Code Rocky, see: http://www.freevbcode.com/ShowCode.Asp?ID=109 works well with Access. Have used it for years. Only requires one .DLL Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Saturday, August 04, 2007 9:10 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Need SMTP Code Dear List: I have a lot of Access sites bookmarked but can never find what I need in them. I'm looking for some code to handle email from Access using SMTP. Does anyone know if there's a module I can crib from one of the many Access sites? MTIA Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.4/936 - Release Date: 8/4/2007 2:42 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Sun Aug 5 12:59:12 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Sun, 5 Aug 2007 10:59:12 -0700 Subject: [AccessD] Need SMTP Code In-Reply-To: <002201c7d785$e7330050$0d08a8c0@carltonone.local> Message-ID: <003901c7d78a$54696340$0301a8c0@HAL9005> Dang! My cup runneth over. I'll check into this. Thanks. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of ACTEBS Sent: Sunday, August 05, 2007 10:28 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Need SMTP Code Rocky, The easiest and feature rich method I have found useful is by using Blat. You can find it here: http://www.blat.net/ It even has an Access Class you can use already written: http://www.blat.net/examples/MSAccess_class.html Distribute Blat with your application and you won't need to worry about those annoying MS messages anymore. HTH Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Monday, 6 August 2007 1:44 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Need SMTP Code Thanks. Looks easy enough. Is it better than the CDO approach? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Sunday, August 05, 2007 7:28 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Need SMTP Code Rocky, see: http://www.freevbcode.com/ShowCode.Asp?ID=109 works well with Access. Have used it for years. Only requires one .DLL Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Saturday, August 04, 2007 9:10 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Need SMTP Code Dear List: I have a lot of Access sites bookmarked but can never find what I need in them. I'm looking for some code to handle email from Access using SMTP. Does anyone know if there's a module I can crib from one of the many Access sites? MTIA Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.4/936 - Release Date: 8/4/2007 2:42 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.4/936 - Release Date: 8/4/2007 2:42 PM From miscellany at mvps.org Sun Aug 5 13:51:40 2007 From: miscellany at mvps.org (Steve Schapel) Date: Mon, 06 Aug 2007 06:51:40 +1200 Subject: [AccessD] Coordinating use of space on report In-Reply-To: <29f585dd0708050448w38e84f38laaebc26070d641bc@mail.gmail.com> References: <00b901c7d618$f168e0d0$0301a8c0@HAL9005> <46B5811A.80402@mvps.org> <29f585dd0708050448w38e84f38laaebc26070d641bc@mail.gmail.com> Message-ID: <46B61C3C.7090505@mvps.org> Thanks, Arthur. Yes, I think that will be a solution. It's just that the arithmetic will be a bit imprecise, as the number of available characters depends on the relative number of W's and m's in the dat, compared with the number of i's and l's. Regards Steve Arthur Fuller wrote: > What about doing a little arithmetic on each row? Would that work? You could > right-justify the score, count the characters in same, then print as many > chars of the team name as will still fit. From max at sherman.org.uk Sun Aug 5 14:03:21 2007 From: max at sherman.org.uk (Max Sherman) Date: Sun, 5 Aug 2007 20:03:21 +0100 Subject: [AccessD] Need SMTP Code In-Reply-To: <003901c7d78a$54696340$0301a8c0@HAL9005> References: <002201c7d785$e7330050$0d08a8c0@carltonone.local> <003901c7d78a$54696340$0301a8c0@HAL9005> Message-ID: <001601c7d793$51884d40$8119fea9@LTVM> Hi Rocky, Better to have too much then none at all, but when you come to compare them don't forget that with CDO you do not need any .dlls, classes, APIs, etc. Not even Outlook (so no Redemtion or click-yes required) or indeed any email client at all. Plus it can be sent easily using VBA code from within a module. All you need is the address of a domain that you can send email through. I will post a complete CDO package here soon. I am currently updating my EATBloat program with a complete overhaul and including the options to output individual objects and import them as well, plus some other features. Regards Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Sunday, August 05, 2007 6:59 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Need SMTP Code Dang! My cup runneth over. I'll check into this. Thanks. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of ACTEBS Sent: Sunday, August 05, 2007 10:28 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Need SMTP Code Rocky, The easiest and feature rich method I have found useful is by using Blat. You can find it here: http://www.blat.net/ It even has an Access Class you can use already written: http://www.blat.net/examples/MSAccess_class.html Distribute Blat with your application and you won't need to worry about those annoying MS messages anymore. HTH Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Monday, 6 August 2007 1:44 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Need SMTP Code Thanks. Looks easy enough. Is it better than the CDO approach? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Sunday, August 05, 2007 7:28 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Need SMTP Code Rocky, see: http://www.freevbcode.com/ShowCode.Asp?ID=109 works well with Access. Have used it for years. Only requires one .DLL Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Saturday, August 04, 2007 9:10 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Need SMTP Code Dear List: I have a lot of Access sites bookmarked but can never find what I need in them. I'm looking for some code to handle email from Access using SMTP. Does anyone know if there's a module I can crib from one of the many Access sites? MTIA Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.4/936 - Release Date: 8/4/2007 2:42 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.4/936 - Release Date: 8/4/2007 2:42 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From fuller.artful at gmail.com Sun Aug 5 14:07:07 2007 From: fuller.artful at gmail.com (Arthur Fuller) Date: Sun, 5 Aug 2007 15:07:07 -0400 Subject: [AccessD] Coordinating use of space on report In-Reply-To: <46B61C3C.7090505@mvps.org> References: <00b901c7d618$f168e0d0$0301a8c0@HAL9005> <46B5811A.80402@mvps.org> <29f585dd0708050448w38e84f38laaebc26070d641bc@mail.gmail.com> <46B61C3C.7090505@mvps.org> Message-ID: <29f585dd0708051207h6f1bd9e2x4c12d95609e46984@mail.gmail.com> Somewhere there must be a chart listing the horizontal space occupied by each of the 26 characters. Using it, you could count the occurrences of each, plus the spaces, do some addition and have a precise measurement. By the time you've got the count, though, the data in the whole report may be stale :) Regards, Arthur On 8/5/07, Steve Schapel wrote: > > Thanks, Arthur. Yes, I think that will be a solution. It's just that > the arithmetic will be a bit imprecise, as the number of available > characters depends on the relative number of W's and m's in the dat, > compared with the number of i's and l's. > > Regards > Steve > > > Arthur Fuller wrote: > > What about doing a little arithmetic on each row? Would that work? You > could > > right-justify the score, count the characters in same, then print as > many > > chars of the team name as will still fit. > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From max at sherman.org.uk Sun Aug 5 14:25:40 2007 From: max at sherman.org.uk (Max Sherman) Date: Sun, 5 Aug 2007 20:25:40 +0100 Subject: [AccessD] Popup Form In-Reply-To: <001401c7d764$e06f9920$0301a8c0@HAL9005> References: <46B5803D.3010605@mvps.org> <001401c7d764$e06f9920$0301a8c0@HAL9005> Message-ID: <001701c7d796$6982bb30$8119fea9@LTVM> I *think* you will find that the difference is that popup stays on top of everything whereas dialogue can be minimised. Haven't check though. Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Sunday, August 05, 2007 2:31 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Popup Form Steve, et al: Dialog is the same as popup? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Schapel Sent: Sunday, August 05, 2007 12:46 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Popup Form Rocky, I think something like this should work... If YourSwitch Then DoCmd.OpenForm "YourForm", , , , , acDialog Else DoCmd.OpenForm "YourForm" End If Regards Steve Rocky Smolin at Beach Access Software wrote: > Can a form be opened in either popup or not depending on the value of > a switch? -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.4/936 - Release Date: 8/4/2007 2:42 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Sun Aug 5 15:59:23 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Sun, 5 Aug 2007 13:59:23 -0700 Subject: [AccessD] Popup Form In-Reply-To: <001701c7d796$6982bb30$8119fea9@LTVM> Message-ID: <004301c7d7a3$80c5b470$0301a8c0@HAL9005> I'll have to try it with the minimize button disabled - see what happens. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Max Sherman Sent: Sunday, August 05, 2007 12:26 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Popup Form I *think* you will find that the difference is that popup stays on top of everything whereas dialogue can be minimised. Haven't check though. Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Sunday, August 05, 2007 2:31 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Popup Form Steve, et al: Dialog is the same as popup? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Schapel Sent: Sunday, August 05, 2007 12:46 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Popup Form Rocky, I think something like this should work... If YourSwitch Then DoCmd.OpenForm "YourForm", , , , , acDialog Else DoCmd.OpenForm "YourForm" End If Regards Steve Rocky Smolin at Beach Access Software wrote: > Can a form be opened in either popup or not depending on the value of > a switch? -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.4/936 - Release Date: 8/4/2007 2:42 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.4/936 - Release Date: 8/4/2007 2:42 PM From rockysmolin at bchacc.com Sun Aug 5 16:01:30 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Sun, 5 Aug 2007 14:01:30 -0700 Subject: [AccessD] Popup Form In-Reply-To: <001701c7d796$6982bb30$8119fea9@LTVM> Message-ID: <004401c7d7a3$cc86b5d0$0301a8c0@HAL9005> OK. I'm leaning towards CDO. At least it looks like just a few minutes to gen it up and test it. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Max Sherman Sent: Sunday, August 05, 2007 12:26 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Popup Form I *think* you will find that the difference is that popup stays on top of everything whereas dialogue can be minimised. Haven't check though. Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Sunday, August 05, 2007 2:31 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Popup Form Steve, et al: Dialog is the same as popup? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Schapel Sent: Sunday, August 05, 2007 12:46 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Popup Form Rocky, I think something like this should work... If YourSwitch Then DoCmd.OpenForm "YourForm", , , , , acDialog Else DoCmd.OpenForm "YourForm" End If Regards Steve Rocky Smolin at Beach Access Software wrote: > Can a form be opened in either popup or not depending on the value of > a switch? -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.4/936 - Release Date: 8/4/2007 2:42 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.4/936 - Release Date: 8/4/2007 2:42 PM From martyconnelly at shaw.ca Sun Aug 5 16:20:09 2007 From: martyconnelly at shaw.ca (MartyConnelly) Date: Sun, 05 Aug 2007 14:20:09 -0700 Subject: [AccessD] Popup Form In-Reply-To: <004401c7d7a3$cc86b5d0$0301a8c0@HAL9005> References: <004401c7d7a3$cc86b5d0$0301a8c0@HAL9005> Message-ID: <46B63F09.20605@shaw.ca> Here is my test code for CDO along with some notes 2 things to note with this method This code wont run exactly unless you are on cable modem or inside a LAN or maybe VPN and signed on in whatever is your domain, your cable modem is a node in your ISP domain. So it will probably fail on dial-up modems. I haven't really tested this. If you type in an illegal or wrong smtp address here, program will run for 30- 60 seconds and finally give transport error. So it isn't really hung. 'The example code is using CDOSYS (CDO for Windows 2000 or XP). 'I dont think I would want to go back to CDONTS for earlier systems 'It does not depend on MAPI or CDO or Outlook 'It does not use your mailbox to send email. ' So you can send mail without a mail program or mail account ' This code builds the message and drops it into a pickup directory, ' and the SMTP service running on the machine ' picks it up and send it out to the internet. 'So why use CDO code instead of Outlook automation or Application.SendMail in VBA. ' It doesn't matter what Mail program you are using (It uses the SMTP server). ' It doesn't matter what Office version you are using. ' supposedly you can send an object or file in the body of the mail (some mail programs can't do this) ' haven't verified this ' You can send any file attachment you like. ' No Outlook Security warning so no need for Redemption ' You probably wont have your mail server full expanded smtp address 'If you go into netscape mail or outlook and look for the smtp name 'It will look like mine, "shawmail" or "shawnews" this dns resolves 'to "shawmail.cg.shawcable.net" CDO doesn't resolve this short name so 'The quickest way to get this actual address without using registry et al. 'is run cmd and ping "shawmail" to return full qualified smtp address. 'This code wont run exactly unless you are on cable and signed on in the Shaw or whatever is your domain, your cable modem is a node in their domain Sub SendCDO() ' This example use late binding of CDOSys, you don't have to set a reference ' You must be online to net when you run the sub ' You must be running WinXP or Win2000 Dim cdoMessage As Object Dim objCDOMail As Object Dim strschema As String On Error GoTo ErrorHandler ' Enable error-handling routine. ' Set cdoMessage = CreateObject("CDO.Message") Set objCDOMail = CreateObject("CDO.Configuration") strschema = "http://schemas.microsoft.com/cdo/configuration/" objCDOMail.Load -1 ' CDO Source Default 'If you have illegal or wrong smtp address here it will run for 30- 60 seconds and finally give transport error With objCDOMail.Fields .Item(strschema & "sendusing") = 2 ' cdoSendUsingPort .Item(strschema & "smtpserver") = "shawmail.cg.shawcable.net" ' "Your SMTP server address here" .Item(strschema & "smtpserverport") = 25 'specify port number .Update End With With cdoMessage Set .Configuration = objCDOMail .to = "macon at g..." .From = "Winnie The Pooh " .CC = "" .BCC = "" .Subject = "This is another test from marty" .TextBody = "This is the text in the body just cdo defaults" .AddAttachment "C:\temp2\rptSampleCount.rtf" .AddAttachment "C:\temp2\frontimage.jpeg" .send End With Set cdoMessage = Nothing Set objCDOMail = Nothing Exit Sub ' Exit to avoid handler. ErrorHandler: ' Error-handling routine. Debug.Print Err.Number & "-" & Err.Description Set cdoMessage = Nothing Set objCDOMail = Nothing Exit Sub End Sub Rocky Smolin at Beach Access Software wrote: >OK. I'm leaning towards CDO. At least it looks like just a few minutes to >gen it up and test it. > >Rocky > > -- Marty Connelly Victoria, B.C. Canada From jwcolby at colbyconsulting.com Sun Aug 5 16:23:42 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sun, 5 Aug 2007 17:23:42 -0400 Subject: [AccessD] Popup Form In-Reply-To: <001601c7d765$61a831f0$0301a8c0@HAL9005> Message-ID: <20070805212343.54A3FBD6D@smtp-auth.no-ip.com> Well there is a good question. Let me try it. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Sunday, August 05, 2007 9:35 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Popup Form Can the popup property be set during the open event? The simple statement Me.Popup = True is failing in the open event. Regards, Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Sunday, August 05, 2007 5:57 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Popup Form Rocky, Awhile back I published a class for automatically parsing and handling OpenArgs. I use this in my framework and it allows me to pass in OpenArgs in the now common format: VarName1=VarValue1;VarName2=VarValue2;etc;etc; The class parses the OpenArgs and places them in a collection so that the opening form can then use the openargs without having to do its own parsing. Since the OpenArgs class is passed in a reference to the form, the class also looks for Openargs whose names match form properties and if found applies the openarg(s) to the form property. Thus you can pass in openargs such as: AllowEdits=True;AllowDeletes=False;AllowAdditions=False;PKID=21;etc;etc; Notice that AllowEdits is the name of a form property. clsOpenArgs will automatically set AllowEdits of the form to True, AllowDeletes property to False, and AllowAdditions to false. It will also hold PKID in the OpenArgs collection so that the form can use that openarg for whatever the form is supposed to do with it (move to that PKID?). This class works well for doing exactly what you are discussing here, passing in specific form properties, EVEN properties that the simple docmd.OpenForm parameters will not allow you to directly pass and best of all just automatically applies the properties to the form. To get the class, go to http://www.databaseadvisors.com/downloads.asp and download my OpenArgs demo. It will give you the class as well as a working demo of using the class in a form, passing in form properties etc. The class is dead simple to use and can be used in any form where you need to pass in openargs and use them inside of the form, either directly in form properties or simply as values that the form needs to use for something. Classes are our friend. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Sunday, August 05, 2007 1:47 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Popup Form Dear List: Can a form be opened in either popup or not depending on the value of a switch? MTIA Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.4/936 - Release Date: 8/4/2007 2:42 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From john at winhaven.net Sun Aug 5 17:05:58 2007 From: john at winhaven.net (John Bartow) Date: Sun, 5 Aug 2007 17:05:58 -0500 Subject: [AccessD] Popup Form In-Reply-To: <004301c7d7a3$80c5b470$0301a8c0@HAL9005> References: <001701c7d796$6982bb30$8119fea9@LTVM> <004301c7d7a3$80c5b470$0301a8c0@HAL9005> Message-ID: <024c01c7d7ac$cdd1e460$6402a8c0@ScuzzPaq> "Modal" would be another property you might be interested in. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Sunday, August 05, 2007 3:59 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Popup Form I'll have to try it with the minimize button disabled - see what happens. From rockysmolin at bchacc.com Sun Aug 5 17:46:37 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Sun, 5 Aug 2007 15:46:37 -0700 Subject: [AccessD] Popup Form In-Reply-To: <46B63F09.20605@shaw.ca> Message-ID: <005401c7d7b2$7b771220$0301a8c0@HAL9005> Thanks. I think I'll give that a try. Stand by for 20 questions. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: Sunday, August 05, 2007 2:20 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Popup Form Here is my test code for CDO along with some notes 2 things to note with this method This code wont run exactly unless you are on cable modem or inside a LAN or maybe VPN and signed on in whatever is your domain, your cable modem is a node in your ISP domain. So it will probably fail on dial-up modems. I haven't really tested this. If you type in an illegal or wrong smtp address here, program will run for 30- 60 seconds and finally give transport error. So it isn't really hung. 'The example code is using CDOSYS (CDO for Windows 2000 or XP). 'I dont think I would want to go back to CDONTS for earlier systems 'It does not depend on MAPI or CDO or Outlook 'It does not use your mailbox to send email. ' So you can send mail without a mail program or mail account ' This code builds the message and drops it into a pickup directory, ' and the SMTP service running on the machine ' picks it up and send it out to the internet. 'So why use CDO code instead of Outlook automation or Application.SendMail in VBA. ' It doesn't matter what Mail program you are using (It uses the SMTP server). ' It doesn't matter what Office version you are using. ' supposedly you can send an object or file in the body of the mail (some mail programs can't do this) ' haven't verified this ' You can send any file attachment you like. ' No Outlook Security warning so no need for Redemption ' You probably wont have your mail server full expanded smtp address 'If you go into netscape mail or outlook and look for the smtp name 'It will look like mine, "shawmail" or "shawnews" this dns resolves 'to "shawmail.cg.shawcable.net" CDO doesn't resolve this short name so 'The quickest way to get this actual address without using registry et al. 'is run cmd and ping "shawmail" to return full qualified smtp address. 'This code wont run exactly unless you are on cable and signed on in the Shaw or whatever is your domain, your cable modem is a node in their domain Sub SendCDO() ' This example use late binding of CDOSys, you don't have to set a reference ' You must be online to net when you run the sub ' You must be running WinXP or Win2000 Dim cdoMessage As Object Dim objCDOMail As Object Dim strschema As String On Error GoTo ErrorHandler ' Enable error-handling routine. ' Set cdoMessage = CreateObject("CDO.Message") Set objCDOMail = CreateObject("CDO.Configuration") strschema = "http://schemas.microsoft.com/cdo/configuration/" objCDOMail.Load -1 ' CDO Source Default 'If you have illegal or wrong smtp address here it will run for 30- 60 seconds and finally give transport error With objCDOMail.Fields .Item(strschema & "sendusing") = 2 ' cdoSendUsingPort .Item(strschema & "smtpserver") = "shawmail.cg.shawcable.net" ' "Your SMTP server address here" .Item(strschema & "smtpserverport") = 25 'specify port number .Update End With With cdoMessage Set .Configuration = objCDOMail .to = "macon at g..." .From = "Winnie The Pooh " .CC = "" .BCC = "" .Subject = "This is another test from marty" .TextBody = "This is the text in the body just cdo defaults" .AddAttachment "C:\temp2\rptSampleCount.rtf" .AddAttachment "C:\temp2\frontimage.jpeg" .send End With Set cdoMessage = Nothing Set objCDOMail = Nothing Exit Sub ' Exit to avoid handler. ErrorHandler: ' Error-handling routine. Debug.Print Err.Number & "-" & Err.Description Set cdoMessage = Nothing Set objCDOMail = Nothing Exit Sub End Sub Rocky Smolin at Beach Access Software wrote: >OK. I'm leaning towards CDO. At least it looks like just a few >minutes to gen it up and test it. > >Rocky > > -- Marty Connelly Victoria, B.C. Canada -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.4/936 - Release Date: 8/4/2007 2:42 PM From rockysmolin at bchacc.com Sun Aug 5 19:25:12 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Sun, 5 Aug 2007 17:25:12 -0700 Subject: [AccessD] Duplicate Record? Message-ID: <005801c7d7c0$410fb6b0$0301a8c0@HAL9005> Dear List: I guess this is my weekend for questions. Using DAO I am creating a temp table of emails to be sent. So I do an .AddNew and assemble the data in the fields of the new record. Just before I .Update, I want to look at the existing records in the recordset and if the record I've just created is a duplicate I don't want to add the record so the person only gets one email. My first idea was to brute force check each field in a FindFirst but there must be a simpler or more elegant way of doing this. There are seven fields to check. MTIA Rocky From jwcolby at colbyconsulting.com Sun Aug 5 20:28:31 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sun, 5 Aug 2007 21:28:31 -0400 Subject: [AccessD] Duplicate Record? In-Reply-To: <005801c7d7c0$410fb6b0$0301a8c0@HAL9005> Message-ID: <20070806012834.BAF0EBCC8@smtp-auth.no-ip.com> Build a unique index on all seven fields. Then when you save, if it goes in, there is no duplicate. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Sunday, August 05, 2007 8:25 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Duplicate Record? Dear List: I guess this is my weekend for questions. Using DAO I am creating a temp table of emails to be sent. So I do an .AddNew and assemble the data in the fields of the new record. Just before I .Update, I want to look at the existing records in the recordset and if the record I've just created is a duplicate I don't want to add the record so the person only gets one email. My first idea was to brute force check each field in a FindFirst but there must be a simpler or more elegant way of doing this. There are seven fields to check. MTIA Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From wdhindman at dejpolsystems.com Sun Aug 5 21:34:38 2007 From: wdhindman at dejpolsystems.com (William Hindman) Date: Sun, 5 Aug 2007 22:34:38 -0400 Subject: [AccessD] Need SMTP Code References: <002201c7d785$e7330050$0d08a8c0@carltonone.local><003901c7d78a$54696340$0301a8c0@HAL9005> <001601c7d793$51884d40$8119fea9@LTVM> Message-ID: <000b01c7d7d2$563a6500$517a6c4c@jisshowsbs.local> Max ...if you need any beta testers, let me know ...I've got your EatBloat built into every app. William Hindman ----- Original Message ----- From: "Max Sherman" To: "'Access Developers discussion and problem solving'" Sent: Sunday, August 05, 2007 3:03 PM Subject: Re: [AccessD] Need SMTP Code > Hi Rocky, > > Better to have too much then none at all, but when you come to compare > them > don't forget that with CDO you do not need any .dlls, classes, APIs, etc. > Not even Outlook (so no Redemtion or click-yes required) or indeed any > email > client at all. Plus it can be sent easily using VBA code from within a > module. All you need is the address of a domain that you can send email > through. > > I will post a complete CDO package here soon. I am currently updating my > EATBloat program with a complete overhaul and including the options to > output individual objects and import them as well, plus some other > features. > > Regards > Max > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at > Beach Access Software > Sent: Sunday, August 05, 2007 6:59 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Need SMTP Code > > Dang! My cup runneth over. I'll check into this. > > Thanks. > > Rocky > > > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of ACTEBS > Sent: Sunday, August 05, 2007 10:28 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Need SMTP Code > > Rocky, > > The easiest and feature rich method I have found useful is by using Blat. > You can find it here: > > http://www.blat.net/ > > It even has an Access Class you can use already written: > > http://www.blat.net/examples/MSAccess_class.html > > Distribute Blat with your application and you won't need to worry about > those annoying MS messages anymore. > > HTH > > Vlad > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at > Beach Access Software > Sent: Monday, 6 August 2007 1:44 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Need SMTP Code > > Thanks. Looks easy enough. Is it better than the CDO approach? > > Rocky > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman > Sent: Sunday, August 05, 2007 7:28 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Need SMTP Code > > Rocky, > > see: > > http://www.freevbcode.com/ShowCode.Asp?ID=109 > > works well with Access. Have used it for years. Only requires one .DLL > > Jim. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at > Beach Access Software > Sent: Saturday, August 04, 2007 9:10 PM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] Need SMTP Code > > Dear List: > > > I have a lot of Access sites bookmarked but can never find what I need in > them. I'm looking for some code to handle email from Access using SMTP. > Does anyone know if there's a module I can crib from one of the many > Access > sites? > > MTIA > > Rocky > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.476 / Virus Database: 269.11.4/936 - Release Date: 8/4/2007 > 2:42 PM > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.476 / Virus Database: 269.11.4/936 - Release Date: 8/4/2007 > 2:42 PM > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From rbgajewski at roadrunner.com Mon Aug 6 00:36:45 2007 From: rbgajewski at roadrunner.com (Bob Gajewski) Date: Mon, 6 Aug 2007 01:36:45 -0400 Subject: [AccessD] Problem with A2003 Report caption In-Reply-To: <004301c7d4b4$496e84d0$0301a8c0@HAL9005> References: <20070801123650.4227B4F5DC@smtp.nildram.co.uk> <004301c7d4b4$496e84d0$0301a8c0@HAL9005> Message-ID: <001201c7d7eb$c71113a0$6400a8c0@DCYN3T81> Hi Folks I am running into a problem with a new report. I am using a form to select record types and a date range, and passing the parameters to the report. Everything is working perfectly and as expected *EXCEPT* that my report caption does not print on the first page. It's there from Page 2 through the end, regardless of how many pages. My form code sample is below. I have confirmed that the value of "frmDateRange" just prior to the OpenReport is "1". On the actual report, the unbound text field for the report title has a control source of "=[Caption]". If anyone has any ideas on how to fix this, or can at least point me in the right direction, I will be truly grateful. Thanks ! Bob Gajewski CODE SAMPLE (frmMembersResponses) ================================= Private Sub cmdGenerateReport_Click() On Error GoTo Err_cmdGenerateReport_Click Dim strReportName As String, strWhere As String strReportName = "rptMembersResponse" strWhere = "" ' Set strWhere for Date Range If Not IsNull(Me!dteDateRangeSelectFrom) Or Me!dteDateRangeSelectFrom <> "" Then If IsNull(strWhere) Or strWhere = "" Then strWhere = "([IncidentDate] >= #" & Me!dteDateRangeSelectFrom & "#)" Else strWhere = "(" & strWhere & ") And ([IncidentDate] >= #" & Me!dteDateRangeSelectFrom & "#)" End If End If If Not IsNull(Me!dteDateRangeSelectTo) Or Me!dteDateRangeSelectTo <> "" Then If IsNull(strWhere) Or strWhere = "" Then strWhere = "([IncidentDate] <= #" & Me!dteDateRangeSelectTo & "#)" Else strWhere = "(" & strWhere & ") And ([IncidentDate] <= #" & Me!dteDateRangeSelectTo & "#)" End If End If ' Print report Dim rpt As Report, strReportCaption As String If IsNull(strWhere) Or strWhere = "" Then Select Case frmDateRange Case 1 strReportCaption = "Member Responses for Call Year " & Format([dteDateRangeSelectFrom], "MM/DD/YYYY") & " - " & Format([dteDateRangeSelectTo], "MM/DD/YYYY") Case 2 strReportCaption = "Member Responses for Calendar Year " & DatePart("yyyy", [dteDateRangeSelectFrom]) Case 3 strReportCaption = "Member Responses for " & Format([dteDateRangeSelectFrom], "MM/DD/YYYY") & " - " & Format([dteDateRangeSelectTo], "MM/DD/YYYY") Case Else strReportCaption = "Member Responses" End Select Else Select Case frmDateRange Case 1 strReportCaption = "Selected Member Responses for Call Year " & Format([dteDateRangeSelectFrom], "MM/DD/YYYY") & " - " & Format([dteDateRangeSelectTo], "MM/DD/YYYY") Case 2 strReportCaption = "Selected Member Responses for Calendar Year " & DatePart("yyyy", [dteDateRangeSelectFrom]) Case 3 strReportCaption = "Selected Member Responses for " & Format([dteDateRangeSelectFrom], "MM/DD/YYYY") & " - " & Format([dteDateRangeSelectTo], "MM/DD/YYYY") Case Else strReportCaption = "Selected Member Responses" End Select End If MsgBox ("The value of 'strReportCaption' is " & strReportCaption & ".") DoCmd.OpenReport strReportName, acViewPreview, , strWhere Set rpt = Reports(strReportName) rpt.OrderByOn = True rpt.OrderBy = strSortOrder rpt.Caption = strReportCaption No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.4/936 - Release Date: 08/04/2007 14:42 PM From max at sherman.org.uk Mon Aug 6 02:00:46 2007 From: max at sherman.org.uk (Max Sherman) Date: Mon, 6 Aug 2007 08:00:46 +0100 Subject: [AccessD] Need SMTP Code - renamed EATBloat In-Reply-To: <000b01c7d7d2$563a6500$517a6c4c@jisshowsbs.local> References: <002201c7d785$e7330050$0d08a8c0@carltonone.local><003901c7d78a$54696340$0301a8c0@HAL9005><001601c7d793$51884d40$8119fea9@LTVM> <000b01c7d7d2$563a6500$517a6c4c@jisshowsbs.local> Message-ID: <001e01c7d7f7$847bfa80$8119fea9@LTVM> Hi William, Me too . In fact all my new mdbs start off with a copy of EATBloat (renamed to whatever) and then build/import from there. Thanks for the offer. Regards Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Monday, August 06, 2007 3:35 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Need SMTP Code Max ...if you need any beta testers, let me know ...I've got your EatBloat built into every app. William Hindman ----- Original Message ----- From: "Max Sherman" To: "'Access Developers discussion and problem solving'" Sent: Sunday, August 05, 2007 3:03 PM Subject: Re: [AccessD] Need SMTP Code > Hi Rocky, > > Better to have too much then none at all, but when you come to > compare them don't forget that with CDO you do not need any .dlls, > classes, APIs, etc. > Not even Outlook (so no Redemtion or click-yes required) or indeed any > email client at all. Plus it can be sent easily using VBA code from > within a module. All you need is the address of a domain that you can > send email through. > > I will post a complete CDO package here soon. I am currently updating > my EATBloat program with a complete overhaul and including the > options to output individual objects and import them as well, plus > some other features. > > Regards > Max > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky > Smolin at Beach Access Software > Sent: Sunday, August 05, 2007 6:59 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Need SMTP Code > > Dang! My cup runneth over. I'll check into this. > > Thanks. > > Rocky > > > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of ACTEBS > Sent: Sunday, August 05, 2007 10:28 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Need SMTP Code > > Rocky, > > The easiest and feature rich method I have found useful is by using Blat. > You can find it here: > > http://www.blat.net/ > > It even has an Access Class you can use already written: > > http://www.blat.net/examples/MSAccess_class.html > > Distribute Blat with your application and you won't need to worry > about those annoying MS messages anymore. > > HTH > > Vlad > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky > Smolin at Beach Access Software > Sent: Monday, 6 August 2007 1:44 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Need SMTP Code > > Thanks. Looks easy enough. Is it better than the CDO approach? > > Rocky > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman > Sent: Sunday, August 05, 2007 7:28 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Need SMTP Code > > Rocky, > > see: > > http://www.freevbcode.com/ShowCode.Asp?ID=109 > > works well with Access. Have used it for years. Only requires one > .DLL > > Jim. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky > Smolin at Beach Access Software > Sent: Saturday, August 04, 2007 9:10 PM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] Need SMTP Code > > Dear List: > > > I have a lot of Access sites bookmarked but can never find what I need > in them. I'm looking for some code to handle email from Access using SMTP. > Does anyone know if there's a module I can crib from one of the many > Access sites? > > MTIA > > Rocky > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.476 / Virus Database: 269.11.4/936 - Release Date: > 8/4/2007 > 2:42 PM > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.476 / Virus Database: 269.11.4/936 - Release Date: > 8/4/2007 > 2:42 PM > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at verizon.net Mon Aug 6 07:54:29 2007 From: jimdettman at verizon.net (Jim Dettman) Date: Mon, 06 Aug 2007 08:54:29 -0400 Subject: [AccessD] Need SMTP Code In-Reply-To: <002001c7d777$7d2a9050$0301a8c0@HAL9005> References: <0cd201c7d76c$dcdbf170$8abea8c0@XPS> <002001c7d777$7d2a9050$0301a8c0@HAL9005> Message-ID: <00b201c7d828$ee31c8c0$8abea8c0@XPS> Rocky, I'm not sure "better" would be the correct word, but I do find it simpler. I need only one .DLL to be registered to make the code work. BLAT is even simpler yet, but unless you use the DLL version, you have no error checking or real control over it. And last I checked, the .DLL version was lacking several key features and was a rev or two behind the command line interface. CDO has come along way. Early on there were multiple versions and they all didn't work the same. I've been quite happy with the direct SMTP code I've been using and have not needed to develop anything more sophisticated, so I have not taken another look at CDO in a long time. I believe that you still need to rely on it being installed and it only comes with certain Microsoft products. There is no separate download that I'm aware of. This is another reason I've not used it as I like to provide my apps with everything that's required and not rely on external products if at all possible. But it certainly has a lot more capabilities then sending e-mail and it may be worth starting down that road to get a handle on it for the future. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Sunday, August 05, 2007 11:44 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Need SMTP Code Thanks. Looks easy enough. Is it better than the CDO approach? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Sunday, August 05, 2007 7:28 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Need SMTP Code Rocky, see: http://www.freevbcode.com/ShowCode.Asp?ID=109 works well with Access. Have used it for years. Only requires one .DLL Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Saturday, August 04, 2007 9:10 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Need SMTP Code Dear List: I have a lot of Access sites bookmarked but can never find what I need in them. I'm looking for some code to handle email from Access using SMTP. Does anyone know if there's a module I can crib from one of the many Access sites? MTIA Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.4/936 - Release Date: 8/4/2007 2:42 PM -- 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 6 08:16:50 2007 From: dwaters at usinternet.com (Dan Waters) Date: Mon, 6 Aug 2007 08:16:50 -0500 Subject: [AccessD] Need SMTP Code In-Reply-To: <00b201c7d828$ee31c8c0$8abea8c0@XPS> References: <0cd201c7d76c$dcdbf170$8abea8c0@XPS><002001c7d777$7d2a9050$0301a8c0@HAL9005> <00b201c7d828$ee31c8c0$8abea8c0@XPS> Message-ID: <001201c7d82c$0d61c3a0$0200a8c0@danwaters> Rocky, I've used vbSendMail for several years also, and it works well. Also has a great user manual. I've incorporated the code into a single module in my Access apps. The one thing I would like to do but not sure how is to write a class that detects and reports SMTP errors (Access can't do this). The Let and Get properties are already there, I'm just don't know how to use them. Of course, the manual's author says it's easy. You do need error trapping in your app that can detect if the .dll file is not present, so the IT folks at your client can install and register the files (they tend to forget to install them with a replacement PC). You'll get 429 and 91 errors if it's not there. Other than this, I've had no other errors. It's at http://www.freevbcode.com/ShowCode.Asp?ID=109 and is called vbSendMail. HTH! Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Monday, August 06, 2007 7:54 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Need SMTP Code Rocky, I'm not sure "better" would be the correct word, but I do find it simpler. I need only one .DLL to be registered to make the code work. BLAT is even simpler yet, but unless you use the DLL version, you have no error checking or real control over it. And last I checked, the .DLL version was lacking several key features and was a rev or two behind the command line interface. CDO has come along way. Early on there were multiple versions and they all didn't work the same. I've been quite happy with the direct SMTP code I've been using and have not needed to develop anything more sophisticated, so I have not taken another look at CDO in a long time. I believe that you still need to rely on it being installed and it only comes with certain Microsoft products. There is no separate download that I'm aware of. This is another reason I've not used it as I like to provide my apps with everything that's required and not rely on external products if at all possible. But it certainly has a lot more capabilities then sending e-mail and it may be worth starting down that road to get a handle on it for the future. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Sunday, August 05, 2007 11:44 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Need SMTP Code Thanks. Looks easy enough. Is it better than the CDO approach? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Sunday, August 05, 2007 7:28 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Need SMTP Code Rocky, see: http://www.freevbcode.com/ShowCode.Asp?ID=109 works well with Access. Have used it for years. Only requires one .DLL Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Saturday, August 04, 2007 9:10 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Need SMTP Code Dear List: I have a lot of Access sites bookmarked but can never find what I need in them. I'm looking for some code to handle email from Access using SMTP. Does anyone know if there's a module I can crib from one of the many Access sites? MTIA Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.4/936 - Release Date: 8/4/2007 2:42 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Mon Aug 6 08:58:52 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Mon, 6 Aug 2007 06:58:52 -0700 Subject: [AccessD] Need SMTP Code In-Reply-To: <001201c7d82c$0d61c3a0$0200a8c0@danwaters> Message-ID: <001401c7d831$ebd35040$0301a8c0@HAL9005> Dan: Sterling endorsement. :) Looks like a good candidate. Simplest for the end user is best. With vbSendMail does the user have to know their server name, port, etc.? The less stuff they have to know the better. Thanks Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Monday, August 06, 2007 6:17 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Need SMTP Code Rocky, I've used vbSendMail for several years also, and it works well. Also has a great user manual. I've incorporated the code into a single module in my Access apps. The one thing I would like to do but not sure how is to write a class that detects and reports SMTP errors (Access can't do this). The Let and Get properties are already there, I'm just don't know how to use them. Of course, the manual's author says it's easy. You do need error trapping in your app that can detect if the .dll file is not present, so the IT folks at your client can install and register the files (they tend to forget to install them with a replacement PC). You'll get 429 and 91 errors if it's not there. Other than this, I've had no other errors. It's at http://www.freevbcode.com/ShowCode.Asp?ID=109 and is called vbSendMail. HTH! Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Monday, August 06, 2007 7:54 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Need SMTP Code Rocky, I'm not sure "better" would be the correct word, but I do find it simpler. I need only one .DLL to be registered to make the code work. BLAT is even simpler yet, but unless you use the DLL version, you have no error checking or real control over it. And last I checked, the .DLL version was lacking several key features and was a rev or two behind the command line interface. CDO has come along way. Early on there were multiple versions and they all didn't work the same. I've been quite happy with the direct SMTP code I've been using and have not needed to develop anything more sophisticated, so I have not taken another look at CDO in a long time. I believe that you still need to rely on it being installed and it only comes with certain Microsoft products. There is no separate download that I'm aware of. This is another reason I've not used it as I like to provide my apps with everything that's required and not rely on external products if at all possible. But it certainly has a lot more capabilities then sending e-mail and it may be worth starting down that road to get a handle on it for the future. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Sunday, August 05, 2007 11:44 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Need SMTP Code Thanks. Looks easy enough. Is it better than the CDO approach? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Sunday, August 05, 2007 7:28 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Need SMTP Code Rocky, see: http://www.freevbcode.com/ShowCode.Asp?ID=109 works well with Access. Have used it for years. Only requires one .DLL Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Saturday, August 04, 2007 9:10 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Need SMTP Code Dear List: I have a lot of Access sites bookmarked but can never find what I need in them. I'm looking for some code to handle email from Access using SMTP. Does anyone know if there's a module I can crib from one of the many Access sites? MTIA Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.4/936 - Release Date: 8/4/2007 2:42 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.6/938 - Release Date: 8/5/2007 4:16 PM From dwaters at usinternet.com Mon Aug 6 09:18:14 2007 From: dwaters at usinternet.com (Dan Waters) Date: Mon, 6 Aug 2007 09:18:14 -0500 Subject: [AccessD] Need SMTP Code In-Reply-To: <001401c7d831$ebd35040$0301a8c0@HAL9005> References: <001201c7d82c$0d61c3a0$0200a8c0@danwaters> <001401c7d831$ebd35040$0301a8c0@HAL9005> Message-ID: <001601c7d834$a0e61240$0200a8c0@danwaters> Rocky, Users don't need to know anything. In fact, the email will go out without even telling them anything happened, unless you put up a dialog box to tell them! But in the BE somewhere you need to store the SMTP Server Name - every company has their own. IT will know what it is, and you may want to set up a form for them to change it as needed. In the SMTP code module, you'll need to recall that SMTP Server Name, and set a property for the vbSendMail object. By tomorrow, I will post generic code showing how I've set up my SMTP code module. Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Monday, August 06, 2007 8:59 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Need SMTP Code Dan: Sterling endorsement. :) Looks like a good candidate. Simplest for the end user is best. With vbSendMail does the user have to know their server name, port, etc.? The less stuff they have to know the better. Thanks Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Monday, August 06, 2007 6:17 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Need SMTP Code Rocky, I've used vbSendMail for several years also, and it works well. Also has a great user manual. I've incorporated the code into a single module in my Access apps. The one thing I would like to do but not sure how is to write a class that detects and reports SMTP errors (Access can't do this). The Let and Get properties are already there, I'm just don't know how to use them. Of course, the manual's author says it's easy. You do need error trapping in your app that can detect if the .dll file is not present, so the IT folks at your client can install and register the files (they tend to forget to install them with a replacement PC). You'll get 429 and 91 errors if it's not there. Other than this, I've had no other errors. It's at http://www.freevbcode.com/ShowCode.Asp?ID=109 and is called vbSendMail. HTH! Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Monday, August 06, 2007 7:54 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Need SMTP Code Rocky, I'm not sure "better" would be the correct word, but I do find it simpler. I need only one .DLL to be registered to make the code work. BLAT is even simpler yet, but unless you use the DLL version, you have no error checking or real control over it. And last I checked, the .DLL version was lacking several key features and was a rev or two behind the command line interface. CDO has come along way. Early on there were multiple versions and they all didn't work the same. I've been quite happy with the direct SMTP code I've been using and have not needed to develop anything more sophisticated, so I have not taken another look at CDO in a long time. I believe that you still need to rely on it being installed and it only comes with certain Microsoft products. There is no separate download that I'm aware of. This is another reason I've not used it as I like to provide my apps with everything that's required and not rely on external products if at all possible. But it certainly has a lot more capabilities then sending e-mail and it may be worth starting down that road to get a handle on it for the future. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Sunday, August 05, 2007 11:44 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Need SMTP Code Thanks. Looks easy enough. Is it better than the CDO approach? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Sunday, August 05, 2007 7:28 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Need SMTP Code Rocky, see: http://www.freevbcode.com/ShowCode.Asp?ID=109 works well with Access. Have used it for years. Only requires one .DLL Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Saturday, August 04, 2007 9:10 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Need SMTP Code Dear List: I have a lot of Access sites bookmarked but can never find what I need in them. I'm looking for some code to handle email from Access using SMTP. Does anyone know if there's a module I can crib from one of the many Access sites? MTIA Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.4/936 - Release Date: 8/4/2007 2:42 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.6/938 - Release Date: 8/5/2007 4:16 PM -- 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 6 09:21:14 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 06 Aug 2007 16:21:14 +0200 Subject: [AccessD] Coordinating use of space on report Message-ID: Hi Steve and Arthur You may get some inspiration and methods for this at Stephen Lebans' site: http://www.lebans.com/textwidth-height.htm /gustav >>> fuller.artful at gmail.com 05-08-2007 21:07:07 >>> Somewhere there must be a chart listing the horizontal space occupied by each of the 26 characters. Using it, you could count the occurrences of each, plus the spaces, do some addition and have a precise measurement. By the time you've got the count, though, the data in the whole report may be stale :) Regards, Arthur On 8/5/07, Steve Schapel wrote: > > Thanks, Arthur. Yes, I think that will be a solution. It's just that > the arithmetic will be a bit imprecise, as the number of available > characters depends on the relative number of W's and m's in the dat, > compared with the number of i's and l's. > > Regards > Steve > > > Arthur Fuller wrote: > > What about doing a little arithmetic on each row? Would that work? You could > > right-justify the score, count the characters in same, then print as many > > chars of the team name as will still fit. From rockysmolin at bchacc.com Mon Aug 6 09:27:16 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Mon, 6 Aug 2007 07:27:16 -0700 Subject: [AccessD] Need SMTP Code In-Reply-To: <001601c7d834$a0e61240$0200a8c0@danwaters> Message-ID: <002701c7d835$e381cf30$0301a8c0@HAL9005> Great! I'll be looking for that code! Thanks, Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Monday, August 06, 2007 7:18 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Need SMTP Code Rocky, Users don't need to know anything. In fact, the email will go out without even telling them anything happened, unless you put up a dialog box to tell them! But in the BE somewhere you need to store the SMTP Server Name - every company has their own. IT will know what it is, and you may want to set up a form for them to change it as needed. In the SMTP code module, you'll need to recall that SMTP Server Name, and set a property for the vbSendMail object. By tomorrow, I will post generic code showing how I've set up my SMTP code module. Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Monday, August 06, 2007 8:59 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Need SMTP Code Dan: Sterling endorsement. :) Looks like a good candidate. Simplest for the end user is best. With vbSendMail does the user have to know their server name, port, etc.? The less stuff they have to know the better. Thanks Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Monday, August 06, 2007 6:17 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Need SMTP Code Rocky, I've used vbSendMail for several years also, and it works well. Also has a great user manual. I've incorporated the code into a single module in my Access apps. The one thing I would like to do but not sure how is to write a class that detects and reports SMTP errors (Access can't do this). The Let and Get properties are already there, I'm just don't know how to use them. Of course, the manual's author says it's easy. You do need error trapping in your app that can detect if the .dll file is not present, so the IT folks at your client can install and register the files (they tend to forget to install them with a replacement PC). You'll get 429 and 91 errors if it's not there. Other than this, I've had no other errors. It's at http://www.freevbcode.com/ShowCode.Asp?ID=109 and is called vbSendMail. HTH! Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Monday, August 06, 2007 7:54 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Need SMTP Code Rocky, I'm not sure "better" would be the correct word, but I do find it simpler. I need only one .DLL to be registered to make the code work. BLAT is even simpler yet, but unless you use the DLL version, you have no error checking or real control over it. And last I checked, the .DLL version was lacking several key features and was a rev or two behind the command line interface. CDO has come along way. Early on there were multiple versions and they all didn't work the same. I've been quite happy with the direct SMTP code I've been using and have not needed to develop anything more sophisticated, so I have not taken another look at CDO in a long time. I believe that you still need to rely on it being installed and it only comes with certain Microsoft products. There is no separate download that I'm aware of. This is another reason I've not used it as I like to provide my apps with everything that's required and not rely on external products if at all possible. But it certainly has a lot more capabilities then sending e-mail and it may be worth starting down that road to get a handle on it for the future. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Sunday, August 05, 2007 11:44 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Need SMTP Code Thanks. Looks easy enough. Is it better than the CDO approach? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Sunday, August 05, 2007 7:28 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Need SMTP Code Rocky, see: http://www.freevbcode.com/ShowCode.Asp?ID=109 works well with Access. Have used it for years. Only requires one .DLL Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Saturday, August 04, 2007 9:10 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Need SMTP Code Dear List: I have a lot of Access sites bookmarked but can never find what I need in them. I'm looking for some code to handle email from Access using SMTP. Does anyone know if there's a module I can crib from one of the many Access sites? MTIA Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.4/936 - Release Date: 8/4/2007 2:42 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.6/938 - Release Date: 8/5/2007 4:16 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.6/938 - Release Date: 8/5/2007 4:16 PM From john at winhaven.net Mon Aug 6 10:01:48 2007 From: john at winhaven.net (John Bartow) Date: Mon, 6 Aug 2007 10:01:48 -0500 Subject: [AccessD] Need SMTP Code In-Reply-To: <001201c7d82c$0d61c3a0$0200a8c0@danwaters> References: <0cd201c7d76c$dcdbf170$8abea8c0@XPS><002001c7d777$7d2a9050$0301a8c0@HAL9005><00b201c7d828$ee31c8c0$8abea8c0@XPS> <001201c7d82c$0d61c3a0$0200a8c0@danwaters> Message-ID: <03d201c7d83a$b6c6c090$6402a8c0@ScuzzPaq> FYI: with a Wise installation you can include and register dlls. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Monday, August 06, 2007 8:17 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Need SMTP Code Rocky, I've used vbSendMail for several years also, and it works well. Also has a great user manual. I've incorporated the code into a single module in my Access apps. The one thing I would like to do but not sure how is to write a class that detects and reports SMTP errors (Access can't do this). The Let and Get properties are already there, I'm just don't know how to use them. Of course, the manual's author says it's easy. You do need error trapping in your app that can detect if the .dll file is not present, so the IT folks at your client can install and register the files (they tend to forget to install them with a replacement PC). You'll get 429 and 91 errors if it's not there. Other than this, I've had no other errors. It's at http://www.freevbcode.com/ShowCode.Asp?ID=109 and is called vbSendMail. HTH! Dan Waters From actebs at actebs.com.au Mon Aug 6 10:18:24 2007 From: actebs at actebs.com.au (ACTEBS) Date: Tue, 7 Aug 2007 01:18:24 +1000 Subject: [AccessD] Need SMTP Code In-Reply-To: <03d201c7d83a$b6c6c090$6402a8c0@ScuzzPaq> Message-ID: <007801c7d83d$087ea270$0d08a8c0@carltonone.local> No need to fork out for Wise. Use the freeware Inno Setup and it'll take care of all for you: http://www.jrsoftware.org/isdl.php Absolutely awesome tool and best setup scripting tool I've used. Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Tuesday, 7 August 2007 1:02 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Need SMTP Code FYI: with a Wise installation you can include and register dlls. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Monday, August 06, 2007 8:17 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Need SMTP Code Rocky, I've used vbSendMail for several years also, and it works well. Also has a great user manual. I've incorporated the code into a single module in my Access apps. The one thing I would like to do but not sure how is to write a class that detects and reports SMTP errors (Access can't do this). The Let and Get properties are already there, I'm just don't know how to use them. Of course, the manual's author says it's easy. You do need error trapping in your app that can detect if the .dll file is not present, so the IT folks at your client can install and register the files (they tend to forget to install them with a replacement PC). You'll get 429 and 91 errors if it's not there. Other than this, I've had no other errors. It's at http://www.freevbcode.com/ShowCode.Asp?ID=109 and is called vbSendMail. HTH! Dan Waters -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From miscellany at mvps.org Mon Aug 6 10:38:13 2007 From: miscellany at mvps.org (Steve Schapel) Date: Tue, 07 Aug 2007 03:38:13 +1200 Subject: [AccessD] Coordinating use of space on report In-Reply-To: References: Message-ID: <46B74065.8030204@mvps.org> Thanks, Gustav. As it happens, I have used the report's TextWidth method, along with some code to cycle through the data and drop one character at a time until it fits. Regards Steve Gustav Brock wrote: > Hi Steve and Arthur > > You may get some inspiration and methods for this at Stephen Lebans' site: > > http://www.lebans.com/textwidth-height.htm > From jerbach.access at gmail.com Mon Aug 6 11:22:22 2007 From: jerbach.access at gmail.com (Janet Erbach) Date: Mon, 6 Aug 2007 11:22:22 -0500 Subject: [AccessD] Automatic import of tables, forms, rpts, mods Message-ID: Hello. Does anyone have some tips for me on how to create an automated import module for my database? I've created some custom functions for it that are stored in a separate database from the main one, and everytime we upgrade I have to re-import the relevant tables, forms, rpts, etc. to each workstation where the application is installed. I've linked tables into the back-end database where appropriate, and those are re-linked automatically by the main application itself. But all my other custom objects are currently imported 'by hand'. Today I created an 'import specs' table which contains the name of each object I want to import automatically; it also specifies the object type (form, table, rpt, etc). Is there some straightforward way to loop through each record in this table, delete the existing object if one with that name already exists in that workstation's app, and then import the most current one from the database that storehouses all the customizations? I did a cursory search for a utility that might handle this for me, but haven't found one thus far... Any suggestions will be appreciated! Janet Erbach From Donald.A.McGillivray at sprint.com Mon Aug 6 11:40:41 2007 From: Donald.A.McGillivray at sprint.com (McGillivray, Don [IT]) Date: Mon, 6 Aug 2007 11:40:41 -0500 Subject: [AccessD] Problem with A2003 Report caption In-Reply-To: <001201c7d7eb$c71113a0$6400a8c0@DCYN3T81> References: <20070801123650.4227B4F5DC@smtp.nildram.co.uk><004301c7d4b4$496e84d0$0301a8c0@HAL9005> <001201c7d7eb$c71113a0$6400a8c0@DCYN3T81> Message-ID: Bob, Any chance that your new report includes a sub report? I remember having had a similar problem with a report when that was the case. Don't remember exactly what the symptoms were or how I resolved it, but this might help get your gears working in the right direction. Don -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bob Gajewski Sent: Sunday, August 05, 2007 10:37 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Problem with A2003 Report caption Hi Folks I am running into a problem with a new report. I am using a form to select record types and a date range, and passing the parameters to the report. Everything is working perfectly and as expected *EXCEPT* that my report caption does not print on the first page. It's there from Page 2 through the end, regardless of how many pages. My form code sample is below. I have confirmed that the value of "frmDateRange" just prior to the OpenReport is "1". On the actual report, the unbound text field for the report title has a control source of "=[Caption]". If anyone has any ideas on how to fix this, or can at least point me in the right direction, I will be truly grateful. Thanks ! Bob Gajewski CODE SAMPLE (frmMembersResponses) ================================= Private Sub cmdGenerateReport_Click() On Error GoTo Err_cmdGenerateReport_Click Dim strReportName As String, strWhere As String strReportName = "rptMembersResponse" strWhere = "" ' Set strWhere for Date Range If Not IsNull(Me!dteDateRangeSelectFrom) Or Me!dteDateRangeSelectFrom <> "" Then If IsNull(strWhere) Or strWhere = "" Then strWhere = "([IncidentDate] >= #" & Me!dteDateRangeSelectFrom & "#)" Else strWhere = "(" & strWhere & ") And ([IncidentDate] >= #" & Me!dteDateRangeSelectFrom & "#)" End If End If If Not IsNull(Me!dteDateRangeSelectTo) Or Me!dteDateRangeSelectTo <> "" Then If IsNull(strWhere) Or strWhere = "" Then strWhere = "([IncidentDate] <= #" & Me!dteDateRangeSelectTo & "#)" Else strWhere = "(" & strWhere & ") And ([IncidentDate] <= #" & Me!dteDateRangeSelectTo & "#)" End If End If ' Print report Dim rpt As Report, strReportCaption As String If IsNull(strWhere) Or strWhere = "" Then Select Case frmDateRange Case 1 strReportCaption = "Member Responses for Call Year " & Format([dteDateRangeSelectFrom], "MM/DD/YYYY") & " - " & Format([dteDateRangeSelectTo], "MM/DD/YYYY") Case 2 strReportCaption = "Member Responses for Calendar Year " & DatePart("yyyy", [dteDateRangeSelectFrom]) Case 3 strReportCaption = "Member Responses for " & Format([dteDateRangeSelectFrom], "MM/DD/YYYY") & " - " & Format([dteDateRangeSelectTo], "MM/DD/YYYY") Case Else strReportCaption = "Member Responses" End Select Else Select Case frmDateRange Case 1 strReportCaption = "Selected Member Responses for Call Year " & Format([dteDateRangeSelectFrom], "MM/DD/YYYY") & " - " & Format([dteDateRangeSelectTo], "MM/DD/YYYY") Case 2 strReportCaption = "Selected Member Responses for Calendar Year " & DatePart("yyyy", [dteDateRangeSelectFrom]) Case 3 strReportCaption = "Selected Member Responses for " & Format([dteDateRangeSelectFrom], "MM/DD/YYYY") & " - " & Format([dteDateRangeSelectTo], "MM/DD/YYYY") Case Else strReportCaption = "Selected Member Responses" End Select End If MsgBox ("The value of 'strReportCaption' is " & strReportCaption & ".") DoCmd.OpenReport strReportName, acViewPreview, , strWhere Set rpt = Reports(strReportName) rpt.OrderByOn = True rpt.OrderBy = strSortOrder rpt.Caption = strReportCaption No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.4/936 - Release Date: 08/04/2007 14:42 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From pctech at mybellybutton.com Mon Aug 6 12:04:59 2007 From: pctech at mybellybutton.com (pctech at mybellybutton.com) Date: Mon, 06 Aug 2007 13:04:59 -0400 Subject: [AccessD] Need SMTP Code Message-ID: <11173460.228591186419899814.JavaMail.servlet@perfora> Dan: Sterling endorsement. :) Looks like a good candidate. Simplest for the end user is best. With vbSendMail does the user have to know their server name, port, etc.? The less stuff they have to know the better. Thanks Rocky ------------------------------------------------------------- Sorry about this horrible web mailer. I am on the road. There is a more efficient solution, I think. The problem with registering DLLs is that you have to worry about incompatibilities with other software. Also, some IT departments are very picky about what they will let you run. I have found an application that I use in conjunction with other things for my SOX notifications. It's called BLAT. It doesn't need to be installed, per se, it just needs to have files copied to certain locations, which are well documented. I, personally, call this using batch files from Scheduled Tasks, but you could also call them from within ShellRun commands. I've used this application for about four years now problem-free. The URL is http://www.blat.net/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Monday, August 06, 2007 6:17 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Need SMTP Code Rocky, I've used vbSendMail for several years also, and it works well. Also has a great user manual. I've incorporated the code into a single module in my Access apps. The one thing I would like to do but not sure how is to write a class that detects and reports SMTP errors (Access can't do this). The Let and Get properties are already there, I'm just don't know how to use them. Of course, the manual's author says it's easy. You do need error trapping in your app that can detect if the .dll file is not present, so the IT folks at your client can install and register the files (they tend to forget to install them with a replacement PC). You'll get 429 and 91 errors if it's not there. Other than this, I've had no other errors. It's at http://www.freevbcode.com/ShowCode.Asp?ID=109 and is called vbSendMail. HTH! Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Monday, August 06, 2007 7:54 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Need SMTP Code Rocky, I'm not sure "better" would be the correct word, but I do find it simpler. I need only one .DLL to be registered to make the code work. BLAT is even simpler yet, but unless you use the DLL version, you have no error checking or real control over it. And last I checked, the .DLL version was lacking several key features and was a rev or two behind the command line interface. CDO has come along way. Early on there were multiple versions and they all didn't work the same. I've been quite happy with the direct SMTP code I've been using and have not needed to develop anything more sophisticated, so I have not taken another look at CDO in a long time. I believe that you still need to rely on it being installed and it only comes with certain Microsoft products. There is no separate download that I'm aware of. This is another reason I've not used it as I like to provide my apps with everything that's required and not rely on external products if at all possible. But it certainly has a lot more capabilities then sending e-mail and it may be worth starting down that road to get a handle on it for the future. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Sunday, August 05, 2007 11:44 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Need SMTP Code Thanks. Looks easy enough. Is it better than the CDO approach? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Sunday, August 05, 2007 7:28 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Need SMTP Code Rocky, see: http://www.freevbcode.com/ShowCode.Asp?ID=109 works well with Access. Have used it for years. Only requires one .DLL Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Saturday, August 04, 2007 9:10 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Need SMTP Code Dear List: I have a lot of Access sites bookmarked but can never find what I need in them. I'm looking for some code to handle email from Access using SMTP. Does anyone know if there's a module I can crib from one of the many Access sites? MTIA Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.4/936 - Release Date: 8/4/2007 2:42 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.6/938 - Release Date: 8/5/2007 4:16 PM -- 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 6 12:34:08 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 06 Aug 2007 19:34:08 +0200 Subject: [AccessD] Need SMTP Code Message-ID: Hi Rocky Before you get too happy, note all the traps no matter what tool you decide for. For a corporate workstation it is quite common that it has no access to the outside on port 25. If it has, you or the app must provide the name of the external SMTP server and the user's credentials. These must be required or your SMTP server will be an open relay which will be blocked within an hour. If port 25 is open, it may be blocked at the corporate firewall. If so, you can only access an in-house (corporate) SMTP server, the name of which - again - must be provided. It may even require a secure connection which only the more sophisticated SMTP clients offer, for example Chilkat: http://www.chilkatsoft.com/email-activex.asp If no port 25, you may connect to the corporate mail system, say, via Outlook or MAPI which is a completely different ball game. /gustav >>> pctech at mybellybutton.com 06-08-2007 19:04:59 >>> Dan: Sterling endorsement. :) Looks like a good candidate. Simplest for the end user is best. With vbSendMail does the user have to know their server name, port, etc.? The less stuff they have to know the better. Thanks Rocky From rockysmolin at bchacc.com Mon Aug 6 12:40:10 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Mon, 6 Aug 2007 10:40:10 -0700 Subject: [AccessD] Need SMTP Code In-Reply-To: Message-ID: <006901c7d850$d91eb4c0$0301a8c0@HAL9005> So what do you think is the best solution? This legacy app I'm enhancing has some SMTP code in it but I haven't looked at it closely yet. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, August 06, 2007 10:34 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Need SMTP Code Hi Rocky Before you get too happy, note all the traps no matter what tool you decide for. For a corporate workstation it is quite common that it has no access to the outside on port 25. If it has, you or the app must provide the name of the external SMTP server and the user's credentials. These must be required or your SMTP server will be an open relay which will be blocked within an hour. If port 25 is open, it may be blocked at the corporate firewall. If so, you can only access an in-house (corporate) SMTP server, the name of which - again - must be provided. It may even require a secure connection which only the more sophisticated SMTP clients offer, for example Chilkat: http://www.chilkatsoft.com/email-activex.asp If no port 25, you may connect to the corporate mail system, say, via Outlook or MAPI which is a completely different ball game. /gustav >>> pctech at mybellybutton.com 06-08-2007 19:04:59 >>> Dan: Sterling endorsement. :) Looks like a good candidate. Simplest for the end user is best. With vbSendMail does the user have to know their server name, port, etc.? The less stuff they have to know the better. Thanks Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.6/938 - Release Date: 8/5/2007 4:16 PM From rockysmolin at bchacc.com Mon Aug 6 12:52:15 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Mon, 6 Aug 2007 10:52:15 -0700 Subject: [AccessD] Need SMTP Code In-Reply-To: <11173460.228591186419899814.JavaMail.servlet@perfora> Message-ID: <006b01c7d852$890c6fc0$0301a8c0@HAL9005> Hmmm...A second endorsement for BLAT. So we've got BLAT, CDO, vbSendMail, and roll-your-own SMTP code. Oh, and the Access object which I'll probably put in as an option for the user. Any additional votes or opinions welcome. I've got a couple days work on other features before I have to make a decision on this one. Thanks for all your input. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of pctech at mybellybutton.com Sent: Monday, August 06, 2007 10:05 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Need SMTP Code Dan: Sterling endorsement. :) Looks like a good candidate. Simplest for the end user is best. With vbSendMail does the user have to know their server name, port, etc.? The less stuff they have to know the better. Thanks Rocky ------------------------------------------------------------- Sorry about this horrible web mailer. I am on the road. There is a more efficient solution, I think. The problem with registering DLLs is that you have to worry about incompatibilities with other software. Also, some IT departments are very picky about what they will let you run. I have found an application that I use in conjunction with other things for my SOX notifications. It's called BLAT. It doesn't need to be installed, per se, it just needs to have files copied to certain locations, which are well documented. I, personally, call this using batch files from Scheduled Tasks, but you could also call them from within ShellRun commands. I've used this application for about four years now problem-free. The URL is http://www.blat.net/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Monday, August 06, 2007 6:17 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Need SMTP Code Rocky, I've used vbSendMail for several years also, and it works well. Also has a great user manual. I've incorporated the code into a single module in my Access apps. The one thing I would like to do but not sure how is to write a class that detects and reports SMTP errors (Access can't do this). The Let and Get properties are already there, I'm just don't know how to use them. Of course, the manual's author says it's easy. You do need error trapping in your app that can detect if the .dll file is not present, so the IT folks at your client can install and register the files (they tend to forget to install them with a replacement PC). You'll get 429 and 91 errors if it's not there. Other than this, I've had no other errors. It's at http://www.freevbcode.com/ShowCode.Asp?ID=109 and is called vbSendMail. HTH! Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Monday, August 06, 2007 7:54 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Need SMTP Code Rocky, I'm not sure "better" would be the correct word, but I do find it simpler. I need only one .DLL to be registered to make the code work. BLAT is even simpler yet, but unless you use the DLL version, you have no error checking or real control over it. And last I checked, the .DLL version was lacking several key features and was a rev or two behind the command line interface. CDO has come along way. Early on there were multiple versions and they all didn't work the same. I've been quite happy with the direct SMTP code I've been using and have not needed to develop anything more sophisticated, so I have not taken another look at CDO in a long time. I believe that you still need to rely on it being installed and it only comes with certain Microsoft products. There is no separate download that I'm aware of. This is another reason I've not used it as I like to provide my apps with everything that's required and not rely on external products if at all possible. But it certainly has a lot more capabilities then sending e-mail and it may be worth starting down that road to get a handle on it for the future. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Sunday, August 05, 2007 11:44 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Need SMTP Code Thanks. Looks easy enough. Is it better than the CDO approach? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Sunday, August 05, 2007 7:28 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Need SMTP Code Rocky, see: http://www.freevbcode.com/ShowCode.Asp?ID=109 works well with Access. Have used it for years. Only requires one .DLL Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Saturday, August 04, 2007 9:10 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Need SMTP Code Dear List: I have a lot of Access sites bookmarked but can never find what I need in them. I'm looking for some code to handle email from Access using SMTP. Does anyone know if there's a module I can crib from one of the many Access sites? MTIA Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.4/936 - Release Date: 8/4/2007 2:42 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.6/938 - Release Date: 8/5/2007 4:16 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.6/938 - Release Date: 8/5/2007 4:16 PM From Gustav at cactus.dk Mon Aug 6 13:02:17 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 06 Aug 2007 20:02:17 +0200 Subject: [AccessD] Need SMTP Code Message-ID: Hi Rocky I would use that code - or at least test it. Provide a default external SMTP server with credentials you set up in the app. If that fails for a user, provide an option for modifying the default settings. But there is no single "right" way to do this. We once had a server running for receiving reports from a dozen clients. The setup was simple (no credentials) as we had recorded the IP addresses of the senders - any other connection was refused. Worked great, but over time the sender addresses of course changed and that required a little maintenance. And one client had no port 25 so he had to e-mail the reports which we then handled manually. It is also a question of confidence. If the transmitted data are confident, either the data (file or transfer) or the connection must be encrypted. So may ifs ... /gustav >>> rockysmolin at bchacc.com 06-08-2007 19:40:10 >>> So what do you think is the best solution? This legacy app I'm enhancing has some SMTP code in it but I haven't looked at it closely yet. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, August 06, 2007 10:34 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Need SMTP Code Hi Rocky Before you get too happy, note all the traps no matter what tool you decide for. For a corporate workstation it is quite common that it has no access to the outside on port 25. If it has, you or the app must provide the name of the external SMTP server and the user's credentials. These must be required or your SMTP server will be an open relay which will be blocked within an hour. If port 25 is open, it may be blocked at the corporate firewall. If so, you can only access an in-house (corporate) SMTP server, the name of which - again - must be provided. It may even require a secure connection which only the more sophisticated SMTP clients offer, for example Chilkat: http://www.chilkatsoft.com/email-activex.asp If no port 25, you may connect to the corporate mail system, say, via Outlook or MAPI which is a completely different ball game. /gustav >>> pctech at mybellybutton.com 06-08-2007 19:04:59 >>> Dan: Sterling endorsement. :) Looks like a good candidate. Simplest for the end user is best. With vbSendMail does the user have to know their server name, port, etc.? The less stuff they have to know the better. Thanks Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.6/938 - Release Date: 8/5/2007 4:16 PM -- 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 6 13:04:54 2007 From: dwaters at usinternet.com (Dan Waters) Date: Mon, 6 Aug 2007 13:04:54 -0500 Subject: [AccessD] Need SMTP Code In-Reply-To: References: Message-ID: <002901c7d854$4aee6b60$0200a8c0@danwaters> Gustav, Can port 25 be opened and closed in VBA? Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, August 06, 2007 12:34 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Need SMTP Code Hi Rocky Before you get too happy, note all the traps no matter what tool you decide for. For a corporate workstation it is quite common that it has no access to the outside on port 25. If it has, you or the app must provide the name of the external SMTP server and the user's credentials. These must be required or your SMTP server will be an open relay which will be blocked within an hour. If port 25 is open, it may be blocked at the corporate firewall. If so, you can only access an in-house (corporate) SMTP server, the name of which - again - must be provided. It may even require a secure connection which only the more sophisticated SMTP clients offer, for example Chilkat: http://www.chilkatsoft.com/email-activex.asp If no port 25, you may connect to the corporate mail system, say, via Outlook or MAPI which is a completely different ball game. /gustav >>> pctech at mybellybutton.com 06-08-2007 19:04:59 >>> Dan: Sterling endorsement. :) Looks like a good candidate. Simplest for the end user is best. With vbSendMail does the user have to know their server name, port, etc.? The less stuff they have to know the better. Thanks Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From wdhindman at dejpolsystems.com Mon Aug 6 13:08:50 2007 From: wdhindman at dejpolsystems.com (William Hindman) Date: Mon, 6 Aug 2007 14:08:50 -0400 Subject: [AccessD] Automatic import of tables, forms, rpts, mods References: Message-ID: <002e01c7d854$d86504e0$0c10a8c0@jisshowsbs.local> Janet ...not quite sure what you are after here but lets try this instead ...create a separate fe mdb on your developer system ...put all of your functionality into it and version it ...then publish it to an udate folder on your website or the client's server ...if your fe mdb is versioned properly and you have auto update code installed, the user log-on sequence will check your update folder's fe mdb version against the installed one and replace the current installed version on the client if it is older than the one on the server. ...there are a number of auto update routines available ...I use the one from Allen Browne's site and have not had a problem with it yet. William Hindman ----- Original Message ----- From: "Janet Erbach" To: "Access Developers discussion and problem solving" Sent: Monday, August 06, 2007 12:22 PM Subject: [AccessD] Automatic import of tables, forms, rpts, mods > Hello. > > Does anyone have some tips for me on how to create an automated import > module for my database? I've created some custom functions for it that > are > stored in a separate database from the main one, and everytime we upgrade > I > have to re-import the relevant tables, forms, rpts, etc. to each > workstation > where the application is installed. I've linked tables into the back-end > database where appropriate, and those are re-linked automatically by the > main application itself. But all my other custom objects are currently > imported 'by hand'. > > Today I created an 'import specs' table which contains the name of each > object I want to import automatically; it also specifies the object type > (form, table, rpt, etc). Is there some straightforward way to loop > through > each record in this table, delete the existing object if one with that > name > already exists in that workstation's app, and then import the most current > one from the database that storehouses all the customizations? > > I did a cursory search for a utility that might handle this for me, but > haven't found one thus far... > > Any suggestions will be appreciated! > > Janet Erbach > -- > 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 6 13:08:43 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 06 Aug 2007 20:08:43 +0200 Subject: [AccessD] Need SMTP Code Message-ID: Hi Dan No. That's a firewall setting in either the internal Windows Firewall or an external firewall (or both). /gustav >>> dwaters at usinternet.com 06-08-2007 20:04:54 >>> Gustav, Can port 25 be opened and closed in VBA? Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, August 06, 2007 12:34 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Need SMTP Code Hi Rocky Before you get too happy, note all the traps no matter what tool you decide for. For a corporate workstation it is quite common that it has no access to the outside on port 25. If it has, you or the app must provide the name of the external SMTP server and the user's credentials. These must be required or your SMTP server will be an open relay which will be blocked within an hour. If port 25 is open, it may be blocked at the corporate firewall. If so, you can only access an in-house (corporate) SMTP server, the name of which - again - must be provided. It may even require a secure connection which only the more sophisticated SMTP clients offer, for example Chilkat: http://www.chilkatsoft.com/email-activex.asp If no port 25, you may connect to the corporate mail system, say, via Outlook or MAPI which is a completely different ball game. /gustav >>> pctech at mybellybutton.com 06-08-2007 19:04:59 >>> Dan: Sterling endorsement. :) Looks like a good candidate. Simplest for the end user is best. With vbSendMail does the user have to know their server name, port, etc.? The less stuff they have to know the better. Thanks Rocky From adtp at airtelbroadband.in Mon Aug 6 13:17:37 2007 From: adtp at airtelbroadband.in (A.D.TEJPAL) Date: Mon, 6 Aug 2007 23:47:37 +0530 Subject: [AccessD] Popup Form References: <004301c7d7a3$80c5b470$0301a8c0@HAL9005> Message-ID: <00d901c7d856$38940400$8757a27a@pcadt> Rocky, Unless the PopUp property of a form is set to Yes, you can not prevent other forms from coming to the top. However, this property can be set only in design view. If you are in a position to explain as to what exactly is sought to be accomplished by making the form PopUp on some occasions and non-PopUp on others, a work-around could be explored. Best wishes, A.D.Tejpal --------------- ----- Original Message ----- From: Rocky Smolin at Beach Access Software To: 'Access Developers discussion and problem solving' Sent: Monday, August 06, 2007 02:29 Subject: Re: [AccessD] Popup Form I'll have to try it with the minimize button disabled - see what happens. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Max Sherman Sent: Sunday, August 05, 2007 12:26 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Popup Form I *think* you will find that the difference is that popup stays on top of everything whereas dialogue can be minimised. Haven't check though. Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Sunday, August 05, 2007 2:31 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Popup Form Steve, et al: Dialog is the same as popup? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Schapel Sent: Sunday, August 05, 2007 12:46 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Popup Form Rocky, I think something like this should work... If YourSwitch Then DoCmd.OpenForm "YourForm", , , , , acDialog Else DoCmd.OpenForm "YourForm" End If Regards Steve Rocky Smolin at Beach Access Software wrote: > Can a form be opened in either popup or not depending on the value of a switch? From rockysmolin at bchacc.com Mon Aug 6 13:37:02 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Mon, 6 Aug 2007 11:37:02 -0700 Subject: [AccessD] Popup Form In-Reply-To: <00d901c7d856$38940400$8757a27a@pcadt> Message-ID: <007001c7d858$c8238080$0301a8c0@HAL9005> A.D.: My client had the idea and knows a little about Access so I told him to go ahead and see what he could do. He ran into a kind of dead end. I suspect that there's a different way to get done what he needs. The app was developed with all unmaximized forms. The first form I modified I maximized and that gave him a lot more real estate. He also likes the ADH form resizing code which I put into one of the forms. So we're trying to make the look of the app consistent. Anyway, this item is now on the 'B' list. Thanks and regards, Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of A.D.TEJPAL Sent: Monday, August 06, 2007 11:18 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Popup Form Rocky, Unless the PopUp property of a form is set to Yes, you can not prevent other forms from coming to the top. However, this property can be set only in design view. If you are in a position to explain as to what exactly is sought to be accomplished by making the form PopUp on some occasions and non-PopUp on others, a work-around could be explored. Best wishes, A.D.Tejpal --------------- ----- Original Message ----- From: Rocky Smolin at Beach Access Software To: 'Access Developers discussion and problem solving' Sent: Monday, August 06, 2007 02:29 Subject: Re: [AccessD] Popup Form I'll have to try it with the minimize button disabled - see what happens. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Max Sherman Sent: Sunday, August 05, 2007 12:26 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Popup Form I *think* you will find that the difference is that popup stays on top of everything whereas dialogue can be minimised. Haven't check though. Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Sunday, August 05, 2007 2:31 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Popup Form Steve, et al: Dialog is the same as popup? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Schapel Sent: Sunday, August 05, 2007 12:46 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Popup Form Rocky, I think something like this should work... If YourSwitch Then DoCmd.OpenForm "YourForm", , , , , acDialog Else DoCmd.OpenForm "YourForm" End If Regards Steve Rocky Smolin at Beach Access Software wrote: > Can a form be opened in either popup or not depending on the value of a switch? -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.6/938 - Release Date: 8/5/2007 4:16 PM From adtp at airtelbroadband.in Mon Aug 6 13:55:22 2007 From: adtp at airtelbroadband.in (A.D.TEJPAL) Date: Tue, 7 Aug 2007 00:25:22 +0530 Subject: [AccessD] Problem with A2003 Report caption References: <20070801123650.4227B4F5DC@smtp.nildram.co.uk><004301c7d4b4$496e 84d0$0301a8c0@HAL9005> <001201c7d7eb$c71113a0$6400a8c0@DCYN3T81> Message-ID: <010e01c7d85b$771cd3f0$8757a27a@pcadt> Bob, You can try passing the caption string as report's OpenArgs as follows: DoCmd.OpenReport strReportName, _ acViewPreview, , strWhere, , strReportCaption Code in report's open event would be: Private Sub Report_Open(Cancel As Integer) Me.Caption = Me.OpenArgs End Sub Best wishes, A.D.Tejpal --------------- ----- Original Message ----- From: Bob Gajewski To: 'Access Developers discussion and problem solving' Sent: Monday, August 06, 2007 11:06 Subject: [AccessD] Problem with A2003 Report caption Hi Folks I am running into a problem with a new report. I am using a form to select record types and a date range, and passing the parameters to the report. Everything is working perfectly and as expected *EXCEPT* that my report caption does not print on the first page. It's there from Page 2 through the end, regardless of how many pages. My form code sample is below. I have confirmed that the value of "frmDateRange" just prior to the OpenReport is "1". On the actual report, the unbound text field for the report title has a control source of "=[Caption]". If anyone has any ideas on how to fix this, or can at least point me in the right direction, I will be truly grateful. Thanks ! Bob Gajewski CODE SAMPLE (frmMembersResponses) ================================= Private Sub cmdGenerateReport_Click() On Error GoTo Err_cmdGenerateReport_Click Dim strReportName As String, strWhere As String strReportName = "rptMembersResponse" strWhere = "" ' Set strWhere for Date Range If Not IsNull(Me!dteDateRangeSelectFrom) Or Me!dteDateRangeSelectFrom <> "" Then If IsNull(strWhere) Or strWhere = "" Then strWhere = "([IncidentDate] >= #" & Me!dteDateRangeSelectFrom & "#)" Else strWhere = "(" & strWhere & ") And ([IncidentDate] >= #" & Me!dteDateRangeSelectFrom & "#)" End If End If If Not IsNull(Me!dteDateRangeSelectTo) Or Me!dteDateRangeSelectTo <> "" Then If IsNull(strWhere) Or strWhere = "" Then strWhere = "([IncidentDate] <= #" & Me!dteDateRangeSelectTo & "#)" Else strWhere = "(" & strWhere & ") And ([IncidentDate] <= #" & Me!dteDateRangeSelectTo & "#)" End If End If ' Print report Dim rpt As Report, strReportCaption As String If IsNull(strWhere) Or strWhere = "" Then Select Case frmDateRange Case 1 strReportCaption = "Member Responses for Call Year " & Format([dteDateRangeSelectFrom], "MM/DD/YYYY") & " - " & Format([dteDateRangeSelectTo], "MM/DD/YYYY") Case 2 strReportCaption = "Member Responses for Calendar Year " & DatePart("yyyy", [dteDateRangeSelectFrom]) Case 3 strReportCaption = "Member Responses for " & Format([dteDateRangeSelectFrom], "MM/DD/YYYY") & " - " & Format([dteDateRangeSelectTo], "MM/DD/YYYY") Case Else strReportCaption = "Member Responses" End Select Else Select Case frmDateRange Case 1 strReportCaption = "Selected Member Responses for Call Year " & Format([dteDateRangeSelectFrom], "MM/DD/YYYY") & " - " & Format([dteDateRangeSelectTo], "MM/DD/YYYY") Case 2 strReportCaption = "Selected Member Responses for Calendar Year " & DatePart("yyyy", [dteDateRangeSelectFrom]) Case 3 strReportCaption = "Selected Member Responses for " & Format([dteDateRangeSelectFrom], "MM/DD/YYYY") & " - " & Format([dteDateRangeSelectTo], "MM/DD/YYYY") Case Else strReportCaption = "Selected Member Responses" End Select End If MsgBox ("The value of 'strReportCaption' is " & strReportCaption & ".") DoCmd.OpenReport strReportName, acViewPreview, , strWhere Set rpt = Reports(strReportName) rpt.OrderByOn = True rpt.OrderBy = strSortOrder rpt.Caption = strReportCaption From jerbach.access at gmail.com Mon Aug 6 14:35:32 2007 From: jerbach.access at gmail.com (Janet Erbach) Date: Mon, 6 Aug 2007 14:35:32 -0500 Subject: [AccessD] Automatic import of tables, forms, rpts, mods In-Reply-To: <002e01c7d854$d86504e0$0c10a8c0@jisshowsbs.local> References: <002e01c7d854$d86504e0$0c10a8c0@jisshowsbs.local> Message-ID: Thanks, William - I'll try it! On 8/6/07, William Hindman wrote: > > Janet > > ...not quite sure what you are after here but lets try this instead > ...create a separate fe mdb on your developer system ...put all of your > functionality into it and version it ...then publish it to an udate folder > on your website or the client's server ...if your fe mdb is versioned > properly and you have auto update code installed, the user log-on sequence > will check your update folder's fe mdb version against the installed one > and > replace the current installed version on the client if it is older than > the > one on the server. > > ...there are a number of auto update routines available ...I use the one > from Allen Browne's site and have not had a problem with it yet. > > William Hindman > ----- Original Message ----- > From: "Janet Erbach" > To: "Access Developers discussion and problem solving" > > Sent: Monday, August 06, 2007 12:22 PM > Subject: [AccessD] Automatic import of tables, forms, rpts, mods > > > > Hello. > > > > Does anyone have some tips for me on how to create an automated import > > module for my database? I've created some custom functions for it that > > are > > stored in a separate database from the main one, and everytime we > upgrade > > I > > have to re-import the relevant tables, forms, rpts, etc. to each > > workstation > > where the application is installed. I've linked tables into the > back-end > > database where appropriate, and those are re-linked automatically by the > > main application itself. But all my other custom objects are currently > > imported 'by hand'. > > > > Today I created an 'import specs' table which contains the name of each > > object I want to import automatically; it also specifies the object > type > > (form, table, rpt, etc). Is there some straightforward way to loop > > through > > each record in this table, delete the existing object if one with that > > name > > already exists in that workstation's app, and then import the most > current > > one from the database that storehouses all the customizations? > > > > I did a cursory search for a utility that might handle this for me, but > > haven't found one thus far... > > > > Any suggestions will be appreciated! > > > > Janet Erbach > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > 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 6 15:02:40 2007 From: DWUTKA at Marlow.com (Drew Wutka) Date: Mon, 6 Aug 2007 15:02:40 -0500 Subject: [AccessD] Popup Form In-Reply-To: <007001c7d858$c8238080$0301a8c0@HAL9005> Message-ID: Sorry for being so late on the thread, but I'm curious why the big fuss over popup or not. The popup property on a form only does something if it's the only popup form on display. Other popup forms can receive the focus over it. If you are just looking for a way to push it to the head (or the back) of the window order, there are easier ways to do this other then with the popup property. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Monday, August 06, 2007 1:37 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Popup Form A.D.: My client had the idea and knows a little about Access so I told him to go ahead and see what he could do. He ran into a kind of dead end. I suspect that there's a different way to get done what he needs. The app was developed with all unmaximized forms. The first form I modified I maximized and that gave him a lot more real estate. He also likes the ADH form resizing code which I put into one of the forms. So we're trying to make the look of the app consistent. Anyway, this item is now on the 'B' list. Thanks and regards, Rocky The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI BusinessSensitve material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. From rockysmolin at bchacc.com Mon Aug 6 15:43:12 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Mon, 6 Aug 2007 13:43:12 -0700 Subject: [AccessD] Popup Form In-Reply-To: Message-ID: <007e01c7d86a$68442d60$0301a8c0@HAL9005> No, he was looking for a way to set the property at run time based on a user preference switch. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Monday, August 06, 2007 1:03 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Popup Form Sorry for being so late on the thread, but I'm curious why the big fuss over popup or not. The popup property on a form only does something if it's the only popup form on display. Other popup forms can receive the focus over it. If you are just looking for a way to push it to the head (or the back) of the window order, there are easier ways to do this other then with the popup property. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Monday, August 06, 2007 1:37 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Popup Form A.D.: My client had the idea and knows a little about Access so I told him to go ahead and see what he could do. He ran into a kind of dead end. I suspect that there's a different way to get done what he needs. The app was developed with all unmaximized forms. The first form I modified I maximized and that gave him a lot more real estate. He also likes the ADH form resizing code which I put into one of the forms. So we're trying to make the look of the app consistent. Anyway, this item is now on the 'B' list. Thanks and regards, Rocky The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI BusinessSensitve material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.6/938 - Release Date: 8/5/2007 4:16 PM From robert at servicexp.com Mon Aug 6 17:16:21 2007 From: robert at servicexp.com (Robert) Date: Mon, 6 Aug 2007 18:16:21 -0400 Subject: [AccessD] Need SMTP Code In-Reply-To: <006b01c7d852$890c6fc0$0301a8c0@HAL9005> References: <11173460.228591186419899814.JavaMail.servlet@perfora> <006b01c7d852$890c6fc0$0301a8c0@HAL9005> Message-ID: <000601c7d877$6be55d10$0801a8c0@roberts> Rocky, I've had the opportunity to use a few of the products mentioned and I have always returned to /N Software's IP*Works. I use it Exclusively no, and have never had a problem with any of there products. A bit pricy but worth every cent, IMHO WBR Robert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Monday, August 06, 2007 1:52 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Need SMTP Code Hmmm...A second endorsement for BLAT. So we've got BLAT, CDO, vbSendMail, and roll-your-own SMTP code. Oh, and the Access object which I'll probably put in as an option for the user. Any additional votes or opinions welcome. I've got a couple days work on other features before I have to make a decision on this one. Thanks for all your input. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of pctech at mybellybutton.com Sent: Monday, August 06, 2007 10:05 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Need SMTP Code Dan: Sterling endorsement. :) Looks like a good candidate. Simplest for the end user is best. With vbSendMail does the user have to know their server name, port, etc.? The less stuff they have to know the better. Thanks Rocky ------------------------------------------------------------- Sorry about this horrible web mailer. I am on the road. There is a more efficient solution, I think. The problem with registering DLLs is that you have to worry about incompatibilities with other software. Also, some IT departments are very picky about what they will let you run. I have found an application that I use in conjunction with other things for my SOX notifications. It's called BLAT. It doesn't need to be installed, per se, it just needs to have files copied to certain locations, which are well documented. I, personally, call this using batch files from Scheduled Tasks, but you could also call them from within ShellRun commands. I've used this application for about four years now problem-free. The URL is http://www.blat.net/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Monday, August 06, 2007 6:17 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Need SMTP Code Rocky, I've used vbSendMail for several years also, and it works well. Also has a great user manual. I've incorporated the code into a single module in my Access apps. The one thing I would like to do but not sure how is to write a class that detects and reports SMTP errors (Access can't do this). The Let and Get properties are already there, I'm just don't know how to use them. Of course, the manual's author says it's easy. You do need error trapping in your app that can detect if the .dll file is not present, so the IT folks at your client can install and register the files (they tend to forget to install them with a replacement PC). You'll get 429 and 91 errors if it's not there. Other than this, I've had no other errors. It's at http://www.freevbcode.com/ShowCode.Asp?ID=109 and is called vbSendMail. HTH! Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Monday, August 06, 2007 7:54 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Need SMTP Code Rocky, I'm not sure "better" would be the correct word, but I do find it simpler. I need only one .DLL to be registered to make the code work. BLAT is even simpler yet, but unless you use the DLL version, you have no error checking or real control over it. And last I checked, the .DLL version was lacking several key features and was a rev or two behind the command line interface. CDO has come along way. Early on there were multiple versions and they all didn't work the same. I've been quite happy with the direct SMTP code I've been using and have not needed to develop anything more sophisticated, so I have not taken another look at CDO in a long time. I believe that you still need to rely on it being installed and it only comes with certain Microsoft products. There is no separate download that I'm aware of. This is another reason I've not used it as I like to provide my apps with everything that's required and not rely on external products if at all possible. But it certainly has a lot more capabilities then sending e-mail and it may be worth starting down that road to get a handle on it for the future. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Sunday, August 05, 2007 11:44 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Need SMTP Code Thanks. Looks easy enough. Is it better than the CDO approach? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Sunday, August 05, 2007 7:28 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Need SMTP Code Rocky, see: http://www.freevbcode.com/ShowCode.Asp?ID=109 works well with Access. Have used it for years. Only requires one .DLL Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Saturday, August 04, 2007 9:10 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Need SMTP Code Dear List: I have a lot of Access sites bookmarked but can never find what I need in them. I'm looking for some code to handle email from Access using SMTP. Does anyone know if there's a module I can crib from one of the many Access sites? MTIA Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.4/936 - Release Date: 8/4/2007 2:42 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.6/938 - Release Date: 8/5/2007 4:16 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.6/938 - Release Date: 8/5/2007 4:16 PM -- 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 6 18:06:33 2007 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue, 07 Aug 2007 09:06:33 +1000 Subject: [AccessD] Need SMTP Code In-Reply-To: <006b01c7d852$890c6fc0$0301a8c0@HAL9005> References: <11173460.228591186419899814.JavaMail.servlet@perfora>, <006b01c7d852$890c6fc0$0301a8c0@HAL9005> Message-ID: <46B7A979.30413.1464ED11@stuart.lexacorp.com.pg> On 6 Aug 2007 at 10:52, Rocky Smolin at Beach Access wrote: > Hmmm...A second endorsement for BLAT. > > So we've got BLAT, CDO, vbSendMail, and roll-your-own SMTP code. Oh, and > the Access object which I'll probably put in as an option for the user. > > Any additional votes or opinions welcome. I've got a couple days work on > other features before I have to make a decision on this one. Make that a third endorsement for BLAT. I've got several automated mailing systems using it, one of them sends out several thousand PDF invoices monthly. The DLL version is a "real" DLL which doesn't need to be registered, just drop it in an appropriate location. RWT CDO, Here's one quote I found on the web: CDO on the other hand, was the "heavy weight" MAPI focused email automation programming interface, that was primarily focused on desktop applications needing interface with the MAPI (ms mail application programming interface) mail system (i.e. the mail system that underlies Outlook by and large). CDO is not really in "vogue" now either. MS is moving toward SMTP as the standard mail protocol rather than MAPI, and LDAP as the standard directory interface for things like address books. On the 2000, XP and Server 2003 platforms, you can use the automation interface in what is called CDOex to send SMTP mail in a much more robust way than you could with CDONTS. You have to write your own code to build up multipart MIME email message sections, but if all you want to do is send a plain text SMTP mail, CDOex is also pretty easy to use. CDOex, also requires an SMTP service to be running to function. From dwaters at usinternet.com Mon Aug 6 20:23:37 2007 From: dwaters at usinternet.com (Dan Waters) Date: Mon, 6 Aug 2007 20:23:37 -0500 Subject: [AccessD] Need SMTP Code In-Reply-To: <000601c7d877$6be55d10$0801a8c0@roberts> References: <11173460.228591186419899814.JavaMail.servlet@perfora><006b01c7d852$890c6fc0$0301a8c0@HAL9005> <000601c7d877$6be55d10$0801a8c0@roberts> Message-ID: <005501c7d891$9487e520$0200a8c0@danwaters> Robert - can you post a link to their site? Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Robert Sent: Monday, August 06, 2007 5:16 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Need SMTP Code Rocky, I've had the opportunity to use a few of the products mentioned and I have always returned to /N Software's IP*Works. I use it Exclusively no, and have never had a problem with any of there products. A bit pricy but worth every cent, IMHO WBR Robert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Monday, August 06, 2007 1:52 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Need SMTP Code Hmmm...A second endorsement for BLAT. So we've got BLAT, CDO, vbSendMail, and roll-your-own SMTP code. Oh, and the Access object which I'll probably put in as an option for the user. Any additional votes or opinions welcome. I've got a couple days work on other features before I have to make a decision on this one. Thanks for all your input. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of pctech at mybellybutton.com Sent: Monday, August 06, 2007 10:05 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Need SMTP Code Dan: Sterling endorsement. :) Looks like a good candidate. Simplest for the end user is best. With vbSendMail does the user have to know their server name, port, etc.? The less stuff they have to know the better. Thanks Rocky ------------------------------------------------------------- Sorry about this horrible web mailer. I am on the road. There is a more efficient solution, I think. The problem with registering DLLs is that you have to worry about incompatibilities with other software. Also, some IT departments are very picky about what they will let you run. I have found an application that I use in conjunction with other things for my SOX notifications. It's called BLAT. It doesn't need to be installed, per se, it just needs to have files copied to certain locations, which are well documented. I, personally, call this using batch files from Scheduled Tasks, but you could also call them from within ShellRun commands. I've used this application for about four years now problem-free. The URL is http://www.blat.net/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Monday, August 06, 2007 6:17 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Need SMTP Code Rocky, I've used vbSendMail for several years also, and it works well. Also has a great user manual. I've incorporated the code into a single module in my Access apps. The one thing I would like to do but not sure how is to write a class that detects and reports SMTP errors (Access can't do this). The Let and Get properties are already there, I'm just don't know how to use them. Of course, the manual's author says it's easy. You do need error trapping in your app that can detect if the .dll file is not present, so the IT folks at your client can install and register the files (they tend to forget to install them with a replacement PC). You'll get 429 and 91 errors if it's not there. Other than this, I've had no other errors. It's at http://www.freevbcode.com/ShowCode.Asp?ID=109 and is called vbSendMail. HTH! Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Monday, August 06, 2007 7:54 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Need SMTP Code Rocky, I'm not sure "better" would be the correct word, but I do find it simpler. I need only one .DLL to be registered to make the code work. BLAT is even simpler yet, but unless you use the DLL version, you have no error checking or real control over it. And last I checked, the .DLL version was lacking several key features and was a rev or two behind the command line interface. CDO has come along way. Early on there were multiple versions and they all didn't work the same. I've been quite happy with the direct SMTP code I've been using and have not needed to develop anything more sophisticated, so I have not taken another look at CDO in a long time. I believe that you still need to rely on it being installed and it only comes with certain Microsoft products. There is no separate download that I'm aware of. This is another reason I've not used it as I like to provide my apps with everything that's required and not rely on external products if at all possible. But it certainly has a lot more capabilities then sending e-mail and it may be worth starting down that road to get a handle on it for the future. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Sunday, August 05, 2007 11:44 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Need SMTP Code Thanks. Looks easy enough. Is it better than the CDO approach? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Sunday, August 05, 2007 7:28 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Need SMTP Code Rocky, see: http://www.freevbcode.com/ShowCode.Asp?ID=109 works well with Access. Have used it for years. Only requires one .DLL Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Saturday, August 04, 2007 9:10 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Need SMTP Code Dear List: I have a lot of Access sites bookmarked but can never find what I need in them. I'm looking for some code to handle email from Access using SMTP. Does anyone know if there's a module I can crib from one of the many Access sites? MTIA Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.4/936 - Release Date: 8/4/2007 2:42 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.6/938 - Release Date: 8/5/2007 4:16 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.6/938 - Release Date: 8/5/2007 4:16 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From robert at servicexp.com Mon Aug 6 20:43:41 2007 From: robert at servicexp.com (Robert) Date: Mon, 6 Aug 2007 21:43:41 -0400 Subject: [AccessD] Need SMTP Code In-Reply-To: <005501c7d891$9487e520$0200a8c0@danwaters> References: <11173460.228591186419899814.JavaMail.servlet@perfora><006b01c7d852$890c6fc0$0301a8c0@HAL9005><000601c7d877$6be55d10$0801a8c0@roberts> <005501c7d891$9487e520$0200a8c0@danwaters> Message-ID: <000b01c7d894$62e65490$0801a8c0@roberts> Dan, I think this will work.. Direct url to the product in question. Watch for wrap... http://www.nsoftware.com/ipworks/technologies.aspx?sku=ipa6-a WBR Robert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Monday, August 06, 2007 9:24 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Need SMTP Code Robert - can you post a link to their site? Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Robert Sent: Monday, August 06, 2007 5:16 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Need SMTP Code Rocky, I've had the opportunity to use a few of the products mentioned and I have always returned to /N Software's IP*Works. I use it Exclusively no, and have never had a problem with any of there products. A bit pricy but worth every cent, IMHO WBR Robert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Monday, August 06, 2007 1:52 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Need SMTP Code Hmmm...A second endorsement for BLAT. So we've got BLAT, CDO, vbSendMail, and roll-your-own SMTP code. Oh, and the Access object which I'll probably put in as an option for the user. Any additional votes or opinions welcome. I've got a couple days work on other features before I have to make a decision on this one. Thanks for all your input. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of pctech at mybellybutton.com Sent: Monday, August 06, 2007 10:05 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Need SMTP Code Dan: Sterling endorsement. :) Looks like a good candidate. Simplest for the end user is best. With vbSendMail does the user have to know their server name, port, etc.? The less stuff they have to know the better. Thanks Rocky ------------------------------------------------------------- Sorry about this horrible web mailer. I am on the road. There is a more efficient solution, I think. The problem with registering DLLs is that you have to worry about incompatibilities with other software. Also, some IT departments are very picky about what they will let you run. I have found an application that I use in conjunction with other things for my SOX notifications. It's called BLAT. It doesn't need to be installed, per se, it just needs to have files copied to certain locations, which are well documented. I, personally, call this using batch files from Scheduled Tasks, but you could also call them from within ShellRun commands. I've used this application for about four years now problem-free. The URL is http://www.blat.net/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Monday, August 06, 2007 6:17 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Need SMTP Code Rocky, I've used vbSendMail for several years also, and it works well. Also has a great user manual. I've incorporated the code into a single module in my Access apps. The one thing I would like to do but not sure how is to write a class that detects and reports SMTP errors (Access can't do this). The Let and Get properties are already there, I'm just don't know how to use them. Of course, the manual's author says it's easy. You do need error trapping in your app that can detect if the .dll file is not present, so the IT folks at your client can install and register the files (they tend to forget to install them with a replacement PC). You'll get 429 and 91 errors if it's not there. Other than this, I've had no other errors. It's at http://www.freevbcode.com/ShowCode.Asp?ID=109 and is called vbSendMail. HTH! Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Monday, August 06, 2007 7:54 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Need SMTP Code Rocky, I'm not sure "better" would be the correct word, but I do find it simpler. I need only one .DLL to be registered to make the code work. BLAT is even simpler yet, but unless you use the DLL version, you have no error checking or real control over it. And last I checked, the .DLL version was lacking several key features and was a rev or two behind the command line interface. CDO has come along way. Early on there were multiple versions and they all didn't work the same. I've been quite happy with the direct SMTP code I've been using and have not needed to develop anything more sophisticated, so I have not taken another look at CDO in a long time. I believe that you still need to rely on it being installed and it only comes with certain Microsoft products. There is no separate download that I'm aware of. This is another reason I've not used it as I like to provide my apps with everything that's required and not rely on external products if at all possible. But it certainly has a lot more capabilities then sending e-mail and it may be worth starting down that road to get a handle on it for the future. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Sunday, August 05, 2007 11:44 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Need SMTP Code Thanks. Looks easy enough. Is it better than the CDO approach? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Sunday, August 05, 2007 7:28 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Need SMTP Code Rocky, see: http://www.freevbcode.com/ShowCode.Asp?ID=109 works well with Access. Have used it for years. Only requires one .DLL Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Saturday, August 04, 2007 9:10 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Need SMTP Code Dear List: I have a lot of Access sites bookmarked but can never find what I need in them. I'm looking for some code to handle email from Access using SMTP. Does anyone know if there's a module I can crib from one of the many Access sites? MTIA Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.4/936 - Release Date: 8/4/2007 2:42 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.6/938 - Release Date: 8/5/2007 4:16 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.6/938 - Release Date: 8/5/2007 4:16 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From robert at servicexp.com Mon Aug 6 20:56:39 2007 From: robert at servicexp.com (Robert) Date: Mon, 6 Aug 2007 21:56:39 -0400 Subject: [AccessD] Need SMTP Code In-Reply-To: <000b01c7d894$62e65490$0801a8c0@roberts> References: <11173460.228591186419899814.JavaMail.servlet@perfora><006b01c7d852$890c6fc0$0301a8c0@HAL9005><000601c7d877$6be55d10$0801a8c0@roberts><005501c7d891$9487e520$0200a8c0@danwaters> <000b01c7d894$62e65490$0801a8c0@roberts> Message-ID: <000c01c7d896$32771ef0$0801a8c0@roberts> I should add, you can purchase it cheaper through the url below... http://www.xtras.net/products/ipworks/ WBR Robert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Robert Sent: Monday, August 06, 2007 9:44 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Need SMTP Code Dan, I think this will work.. Direct url to the product in question. Watch for wrap... http://www.nsoftware.com/ipworks/technologies.aspx?sku=ipa6-a WBR Robert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Monday, August 06, 2007 9:24 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Need SMTP Code Robert - can you post a link to their site? Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Robert Sent: Monday, August 06, 2007 5:16 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Need SMTP Code Rocky, I've had the opportunity to use a few of the products mentioned and I have always returned to /N Software's IP*Works. I use it Exclusively no, and have never had a problem with any of there products. A bit pricy but worth every cent, IMHO WBR Robert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Monday, August 06, 2007 1:52 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Need SMTP Code Hmmm...A second endorsement for BLAT. So we've got BLAT, CDO, vbSendMail, and roll-your-own SMTP code. Oh, and the Access object which I'll probably put in as an option for the user. Any additional votes or opinions welcome. I've got a couple days work on other features before I have to make a decision on this one. Thanks for all your input. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of pctech at mybellybutton.com Sent: Monday, August 06, 2007 10:05 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Need SMTP Code Dan: Sterling endorsement. :) Looks like a good candidate. Simplest for the end user is best. With vbSendMail does the user have to know their server name, port, etc.? The less stuff they have to know the better. Thanks Rocky ------------------------------------------------------------- Sorry about this horrible web mailer. I am on the road. There is a more efficient solution, I think. The problem with registering DLLs is that you have to worry about incompatibilities with other software. Also, some IT departments are very picky about what they will let you run. I have found an application that I use in conjunction with other things for my SOX notifications. It's called BLAT. It doesn't need to be installed, per se, it just needs to have files copied to certain locations, which are well documented. I, personally, call this using batch files from Scheduled Tasks, but you could also call them from within ShellRun commands. I've used this application for about four years now problem-free. The URL is http://www.blat.net/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Monday, August 06, 2007 6:17 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Need SMTP Code Rocky, I've used vbSendMail for several years also, and it works well. Also has a great user manual. I've incorporated the code into a single module in my Access apps. The one thing I would like to do but not sure how is to write a class that detects and reports SMTP errors (Access can't do this). The Let and Get properties are already there, I'm just don't know how to use them. Of course, the manual's author says it's easy. You do need error trapping in your app that can detect if the .dll file is not present, so the IT folks at your client can install and register the files (they tend to forget to install them with a replacement PC). You'll get 429 and 91 errors if it's not there. Other than this, I've had no other errors. It's at http://www.freevbcode.com/ShowCode.Asp?ID=109 and is called vbSendMail. HTH! Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Monday, August 06, 2007 7:54 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Need SMTP Code Rocky, I'm not sure "better" would be the correct word, but I do find it simpler. I need only one .DLL to be registered to make the code work. BLAT is even simpler yet, but unless you use the DLL version, you have no error checking or real control over it. And last I checked, the .DLL version was lacking several key features and was a rev or two behind the command line interface. CDO has come along way. Early on there were multiple versions and they all didn't work the same. I've been quite happy with the direct SMTP code I've been using and have not needed to develop anything more sophisticated, so I have not taken another look at CDO in a long time. I believe that you still need to rely on it being installed and it only comes with certain Microsoft products. There is no separate download that I'm aware of. This is another reason I've not used it as I like to provide my apps with everything that's required and not rely on external products if at all possible. But it certainly has a lot more capabilities then sending e-mail and it may be worth starting down that road to get a handle on it for the future. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Sunday, August 05, 2007 11:44 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Need SMTP Code Thanks. Looks easy enough. Is it better than the CDO approach? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Sunday, August 05, 2007 7:28 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Need SMTP Code Rocky, see: http://www.freevbcode.com/ShowCode.Asp?ID=109 works well with Access. Have used it for years. Only requires one .DLL Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Saturday, August 04, 2007 9:10 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Need SMTP Code Dear List: I have a lot of Access sites bookmarked but can never find what I need in them. I'm looking for some code to handle email from Access using SMTP. Does anyone know if there's a module I can crib from one of the many Access sites? MTIA Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.4/936 - Release Date: 8/4/2007 2:42 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.6/938 - Release Date: 8/5/2007 4:16 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.6/938 - Release Date: 8/5/2007 4:16 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Mon Aug 6 21:05:33 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 6 Aug 2007 22:05:33 -0400 Subject: [AccessD] Kerio Personal firewall now Subbelt personal Firewall Message-ID: <20070807020535.04F85BE4A@smtp-auth.no-ip.com> John W. Colby Colby Consulting www.ColbyConsulting.com From fuller.artful at gmail.com Mon Aug 6 22:32:44 2007 From: fuller.artful at gmail.com (Arthur Fuller) Date: Mon, 6 Aug 2007 23:32:44 -0400 Subject: [AccessD] A puzzle re: differences between 2000 and 2005 In-Reply-To: <29f585dd0708061815xc48a1aer423399f6ab27e89b@mail.gmail.com> References: <29f585dd0708061815xc48a1aer423399f6ab27e89b@mail.gmail.com> Message-ID: <29f585dd0708062032r62b46c28i1924e6dff799259d@mail.gmail.com> I regularly use a dialog in my apps that contains a calendar and allows you to set a date range, which values are then passed to a report using InputParameters. The form works perfectly with a sql 2000 database but apparently not with a sql 2005 database. Has something changed regarding datetime fields in 2005? The forms and the InputParameters settings are identical, but I get an error in the 2005 app. It's using Access 2000 format, and otherwise runs fine in Access 2000 and 2003. The form is slick and I'd hate to stop using it. I cannot figure out what's wrong. If I have to, I'll convert the database to SQL 2000 format just so I can continue using this form, but that is less than ideal. Anybody got a clue as to why this behavior occurs? Or alternatively, a pop-up calendar control known to work against a SQL 2005 database? TIA, Arthur From stuart at lexacorp.com.pg Mon Aug 6 22:30:09 2007 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue, 07 Aug 2007 13:30:09 +1000 Subject: [AccessD] [dba-Tech] Kerio Personal firewall now Subbelt personal Firewall In-Reply-To: <20070807020535.04F85BE4A@smtp-auth.no-ip.com> References: <20070807020535.04F85BE4A@smtp-auth.no-ip.com> Message-ID: <46B7E741.863.155642ED@stuart.lexacorp.com.pg> On 6 Aug 2007 at 22:05, jwcolby wrote: > > Are you trying to tell us something? :-) From wdhindman at dejpolsystems.com Mon Aug 6 22:58:15 2007 From: wdhindman at dejpolsystems.com (William Hindman) Date: Mon, 6 Aug 2007 23:58:15 -0400 Subject: [AccessD] [dba-Tech] Kerio Personal firewall now Subbeltpersonal Firewall References: <20070807020535.04F85BE4A@smtp-auth.no-ip.com> <46B7E741.863.155642ED@stuart.lexacorp.com.pg> Message-ID: <001101c7d8a7$2f3acff0$517a6c4c@jisshowsbs.local> ...that he grows more obtuse with each passing day? :)))) William Hindman ----- Original Message ----- From: "Stuart McLachlan" To: "'Access Developers discussion and problem solving'" ; "'Discussion of Hardware and Software issues'" Sent: Monday, August 06, 2007 11:30 PM Subject: Re: [AccessD] [dba-Tech] Kerio Personal firewall now Subbeltpersonal Firewall > On 6 Aug 2007 at 22:05, jwcolby wrote: > >> >> > > Are you trying to tell us something? :-) > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From Susan.Klos at fldoe.org Tue Aug 7 06:43:04 2007 From: Susan.Klos at fldoe.org (Klos, Susan) Date: Tue, 7 Aug 2007 07:43:04 -0400 Subject: [AccessD] Appending in a module Message-ID: I thought I could do this on my own, but it has been a long time since I have had a chance to do any programming in Access. Anyway here is my problem and I would greatly appreciate any help. I have 35 tables all with the same basic name except for a number -- dist_35_INDV0607. The 35 can be anything from 01 to 35. What I would like to do is loop through these tables and append 4 fields to a table that has just those fields in it. Here is a sample of the code I was using: For i = 10 To 35 DoCmd.RunSQL "INSERT INTO [tblPercentBlack-Hisp] ( Dist, Schol, sid, race ) SELECT dist_" & i & "_INDV0607.distenrl, dist_" & i & "_INDV0607.schlenrl_corrected, dist_" & i & "_INDV0607.sid, dist_" & i & "_INDV0607.Race FROM dist_" & i & "_INDV0607; ", -1 Next i My ultimate goal is to find the percent black and percent Hispanic for the combined tables. Some of you may be wondering why I have 35 separate tables. The reason is that I am working with a flat file crated in SAS with over 2 million records and 200 fields. I tried bringing in the whole table and Access balked. It has just been too long since I have done any programming, and I am having trouble getting back on the bike. Especially since the bike version is now 2003 and the last version I used for programming was 97. Susan Klos Evaluation and Reporting 325 W. Gaines Street Tallahassee, FL 32399 850-245-0708 susan.klos at fldoe.org Please take a few minutes to provide feedback on the quality of service you received from our staff. The Department of Education values your feedback as a customer. Commissioner of Education Jeanine Blomberg is committed to continuously assessing and improving the level and quality of services provided to you.Simply use the link below. Thank you in advance for completing the survey. http://data.fldoe.org/cs/default.cfm?staff=Susan.Klos at fldoe.org|07:43:04%20Tue%2007%20Aug%202007 From Susan.Klos at fldoe.org Tue Aug 7 06:46:49 2007 From: Susan.Klos at fldoe.org (Klos, Susan) Date: Tue, 7 Aug 2007 07:46:49 -0400 Subject: [AccessD] append in a module Message-ID: Never mind it seems to be working now. Thanks anyway. Susan Klos Evaluation and Reporting 325 W. Gaines Street Tallahassee, FL 32399 850-245-0708 susan.klos at fldoe.org Please take a few minutes to provide feedback on the quality of service you received from our staff. The Department of Education values your feedback as a customer. Commissioner of Education Jeanine Blomberg is committed to continuously assessing and improving the level and quality of services provided to you.Simply use the link below. Thank you in advance for completing the survey. http://data.fldoe.org/cs/default.cfm?staff=Susan.Klos at fldoe.org|07:46:49%20Tue%2007%20Aug%202007 From jwcolby at colbyconsulting.com Tue Aug 7 07:04:34 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 7 Aug 2007 08:04:34 -0400 Subject: [AccessD] [dba-Tech] Kerio Personal firewall now Subbeltpersonal Firewall In-Reply-To: <46B7E741.863.155642ED@stuart.lexacorp.com.pg> Message-ID: <20070807120436.59A00BC63@smtp-auth.no-ip.com> LOL. Nope, just that the Kerio firewall was rescued by sunbelt and is still available. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Monday, August 06, 2007 11:30 PM To: 'Access Developers discussion and problem solving'; 'Discussion of Hardware and Software issues' Subject: Re: [AccessD] [dba-Tech] Kerio Personal firewall now Subbeltpersonal Firewall On 6 Aug 2007 at 22:05, jwcolby wrote: > > Are you trying to tell us something? :-) -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dwaters at usinternet.com Tue Aug 7 07:41:54 2007 From: dwaters at usinternet.com (Dan Waters) Date: Tue, 7 Aug 2007 07:41:54 -0500 Subject: [AccessD] Generic Code for SMTP Email Using vbSendMail Message-ID: <000c01c7d8f0$561a66f0$0200a8c0@danwaters> Hope this is helpful! Any Comments? Dan Waters __________________________________________________________________________ Private Sub SendEmailGeneric() '-- This would come from a form or standard module Call SendEmailSMTPGeneric("Dan Waters", "Problem 912 is now assigned to you.", "frmProblemMain", "NotifyAssignee", "The Problem Description is . . .", "C:\Problems\Problem 912.doc", , True, True) End Sub Public Sub SendEmailSMTPGeneric(stgTo As String, _ Optional stgSubject As String, _ Optional stgForm As String, _ Optional stgProcedure As String, _ Optional stgMessage As String, _ Optional stgAttachment As String, _ Optional stgRecordNumber As String, _ Optional blnSendToCurrent As Boolean, _ Optional blnHideEmailNotice As Boolean) On Error GoTo EH Dim poSendMail As Object Dim stgFromEmailAddress As String Dim blnShowEmailMessage As Boolean Dim stgCurrentMachineName As String Dim stgSystemAcronym As String If IsNull(stgTo) Then Exit Sub End If If stgTo = "" Then Exit Sub End If stgCurrentMachineName = CurrentPCName '-- Each customer can have their own System Acronym stgSystemAcronym = SystemAcronym '-- Normally don't send an email to the person currently logged on If blnSendToCurrent = False Then If stgTo = CurrentPerson Then Exit Sub End If End If '-- Get the current user's email address stgFromEmailAddress = EmailAddressUserName(CurrentUser) '-- Get separate email addresses for each person in the stgTo list. _ Modular variables are used - could also be Functions MstgAllAddresses = "" MstgTo = "" Call GetSeparateEmailAddresses(stgTo) If MstgTo = "" Then Exit Sub End If '-- Late Binding Set poSendMail = CreateObject("vbSendMail.clsSendMail") '-- Get the SMTP Name (provided by customer) poSendMail.SMTPHost = SMTPServerName '-- Set the From Display Name as being from the system instead of from a person poSendMail.FromDisplayName = SystemAcronym & " Notification" '-- The sending person's email address is recorded, but isn't all that obvious poSendMail.FROM = stgFromEmailAddress poSendMail.ReplyToAddress = stgFromEmailAddress '-- Add a message if there is one If stgMessage <> "" Then poSendMail.Message = stgMessage End If '-- Multiple attachments can be sent If Not IsEmpty(stgAttachment) And stgAttachment <> "" Then poSendMail.Attachment = stgAttachment End If '-- Define recipients' email addresses poSendMail.RecipientDisplayName = MstgTo poSendMail.Recipient = MstgAllAddresses poSendMail.Subject = stgSubject '-- When email is originated from the developer's PC, don't actually send email If stgCurrentMachineName <> "DanWaters" Then poSendMail.Connect poSendMail.Send poSendMail.Disconnect End If '-- Does this user want to see email messages? blnShowEmailMessage = ShowEmailMessages '-- Display an 'Email Sent' message for various circumstances If blnShowEmailMessage = True And stgProcedure <> "UserLicenses" And stgProcedure <> "DeveloperEmail" And blnHideEmailNotice = False Then If InStr(MstgTo, "@") <> 0 Then MsgBox "Email To: " & MstgTo & vbNewLine & vbNewLine & "Subject: " & stgSubject, vbOKOnly, "Email Sent Notice" Else FormattedMsgBox GstgReminder, "Email To: " & MstgTo & vbNewLine & vbNewLine & "Subject: " & stgSubject & "@ @", vbOKOnly, "Email Sent Notice" End If End If Exit Sub EH: Application.Echo True Call GlobalErrors("", Err.Number, Err.Description, "Email SMTP Generic", "SendEmailSMTPGeneric", stgForm & ": " & stgRecordNumber, stgProcedure, "Line " & Erl) End Sub From fuller.artful at gmail.com Tue Aug 7 07:53:06 2007 From: fuller.artful at gmail.com (Arthur Fuller) Date: Tue, 7 Aug 2007 08:53:06 -0400 Subject: [AccessD] Recordset question Message-ID: <29f585dd0708070553r79d37a9en2a651f156d63a230@mail.gmail.com> Given an ADODB recordset that has been opened, should one moveFirst and then check for EOF, or vice-versa? Will it error if you moveFirst and there are no records in the set? TIA, Arthur From Chester_Kaup at kindermorgan.com Tue Aug 7 07:59:37 2007 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Tue, 7 Aug 2007 07:59:37 -0500 Subject: [AccessD] Recordset question In-Reply-To: <29f585dd0708070553r79d37a9en2a651f156d63a230@mail.gmail.com> References: <29f585dd0708070553r79d37a9en2a651f156d63a230@mail.gmail.com> Message-ID: I would check for EOF first. You will get an error if you try to move to a record that does not exist. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Tuesday, August 07, 2007 7:53 AM To: Access Developers discussion and problem solving Subject: [AccessD] Recordset question Given an ADODB recordset that has been opened, should one moveFirst and then check for EOF, or vice-versa? Will it error if you moveFirst and there are no records in the set? TIA, Arthur -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Tue Aug 7 10:43:51 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 07 Aug 2007 17:43:51 +0200 Subject: [AccessD] OT: Icons Message-ID: Hi all Here are a couple of very neat collections (free): http://www.famfamfam.com/lab/icons/ /gustav >>> BBarabash at TappeConstruction.com 27-05-2005 16:39 >>> This was discussed a while ago. Credit Goes to Joe Rojas, Joshua B, Martin, Drew and Francisco. http://www.marvilla.us/ http://www.foood.net/icons/ http://www.studiotwentyeight.net/icons.htm http://xcession.web1000.com/pages/default.html http://www.hardwaregeeks.com/board/forumdisplay.php?s=&forumid=128 http://www.jonmega.com/~clotz/ http://www.deskmod.com/?show=showcat&cat_name=icons http://www.deviantart.com/browse/t/icon/winicons/ http://www.dotico.com/ http://icons.visualnoise.net/ http://icons.wbchug.net/ http://www.deathlace.tk/ http://www.logipole.com/ http://axialis.com http://www.aha-soft.com/iconxp/index.htm -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey Sent: Friday, May 27, 2005 8:22 AM To: Dba Subject: [AccessD] OT: Icons Hi all Does anyone have a source for good icons/images? Serious, neat ones not cartoon-y. I alwsys run into this problem when the customer asks for a picture on a screen. I've got DIB Pictures but that's limited to Windows-related stuff, so when I need a car, an ambulance, a fire, etc I'm stuffed. And when I Google "free icons" I get a million links, mostly to sites which want to charge you in the end. Any good pointers? -- Andy Lacey http://www.minstersystems.co.uk From cfoust at infostatsystems.com Tue Aug 7 11:40:01 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 7 Aug 2007 09:40:01 -0700 Subject: [AccessD] Recordset question In-Reply-To: <29f585dd0708070553r79d37a9en2a651f156d63a230@mail.gmail.com> References: <29f585dd0708070553r79d37a9en2a651f156d63a230@mail.gmail.com> Message-ID: Nope, with an ADO recordset, check for EOF and BOF (empty recordset). Don't try a movefirst otherwise. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Tuesday, August 07, 2007 5:53 AM To: Access Developers discussion and problem solving Subject: [AccessD] Recordset question Given an ADODB recordset that has been opened, should one moveFirst and then check for EOF, or vice-versa? Will it error if you moveFirst and there are no records in the set? TIA, Arthur -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From hollisvj at pgdp.usec.com Tue Aug 7 12:25:16 2007 From: hollisvj at pgdp.usec.com (Hollis, Virginia) Date: Tue, 7 Aug 2007 12:25:16 -0500 Subject: [AccessD] No Duplicates Message-ID: <703BDA18A87DFA4CB265A86F42E4178D028E8D63@c2k3exchange.pgdp.corp.usec.com> I am trying to check for duplicates when a user enters data in the primary key. I don't want them to be able to enter the data in the field at all. The ContainerNo is a txt field. I think I am missing a quote or is this wrong all together? Virginia ********* Private Sub ContainerNo_AfterUpdate() If Not IsNull(ContainerNo) Then If DCount("ContainerNo", "tbl_Containers", "ContainerNo = " & [ContainerNo]) > 0 Then MsgBox "You have entered a Container that already exists" ContainerNo.SetFocus ContainerNo.Undo End If End If End Sub From robin at musicalmemories.co.uk Tue Aug 7 12:21:45 2007 From: robin at musicalmemories.co.uk (Robin ) Date: Tue, 7 Aug 2007 18:21:45 +0100 Subject: [AccessD] No Duplicates Message-ID: <560E2B80EC8F624B93A87B943B7A9CD553058F@rgiserv.rg.local> Hi Virginia Try (for a string value) If DCount("ContainerNo", "tbl_Containers", "ContainerNo = '" & [ContainerNo])& "'" RGds Robin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hollis, Virginia Sent: 07 August 2007 18:25 To: accessD at databaseadvisors.com Subject: [AccessD] No Duplicates I am trying to check for duplicates when a user enters data in the primary key. I don't want them to be able to enter the data in the field at all. The ContainerNo is a txt field. I think I am missing a quote or is this wrong all together? Virginia ********* Private Sub ContainerNo_AfterUpdate() If Not IsNull(ContainerNo) Then If DCount("ContainerNo", "tbl_Containers", "ContainerNo = " & [ContainerNo]) > 0 Then MsgBox "You have entered a Container that already exists" ContainerNo.SetFocus ContainerNo.Undo End If End If End Sub -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From markamatte at hotmail.com Tue Aug 7 12:39:00 2007 From: markamatte at hotmail.com (Mark A Matte) Date: Tue, 07 Aug 2007 17:39:00 +0000 Subject: [AccessD] check for file in ftp site In-Reply-To: <007601c7cf2d$fb5e55d0$0200a8c0@ULTRADNT> Message-ID: Sorry for the delayed response...I have been 'Out of Commission' for the past few weeks...and not able to work. The method I use for FTP is all contained within Access. It was sent to me(or a link to it) around 3 years ago from someone on the list (no credits in the code) and can' remember who sent it. Baasically it all revolves around a couple of large modules...with a bunch of api calls. I really don't know what to discuss...unless you want me to post the main FTPCLIENT Class Module. Please let me know your thoughts. Thanks, Mark A. Matte >From: "Steve Conklin" >Reply-To: Access Developers discussion and problem >solving >To: "'Access Developers discussion and problem >solving'" >Subject: Re: [AccessD] check for file in ftp site >Date: Wed, 25 Jul 2007 22:37:54 -0400 > >I don't necessarily want your file, but would rather see here a discussion >of technique and maybe a couple lines of the most relevant code. I think >more of us benefit that way. There are so many ways to do this - Are you >using an API? A 3rd party client? Generating a script to use with the >built-in FTP.exe (which is what I normally do) ? > >Tia, >Steve > > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte >Sent: Tuesday, July 24, 2007 11:25 AM >To: accessd at databaseadvisors.com >Subject: Re: [AccessD] check for file in ftp site > >Hello All, > >I am more than happy to send almost anything to almost anyone...but as we >are getting back into some of our Netiquette Practices...please send any >other "Me Too"'s to me directly...to lessen the List traffic. > >Thanks, > >Mark A. Matte > >P.S...Doug, I sent you a copy already...good luck...its just an ugly >scrapped together example. > > > >From: "Doug Barnes" > >Reply-To: Access Developers discussion and problem > >solving > >To: "Access Developers discussion and problem > >solving" > >Subject: Re: [AccessD] check for file in ftp site > >Date: Tue, 24 Jul 2007 10:49:10 -0400 > > > >Would love to see a copy, as well > > > > > >Douglas Barnes > > > >Starn Technical Services > >P.O. Box 1172 > >15957 Conneaut Lake Road, Suite 7 > >Meadville, PA 16335 > > > >doug at starntech.com > >P: 814.724.1045 > >F: 814.337.3460 > > > > > >-----Original Message----- > >From: accessd-bounces at databaseadvisors.com > >[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mark A Matte > >Sent: Monday, July 23, 2007 4:25 PM > >To: accessd at databaseadvisors.com > >Subject: Re: [AccessD] check for file in ftp site > > > > > >Sending You a zip file offline. > > > > > > >From: "Reuben Cummings" > > >Reply-To: Access Developers discussion and problem > > >solving > > >To: "AccessD" > > >Subject: [AccessD] check for file in ftp site > > >Date: Mon, 23 Jul 2007 15:35:56 -0400 > > > > > >I am wanting to log into an ftp site, look thru all the txt files (only > >txt > > >files), and download all files that are new since the last check. > > > > > >The files are all numbered sequentially so I can parse out the numbers >to > > >determine what files are new. > > > > > >However, I could use some assistance in looping thru the txt file >names. > > > > > >Thanks. > > > > > >Reuben Cummings > > >GFC, LLC > > >812.523.1017 > > > > > > > > > > > >-- > > >AccessD mailing list > > >AccessD at databaseadvisors.com > > >http://databaseadvisors.com/mailman/listinfo/accessd > > >Website: http://www.databaseadvisors.com > > > >_________________________________________________________________ > >http://newlivehotmail.com > > > >-- > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > > > >-- > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > >_________________________________________________________________ >Need a brain boost? Recharge with a stimulating game. Play now! >http://club.live.com/home.aspx?icid=club_hotmailtextlink1 > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ A new home for Mom, no cleanup required. All starts here. http://www.reallivemoms.com?ocid=TXT_TAGHM&loc=us From wdhindman at dejpolsystems.com Tue Aug 7 12:45:27 2007 From: wdhindman at dejpolsystems.com (William Hindman) Date: Tue, 7 Aug 2007 13:45:27 -0400 Subject: [AccessD] OT: Icons References: Message-ID: <001501c7d91a$be36fbc0$0c10a8c0@jisshowsbs.local> ...sweet :) William Hindman ----- Original Message ----- From: "Gustav Brock" To: Sent: Tuesday, August 07, 2007 11:43 AM Subject: Re: [AccessD] OT: Icons > Hi all > > Here are a couple of very neat collections (free): > > http://www.famfamfam.com/lab/icons/ > > /gustav > >>>> BBarabash at TappeConstruction.com 27-05-2005 16:39 >>> > This was discussed a while ago. > Credit Goes to Joe Rojas, Joshua B, Martin, Drew and Francisco. > > http://www.marvilla.us/ > http://www.foood.net/icons/ > http://www.studiotwentyeight.net/icons.htm > http://xcession.web1000.com/pages/default.html > http://www.hardwaregeeks.com/board/forumdisplay.php?s=&forumid=128 > http://www.jonmega.com/~clotz/ > http://www.deskmod.com/?show=showcat&cat_name=icons > http://www.deviantart.com/browse/t/icon/winicons/ > http://www.dotico.com/ > http://icons.visualnoise.net/ > http://icons.wbchug.net/ > http://www.deathlace.tk/ > http://www.logipole.com/ > http://axialis.com > http://www.aha-soft.com/iconxp/index.htm > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey > Sent: Friday, May 27, 2005 8:22 AM > To: Dba > Subject: [AccessD] OT: Icons > > > Hi all > Does anyone have a source for good icons/images? Serious, neat ones not > cartoon-y. I alwsys run into this problem when the customer asks for a > picture on a screen. I've got DIB Pictures but that's limited to > Windows-related stuff, so when I need a car, an ambulance, a fire, etc > I'm stuffed. And when I Google "free icons" I get a million links, > mostly to sites which want to charge you in the end. Any good pointers? > -- > Andy Lacey > http://www.minstersystems.co.uk > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From Donald.A.McGillivray at sprint.com Tue Aug 7 12:45:16 2007 From: Donald.A.McGillivray at sprint.com (McGillivray, Don [IT]) Date: Tue, 7 Aug 2007 12:45:16 -0500 Subject: [AccessD] No Duplicates In-Reply-To: <560E2B80EC8F624B93A87B943B7A9CD553058F@rgiserv.rg.local> References: <560E2B80EC8F624B93A87B943B7A9CD553058F@rgiserv.rg.local> Message-ID: Nope. Should be: If DCount("ContainerNo", "tbl_Containers", "ContainerNo = '" & [ContainerNo] & "'") -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Robin Sent: Tuesday, August 07, 2007 10:22 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] No Duplicates Hi Virginia Try (for a string value) If DCount("ContainerNo", "tbl_Containers", "ContainerNo = '" & [ContainerNo])& "'" RGds Robin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hollis, Virginia Sent: 07 August 2007 18:25 To: accessD at databaseadvisors.com Subject: [AccessD] No Duplicates I am trying to check for duplicates when a user enters data in the primary key. I don't want them to be able to enter the data in the field at all. The ContainerNo is a txt field. I think I am missing a quote or is this wrong all together? Virginia ********* Private Sub ContainerNo_AfterUpdate() If Not IsNull(ContainerNo) Then If DCount("ContainerNo", "tbl_Containers", "ContainerNo = " & [ContainerNo]) > 0 Then MsgBox "You have entered a Container that already exists" ContainerNo.SetFocus ContainerNo.Undo End If End If End Sub -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From hollisvj at pgdp.usec.com Tue Aug 7 13:06:53 2007 From: hollisvj at pgdp.usec.com (Hollis, Virginia) Date: Tue, 7 Aug 2007 13:06:53 -0500 Subject: [AccessD] No Duplicates Message-ID: <703BDA18A87DFA4CB265A86F42E4178D028E8D88@c2k3exchange.pgdp.corp.usec.com> After Update is the correct place to put this right? *********** Should be: If DCount("ContainerNo", "tbl_Containers", "ContainerNo = '" & [ContainerNo] & "'") From cfoust at infostatsystems.com Tue Aug 7 13:14:51 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 7 Aug 2007 11:14:51 -0700 Subject: [AccessD] No Duplicates In-Reply-To: <703BDA18A87DFA4CB265A86F42E4178D028E8D88@c2k3exchange.pgdp.corp.usec.com> References: <703BDA18A87DFA4CB265A86F42E4178D028E8D88@c2k3exchange.pgdp.corp.usec.com> Message-ID: AfterUpdate doesn't have a cancel argument, but you could raise a messagebox from the AfterUpdate event of the control. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hollis, Virginia Sent: Tuesday, August 07, 2007 11:07 AM To: accessd at databaseadvisors.com Subject: [AccessD] No Duplicates After Update is the correct place to put this right? *********** Should be: If DCount("ContainerNo", "tbl_Containers", "ContainerNo = '" & [ContainerNo] & "'") -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Tue Aug 7 14:48:22 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Tue, 7 Aug 2007 12:48:22 -0700 Subject: [AccessD] Changing Default Printer Message-ID: <006801c7d92b$e9e1d0e0$0301a8c0@HAL9005> Dear List: Slightly different request for changing printers to the one I had a few day ago: Is there an easy way to save the current windows default printer and change to a user pre-selected printer (name stored in an local options table)? This is for a distributable app so there's no way to know what the installed printers are. The program needs to print to a PDF file. So the user has to have a PDF printer installed. They pre-select it through a combo box on a control panel loaded with all the installed printer names and the printer name is saved in a local table. The app then runs at night without user intervention triggered by windows scheduler. So when it runs these reports, I need it to change the windows default printer to whatever printer they select. And then change it back after I'm done printing. MTIA Rocky From markamatte at hotmail.com Tue Aug 7 15:51:36 2007 From: markamatte at hotmail.com (Mark A Matte) Date: Tue, 07 Aug 2007 20:51:36 +0000 Subject: [AccessD] OT: Pics from JC Conference In-Reply-To: <006801c7d92b$e9e1d0e0$0301a8c0@HAL9005> Message-ID: Just curious if the pics from the latest conference are on the site somewhere? Thanks, Mark A. Matte _________________________________________________________________ Messenger Caf? ? open for fun 24/7. Hot games, cool activities served daily. Visit now. http://cafemessenger.com?ocid=TXT_TAGHM_AugHMtagline From rockysmolin at bchacc.com Tue Aug 7 15:57:44 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Tue, 7 Aug 2007 13:57:44 -0700 Subject: [AccessD] Changing Default Printer In-Reply-To: <006801c7d92b$e9e1d0e0$0301a8c0@HAL9005> Message-ID: <007801c7d935$9a1d6420$0301a8c0@HAL9005> Think I've got it. 2003 has a printer object so it gets real easy - I think. Seems to be working anyway. Private Sub ChangeToRequestedPrinter() strDefaultPrinter = Application.Printer.DeviceName Set Application.Printer = Application.Printers("PrimoPDF") End Sub Private Sub ChangeToDefaultPrinter() Set Application.Printer = Application.Printers(strDefaultPrinter) End Sub Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Tuesday, August 07, 2007 12:48 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Changing Default Printer Dear List: Slightly different request for changing printers to the one I had a few day ago: Is there an easy way to save the current windows default printer and change to a user pre-selected printer (name stored in an local options table)? This is for a distributable app so there's no way to know what the installed printers are. The program needs to print to a PDF file. So the user has to have a PDF printer installed. They pre-select it through a combo box on a control panel loaded with all the installed printer names and the printer name is saved in a local table. The app then runs at night without user intervention triggered by windows scheduler. So when it runs these reports, I need it to change the windows default printer to whatever printer they select. And then change it back after I'm done printing. MTIA Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.8/940 - Release Date: 8/6/2007 4:53 PM From cfoust at infostatsystems.com Tue Aug 7 16:14:36 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 7 Aug 2007 14:14:36 -0700 Subject: [AccessD] OT: Pics from JC Conference In-Reply-To: References: <006801c7d92b$e9e1d0e0$0301a8c0@HAL9005> Message-ID: WHICH latest conference?? Dian and I had our own mini-meeting last month in San Luis Obispo! Had a great couple of hours getting acquainted and didn't talk software so's you'd notice. LOL Charlotte -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Tuesday, August 07, 2007 1:52 PM To: accessd at databaseadvisors.com Subject: [AccessD] OT: Pics from JC Conference Just curious if the pics from the latest conference are on the site somewhere? Thanks, Mark A. Matte _________________________________________________________________ Messenger Caf? - open for fun 24/7. Hot games, cool activities served daily. Visit now. http://cafemessenger.com?ocid=TXT_TAGHM_AugHMtagline From jwcolby at colbyconsulting.com Tue Aug 7 16:20:30 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 7 Aug 2007 17:20:30 -0400 Subject: [AccessD] OT: Pics from JC Conference In-Reply-To: Message-ID: <20070807212033.21B90BBFD@smtp-auth.no-ip.com> Did any pics get sent to dba? John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Tuesday, August 07, 2007 4:52 PM To: accessd at databaseadvisors.com Subject: [AccessD] OT: Pics from JC Conference Just curious if the pics from the latest conference are on the site somewhere? Thanks, Mark A. Matte _________________________________________________________________ Messenger Cafi  open for fun 24/7. Hot games, cool activities served daily. Visit now. http://cafemessenger.com?ocid=TXT_TAGHM_AugHMtagline From max at sherman.org.uk Tue Aug 7 16:54:14 2007 From: max at sherman.org.uk (Max Sherman) Date: Tue, 7 Aug 2007 22:54:14 +0100 Subject: [AccessD] OT: Icons In-Reply-To: References: Message-ID: <00a101c7d93d$7fff78f0$8119fea9@LTVM> Thanks Gustav, A good site for icons. Regards Max Sherman -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Tuesday, August 07, 2007 4:44 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] OT: Icons Hi all Here are a couple of very neat collections (free): http://www.famfamfam.com/lab/icons/ /gustav >>> BBarabash at TappeConstruction.com 27-05-2005 16:39 >>> This was discussed a while ago. Credit Goes to Joe Rojas, Joshua B, Martin, Drew and Francisco. http://www.marvilla.us/ http://www.foood.net/icons/ http://www.studiotwentyeight.net/icons.htm http://xcession.web1000.com/pages/default.html http://www.hardwaregeeks.com/board/forumdisplay.php?s=&forumid=128 http://www.jonmega.com/~clotz/ http://www.deskmod.com/?show=showcat&cat_name=icons http://www.deviantart.com/browse/t/icon/winicons/ http://www.dotico.com/ http://icons.visualnoise.net/ http://icons.wbchug.net/ http://www.deathlace.tk/ http://www.logipole.com/ http://axialis.com http://www.aha-soft.com/iconxp/index.htm -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey Sent: Friday, May 27, 2005 8:22 AM To: Dba Subject: [AccessD] OT: Icons Hi all Does anyone have a source for good icons/images? Serious, neat ones not cartoon-y. I alwsys run into this problem when the customer asks for a picture on a screen. I've got DIB Pictures but that's limited to Windows-related stuff, so when I need a car, an ambulance, a fire, etc I'm stuffed. And when I Google "free icons" I get a million links, mostly to sites which want to charge you in the end. Any good pointers? -- Andy Lacey http://www.minstersystems.co.uk -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From paul.hartland at fsmail.net Wed Aug 8 03:39:49 2007 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Wed, 8 Aug 2007 10:39:49 +0200 (CEST) Subject: [AccessD] Changing Default Printer Message-ID: <24526825.198961186562389733.JavaMail.www@wwinf3202> Rocky, Not the neatest code in the world, but works for me: Dim prnPrinter As Printer Dim strDeviceName As String Dim bolFoundPrinter As Boolean strDeviceName = Printer.DeviceName ' Store current default printer bolFoundPrinter = False For Each prnPrinter In Printers If (prnPrinter.DeviceName = "NewPrinterName") Then Set Printer = prnPrinter bolFoundPrinter = True ' DO WHAT YOU WANT HERE TO PRINT Exit For End If Next ' Change back to original default printer For Each prnPrinter In Printers If (prnPrinter.DeviceName = strDeviceName) Then Set Printer = prnPrinter Exit For End If Next this is in VB6, so I assume should work in VBA for Access Message Received: Aug 07 2007, 08:49 PM From: "Rocky Smolin at Beach Access Software" To: "'Access Developers discussion and problem solving'" Cc: Subject: [AccessD] Changing Default Printer Dear List: Slightly different request for changing printers to the one I had a few day ago: Is there an easy way to save the current windows default printer and change to a user pre-selected printer (name stored in an local options table)? This is for a distributable app so there's no way to know what the installed printers are. The program needs to print to a PDF file. So the user has to have a PDF printer installed. They pre-select it through a combo box on a control panel loaded with all the installed printer names and the printer name is saved in a local table. The app then runs at night without user intervention triggered by windows scheduler. So when it runs these reports, I need it to change the windows default printer to whatever printer they select. And then change it back after I'm done printing. MTIA Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com Paul Hartland paul.hartland at fsmail.net 07730 523179 From ewaldt at gdls.com Wed Aug 8 08:45:07 2007 From: ewaldt at gdls.com (ewaldt at gdls.com) Date: Wed, 8 Aug 2007 09:45:07 -0400 Subject: [AccessD] Question on order within a union query In-Reply-To: Message-ID: I'm converting an Excel workbook to Access, to add functionality and better ability for several people to use it at the same time. I've created the tables, relationships, etc., with no problem. However, I would like suggestions in one area. The user likes a spreadsheet report in the original workbook. I'd like to imitate it for him within Access. This spreadsheet includes several lines of data (easily duplicated within Access via query), the columns subtotals, two more corresponding rows of data (i.e., the columns correspond, but the rows are different), and a final totals line. I've put together all of the information via queries. I then combine the queries via a union query, but it insists on mixing the lines together, alphabetically, by the first column/field. I'm looking for a good way to avoid this. Is there a key word, command, etc., to tell Access to leave things in the order they're found? If not, do you have recommendations on how to achieve what I want in a different way? TIA. Thomas F. Ewald Stryker Mass Properties General Dynamics Land Systems This is an e-mail from General Dynamics Land Systems. It is for the intended recipient only and may contain confidential and privileged information. No one else may read, print, store, copy, forward or act in reliance on it or its attachments. If you are not the intended recipient, please return this message to the sender and delete the message and any attachments from your computer. Your cooperation is appreciated. From mmattys at rochester.rr.com Wed Aug 8 09:02:48 2007 From: mmattys at rochester.rr.com (Michael R Mattys) Date: Wed, 8 Aug 2007 10:02:48 -0400 Subject: [AccessD] Question on order within a union query References: Message-ID: <006f01c7d9c4$cec3bbe0$0202a8c0@Laptop> Tom, I don't know the "answer," but in my experience I've found that the first query controls the sort of the union. (All sorts should be in the QBE of the first query.) Michael R. Mattys MapPoint & Access Dev www.mattysconsulting.com ----- Original Message ----- From: To: Sent: Wednesday, August 08, 2007 9:45 AM Subject: [AccessD] Question on order within a union query > I'm converting an Excel workbook to Access, to add functionality and > better ability for several people to use it at the same time. I've created > the tables, relationships, etc., with no problem. However, I would like > suggestions in one area. > > The user likes a spreadsheet report in the original workbook. I'd like to > imitate it for him within Access. This spreadsheet includes several lines > of data (easily duplicated within Access via query), the columns > subtotals, two more corresponding rows of data (i.e., the columns > correspond, but the rows are different), and a final totals line. > > I've put together all of the information via queries. I then combine the > queries via a union query, but it insists on mixing the lines together, > alphabetically, by the first column/field. I'm looking for a good way to > avoid this. Is there a key word, command, etc., to tell Access to leave > things in the order they're found? > > If not, do you have recommendations on how to achieve what I want in a > different way? > > TIA. > > Thomas F. Ewald > Stryker Mass Properties > General Dynamics Land Systems From Gustav at cactus.dk Wed Aug 8 09:04:52 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 08 Aug 2007 16:04:52 +0200 Subject: [AccessD] Question on order within a union query Message-ID: Hi Tom Yes, include in each of the sections of the union query an expression to sort on, like: SELECT 1 AS SortID, ... UNION ALL SELECT 2 AS SortID, ... Then Order By SortID as the first field and those fields, you currently sort on, as the next field(s). /gustav >>> ewaldt at gdls.com 08-08-2007 15:45 >>> I'm converting an Excel workbook to Access, to add functionality and better ability for several people to use it at the same time. I've created the tables, relationships, etc., with no problem. However, I would like suggestions in one area. The user likes a spreadsheet report in the original workbook. I'd like to imitate it for him within Access. This spreadsheet includes several lines of data (easily duplicated within Access via query), the columns subtotals, two more corresponding rows of data (i.e., the columns correspond, but the rows are different), and a final totals line. I've put together all of the information via queries. I then combine the queries via a union query, but it insists on mixing the lines together, alphabetically, by the first column/field. I'm looking for a good way to avoid this. Is there a key word, command, etc., to tell Access to leave things in the order they're found? If not, do you have recommendations on how to achieve what I want in a different way? TIA. Thomas F. Ewald Stryker Mass Properties General Dynamics Land Systems From Elizabeth.J.Doering at wellsfargo.com Wed Aug 8 09:11:00 2007 From: Elizabeth.J.Doering at wellsfargo.com (Elizabeth.J.Doering at wellsfargo.com) Date: Wed, 8 Aug 2007 09:11:00 -0500 Subject: [AccessD] Question on order within a union query References: Message-ID: Thomas, When I do a union query, I often add in a column for SortOrder to force the original order: Select 1 as SortOrder, MyField, MyOtherField from MyTable1 Union Select 2 as SortOrder, MyField, MyOtherField from MyTable2 Union Select 3 as SortOrder, MyField, MyOtherField from MyTable3 Order by SortOrder Then of course you can order by other fields as necessary. HTH, Liz Liz Doering elizabeth.j.doering at wellsfargo.com 612.667.2447 This message may contain confidential and/or privileged information. If you are not the addressee or authorized to receive this for the addressee, you must not use, copy, disclose, or take any action based on this message or any information herein. If you have received this message in error, please advise the sender immediately by reply e-mail and delete this message. Thank you for your cooperation. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of ewaldt at gdls.com Sent: Wednesday, August 08, 2007 8:45 AM To: accessd at databaseadvisors.com Subject: [AccessD] Question on order within a union query I'm converting an Excel workbook to Access, to add functionality and better ability for several people to use it at the same time. I've created the tables, relationships, etc., with no problem. However, I would like suggestions in one area. The user likes a spreadsheet report in the original workbook. I'd like to imitate it for him within Access. This spreadsheet includes several lines of data (easily duplicated within Access via query), the columns subtotals, two more corresponding rows of data (i.e., the columns correspond, but the rows are different), and a final totals line. I've put together all of the information via queries. I then combine the queries via a union query, but it insists on mixing the lines together, alphabetically, by the first column/field. I'm looking for a good way to avoid this. Is there a key word, command, etc., to tell Access to leave things in the order they're found? If not, do you have recommendations on how to achieve what I want in a different way? TIA. Thomas F. Ewald Stryker Mass Properties General Dynamics Land Systems This is an e-mail from General Dynamics Land Systems. It is for the intended recipient only and may contain confidential and privileged information. No one else may read, print, store, copy, forward or act in reliance on it or its attachments. If you are not the intended recipient, please return this message to the sender and delete the message and any attachments from your computer. Your cooperation is appreciated. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mmattys at rochester.rr.com Wed Aug 8 09:16:18 2007 From: mmattys at rochester.rr.com (Michael R Mattys) Date: Wed, 8 Aug 2007 10:16:18 -0400 Subject: [AccessD] Question on order within a union query References: Message-ID: <007e01c7d9c6$b156b470$0202a8c0@Laptop> Very nice and simple, Gustav. That's a keeper. :) Michael R. Mattys MapPoint & Access Dev www.mattysconsulting.com ----- Original Message ----- From: "Gustav Brock" To: Sent: Wednesday, August 08, 2007 10:04 AM Subject: Re: [AccessD] Question on order within a union query > Hi Tom > > Yes, include in each of the sections of the union query an expression to > sort on, like: > > SELECT 1 AS SortID, ... > UNION ALL > SELECT 2 AS SortID, ... > > Then Order By SortID as the first field and those fields, you currently > sort on, as the next field(s). > > /gustav > >>>> ewaldt at gdls.com 08-08-2007 15:45 >>> > I'm converting an Excel workbook to Access, to add functionality and > better ability for several people to use it at the same time. I've created > the tables, relationships, etc., with no problem. However, I would like > suggestions in one area. > > The user likes a spreadsheet report in the original workbook. I'd like to > imitate it for him within Access. This spreadsheet includes several lines > of data (easily duplicated within Access via query), the columns > subtotals, two more corresponding rows of data (i.e., the columns > correspond, but the rows are different), and a final totals line. > > I've put together all of the information via queries. I then combine the > queries via a union query, but it insists on mixing the lines together, > alphabetically, by the first column/field. I'm looking for a good way to > avoid this. Is there a key word, command, etc., to tell Access to leave > things in the order they're found? > > If not, do you have recommendations on how to achieve what I want in a > different way? > > TIA. > > Thomas F. Ewald > Stryker Mass Properties > General Dynamics Land Systems > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From joeo at appoli.com Wed Aug 8 09:19:48 2007 From: joeo at appoli.com (Joe O'Connell) Date: Wed, 8 Aug 2007 10:19:48 -0400 Subject: [AccessD] Question on order within a union query References: Message-ID: Thomas, If you are creating a report, the order of records in a report is not dependent on the order returned by the query. It is set in the Sorting and Grouping settings of the report. Joe O'Connell -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of ewaldt at gdls.com Sent: Wednesday, August 08, 2007 9:45 AM To: accessd at databaseadvisors.com Subject: [AccessD] Question on order within a union query I'm converting an Excel workbook to Access, to add functionality and better ability for several people to use it at the same time. I've created the tables, relationships, etc., with no problem. However, I would like suggestions in one area. The user likes a spreadsheet report in the original workbook. I'd like to imitate it for him within Access. This spreadsheet includes several lines of data (easily duplicated within Access via query), the columns subtotals, two more corresponding rows of data (i.e., the columns correspond, but the rows are different), and a final totals line. I've put together all of the information via queries. I then combine the queries via a union query, but it insists on mixing the lines together, alphabetically, by the first column/field. I'm looking for a good way to avoid this. Is there a key word, command, etc., to tell Access to leave things in the order they're found? If not, do you have recommendations on how to achieve what I want in a different way? TIA. Thomas F. Ewald Stryker Mass Properties General Dynamics Land Systems This is an e-mail from General Dynamics Land Systems. It is for the intended recipient only and may contain confidential and privileged information. No one else may read, print, store, copy, forward or act in reliance on it or its attachments. If you are not the intended recipient, please return this message to the sender and delete the message and any attachments from your computer. Your cooperation is appreciated. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Wed Aug 8 09:21:29 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Wed, 8 Aug 2007 07:21:29 -0700 Subject: [AccessD] Changing Default Printer In-Reply-To: <24526825.198961186562389733.JavaMail.www@wwinf3202> Message-ID: <002901c7d9c7$69d981d0$0301a8c0@HAL9005> What version of Access has that Printer object? And that code would go into the report in the load or open event? The code I found that I posted yesterday works in A2K3, it's real short, but does it at the OS level, which is probably more sketchy than doing it inside Access itself. What to you think? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of paul.hartland at fsmail.net Sent: Wednesday, August 08, 2007 1:40 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Changing Default Printer Importance: High Rocky, Not the neatest code in the world, but works for me: Dim prnPrinter As Printer Dim strDeviceName As String Dim bolFoundPrinter As Boolean strDeviceName = Printer.DeviceName ' Store current default printer bolFoundPrinter = False For Each prnPrinter In Printers If (prnPrinter.DeviceName = "NewPrinterName") Then Set Printer = prnPrinter bolFoundPrinter = True ' DO WHAT YOU WANT HERE TO PRINT Exit For End If Next ' Change back to original default printer For Each prnPrinter In Printers If (prnPrinter.DeviceName = strDeviceName) Then Set Printer = prnPrinter Exit For End If Next this is in VB6, so I assume should work in VBA for Access Message Received: Aug 07 2007, 08:49 PM From: "Rocky Smolin at Beach Access Software" To: "'Access Developers discussion and problem solving'" Cc: Subject: [AccessD] Changing Default Printer Dear List: Slightly different request for changing printers to the one I had a few day ago: Is there an easy way to save the current windows default printer and change to a user pre-selected printer (name stored in an local options table)? This is for a distributable app so there's no way to know what the installed printers are. The program needs to print to a PDF file. So the user has to have a PDF printer installed. They pre-select it through a combo box on a control panel loaded with all the installed printer names and the printer name is saved in a local table. The app then runs at night without user intervention triggered by windows scheduler. So when it runs these reports, I need it to change the windows default printer to whatever printer they select. And then change it back after I'm done printing. MTIA Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com Paul Hartland paul.hartland at fsmail.net 07730 523179 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.8/941 - Release Date: 8/7/2007 4:06 PM From jimdettman at verizon.net Wed Aug 8 09:24:53 2007 From: jimdettman at verizon.net (Jim Dettman) Date: Wed, 08 Aug 2007 10:24:53 -0400 Subject: [AccessD] OT: Pics from JC Conference In-Reply-To: References: <006801c7d92b$e9e1d0e0$0301a8c0@HAL9005> Message-ID: <001801c7d9c7$e3ca3e30$8abea8c0@XPS> << San Luis Obispo!>> Nice place. I was there last year for an Experts-Exchange conference. Stayed down the coast just a bit. Really enjoyed the couple of days there and the drive up/down the coast to LA. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, August 07, 2007 5:15 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Pics from JC Conference WHICH latest conference?? Dian and I had our own mini-meeting last month in San Luis Obispo! Had a great couple of hours getting acquainted and didn't talk software so's you'd notice. LOL Charlotte -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Tuesday, August 07, 2007 1:52 PM To: accessd at databaseadvisors.com Subject: [AccessD] OT: Pics from JC Conference Just curious if the pics from the latest conference are on the site somewhere? Thanks, Mark A. Matte _________________________________________________________________ Messenger Caf? - open for fun 24/7. Hot games, cool activities served daily. Visit now. http://cafemessenger.com?ocid=TXT_TAGHM_AugHMtagline -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From paul.hartland at fsmail.net Wed Aug 8 09:30:09 2007 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Wed, 8 Aug 2007 16:30:09 +0200 (CEST) Subject: [AccessD] Changing Default Printer Message-ID: <589562.186641186583409658.JavaMail.www@wwinf3203> Rocky, To be honest I have only just started using the change default printer settings, and only used them in Visual Basic 6.0. We have Access 2002 I put the top half of my code in, and it seemed to work, thats why I sent it to the list. As for the report, I would assume it would just go into the open event. Paul Message Received: Aug 08 2007, 03:22 PM From: "Rocky Smolin at Beach Access Software" To: "'Access Developers discussion and problem solving'" Cc: Subject: Re: [AccessD] Changing Default Printer What version of Access has that Printer object? And that code would go into the report in the load or open event? The code I found that I posted yesterday works in A2K3, it's real short, but does it at the OS level, which is probably more sketchy than doing it inside Access itself. What to you think? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of paul.hartland at fsmail.net Sent: Wednesday, August 08, 2007 1:40 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Changing Default Printer Importance: High Rocky, Not the neatest code in the world, but works for me: Dim prnPrinter As Printer Dim strDeviceName As String Dim bolFoundPrinter As Boolean strDeviceName = Printer.DeviceName ' Store current default printer bolFoundPrinter = False For Each prnPrinter In Printers If (prnPrinter.DeviceName = "NewPrinterName") Then Set Printer = prnPrinter bolFoundPrinter = True ' DO WHAT YOU WANT HERE TO PRINT Exit For End If Next ' Change back to original default printer For Each prnPrinter In Printers If (prnPrinter.DeviceName = strDeviceName) Then Set Printer = prnPrinter Exit For End If Next this is in VB6, so I assume should work in VBA for Access Message Received: Aug 07 2007, 08:49 PM From: "Rocky Smolin at Beach Access Software" To: "'Access Developers discussion and problem solving'" Cc: Subject: [AccessD] Changing Default Printer Dear List: Slightly different request for changing printers to the one I had a few day ago: Is there an easy way to save the current windows default printer and change to a user pre-selected printer (name stored in an local options table)? This is for a distributable app so there's no way to know what the installed printers are. The program needs to print to a PDF file. So the user has to have a PDF printer installed. They pre-select it through a combo box on a control panel loaded with all the installed printer names and the printer name is saved in a local table. The app then runs at night without user intervention triggered by windows scheduler. So when it runs these reports, I need it to change the windows default printer to whatever printer they select. And then change it back after I'm done printing. MTIA Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com Paul Hartland paul.hartland at fsmail.net 07730 523179 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.8/941 - Release Date: 8/7/2007 4:06 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com Paul Hartland paul.hartland at fsmail.net 07730 523179 From markamatte at hotmail.com Wed Aug 8 10:01:51 2007 From: markamatte at hotmail.com (Mark A Matte) Date: Wed, 08 Aug 2007 15:01:51 +0000 Subject: [AccessD] OT: Pics from JC Conference In-Reply-To: <20070807212033.21B90BBFD@smtp-auth.no-ip.com> Message-ID: Yes...to Jim I believe. >From: "jwcolby" >Reply-To: Access Developers discussion and problem >solving >To: "'Access Developers discussion and problem >solving'" >Subject: Re: [AccessD] OT: Pics from JC Conference >Date: Tue, 7 Aug 2007 17:20:30 -0400 > >Did any pics get sent to dba? > > >John W. Colby >Colby Consulting >www.ColbyConsulting.com >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte >Sent: Tuesday, August 07, 2007 4:52 PM >To: accessd at databaseadvisors.com >Subject: [AccessD] OT: Pics from JC Conference > >Just curious if the pics from the latest conference are on the site >somewhere? > >Thanks, > >Mark A. Matte > >_________________________________________________________________ >Messenger Cafi  open for fun 24/7. Hot games, cool activities served >daily. > >Visit now. http://cafemessenger.com?ocid=TXT_TAGHM_AugHMtagline > > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Tease your brain--play Clink! Win cool prizes! http://club.live.com/clink.aspx?icid=clink_hotmailtextlink2 From cfoust at infostatsystems.com Wed Aug 8 10:07:58 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 8 Aug 2007 08:07:58 -0700 Subject: [AccessD] Changing Default Printer In-Reply-To: <002901c7d9c7$69d981d0$0301a8c0@HAL9005> References: <24526825.198961186562389733.JavaMail.www@wwinf3202> <002901c7d9c7$69d981d0$0301a8c0@HAL9005> Message-ID: A2002 was the first version to have a printer object. I have to tell you, though, that we tried it and went back to API calls as more consistent and reliable. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, August 08, 2007 7:21 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Changing Default Printer What version of Access has that Printer object? And that code would go into the report in the load or open event? The code I found that I posted yesterday works in A2K3, it's real short, but does it at the OS level, which is probably more sketchy than doing it inside Access itself. What to you think? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of paul.hartland at fsmail.net Sent: Wednesday, August 08, 2007 1:40 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Changing Default Printer Importance: High Rocky, Not the neatest code in the world, but works for me: Dim prnPrinter As Printer Dim strDeviceName As String Dim bolFoundPrinter As Boolean strDeviceName = Printer.DeviceName ' Store current default printer bolFoundPrinter = False For Each prnPrinter In Printers If (prnPrinter.DeviceName = "NewPrinterName") Then Set Printer = prnPrinter bolFoundPrinter = True ' DO WHAT YOU WANT HERE TO PRINT Exit For End If Next ' Change back to original default printer For Each prnPrinter In Printers If (prnPrinter.DeviceName = strDeviceName) Then Set Printer = prnPrinter Exit For End If Next this is in VB6, so I assume should work in VBA for Access Message Received: Aug 07 2007, 08:49 PM From: "Rocky Smolin at Beach Access Software" To: "'Access Developers discussion and problem solving'" Cc: Subject: [AccessD] Changing Default Printer Dear List: Slightly different request for changing printers to the one I had a few day ago: Is there an easy way to save the current windows default printer and change to a user pre-selected printer (name stored in an local options table)? This is for a distributable app so there's no way to know what the installed printers are. The program needs to print to a PDF file. So the user has to have a PDF printer installed. They pre-select it through a combo box on a control panel loaded with all the installed printer names and the printer name is saved in a local table. The app then runs at night without user intervention triggered by windows scheduler. So when it runs these reports, I need it to change the windows default printer to whatever printer they select. And then change it back after I'm done printing. MTIA Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com Paul Hartland paul.hartland at fsmail.net 07730 523179 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.8/941 - Release Date: 8/7/2007 4:06 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Wed Aug 8 10:09:27 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 8 Aug 2007 08:09:27 -0700 Subject: [AccessD] OT: Pics from JC Conference In-Reply-To: <001801c7d9c7$e3ca3e30$8abea8c0@XPS> References: <006801c7d92b$e9e1d0e0$0301a8c0@HAL9005> <001801c7d9c7$e3ca3e30$8abea8c0@XPS> Message-ID: I grew up in the area and go back to visit a friend there fairly often. I still haven't figured out what people do for a living, though! LOL Charlotte -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Wednesday, August 08, 2007 7:25 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Pics from JC Conference << San Luis Obispo!>> Nice place. I was there last year for an Experts-Exchange conference. Stayed down the coast just a bit. Really enjoyed the couple of days there and the drive up/down the coast to LA. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, August 07, 2007 5:15 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Pics from JC Conference WHICH latest conference?? Dian and I had our own mini-meeting last month in San Luis Obispo! Had a great couple of hours getting acquainted and didn't talk software so's you'd notice. LOL Charlotte -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Tuesday, August 07, 2007 1:52 PM To: accessd at databaseadvisors.com Subject: [AccessD] OT: Pics from JC Conference Just curious if the pics from the latest conference are on the site somewhere? Thanks, Mark A. Matte _________________________________________________________________ Messenger Caf? - open for fun 24/7. Hot games, cool activities served daily. Visit now. http://cafemessenger.com?ocid=TXT_TAGHM_AugHMtagline -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ewaldt at gdls.com Wed Aug 8 10:22:40 2007 From: ewaldt at gdls.com (ewaldt at gdls.com) Date: Wed, 8 Aug 2007 11:22:40 -0400 Subject: [AccessD] Question on order within a union query In-Reply-To: Message-ID: Thanks, Gustav. I thought of adding a field to each of them, but in some cases it's a query based on a query based on a query, and tracking down to find and change originals and then adapting each of the subsequent puppies seemed too subject to error. Your solution is much nicer. I'm going to switch to that one, but I had settled on a different solution: Instead of UNIONing them all, l append them all, in the correct order, to a table (after first clearing it out, of course), and then use the table. That works fine, but I like your solution better. Thanks, again. Thomas F. Ewald Stryker Mass Properties General Dynamics Land Systems Subject: Re: [AccessD] Question on order within a union query Hi Tom Yes, include in each of the sections of the union query an expression to sort on, like: SELECT 1 AS SortID, ... UNION ALL SELECT 2 AS SortID, ... Then Order By SortID as the first field and those fields, you currently sort on, as the next field(s). /gustav This is an e-mail from General Dynamics Land Systems. It is for the intended recipient only and may contain confidential and privileged information. No one else may read, print, store, copy, forward or act in reliance on it or its attachments. If you are not the intended recipient, please return this message to the sender and delete the message and any attachments from your computer. Your cooperation is appreciated. From ewaldt at gdls.com Wed Aug 8 10:30:20 2007 From: ewaldt at gdls.com (ewaldt at gdls.com) Date: Wed, 8 Aug 2007 11:30:20 -0400 Subject: [AccessD] Correctly Closing Excel In-Reply-To: Message-ID: In running the code below, I find that Excel does not completely exit, as evidenced by Task Manager/Processes. I've either neglected something, or I've done something out of order. Could someone tell me my mistake, please? Thanks. I've been struggling with this for a while now. Thomas F. Ewald Stryker Mass Properties General Dynamics Land Systems --------------------------------------------------------------- Sub PrepData() Dim xlApp As Excel.Application Dim xlWB As Excel.Workbook Set xlApp = CreateObject("Excel.Application") 'Open Excel workbook Set xlWB = xlApp.Workbooks.Open(strFileName) 'opens file DoCmd.SetWarnings False 'Prep Excel workbook PrepExcel 'Empty Clipboard before closing workbook xlApp.CutCopyMode = False 'Shut down Excel xlWB.Close savechanges:=True Set xlWB = Nothing xlApp.Quit Set xlApp = Nothing DoCmd.SetWarnings True End Sub --------------------------------------------------------------------- In case it's the PrepExcel sub that's causing the problem, here it is: --------------------------------------------------------------------- Sub PrepExcel() Dim intNewRow As Integer Dim oCell As Object Sheets.Add Sheets("Sheet1").Name = "ToImport" Sheets("ToImport").Select 'Copy only rows where column B = "A" intNewRow = 1 For Each oCell In Sheets("GDLS-SHC").Range("B1:B200") If oCell.Formula = "A" Then oCell.EntireRow.Copy ActiveSheet.Paste Destination:=Worksheets("ToImport").Range("A" & intNewRow) intNewRow = intNewRow + 1 End If Next oCell For Each oCell In Sheets("GDLS-C").Range("B1:B200") If oCell.Formula = "A" Then oCell.EntireRow.Copy ActiveSheet.Paste Destination:=Worksheets("ToImport").Range("A" & intNewRow) intNewRow = intNewRow + 1 End If Next oCell 'Check for non-numeric in Pounds and Grams intNewRow = intNewRow - 1 For Each oCell In Sheets("ToImport").Range("C1:D" & intNewRow) If Not IsNumeric(oCell.Formula) Then oCell.Formula = 0 End If Next oCell For Each oCell In Sheets("ToImport").Range("C1:C" & intNewRow) oCell.Formula = oCell.Formula + Range("D" & oCell.Row).Formula * 2.205 / 1000 Next oCell End Sub ---------------------------------------------------------- Thomas F. Ewald Stryker Mass Properties General Dynamics Land Systems This is an e-mail from General Dynamics Land Systems. It is for the intended recipient only and may contain confidential and privileged information. No one else may read, print, store, copy, forward or act in reliance on it or its attachments. If you are not the intended recipient, please return this message to the sender and delete the message and any attachments from your computer. Your cooperation is appreciated. From rockysmolin at bchacc.com Wed Aug 8 10:43:31 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Wed, 8 Aug 2007 08:43:31 -0700 Subject: [AccessD] Correctly Closing Excel In-Reply-To: Message-ID: <003401c7d9d2$dfac9ea0$0301a8c0@HAL9005> Do you set any other object in PrepExcel that might be left open? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of ewaldt at gdls.com Sent: Wednesday, August 08, 2007 8:30 AM To: accessd at databaseadvisors.com Subject: [AccessD] Correctly Closing Excel In running the code below, I find that Excel does not completely exit, as evidenced by Task Manager/Processes. I've either neglected something, or I've done something out of order. Could someone tell me my mistake, please? Thanks. I've been struggling with this for a while now. Thomas F. Ewald Stryker Mass Properties General Dynamics Land Systems --------------------------------------------------------------- Sub PrepData() Dim xlApp As Excel.Application Dim xlWB As Excel.Workbook Set xlApp = CreateObject("Excel.Application") 'Open Excel workbook Set xlWB = xlApp.Workbooks.Open(strFileName) 'opens file DoCmd.SetWarnings False 'Prep Excel workbook PrepExcel 'Empty Clipboard before closing workbook xlApp.CutCopyMode = False 'Shut down Excel xlWB.Close savechanges:=True Set xlWB = Nothing xlApp.Quit Set xlApp = Nothing DoCmd.SetWarnings True End Sub --------------------------------------------------------------------- In case it's the PrepExcel sub that's causing the problem, here it is: --------------------------------------------------------------------- Sub PrepExcel() Dim intNewRow As Integer Dim oCell As Object Sheets.Add Sheets("Sheet1").Name = "ToImport" Sheets("ToImport").Select 'Copy only rows where column B = "A" intNewRow = 1 For Each oCell In Sheets("GDLS-SHC").Range("B1:B200") If oCell.Formula = "A" Then oCell.EntireRow.Copy ActiveSheet.Paste Destination:=Worksheets("ToImport").Range("A" & intNewRow) intNewRow = intNewRow + 1 End If Next oCell For Each oCell In Sheets("GDLS-C").Range("B1:B200") If oCell.Formula = "A" Then oCell.EntireRow.Copy ActiveSheet.Paste Destination:=Worksheets("ToImport").Range("A" & intNewRow) intNewRow = intNewRow + 1 End If Next oCell 'Check for non-numeric in Pounds and Grams intNewRow = intNewRow - 1 For Each oCell In Sheets("ToImport").Range("C1:D" & intNewRow) If Not IsNumeric(oCell.Formula) Then oCell.Formula = 0 End If Next oCell For Each oCell In Sheets("ToImport").Range("C1:C" & intNewRow) oCell.Formula = oCell.Formula + Range("D" & oCell.Row).Formula * 2.205 / 1000 Next oCell End Sub ---------------------------------------------------------- Thomas F. Ewald Stryker Mass Properties General Dynamics Land Systems This is an e-mail from General Dynamics Land Systems. It is for the intended recipient only and may contain confidential and privileged information. No one else may read, print, store, copy, forward or act in reliance on it or its attachments. If you are not the intended recipient, please return this message to the sender and delete the message and any attachments from your computer. Your cooperation is appreciated. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.8/941 - Release Date: 8/7/2007 4:06 PM From rockysmolin at bchacc.com Wed Aug 8 10:45:25 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Wed, 8 Aug 2007 08:45:25 -0700 Subject: [AccessD] Changing Default Printer In-Reply-To: Message-ID: <003501c7d9d3$2382f3e0$0301a8c0@HAL9005> Uh-oh. What problems did you have with the Printer object? Is that the same as using Application.Printer? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, August 08, 2007 8:08 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Changing Default Printer A2002 was the first version to have a printer object. I have to tell you, though, that we tried it and went back to API calls as more consistent and reliable. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, August 08, 2007 7:21 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Changing Default Printer What version of Access has that Printer object? And that code would go into the report in the load or open event? The code I found that I posted yesterday works in A2K3, it's real short, but does it at the OS level, which is probably more sketchy than doing it inside Access itself. What to you think? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of paul.hartland at fsmail.net Sent: Wednesday, August 08, 2007 1:40 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Changing Default Printer Importance: High Rocky, Not the neatest code in the world, but works for me: Dim prnPrinter As Printer Dim strDeviceName As String Dim bolFoundPrinter As Boolean strDeviceName = Printer.DeviceName ' Store current default printer bolFoundPrinter = False For Each prnPrinter In Printers If (prnPrinter.DeviceName = "NewPrinterName") Then Set Printer = prnPrinter bolFoundPrinter = True ' DO WHAT YOU WANT HERE TO PRINT Exit For End If Next ' Change back to original default printer For Each prnPrinter In Printers If (prnPrinter.DeviceName = strDeviceName) Then Set Printer = prnPrinter Exit For End If Next this is in VB6, so I assume should work in VBA for Access Message Received: Aug 07 2007, 08:49 PM From: "Rocky Smolin at Beach Access Software" To: "'Access Developers discussion and problem solving'" Cc: Subject: [AccessD] Changing Default Printer Dear List: Slightly different request for changing printers to the one I had a few day ago: Is there an easy way to save the current windows default printer and change to a user pre-selected printer (name stored in an local options table)? This is for a distributable app so there's no way to know what the installed printers are. The program needs to print to a PDF file. So the user has to have a PDF printer installed. They pre-select it through a combo box on a control panel loaded with all the installed printer names and the printer name is saved in a local table. The app then runs at night without user intervention triggered by windows scheduler. So when it runs these reports, I need it to change the windows default printer to whatever printer they select. And then change it back after I'm done printing. MTIA Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com Paul Hartland paul.hartland at fsmail.net 07730 523179 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.8/941 - Release Date: 8/7/2007 4:06 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.8/941 - Release Date: 8/7/2007 4:06 PM From cfoust at infostatsystems.com Wed Aug 8 10:52:25 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 8 Aug 2007 08:52:25 -0700 Subject: [AccessD] Changing Default Printer In-Reply-To: <003501c7d9d3$2382f3e0$0301a8c0@HAL9005> References: <003501c7d9d3$2382f3e0$0301a8c0@HAL9005> Message-ID: OY!! After all this time I don't recall. I know I wrote printer object based code to replace all our old code to set page size properly and then after testing it a bit, I threw it out and went back to the original code. I don't think it was a problem with selecting the printer, it was trying to manipulate the page settings that gave us problems. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, August 08, 2007 8:45 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Changing Default Printer Uh-oh. What problems did you have with the Printer object? Is that the same as using Application.Printer? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, August 08, 2007 8:08 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Changing Default Printer A2002 was the first version to have a printer object. I have to tell you, though, that we tried it and went back to API calls as more consistent and reliable. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, August 08, 2007 7:21 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Changing Default Printer What version of Access has that Printer object? And that code would go into the report in the load or open event? The code I found that I posted yesterday works in A2K3, it's real short, but does it at the OS level, which is probably more sketchy than doing it inside Access itself. What to you think? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of paul.hartland at fsmail.net Sent: Wednesday, August 08, 2007 1:40 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Changing Default Printer Importance: High Rocky, Not the neatest code in the world, but works for me: Dim prnPrinter As Printer Dim strDeviceName As String Dim bolFoundPrinter As Boolean strDeviceName = Printer.DeviceName ' Store current default printer bolFoundPrinter = False For Each prnPrinter In Printers If (prnPrinter.DeviceName = "NewPrinterName") Then Set Printer = prnPrinter bolFoundPrinter = True ' DO WHAT YOU WANT HERE TO PRINT Exit For End If Next ' Change back to original default printer For Each prnPrinter In Printers If (prnPrinter.DeviceName = strDeviceName) Then Set Printer = prnPrinter Exit For End If Next this is in VB6, so I assume should work in VBA for Access Message Received: Aug 07 2007, 08:49 PM From: "Rocky Smolin at Beach Access Software" To: "'Access Developers discussion and problem solving'" Cc: Subject: [AccessD] Changing Default Printer Dear List: Slightly different request for changing printers to the one I had a few day ago: Is there an easy way to save the current windows default printer and change to a user pre-selected printer (name stored in an local options table)? This is for a distributable app so there's no way to know what the installed printers are. The program needs to print to a PDF file. So the user has to have a PDF printer installed. They pre-select it through a combo box on a control panel loaded with all the installed printer names and the printer name is saved in a local table. The app then runs at night without user intervention triggered by windows scheduler. So when it runs these reports, I need it to change the windows default printer to whatever printer they select. And then change it back after I'm done printing. MTIA Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com Paul Hartland paul.hartland at fsmail.net 07730 523179 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.8/941 - Release Date: 8/7/2007 4:06 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.8/941 - Release Date: 8/7/2007 4:06 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Wed Aug 8 11:08:41 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Wed, 8 Aug 2007 09:08:41 -0700 Subject: [AccessD] Changing Default Printer In-Reply-To: Message-ID: <004c01c7d9d6$636cc550$0301a8c0@HAL9005> Well, that won't be a problem for my app. Al I want to do it have the user switch to a PDF printer for reports which will then be attached to emails. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, August 08, 2007 8:52 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Changing Default Printer OY!! After all this time I don't recall. I know I wrote printer object based code to replace all our old code to set page size properly and then after testing it a bit, I threw it out and went back to the original code. I don't think it was a problem with selecting the printer, it was trying to manipulate the page settings that gave us problems. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, August 08, 2007 8:45 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Changing Default Printer Uh-oh. What problems did you have with the Printer object? Is that the same as using Application.Printer? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, August 08, 2007 8:08 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Changing Default Printer A2002 was the first version to have a printer object. I have to tell you, though, that we tried it and went back to API calls as more consistent and reliable. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, August 08, 2007 7:21 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Changing Default Printer What version of Access has that Printer object? And that code would go into the report in the load or open event? The code I found that I posted yesterday works in A2K3, it's real short, but does it at the OS level, which is probably more sketchy than doing it inside Access itself. What to you think? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of paul.hartland at fsmail.net Sent: Wednesday, August 08, 2007 1:40 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Changing Default Printer Importance: High Rocky, Not the neatest code in the world, but works for me: Dim prnPrinter As Printer Dim strDeviceName As String Dim bolFoundPrinter As Boolean strDeviceName = Printer.DeviceName ' Store current default printer bolFoundPrinter = False For Each prnPrinter In Printers If (prnPrinter.DeviceName = "NewPrinterName") Then Set Printer = prnPrinter bolFoundPrinter = True ' DO WHAT YOU WANT HERE TO PRINT Exit For End If Next ' Change back to original default printer For Each prnPrinter In Printers If (prnPrinter.DeviceName = strDeviceName) Then Set Printer = prnPrinter Exit For End If Next this is in VB6, so I assume should work in VBA for Access Message Received: Aug 07 2007, 08:49 PM From: "Rocky Smolin at Beach Access Software" To: "'Access Developers discussion and problem solving'" Cc: Subject: [AccessD] Changing Default Printer Dear List: Slightly different request for changing printers to the one I had a few day ago: Is there an easy way to save the current windows default printer and change to a user pre-selected printer (name stored in an local options table)? This is for a distributable app so there's no way to know what the installed printers are. The program needs to print to a PDF file. So the user has to have a PDF printer installed. They pre-select it through a combo box on a control panel loaded with all the installed printer names and the printer name is saved in a local table. The app then runs at night without user intervention triggered by windows scheduler. So when it runs these reports, I need it to change the windows default printer to whatever printer they select. And then change it back after I'm done printing. MTIA Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com Paul Hartland paul.hartland at fsmail.net 07730 523179 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.8/941 - Release Date: 8/7/2007 4:06 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.8/941 - Release Date: 8/7/2007 4:06 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.8/941 - Release Date: 8/7/2007 4:06 PM From cfoust at infostatsystems.com Wed Aug 8 12:23:20 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 8 Aug 2007 10:23:20 -0700 Subject: [AccessD] Changing Default Printer In-Reply-To: <004c01c7d9d6$636cc550$0301a8c0@HAL9005> References: <004c01c7d9d6$636cc550$0301a8c0@HAL9005> Message-ID: Um ... Is this PDF printer something you provide in your app? We've found that we needed to include an installer for our clients to reinstall their PDF printer when it went sideways, and we ran into problems if a full version of Adobe Acrobat was installed on the same machine. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, August 08, 2007 9:09 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Changing Default Printer Well, that won't be a problem for my app. Al I want to do it have the user switch to a PDF printer for reports which will then be attached to emails. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, August 08, 2007 8:52 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Changing Default Printer OY!! After all this time I don't recall. I know I wrote printer object based code to replace all our old code to set page size properly and then after testing it a bit, I threw it out and went back to the original code. I don't think it was a problem with selecting the printer, it was trying to manipulate the page settings that gave us problems. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, August 08, 2007 8:45 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Changing Default Printer Uh-oh. What problems did you have with the Printer object? Is that the same as using Application.Printer? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, August 08, 2007 8:08 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Changing Default Printer A2002 was the first version to have a printer object. I have to tell you, though, that we tried it and went back to API calls as more consistent and reliable. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, August 08, 2007 7:21 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Changing Default Printer What version of Access has that Printer object? And that code would go into the report in the load or open event? The code I found that I posted yesterday works in A2K3, it's real short, but does it at the OS level, which is probably more sketchy than doing it inside Access itself. What to you think? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of paul.hartland at fsmail.net Sent: Wednesday, August 08, 2007 1:40 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Changing Default Printer Importance: High Rocky, Not the neatest code in the world, but works for me: Dim prnPrinter As Printer Dim strDeviceName As String Dim bolFoundPrinter As Boolean strDeviceName = Printer.DeviceName ' Store current default printer bolFoundPrinter = False For Each prnPrinter In Printers If (prnPrinter.DeviceName = "NewPrinterName") Then Set Printer = prnPrinter bolFoundPrinter = True ' DO WHAT YOU WANT HERE TO PRINT Exit For End If Next ' Change back to original default printer For Each prnPrinter In Printers If (prnPrinter.DeviceName = strDeviceName) Then Set Printer = prnPrinter Exit For End If Next this is in VB6, so I assume should work in VBA for Access Message Received: Aug 07 2007, 08:49 PM From: "Rocky Smolin at Beach Access Software" To: "'Access Developers discussion and problem solving'" Cc: Subject: [AccessD] Changing Default Printer Dear List: Slightly different request for changing printers to the one I had a few day ago: Is there an easy way to save the current windows default printer and change to a user pre-selected printer (name stored in an local options table)? This is for a distributable app so there's no way to know what the installed printers are. The program needs to print to a PDF file. So the user has to have a PDF printer installed. They pre-select it through a combo box on a control panel loaded with all the installed printer names and the printer name is saved in a local table. The app then runs at night without user intervention triggered by windows scheduler. So when it runs these reports, I need it to change the windows default printer to whatever printer they select. And then change it back after I'm done printing. MTIA Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com Paul Hartland paul.hartland at fsmail.net 07730 523179 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.8/941 - Release Date: 8/7/2007 4:06 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.8/941 - Release Date: 8/7/2007 4:06 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.8/941 - Release Date: 8/7/2007 4:06 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Wed Aug 8 12:35:22 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Wed, 8 Aug 2007 10:35:22 -0700 Subject: [AccessD] Changing Default Printer In-Reply-To: Message-ID: <005601c7d9e2$7fa87050$0301a8c0@HAL9005> This is a work in progress so I don't have precise answers yet. But, the plan is to have the user install whatever PDF printer they like . In the control panel of the Automated Email System there's a combo box with all of the installed printers. They pick their PDF printer and it's saved in a local options table. So they'll be providing their own PDF printer. Which might finesse the problem you had. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, August 08, 2007 10:23 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Changing Default Printer Um ... Is this PDF printer something you provide in your app? We've found that we needed to include an installer for our clients to reinstall their PDF printer when it went sideways, and we ran into problems if a full version of Adobe Acrobat was installed on the same machine. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, August 08, 2007 9:09 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Changing Default Printer Well, that won't be a problem for my app. Al I want to do it have the user switch to a PDF printer for reports which will then be attached to emails. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, August 08, 2007 8:52 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Changing Default Printer OY!! After all this time I don't recall. I know I wrote printer object based code to replace all our old code to set page size properly and then after testing it a bit, I threw it out and went back to the original code. I don't think it was a problem with selecting the printer, it was trying to manipulate the page settings that gave us problems. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, August 08, 2007 8:45 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Changing Default Printer Uh-oh. What problems did you have with the Printer object? Is that the same as using Application.Printer? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, August 08, 2007 8:08 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Changing Default Printer A2002 was the first version to have a printer object. I have to tell you, though, that we tried it and went back to API calls as more consistent and reliable. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, August 08, 2007 7:21 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Changing Default Printer What version of Access has that Printer object? And that code would go into the report in the load or open event? The code I found that I posted yesterday works in A2K3, it's real short, but does it at the OS level, which is probably more sketchy than doing it inside Access itself. What to you think? Rocky From cfoust at infostatsystems.com Wed Aug 8 12:41:08 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 8 Aug 2007 10:41:08 -0700 Subject: [AccessD] Changing Default Printer In-Reply-To: <005601c7d9e2$7fa87050$0301a8c0@HAL9005> References: <005601c7d9e2$7fa87050$0301a8c0@HAL9005> Message-ID: On the other hand, it may cause you more problems. If you are using generic code to print to PDF, you won't be able to control page size, orientation, or anything else. Nor will you be able to create it with a useful name, which may not be what your user needs. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, August 08, 2007 10:35 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Changing Default Printer This is a work in progress so I don't have precise answers yet. But, the plan is to have the user install whatever PDF printer they like . In the control panel of the Automated Email System there's a combo box with all of the installed printers. They pick their PDF printer and it's saved in a local options table. So they'll be providing their own PDF printer. Which might finesse the problem you had. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, August 08, 2007 10:23 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Changing Default Printer Um ... Is this PDF printer something you provide in your app? We've found that we needed to include an installer for our clients to reinstall their PDF printer when it went sideways, and we ran into problems if a full version of Adobe Acrobat was installed on the same machine. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, August 08, 2007 9:09 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Changing Default Printer Well, that won't be a problem for my app. Al I want to do it have the user switch to a PDF printer for reports which will then be attached to emails. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, August 08, 2007 8:52 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Changing Default Printer OY!! After all this time I don't recall. I know I wrote printer object based code to replace all our old code to set page size properly and then after testing it a bit, I threw it out and went back to the original code. I don't think it was a problem with selecting the printer, it was trying to manipulate the page settings that gave us problems. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, August 08, 2007 8:45 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Changing Default Printer Uh-oh. What problems did you have with the Printer object? Is that the same as using Application.Printer? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, August 08, 2007 8:08 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Changing Default Printer A2002 was the first version to have a printer object. I have to tell you, though, that we tried it and went back to API calls as more consistent and reliable. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, August 08, 2007 7:21 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Changing Default Printer What version of Access has that Printer object? And that code would go into the report in the load or open event? The code I found that I posted yesterday works in A2K3, it's real short, but does it at the OS level, which is probably more sketchy than doing it inside Access itself. What to you think? Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Wed Aug 8 12:54:22 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Wed, 8 Aug 2007 10:54:22 -0700 Subject: [AccessD] Changing Default Printer In-Reply-To: Message-ID: <006601c7d9e5$26efdae0$0301a8c0@HAL9005> Any good alternatives that you know of? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, August 08, 2007 10:41 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Changing Default Printer On the other hand, it may cause you more problems. If you are using generic code to print to PDF, you won't be able to control page size, orientation, or anything else. Nor will you be able to create it with a useful name, which may not be what your user needs. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, August 08, 2007 10:35 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Changing Default Printer This is a work in progress so I don't have precise answers yet. But, the plan is to have the user install whatever PDF printer they like . In the control panel of the Automated Email System there's a combo box with all of the installed printers. They pick their PDF printer and it's saved in a local options table. So they'll be providing their own PDF printer. Which might finesse the problem you had. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, August 08, 2007 10:23 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Changing Default Printer Um ... Is this PDF printer something you provide in your app? We've found that we needed to include an installer for our clients to reinstall their PDF printer when it went sideways, and we ran into problems if a full version of Adobe Acrobat was installed on the same machine. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, August 08, 2007 9:09 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Changing Default Printer Well, that won't be a problem for my app. Al I want to do it have the user switch to a PDF printer for reports which will then be attached to emails. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, August 08, 2007 8:52 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Changing Default Printer OY!! After all this time I don't recall. I know I wrote printer object based code to replace all our old code to set page size properly and then after testing it a bit, I threw it out and went back to the original code. I don't think it was a problem with selecting the printer, it was trying to manipulate the page settings that gave us problems. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, August 08, 2007 8:45 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Changing Default Printer Uh-oh. What problems did you have with the Printer object? Is that the same as using Application.Printer? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, August 08, 2007 8:08 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Changing Default Printer A2002 was the first version to have a printer object. I have to tell you, though, that we tried it and went back to API calls as more consistent and reliable. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, August 08, 2007 7:21 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Changing Default Printer What version of Access has that Printer object? And that code would go into the report in the load or open event? The code I found that I posted yesterday works in A2K3, it's real short, but does it at the OS level, which is probably more sketchy than doing it inside Access itself. What to you think? Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.8/941 - Release Date: 8/7/2007 4:06 PM From cfoust at infostatsystems.com Wed Aug 8 12:59:59 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 8 Aug 2007 10:59:59 -0700 Subject: [AccessD] Changing Default Printer In-Reply-To: <006601c7d9e5$26efdae0$0301a8c0@HAL9005> References: <006601c7d9e5$26efdae0$0301a8c0@HAL9005> Message-ID: The alternatives (we used Amyuni) require coding and then installation on the target machine. I'm not sure you would be any better off, especially if you need to get this working fast. On the other hand, several of the PDF printers you can license on the web include VBA sample code to get you started. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, August 08, 2007 10:54 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Changing Default Printer Any good alternatives that you know of? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, August 08, 2007 10:41 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Changing Default Printer On the other hand, it may cause you more problems. If you are using generic code to print to PDF, you won't be able to control page size, orientation, or anything else. Nor will you be able to create it with a useful name, which may not be what your user needs. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, August 08, 2007 10:35 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Changing Default Printer This is a work in progress so I don't have precise answers yet. But, the plan is to have the user install whatever PDF printer they like . In the control panel of the Automated Email System there's a combo box with all of the installed printers. They pick their PDF printer and it's saved in a local options table. So they'll be providing their own PDF printer. Which might finesse the problem you had. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, August 08, 2007 10:23 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Changing Default Printer Um ... Is this PDF printer something you provide in your app? We've found that we needed to include an installer for our clients to reinstall their PDF printer when it went sideways, and we ran into problems if a full version of Adobe Acrobat was installed on the same machine. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, August 08, 2007 9:09 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Changing Default Printer Well, that won't be a problem for my app. Al I want to do it have the user switch to a PDF printer for reports which will then be attached to emails. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, August 08, 2007 8:52 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Changing Default Printer OY!! After all this time I don't recall. I know I wrote printer object based code to replace all our old code to set page size properly and then after testing it a bit, I threw it out and went back to the original code. I don't think it was a problem with selecting the printer, it was trying to manipulate the page settings that gave us problems. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, August 08, 2007 8:45 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Changing Default Printer Uh-oh. What problems did you have with the Printer object? Is that the same as using Application.Printer? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, August 08, 2007 8:08 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Changing Default Printer A2002 was the first version to have a printer object. I have to tell you, though, that we tried it and went back to API calls as more consistent and reliable. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, August 08, 2007 7:21 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Changing Default Printer What version of Access has that Printer object? And that code would go into the report in the load or open event? The code I found that I posted yesterday works in A2K3, it's real short, but does it at the OS level, which is probably more sketchy than doing it inside Access itself. What to you think? Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.8/941 - Release Date: 8/7/2007 4:06 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Wed Aug 8 13:13:31 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 08 Aug 2007 20:13:31 +0200 Subject: [AccessD] Question on order within a union query Message-ID: Hi Thomas Never underestimate the power of a temp table! The total time to build the report may even be shorter. /gustav >>> ewaldt at gdls.com 08-08-2007 17:22 >>> Thanks, Gustav. I thought of adding a field to each of them, but in some cases it's a query based on a query based on a query, and tracking down to find and change originals and then adapting each of the subsequent puppies seemed too subject to error. Your solution is much nicer. I'm going to switch to that one, but I had settled on a different solution: Instead of UNIONing them all, l append them all, in the correct order, to a table (after first clearing it out, of course), and then use the table. That works fine, but I like your solution better. Thanks, again. Thomas F. Ewald Stryker Mass Properties General Dynamics Land Systems Subject: Re: [AccessD] Question on order within a union query Hi Tom Yes, include in each of the sections of the union query an expression to sort on, like: SELECT 1 AS SortID, ... UNION ALL SELECT 2 AS SortID, ... Then Order By SortID as the first field and those fields, you currently sort on, as the next field(s). /gustav From Gustav at cactus.dk Wed Aug 8 13:19:23 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 08 Aug 2007 20:19:23 +0200 Subject: [AccessD] Correctly Closing Excel Message-ID: Hi Thomas Declare your cell objects as Range and use Worksheet for Sheet. Set all object to Nothing before exiting the sub. Browse the archive for numerous examples on handling Excel from within Access VBA. /gustav >>> ewaldt at gdls.com 08-08-2007 17:30 >>> In running the code below, I find that Excel does not completely exit, as evidenced by Task Manager/Processes. I've either neglected something, or I've done something out of order. Could someone tell me my mistake, please? Thanks. I've been struggling with this for a while now. Thomas F. Ewald Stryker Mass Properties General Dynamics Land Systems --------------------------------------------------------------- Sub PrepData() Dim xlApp As Excel.Application Dim xlWB As Excel.Workbook Set xlApp = CreateObject("Excel.Application") 'Open Excel workbook Set xlWB = xlApp.Workbooks.Open(strFileName) 'opens file DoCmd.SetWarnings False 'Prep Excel workbook PrepExcel 'Empty Clipboard before closing workbook xlApp.CutCopyMode = False 'Shut down Excel xlWB.Close savechanges:=True Set xlWB = Nothing xlApp.Quit Set xlApp = Nothing DoCmd.SetWarnings True End Sub --------------------------------------------------------------------- In case it's the PrepExcel sub that's causing the problem, here it is: --------------------------------------------------------------------- Sub PrepExcel() Dim intNewRow As Integer Dim oCell As Object Sheets.Add Sheets("Sheet1").Name = "ToImport" Sheets("ToImport").Select 'Copy only rows where column B = "A" intNewRow = 1 For Each oCell In Sheets("GDLS-SHC").Range("B1:B200") If oCell.Formula = "A" Then oCell.EntireRow.Copy ActiveSheet.Paste Destination:=Worksheets("ToImport").Range("A" & intNewRow) intNewRow = intNewRow + 1 End If Next oCell For Each oCell In Sheets("GDLS-C").Range("B1:B200") If oCell.Formula = "A" Then oCell.EntireRow.Copy ActiveSheet.Paste Destination:=Worksheets("ToImport").Range("A" & intNewRow) intNewRow = intNewRow + 1 End If Next oCell 'Check for non-numeric in Pounds and Grams intNewRow = intNewRow - 1 For Each oCell In Sheets("ToImport").Range("C1:D" & intNewRow) If Not IsNumeric(oCell.Formula) Then oCell.Formula = 0 End If Next oCell For Each oCell In Sheets("ToImport").Range("C1:C" & intNewRow) oCell.Formula = oCell.Formula + Range("D" & oCell.Row).Formula * 2.205 / 1000 Next oCell End Sub ---------------------------------------------------------- Thomas F. Ewald Stryker Mass Properties General Dynamics Land Systems From rockysmolin at bchacc.com Wed Aug 8 13:22:02 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Wed, 8 Aug 2007 11:22:02 -0700 Subject: [AccessD] Changing Default Printer In-Reply-To: Message-ID: <007201c7d9e9$04a02540$0301a8c0@HAL9005> Do you know if Adobe has an object model that can be manipulated through code? So that, for example, you could create a file name or direct the PDF file to a specific folder? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, August 08, 2007 11:00 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Changing Default Printer The alternatives (we used Amyuni) require coding and then installation on the target machine. I'm not sure you would be any better off, especially if you need to get this working fast. On the other hand, several of the PDF printers you can license on the web include VBA sample code to get you started. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, August 08, 2007 10:54 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Changing Default Printer Any good alternatives that you know of? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, August 08, 2007 10:41 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Changing Default Printer On the other hand, it may cause you more problems. If you are using generic code to print to PDF, you won't be able to control page size, orientation, or anything else. Nor will you be able to create it with a useful name, which may not be what your user needs. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, August 08, 2007 10:35 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Changing Default Printer This is a work in progress so I don't have precise answers yet. But, the plan is to have the user install whatever PDF printer they like . In the control panel of the Automated Email System there's a combo box with all of the installed printers. They pick their PDF printer and it's saved in a local options table. So they'll be providing their own PDF printer. Which might finesse the problem you had. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, August 08, 2007 10:23 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Changing Default Printer Um ... Is this PDF printer something you provide in your app? We've found that we needed to include an installer for our clients to reinstall their PDF printer when it went sideways, and we ran into problems if a full version of Adobe Acrobat was installed on the same machine. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, August 08, 2007 9:09 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Changing Default Printer Well, that won't be a problem for my app. Al I want to do it have the user switch to a PDF printer for reports which will then be attached to emails. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, August 08, 2007 8:52 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Changing Default Printer OY!! After all this time I don't recall. I know I wrote printer object based code to replace all our old code to set page size properly and then after testing it a bit, I threw it out and went back to the original code. I don't think it was a problem with selecting the printer, it was trying to manipulate the page settings that gave us problems. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, August 08, 2007 8:45 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Changing Default Printer Uh-oh. What problems did you have with the Printer object? Is that the same as using Application.Printer? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, August 08, 2007 8:08 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Changing Default Printer A2002 was the first version to have a printer object. I have to tell you, though, that we tried it and went back to API calls as more consistent and reliable. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, August 08, 2007 7:21 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Changing Default Printer What version of Access has that Printer object? And that code would go into the report in the load or open event? The code I found that I posted yesterday works in A2K3, it's real short, but does it at the OS level, which is probably more sketchy than doing it inside Access itself. What to you think? Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.8/941 - Release Date: 8/7/2007 4:06 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.8/941 - Release Date: 8/7/2007 4:06 PM From cfoust at infostatsystems.com Wed Aug 8 13:41:28 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 8 Aug 2007 11:41:28 -0700 Subject: [AccessD] Changing Default Printer In-Reply-To: <007201c7d9e9$04a02540$0301a8c0@HAL9005> References: <007201c7d9e9$04a02540$0301a8c0@HAL9005> Message-ID: Adobe has an API, but I believe you'd need the product on the target machine for that to do you any good. Charlotte -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, August 08, 2007 11:22 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Changing Default Printer Do you know if Adobe has an object model that can be manipulated through code? So that, for example, you could create a file name or direct the PDF file to a specific folder? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, August 08, 2007 11:00 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Changing Default Printer The alternatives (we used Amyuni) require coding and then installation on the target machine. I'm not sure you would be any better off, especially if you need to get this working fast. On the other hand, several of the PDF printers you can license on the web include VBA sample code to get you started. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, August 08, 2007 10:54 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Changing Default Printer Any good alternatives that you know of? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, August 08, 2007 10:41 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Changing Default Printer On the other hand, it may cause you more problems. If you are using generic code to print to PDF, you won't be able to control page size, orientation, or anything else. Nor will you be able to create it with a useful name, which may not be what your user needs. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, August 08, 2007 10:35 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Changing Default Printer This is a work in progress so I don't have precise answers yet. But, the plan is to have the user install whatever PDF printer they like . In the control panel of the Automated Email System there's a combo box with all of the installed printers. They pick their PDF printer and it's saved in a local options table. So they'll be providing their own PDF printer. Which might finesse the problem you had. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, August 08, 2007 10:23 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Changing Default Printer Um ... Is this PDF printer something you provide in your app? We've found that we needed to include an installer for our clients to reinstall their PDF printer when it went sideways, and we ran into problems if a full version of Adobe Acrobat was installed on the same machine. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, August 08, 2007 9:09 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Changing Default Printer Well, that won't be a problem for my app. Al I want to do it have the user switch to a PDF printer for reports which will then be attached to emails. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, August 08, 2007 8:52 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Changing Default Printer OY!! After all this time I don't recall. I know I wrote printer object based code to replace all our old code to set page size properly and then after testing it a bit, I threw it out and went back to the original code. I don't think it was a problem with selecting the printer, it was trying to manipulate the page settings that gave us problems. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, August 08, 2007 8:45 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Changing Default Printer Uh-oh. What problems did you have with the Printer object? Is that the same as using Application.Printer? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, August 08, 2007 8:08 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Changing Default Printer A2002 was the first version to have a printer object. I have to tell you, though, that we tried it and went back to API calls as more consistent and reliable. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, August 08, 2007 7:21 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Changing Default Printer What version of Access has that Printer object? And that code would go into the report in the load or open event? The code I found that I posted yesterday works in A2K3, it's real short, but does it at the OS level, which is probably more sketchy than doing it inside Access itself. What to you think? Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.8/941 - Release Date: 8/7/2007 4:06 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.8/941 - Release Date: 8/7/2007 4:06 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dw-murphy at cox.net Wed Aug 8 13:44:12 2007 From: dw-murphy at cox.net (Doug Murphy) Date: Wed, 8 Aug 2007 11:44:12 -0700 Subject: [AccessD] Changing Default Printer In-Reply-To: <007201c7d9e9$04a02540$0301a8c0@HAL9005> Message-ID: <003001c7d9ec$1ce46d70$0200a8c0@murphy3234aaf1> Rocky, There is no object model that I know of. There is vb code on the Adobe site and on the web but each file is saved to a setting in the registry, so if you want to have each file saved to a unique name and folder location you have to set that in the registry. I can dig out the code I use if you want it. Send off line. Doug -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, August 08, 2007 11:22 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Changing Default Printer Do you know if Adobe has an object model that can be manipulated through code? So that, for example, you could create a file name or direct the PDF file to a specific folder? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, August 08, 2007 11:00 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Changing Default Printer The alternatives (we used Amyuni) require coding and then installation on the target machine. I'm not sure you would be any better off, especially if you need to get this working fast. On the other hand, several of the PDF printers you can license on the web include VBA sample code to get you started. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, August 08, 2007 10:54 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Changing Default Printer Any good alternatives that you know of? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, August 08, 2007 10:41 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Changing Default Printer On the other hand, it may cause you more problems. If you are using generic code to print to PDF, you won't be able to control page size, orientation, or anything else. Nor will you be able to create it with a useful name, which may not be what your user needs. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, August 08, 2007 10:35 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Changing Default Printer This is a work in progress so I don't have precise answers yet. But, the plan is to have the user install whatever PDF printer they like . In the control panel of the Automated Email System there's a combo box with all of the installed printers. They pick their PDF printer and it's saved in a local options table. So they'll be providing their own PDF printer. Which might finesse the problem you had. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, August 08, 2007 10:23 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Changing Default Printer Um ... Is this PDF printer something you provide in your app? We've found that we needed to include an installer for our clients to reinstall their PDF printer when it went sideways, and we ran into problems if a full version of Adobe Acrobat was installed on the same machine. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, August 08, 2007 9:09 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Changing Default Printer Well, that won't be a problem for my app. Al I want to do it have the user switch to a PDF printer for reports which will then be attached to emails. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, August 08, 2007 8:52 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Changing Default Printer OY!! After all this time I don't recall. I know I wrote printer object based code to replace all our old code to set page size properly and then after testing it a bit, I threw it out and went back to the original code. I don't think it was a problem with selecting the printer, it was trying to manipulate the page settings that gave us problems. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, August 08, 2007 8:45 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Changing Default Printer Uh-oh. What problems did you have with the Printer object? Is that the same as using Application.Printer? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, August 08, 2007 8:08 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Changing Default Printer A2002 was the first version to have a printer object. I have to tell you, though, that we tried it and went back to API calls as more consistent and reliable. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, August 08, 2007 7:21 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Changing Default Printer What version of Access has that Printer object? And that code would go into the report in the load or open event? The code I found that I posted yesterday works in A2K3, it's real short, but does it at the OS level, which is probably more sketchy than doing it inside Access itself. What to you think? Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.8/941 - Release Date: 8/7/2007 4:06 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.8/941 - Release Date: 8/7/2007 4:06 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From nd500_lo at charter.net Wed Aug 8 15:15:55 2007 From: nd500_lo at charter.net (Dian) Date: Wed, 8 Aug 2007 13:15:55 -0700 Subject: [AccessD] OT: Pics from JC Conference In-Reply-To: <001801c7d9c7$e3ca3e30$8abea8c0@XPS> References: <006801c7d92b$e9e1d0e0$0301a8c0@HAL9005> <001801c7d9c7$e3ca3e30$8abea8c0@XPS> Message-ID: <000601c7d9f8$ed1b3ad0$6400a8c0@dsunit1> We didn't take any pics, though, Charlotte...but, should we share our code word to make sure we connected with the right person? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Wednesday, August 08, 2007 7:25 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Pics from JC Conference << San Luis Obispo!>> Nice place. I was there last year for an Experts-Exchange conference. Stayed down the coast just a bit. Really enjoyed the couple of days there and the drive up/down the coast to LA. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, August 07, 2007 5:15 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Pics from JC Conference WHICH latest conference?? Dian and I had our own mini-meeting last month in San Luis Obispo! Had a great couple of hours getting acquainted and didn't talk software so's you'd notice. LOL Charlotte -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Tuesday, August 07, 2007 1:52 PM To: accessd at databaseadvisors.com Subject: [AccessD] OT: Pics from JC Conference Just curious if the pics from the latest conference are on the site somewhere? Thanks, Mark A. Matte _________________________________________________________________ Messenger Caf? - open for fun 24/7. Hot games, cool activities served daily. Visit now. http://cafemessenger.com?ocid=TXT_TAGHM_AugHMtagline -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dwaters at usinternet.com Wed Aug 8 15:22:02 2007 From: dwaters at usinternet.com (Dan Waters) Date: Wed, 8 Aug 2007 15:22:02 -0500 Subject: [AccessD] Hyperlink to .chm help file Message-ID: <005501c7d9f9$c8f8ef70$0200a8c0@danwaters> I want to set up a command button so that it's hyperlink address points to a .chm help file. However, a recent MS security update makes this difficult. Has anyone figured out how to make this work? Thanks! Dan Waters From rockysmolin at bchacc.com Wed Aug 8 15:33:00 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Wed, 8 Aug 2007 13:33:00 -0700 Subject: [AccessD] Changing Default Printer In-Reply-To: <003001c7d9ec$1ce46d70$0200a8c0@murphy3234aaf1> Message-ID: <009401c7d9fb$50bfe340$0301a8c0@HAL9005> Doug: I'd appreciate seeing that. Adobe is standard so the client may standardize on it. Thanks and regards, Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Murphy Sent: Wednesday, August 08, 2007 11:44 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Changing Default Printer Rocky, There is no object model that I know of. There is vb code on the Adobe site and on the web but each file is saved to a setting in the registry, so if you want to have each file saved to a unique name and folder location you have to set that in the registry. I can dig out the code I use if you want it. Send off line. Doug -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, August 08, 2007 11:22 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Changing Default Printer Do you know if Adobe has an object model that can be manipulated through code? So that, for example, you could create a file name or direct the PDF file to a specific folder? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, August 08, 2007 11:00 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Changing Default Printer The alternatives (we used Amyuni) require coding and then installation on the target machine. I'm not sure you would be any better off, especially if you need to get this working fast. On the other hand, several of the PDF printers you can license on the web include VBA sample code to get you started. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, August 08, 2007 10:54 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Changing Default Printer Any good alternatives that you know of? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, August 08, 2007 10:41 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Changing Default Printer On the other hand, it may cause you more problems. If you are using generic code to print to PDF, you won't be able to control page size, orientation, or anything else. Nor will you be able to create it with a useful name, which may not be what your user needs. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, August 08, 2007 10:35 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Changing Default Printer This is a work in progress so I don't have precise answers yet. But, the plan is to have the user install whatever PDF printer they like . In the control panel of the Automated Email System there's a combo box with all of the installed printers. They pick their PDF printer and it's saved in a local options table. So they'll be providing their own PDF printer. Which might finesse the problem you had. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, August 08, 2007 10:23 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Changing Default Printer Um ... Is this PDF printer something you provide in your app? We've found that we needed to include an installer for our clients to reinstall their PDF printer when it went sideways, and we ran into problems if a full version of Adobe Acrobat was installed on the same machine. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, August 08, 2007 9:09 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Changing Default Printer Well, that won't be a problem for my app. Al I want to do it have the user switch to a PDF printer for reports which will then be attached to emails. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, August 08, 2007 8:52 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Changing Default Printer OY!! After all this time I don't recall. I know I wrote printer object based code to replace all our old code to set page size properly and then after testing it a bit, I threw it out and went back to the original code. I don't think it was a problem with selecting the printer, it was trying to manipulate the page settings that gave us problems. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, August 08, 2007 8:45 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Changing Default Printer Uh-oh. What problems did you have with the Printer object? Is that the same as using Application.Printer? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, August 08, 2007 8:08 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Changing Default Printer A2002 was the first version to have a printer object. I have to tell you, though, that we tried it and went back to API calls as more consistent and reliable. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, August 08, 2007 7:21 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Changing Default Printer What version of Access has that Printer object? And that code would go into the report in the load or open event? The code I found that I posted yesterday works in A2K3, it's real short, but does it at the OS level, which is probably more sketchy than doing it inside Access itself. What to you think? Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.8/941 - Release Date: 8/7/2007 4:06 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.8/941 - Release Date: 8/7/2007 4:06 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.8/941 - Release Date: 8/7/2007 4:06 PM From Donald.A.McGillivray at sprint.com Wed Aug 8 15:55:00 2007 From: Donald.A.McGillivray at sprint.com (McGillivray, Don [IT]) Date: Wed, 8 Aug 2007 15:55:00 -0500 Subject: [AccessD] Changing Default Printer In-Reply-To: <009401c7d9fb$50bfe340$0301a8c0@HAL9005> References: <003001c7d9ec$1ce46d70$0200a8c0@murphy3234aaf1> <009401c7d9fb$50bfe340$0301a8c0@HAL9005> Message-ID: Rocky, Lebans has code to convert a report to PDF that might do what you want. http://www.lebans.com/reporttopdf.htm Don -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, August 08, 2007 1:33 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Changing Default Printer Doug: I'd appreciate seeing that. Adobe is standard so the client may standardize on it. Thanks and regards, Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Murphy Sent: Wednesday, August 08, 2007 11:44 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Changing Default Printer Rocky, There is no object model that I know of. There is vb code on the Adobe site and on the web but each file is saved to a setting in the registry, so if you want to have each file saved to a unique name and folder location you have to set that in the registry. I can dig out the code I use if you want it. Send off line. Doug -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, August 08, 2007 11:22 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Changing Default Printer Do you know if Adobe has an object model that can be manipulated through code? So that, for example, you could create a file name or direct the PDF file to a specific folder? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, August 08, 2007 11:00 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Changing Default Printer The alternatives (we used Amyuni) require coding and then installation on the target machine. I'm not sure you would be any better off, especially if you need to get this working fast. On the other hand, several of the PDF printers you can license on the web include VBA sample code to get you started. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, August 08, 2007 10:54 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Changing Default Printer Any good alternatives that you know of? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, August 08, 2007 10:41 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Changing Default Printer On the other hand, it may cause you more problems. If you are using generic code to print to PDF, you won't be able to control page size, orientation, or anything else. Nor will you be able to create it with a useful name, which may not be what your user needs. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, August 08, 2007 10:35 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Changing Default Printer This is a work in progress so I don't have precise answers yet. But, the plan is to have the user install whatever PDF printer they like . In the control panel of the Automated Email System there's a combo box with all of the installed printers. They pick their PDF printer and it's saved in a local options table. So they'll be providing their own PDF printer. Which might finesse the problem you had. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, August 08, 2007 10:23 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Changing Default Printer Um ... Is this PDF printer something you provide in your app? We've found that we needed to include an installer for our clients to reinstall their PDF printer when it went sideways, and we ran into problems if a full version of Adobe Acrobat was installed on the same machine. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, August 08, 2007 9:09 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Changing Default Printer Well, that won't be a problem for my app. Al I want to do it have the user switch to a PDF printer for reports which will then be attached to emails. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, August 08, 2007 8:52 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Changing Default Printer OY!! After all this time I don't recall. I know I wrote printer object based code to replace all our old code to set page size properly and then after testing it a bit, I threw it out and went back to the original code. I don't think it was a problem with selecting the printer, it was trying to manipulate the page settings that gave us problems. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, August 08, 2007 8:45 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Changing Default Printer Uh-oh. What problems did you have with the Printer object? Is that the same as using Application.Printer? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, August 08, 2007 8:08 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Changing Default Printer A2002 was the first version to have a printer object. I have to tell you, though, that we tried it and went back to API calls as more consistent and reliable. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, August 08, 2007 7:21 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Changing Default Printer What version of Access has that Printer object? And that code would go into the report in the load or open event? The code I found that I posted yesterday works in A2K3, it's real short, but does it at the OS level, which is probably more sketchy than doing it inside Access itself. What to you think? Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.8/941 - Release Date: 8/7/2007 4:06 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.8/941 - Release Date: 8/7/2007 4:06 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.8/941 - Release Date: 8/7/2007 4:06 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From markamatte at hotmail.com Wed Aug 8 15:57:27 2007 From: markamatte at hotmail.com (Mark A Matte) Date: Wed, 08 Aug 2007 20:57:27 +0000 Subject: [AccessD] SQL Speed In-Reply-To: <009401c7d9fb$50bfe340$0301a8c0@HAL9005> Message-ID: Hello All, I am involved in a project that will be web based. The database will either be access or SQL Server. The question is: I need to run a bunch (maybe 10K) of SQL statements againts a single table...or flat file, whatever is best, containing about 4K rows. The results of each will be appended to a second table, or emailed instantly (ahh...idea...good place for a JC style Class). The SQL statements themselves will be stored in a table. Does anyone have any ideas/suggestions about approach? I will need ALL of the SQLs to run in less than 5 minutes. I know 1 runs in a fraction of a second...I just don't know what that fraction is to calculate time needed. Being there are so few rows involved...but so many SQL statements...and speed is an issue...will there be a signicant advantage using SQL Server or Access? I'm thinking of having the SQLs in a table and looping through and executing each...I just don't know if this is the best approach? Thanks, Mark A. Matte _________________________________________________________________ Booking a flight? Know when to buy with airfare predictions on MSN Travel. http://travel.msn.com/Articles/aboutfarecast.aspx&ocid=T001MSN25A07001 From wdhindman at dejpolsystems.com Wed Aug 8 16:09:44 2007 From: wdhindman at dejpolsystems.com (William Hindman) Date: Wed, 8 Aug 2007 17:09:44 -0400 Subject: [AccessD] Changing Default Printer References: <009401c7d9fb$50bfe340$0301a8c0@HAL9005> Message-ID: <005f01c7da00$72287e20$0c10a8c0@jisshowsbs.local> ...not once he sees their prices. William Hindman ----- Original Message ----- From: "Rocky Smolin at Beach Access Software" To: "'Access Developers discussion and problem solving'" Sent: Wednesday, August 08, 2007 4:33 PM Subject: Re: [AccessD] Changing Default Printer > Doug: > > I'd appreciate seeing that. Adobe is standard so the client may > standardize > on it. > > Thanks and regards, > > Rocky > > > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Murphy > Sent: Wednesday, August 08, 2007 11:44 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Changing Default Printer > > Rocky, > > There is no object model that I know of. There is vb code on the Adobe > site > and on the web but each file is saved to a setting in the registry, so if > you want to have each file saved to a unique name and folder location you > have to set that in the registry. I can dig out the code I use if you want > it. Send off line. > > Doug > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at > Beach Access Software > Sent: Wednesday, August 08, 2007 11:22 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Changing Default Printer > > Do you know if Adobe has an object model that can be manipulated through > code? So that, for example, you could create a file name or direct the > PDF > file to a specific folder? > > Rocky > > > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust > Sent: Wednesday, August 08, 2007 11:00 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Changing Default Printer > > The alternatives (we used Amyuni) require coding and then installation on > the target machine. I'm not sure you would be any better off, especially > if > you need to get this working fast. On the other hand, several of the PDF > printers you can license on the web include VBA sample code to get you > started. > > Charlotte Foust > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at > Beach Access Software > Sent: Wednesday, August 08, 2007 10:54 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Changing Default Printer > > Any good alternatives that you know of? > > Rocky > > > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust > Sent: Wednesday, August 08, 2007 10:41 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Changing Default Printer > > On the other hand, it may cause you more problems. If you are using > generic > code to print to PDF, you won't be able to control page size, orientation, > or anything else. Nor will you be able to create it with a useful name, > which may not be what your user needs. > > Charlotte Foust > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at > Beach Access Software > Sent: Wednesday, August 08, 2007 10:35 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Changing Default Printer > > This is a work in progress so I don't have precise answers yet. But, the > plan is to have the user install whatever PDF printer they like . > In the control panel of the Automated Email System there's a combo box > with > all of the installed printers. They pick their PDF printer and it's saved > in a local options table. So they'll be providing their own PDF printer. > Which might finesse the problem you had. > > Rocky > > > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust > Sent: Wednesday, August 08, 2007 10:23 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Changing Default Printer > > Um ... Is this PDF printer something you provide in your app? We've found > that we needed to include an installer for our clients to reinstall their > PDF printer when it went sideways, and we ran into problems if a full > version of Adobe Acrobat was installed on the same machine. > > Charlotte Foust > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at > Beach Access Software > Sent: Wednesday, August 08, 2007 9:09 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Changing Default Printer > > Well, that won't be a problem for my app. Al I want to do it have the > user > switch to a PDF printer for reports which will then be attached to emails. > > > Rocky > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust > Sent: Wednesday, August 08, 2007 8:52 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Changing Default Printer > > OY!! After all this time I don't recall. I know I wrote printer object > based code to replace all our old code to set page size properly and then > after testing it a bit, I threw it out and went back to the original code. > I don't think it was a problem with selecting the printer, it was trying > to > manipulate the page settings that gave us problems. > > Charlotte Foust > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at > Beach Access Software > Sent: Wednesday, August 08, 2007 8:45 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Changing Default Printer > > Uh-oh. What problems did you have with the Printer object? Is that the > same as using Application.Printer? > > Rocky > > > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust > Sent: Wednesday, August 08, 2007 8:08 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Changing Default Printer > > A2002 was the first version to have a printer object. I have to tell you, > though, that we tried it and went back to API calls as more consistent and > reliable. > > Charlotte Foust > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at > Beach Access Software > Sent: Wednesday, August 08, 2007 7:21 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Changing Default Printer > > What version of Access has that Printer object? And that code would go > into > the report in the load or open event? The code I found that I posted > yesterday works in A2K3, it's real short, but does it at the OS level, > which > is probably more sketchy than doing it inside Access itself. What to you > think? > > Rocky > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.476 / Virus Database: 269.11.8/941 - Release Date: 8/7/2007 > 4:06 PM > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.476 / Virus Database: 269.11.8/941 - Release Date: 8/7/2007 > 4:06 PM > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.476 / Virus Database: 269.11.8/941 - Release Date: 8/7/2007 > 4:06 PM > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From rockysmolin at bchacc.com Wed Aug 8 16:14:17 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Wed, 8 Aug 2007 14:14:17 -0700 Subject: [AccessD] Changing Default Printer In-Reply-To: Message-ID: <009a01c7da01$144f1ce0$0301a8c0@HAL9005> That looks very promising. Thanks. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of McGillivray, Don [IT] Sent: Wednesday, August 08, 2007 1:55 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Changing Default Printer Rocky, Lebans has code to convert a report to PDF that might do what you want. http://www.lebans.com/reporttopdf.htm Don -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, August 08, 2007 1:33 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Changing Default Printer Doug: I'd appreciate seeing that. Adobe is standard so the client may standardize on it. Thanks and regards, Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Murphy Sent: Wednesday, August 08, 2007 11:44 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Changing Default Printer Rocky, There is no object model that I know of. There is vb code on the Adobe site and on the web but each file is saved to a setting in the registry, so if you want to have each file saved to a unique name and folder location you have to set that in the registry. I can dig out the code I use if you want it. Send off line. Doug -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, August 08, 2007 11:22 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Changing Default Printer Do you know if Adobe has an object model that can be manipulated through code? So that, for example, you could create a file name or direct the PDF file to a specific folder? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, August 08, 2007 11:00 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Changing Default Printer The alternatives (we used Amyuni) require coding and then installation on the target machine. I'm not sure you would be any better off, especially if you need to get this working fast. On the other hand, several of the PDF printers you can license on the web include VBA sample code to get you started. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, August 08, 2007 10:54 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Changing Default Printer Any good alternatives that you know of? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, August 08, 2007 10:41 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Changing Default Printer On the other hand, it may cause you more problems. If you are using generic code to print to PDF, you won't be able to control page size, orientation, or anything else. Nor will you be able to create it with a useful name, which may not be what your user needs. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, August 08, 2007 10:35 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Changing Default Printer This is a work in progress so I don't have precise answers yet. But, the plan is to have the user install whatever PDF printer they like . In the control panel of the Automated Email System there's a combo box with all of the installed printers. They pick their PDF printer and it's saved in a local options table. So they'll be providing their own PDF printer. Which might finesse the problem you had. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, August 08, 2007 10:23 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Changing Default Printer Um ... Is this PDF printer something you provide in your app? We've found that we needed to include an installer for our clients to reinstall their PDF printer when it went sideways, and we ran into problems if a full version of Adobe Acrobat was installed on the same machine. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, August 08, 2007 9:09 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Changing Default Printer Well, that won't be a problem for my app. Al I want to do it have the user switch to a PDF printer for reports which will then be attached to emails. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, August 08, 2007 8:52 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Changing Default Printer OY!! After all this time I don't recall. I know I wrote printer object based code to replace all our old code to set page size properly and then after testing it a bit, I threw it out and went back to the original code. I don't think it was a problem with selecting the printer, it was trying to manipulate the page settings that gave us problems. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, August 08, 2007 8:45 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Changing Default Printer Uh-oh. What problems did you have with the Printer object? Is that the same as using Application.Printer? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, August 08, 2007 8:08 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Changing Default Printer A2002 was the first version to have a printer object. I have to tell you, though, that we tried it and went back to API calls as more consistent and reliable. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, August 08, 2007 7:21 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Changing Default Printer What version of Access has that Printer object? And that code would go into the report in the load or open event? The code I found that I posted yesterday works in A2K3, it's real short, but does it at the OS level, which is probably more sketchy than doing it inside Access itself. What to you think? Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.8/941 - Release Date: 8/7/2007 4:06 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.8/941 - Release Date: 8/7/2007 4:06 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.8/941 - Release Date: 8/7/2007 4:06 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.8/941 - Release Date: 8/7/2007 4:06 PM From martyconnelly at shaw.ca Wed Aug 8 17:06:40 2007 From: martyconnelly at shaw.ca (MartyConnelly) Date: Wed, 08 Aug 2007 15:06:40 -0700 Subject: [AccessD] Hyperlink to .chm help file In-Reply-To: <005501c7d9f9$c8f8ef70$0200a8c0@danwaters> References: <005501c7d9f9$c8f8ef70$0200a8c0@danwaters> Message-ID: <46BA3E70.1040909@shaw.ca> Try ShellExecute API with name of file 'http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/shell/reference/functions/shellexecute.asp 'API STUFF ==================================================================== Private Declare Function ShellExecute Lib "shell32.dll" Alias "ShellExecuteA" _ (ByVal hwnd As Long, ByVal lpOperation As String, ByVal lpFile As String, _ ByVal lpParameters As String, ByVal lpDirectory As String, ByVal nShowCmd _ As Long) As Long Private Const SW_SHOWNORMAL = 1 Private Const ERROR_FILE_NOT_FOUND = 2& Private Const ERROR_PATH_NOT_FOUND = 3& Private Const ERROR_BAD_FORMAT = 11& Private Const SE_ERR_ACCESSDENIED = 5 Private Const SE_ERR_ASSOCINCOMPLETE = 27 Private Const SE_ERR_DDEBUSY = 30 Private Const SE_ERR_DDEFAIL = 29 Private Const SE_ERR_DDETIMEOUT = 28 Private Const SE_ERR_DLLNOTFOUND = 32 Private Const SE_ERR_FNF = 2 Private Const SE_ERR_NOASSOC = 31 Private Const SE_ERR_OOM = 8 Private Const SE_ERR_PNF = 3 Private Const SE_ERR_SHARE = 26 'strProgram is the name of a program to run, or a file to open 'EX: calc.exe or c:\test.doc or http:\\www.microsoft.com Public Sub RunProgram(strProgram As String) Dim lRet As Long ' Get the return value ' Execute the API call lRet = ShellExecute(vbNull, "", strProgram, "", "", SW_SHOWNORMAL) ' If ShellExecute works it will return a number greate than 32 ' Otherwise call our ReportError function to see what went wrong If lRet <= 32 Then ReportShellExecuteError (lRet) End If End Sub Private Sub ReportShellExecuteError(lErrNum As Long) Dim strErr As String Select Case lErrNum Case ERROR_FILE_NOT_FOUND strErr = "The specified file was not found." Case ERROR_PATH_NOT_FOUND strErr = "The specified path was not found." Case ERROR_BAD_FORMAT strErr = "The .exe file is invalid (non-Win32? .exe or error in .exe image)." Case SE_ERR_ACCESSDENIED strErr = "The operating system denied access to the specified file. " Case SE_ERR_ASSOCINCOMPLETE strErr = "The file name association is incomplete or invalid." Case SE_ERR_DDEBUSY strErr = "The DDE transaction could not be completed because other DDE transactions were being processed." Case SE_ERR_DDEFAIL strErr = "The DDE transaction failed." Case SE_ERR_DDETIMEOUT strErr = "The DDE transaction could not be completed because the request timed out." Case SE_ERR_DLLNOTFOUND strErr = "The specified dynamic-link library was not found. " Case SE_ERR_FNF strErr = "The specified file was not found. " Case SE_ERR_NOASSOC strErr = "There is no application associated with the given file name extension. This error will also be returned if you attempt to print a file that is not printable." Case SE_ERR_OOM strErr = "There was not enough memory to complete the operation." Case SE_ERR_PNF strErr = "The specified path was not found." Case SE_ERR_SHARE strErr = "A sharing violation occurred." End Select MsgBox strErr, vbExclamation, "Error running program" End Sub Dan Waters wrote: >I want to set up a command button so that it's hyperlink address points to a >.chm help file. However, a recent MS security update makes this difficult. > >Has anyone figured out how to make this work? > >Thanks! >Dan Waters > > > > > -- Marty Connelly Victoria, B.C. Canada From cfoust at infostatsystems.com Wed Aug 8 17:14:57 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 8 Aug 2007 15:14:57 -0700 Subject: [AccessD] OT: Pics from JC Conference In-Reply-To: <000601c7d9f8$ed1b3ad0$6400a8c0@dsunit1> References: <006801c7d92b$e9e1d0e0$0301a8c0@HAL9005><001801c7d9c7$e3ca3e30$8abea8c0@XPS> <000601c7d9f8$ed1b3ad0$6400a8c0@dsunit1> Message-ID: ROTFL I don't know if they're ready for that, Dian! LOL Charlotte -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dian Sent: Wednesday, August 08, 2007 1:16 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Pics from JC Conference We didn't take any pics, though, Charlotte...but, should we share our code word to make sure we connected with the right person? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Wednesday, August 08, 2007 7:25 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Pics from JC Conference << San Luis Obispo!>> Nice place. I was there last year for an Experts-Exchange conference. Stayed down the coast just a bit. Really enjoyed the couple of days there and the drive up/down the coast to LA. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, August 07, 2007 5:15 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Pics from JC Conference WHICH latest conference?? Dian and I had our own mini-meeting last month in San Luis Obispo! Had a great couple of hours getting acquainted and didn't talk software so's you'd notice. LOL Charlotte -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Tuesday, August 07, 2007 1:52 PM To: accessd at databaseadvisors.com Subject: [AccessD] OT: Pics from JC Conference Just curious if the pics from the latest conference are on the site somewhere? Thanks, Mark A. Matte _________________________________________________________________ Messenger Caf? - open for fun 24/7. Hot games, cool activities served daily. Visit now. http://cafemessenger.com?ocid=TXT_TAGHM_AugHMtagline -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From fahooper at trapo.com Wed Aug 8 17:57:22 2007 From: fahooper at trapo.com (Fred Hooper) Date: Wed, 8 Aug 2007 18:57:22 -0400 Subject: [AccessD] SQL Speed In-Reply-To: Message-ID: <005301c7da0f$7b015d00$af15c048@fredxp> Hi Mark, I once wrote an application that updated an Excel file with the results of running 5K cross tabs. These were constructed in Access and returned ADO recordsets which I placed in the Excel file. As I recall, it took 20 minutes running against a 5M row SQL Server table. An even faster way (that I didn't think of then) would be to make a pass-through query that uses a (probably one line) file to control its results. You could then update that file and run a query that appends the results of the pass-through query to your table. This way you do as much with SQL as possible. Overall, it sounds doable and fun. Fred -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Wednesday, August 08, 2007 4:57 PM To: accessd at databaseadvisors.com Subject: [AccessD] SQL Speed Hello All, I am involved in a project that will be web based. The database will either be access or SQL Server. The question is: I need to run a bunch (maybe 10K) of SQL statements againts a single table...or flat file, whatever is best, containing about 4K rows. The results of each will be appended to a second table, or emailed instantly (ahh...idea...good place for a JC style Class). The SQL statements themselves will be stored in a table. Does anyone have any ideas/suggestions about approach? I will need ALL of the SQLs to run in less than 5 minutes. I know 1 runs in a fraction of a second...I just don't know what that fraction is to calculate time needed. Being there are so few rows involved...but so many SQL statements...and speed is an issue...will there be a signicant advantage using SQL Server or Access? I'm thinking of having the SQLs in a table and looping through and executing each...I just don't know if this is the best approach? Thanks, Mark A. Matte _________________________________________________________________ Booking a flight? Know when to buy with airfare predictions on MSN Travel. http://travel.msn.com/Articles/aboutfarecast.aspx&ocid=T001MSN25A07001 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Wed Aug 8 18:07:23 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Wed, 8 Aug 2007 16:07:23 -0700 Subject: [AccessD] PDF Add-in for A2007 Message-ID: <00c101c7da10$e159a930$0301a8c0@HAL9005> Dear List: Has anyone heard about an MS PDF function that can be added to Access 2007? TIA Rocky From nd500_lo at charter.net Wed Aug 8 18:21:20 2007 From: nd500_lo at charter.net (Dian) Date: Wed, 8 Aug 2007 16:21:20 -0700 Subject: [AccessD] OT: Pics from JC Conference In-Reply-To: References: <006801c7d92b$e9e1d0e0$0301a8c0@HAL9005><001801c7d9c7$e3ca3e30$8abea8c0@XPS><000601c7d9f8$ed1b3ad0$6400a8c0@dsunit1> Message-ID: <000001c7da12$d43e7d00$6400a8c0@dsunit1> Tomorrow...for Friday humor? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, August 08, 2007 3:15 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Pics from JC Conference ROTFL I don't know if they're ready for that, Dian! LOL Charlotte -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dian Sent: Wednesday, August 08, 2007 1:16 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Pics from JC Conference We didn't take any pics, though, Charlotte...but, should we share our code word to make sure we connected with the right person? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Wednesday, August 08, 2007 7:25 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Pics from JC Conference << San Luis Obispo!>> Nice place. I was there last year for an Experts-Exchange conference. Stayed down the coast just a bit. Really enjoyed the couple of days there and the drive up/down the coast to LA. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, August 07, 2007 5:15 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Pics from JC Conference WHICH latest conference?? Dian and I had our own mini-meeting last month in San Luis Obispo! Had a great couple of hours getting acquainted and didn't talk software so's you'd notice. LOL Charlotte -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Tuesday, August 07, 2007 1:52 PM To: accessd at databaseadvisors.com Subject: [AccessD] OT: Pics from JC Conference Just curious if the pics from the latest conference are on the site somewhere? Thanks, Mark A. Matte _________________________________________________________________ Messenger Caf? - open for fun 24/7. Hot games, cool activities served daily. Visit now. http://cafemessenger.com?ocid=TXT_TAGHM_AugHMtagline -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 8 19:09:54 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 8 Aug 2007 17:09:54 -0700 Subject: [AccessD] PDF Add-in for A2007 In-Reply-To: <00c101c7da10$e159a930$0301a8c0@HAL9005> References: <00c101c7da10$e159a930$0301a8c0@HAL9005> Message-ID: Doesn't 2007 support PDF output directly? Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, August 08, 2007 4:07 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] PDF Add-in for A2007 Dear List: Has anyone heard about an MS PDF function that can be added to Access 2007? TIA Rocky -- 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 8 19:10:39 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 8 Aug 2007 17:10:39 -0700 Subject: [AccessD] OT: Pics from JC Conference In-Reply-To: <000001c7da12$d43e7d00$6400a8c0@dsunit1> References: <006801c7d92b$e9e1d0e0$0301a8c0@HAL9005><001801c7d9c7$e3ca3e30$8abea8c0@XPS><000601c7d9f8$ed1b3ad0$6400a8c0@dsunit1> <000001c7da12$d43e7d00$6400a8c0@dsunit1> Message-ID: Tomorrow is Thursday in Northern California, let's save it for Friday. Charlotte -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dian Sent: Wednesday, August 08, 2007 4:21 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Pics from JC Conference Tomorrow...for Friday humor? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, August 08, 2007 3:15 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Pics from JC Conference ROTFL I don't know if they're ready for that, Dian! LOL Charlotte -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dian Sent: Wednesday, August 08, 2007 1:16 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Pics from JC Conference We didn't take any pics, though, Charlotte...but, should we share our code word to make sure we connected with the right person? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Wednesday, August 08, 2007 7:25 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Pics from JC Conference << San Luis Obispo!>> Nice place. I was there last year for an Experts-Exchange conference. Stayed down the coast just a bit. Really enjoyed the couple of days there and the drive up/down the coast to LA. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, August 07, 2007 5:15 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Pics from JC Conference WHICH latest conference?? Dian and I had our own mini-meeting last month in San Luis Obispo! Had a great couple of hours getting acquainted and didn't talk software so's you'd notice. LOL Charlotte -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Tuesday, August 07, 2007 1:52 PM To: accessd at databaseadvisors.com Subject: [AccessD] OT: Pics from JC Conference Just curious if the pics from the latest conference are on the site somewhere? Thanks, Mark A. Matte _________________________________________________________________ Messenger Caf? - open for fun 24/7. Hot games, cool activities served daily. Visit now. http://cafemessenger.com?ocid=TXT_TAGHM_AugHMtagline -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From fuller.artful at gmail.com Wed Aug 8 19:30:41 2007 From: fuller.artful at gmail.com (Arthur Fuller) Date: Wed, 8 Aug 2007 20:30:41 -0400 Subject: [AccessD] SQL Speed In-Reply-To: References: <009401c7d9fb$50bfe340$0301a8c0@HAL9005> Message-ID: <29f585dd0708081730q15d044d1yf6db5fcf712aca94@mail.gmail.com> If I were using SQL Server, I would write one sproc foreach SQL statement and then write a wrapper sproc that calls each one of them in turn. For testing purposes, I would probably "batch" them into several wrapper sprocs, say each calling 1000 of the "child" sprocs, so I could get an idea what's taking too much time, and optimize there. The outermost sproc could call the middle sprocs that each call 1000 of the inner sprocs. hth, Arthur On 8/8/07, Mark A Matte wrote: > > Hello All, > > I am involved in a project that will be web based. The database will > either > be access or SQL Server. > > The question is: I need to run a bunch (maybe 10K) of SQL statements > againts a single table...or flat file, whatever is best, containing about > 4K > rows. The results of each will be appended to a second table, or emailed > instantly (ahh...idea...good place for a JC style Class). The SQL > statements themselves will be stored in a table. > > Does anyone have any ideas/suggestions about approach? I will need ALL of > the SQLs to run in less than 5 minutes. I know 1 runs in a fraction of a > second...I just don't know what that fraction is to calculate time needed. > > Being there are so few rows involved...but so many SQL statements...and > speed is an issue...will there be a signicant advantage using SQL Server > or > Access? > > I'm thinking of having the SQLs in a table and looping through and > executing > each...I just don't know if this is the best approach? > > Thanks, > > Mark A. Matte > > _________________________________________________________________ > Booking a flight? Know when to buy with airfare predictions on MSN Travel. > http://travel.msn.com/Articles/aboutfarecast.aspx&ocid=T001MSN25A07001 > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From miscellany at mvps.org Wed Aug 8 19:34:36 2007 From: miscellany at mvps.org (Steve Schapel) Date: Thu, 09 Aug 2007 12:34:36 +1200 Subject: [AccessD] PDF Add-in for A2007 In-Reply-To: References: <00c101c7da10$e159a930$0301a8c0@HAL9005> Message-ID: <46BA611C.1010401@mvps.org> That was the original intention, Charlotte. Then Microsoft buckled under a silly threat from Adobe, and pulled it from the final release. Now you have to explicitly download and install an add-in from Microsoft's download site, before the Save As PDF option will work. Regards Steve Charlotte Foust wrote: > Doesn't 2007 support PDF output directly? > From nd500_lo at charter.net Wed Aug 8 23:21:26 2007 From: nd500_lo at charter.net (Dian) Date: Wed, 8 Aug 2007 21:21:26 -0700 Subject: [AccessD] OT: Pics from JC Conference In-Reply-To: References: <006801c7d92b$e9e1d0e0$0301a8c0@HAL9005><001801c7d9c7$e3ca3e30$8abea8c0@XPS><000601c7d9f8$ed1b3ad0$6400a8c0@dsunit1><000001c7da12$d43e7d00$6400a8c0@dsunit1> Message-ID: <000001c7da3c$c0c705b0$6400a8c0@dsunit1> I'm retired...what do I know... -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, August 08, 2007 5:11 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Pics from JC Conference Tomorrow is Thursday in Northern California, let's save it for Friday. Charlotte -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dian Sent: Wednesday, August 08, 2007 4:21 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Pics from JC Conference Tomorrow...for Friday humor? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, August 08, 2007 3:15 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Pics from JC Conference ROTFL I don't know if they're ready for that, Dian! LOL Charlotte -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dian Sent: Wednesday, August 08, 2007 1:16 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Pics from JC Conference We didn't take any pics, though, Charlotte...but, should we share our code word to make sure we connected with the right person? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Wednesday, August 08, 2007 7:25 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Pics from JC Conference << San Luis Obispo!>> Nice place. I was there last year for an Experts-Exchange conference. Stayed down the coast just a bit. Really enjoyed the couple of days there and the drive up/down the coast to LA. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, August 07, 2007 5:15 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Pics from JC Conference WHICH latest conference?? Dian and I had our own mini-meeting last month in San Luis Obispo! Had a great couple of hours getting acquainted and didn't talk software so's you'd notice. LOL Charlotte -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Tuesday, August 07, 2007 1:52 PM To: accessd at databaseadvisors.com Subject: [AccessD] OT: Pics from JC Conference Just curious if the pics from the latest conference are on the site somewhere? Thanks, Mark A. Matte _________________________________________________________________ Messenger Caf? - open for fun 24/7. Hot games, cool activities served daily. Visit now. http://cafemessenger.com?ocid=TXT_TAGHM_AugHMtagline -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Thu Aug 9 00:15:43 2007 From: accessd at shaw.ca (Jim Lawrence) Date: Wed, 08 Aug 2007 22:15:43 -0700 Subject: [AccessD] SQL Speed In-Reply-To: Message-ID: <0JMH001WGQDF2NX2@l-daemon> Well, you have probably already thought of this, but any queries that can run on the SQL server as pre-compiled stored procedures will give superior performance. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Wednesday, August 08, 2007 1:57 PM To: accessd at databaseadvisors.com Subject: [AccessD] SQL Speed Hello All, I am involved in a project that will be web based. The database will either be access or SQL Server. The question is: I need to run a bunch (maybe 10K) of SQL statements againts a single table...or flat file, whatever is best, containing about 4K rows. The results of each will be appended to a second table, or emailed instantly (ahh...idea...good place for a JC style Class). The SQL statements themselves will be stored in a table. Does anyone have any ideas/suggestions about approach? I will need ALL of the SQLs to run in less than 5 minutes. I know 1 runs in a fraction of a second...I just don't know what that fraction is to calculate time needed. Being there are so few rows involved...but so many SQL statements...and speed is an issue...will there be a signicant advantage using SQL Server or Access? I'm thinking of having the SQLs in a table and looping through and executing each...I just don't know if this is the best approach? Thanks, Mark A. Matte _________________________________________________________________ Booking a flight? Know when to buy with airfare predictions on MSN Travel. http://travel.msn.com/Articles/aboutfarecast.aspx&ocid=T001MSN25A07001 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From wdhindman at dejpolsystems.com Thu Aug 9 00:51:50 2007 From: wdhindman at dejpolsystems.com (William Hindman) Date: Thu, 9 Aug 2007 01:51:50 -0400 Subject: [AccessD] OT: Pics from JC Conference References: <006801c7d92b$e9e1d0e0$0301a8c0@HAL9005><001801c7d9c7$e3ca3e30$8abea8c0@XPS><000601c7d9f8$ed1b3ad0$6400a8c0@dsunit1><000001c7da12$d43e7d00$6400a8c0@dsunit1> <000001c7da3c$c0c705b0$6400a8c0@dsunit1> Message-ID: <000d01c7da49$6204fbb0$517a6c4c@jisshowsbs.local> ...I've been retired since '94 ...but I still know what day it is :)))) William Hindman ----- Original Message ----- From: "Dian" To: "'Access Developers discussion and problem solving'" Sent: Thursday, August 09, 2007 12:21 AM Subject: Re: [AccessD] OT: Pics from JC Conference I'm retired...what do I know... -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, August 08, 2007 5:11 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Pics from JC Conference Tomorrow is Thursday in Northern California, let's save it for Friday. Charlotte -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dian Sent: Wednesday, August 08, 2007 4:21 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Pics from JC Conference Tomorrow...for Friday humor? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, August 08, 2007 3:15 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Pics from JC Conference ROTFL I don't know if they're ready for that, Dian! LOL Charlotte -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dian Sent: Wednesday, August 08, 2007 1:16 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Pics from JC Conference We didn't take any pics, though, Charlotte...but, should we share our code word to make sure we connected with the right person? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Wednesday, August 08, 2007 7:25 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Pics from JC Conference << San Luis Obispo!>> Nice place. I was there last year for an Experts-Exchange conference. Stayed down the coast just a bit. Really enjoyed the couple of days there and the drive up/down the coast to LA. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, August 07, 2007 5:15 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Pics from JC Conference WHICH latest conference?? Dian and I had our own mini-meeting last month in San Luis Obispo! Had a great couple of hours getting acquainted and didn't talk software so's you'd notice. LOL Charlotte -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Tuesday, August 07, 2007 1:52 PM To: accessd at databaseadvisors.com Subject: [AccessD] OT: Pics from JC Conference Just curious if the pics from the latest conference are on the site somewhere? Thanks, Mark A. Matte _________________________________________________________________ Messenger Caf? - open for fun 24/7. Hot games, cool activities served daily. Visit now. http://cafemessenger.com?ocid=TXT_TAGHM_AugHMtagline -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From michael at ddisolutions.com.au Thu Aug 9 00:59:21 2007 From: michael at ddisolutions.com.au (Michael Maddison) Date: Thu, 9 Aug 2007 15:59:21 +1000 Subject: [AccessD] SQL Speed References: <0JMH001WGQDF2NX2@l-daemon> Message-ID: <59A61174B1F5B54B97FD4ADDE71E7D01289BB1@ddi-01.DDI.local> Hi Jim, Have you tested this? I have, 'any queries that can run on the SQL server as pre-compiled stored procedures will give superior performance' is too broad a statement. In most instance a sql statement that has a cached exec plan is exactly as fast as a sproc (that has a cached plan). cheers Michael M -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, 9 August 2007 3:16 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] SQL Speed Well, you have probably already thought of this, but any queries that can run on the SQL server as pre-compiled stored procedures will give superior performance. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Wednesday, August 08, 2007 1:57 PM To: accessd at databaseadvisors.com Subject: [AccessD] SQL Speed Hello All, I am involved in a project that will be web based. The database will either be access or SQL Server. The question is: I need to run a bunch (maybe 10K) of SQL statements againts a single table...or flat file, whatever is best, containing about 4K rows. The results of each will be appended to a second table, or emailed instantly (ahh...idea...good place for a JC style Class). The SQL statements themselves will be stored in a table. Does anyone have any ideas/suggestions about approach? I will need ALL of the SQLs to run in less than 5 minutes. I know 1 runs in a fraction of a second...I just don't know what that fraction is to calculate time needed. Being there are so few rows involved...but so many SQL statements...and speed is an issue...will there be a signicant advantage using SQL Server or Access? I'm thinking of having the SQLs in a table and looping through and executing each...I just don't know if this is the best approach? Thanks, Mark A. Matte _________________________________________________________________ Booking a flight? Know when to buy with airfare predictions on MSN Travel. http://travel.msn.com/Articles/aboutfarecast.aspx&ocid=T001MSN25A07001 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Thu Aug 9 04:31:48 2007 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Thu, 9 Aug 2007 11:31:48 +0200 (CEST) Subject: [AccessD] Changing Default Printer Message-ID: <2796665.2546611186651908556.JavaMail.www@wwinf3006> As discussed yesterday, I have found a problem in my code for setting default printers. It doesn't always change back. Someone (can't remember) suggested using API calls, has anyone got the code for this ? Thanks in advance for any help. Paul Hartland paul.hartland at fsmail.net 07730 523179 From iggy at nanaimo.ark.com Thu Aug 9 06:40:26 2007 From: iggy at nanaimo.ark.com (Tony Septav) Date: Thu, 09 Aug 2007 04:40:26 -0700 Subject: [AccessD] Changing Default Printer Message-ID: <46BAFD2A.2060301@nanaimo.ark.com> Hey Rocky That is the beauty of Leban's convert a report to PDF, no need to worry about changing printers. From andy at minstersystems.co.uk Thu Aug 9 09:05:19 2007 From: andy at minstersystems.co.uk (Andy Lacey) Date: Thu, 9 Aug 2007 15:05:19 +0100 Subject: [AccessD] Changing Default Printer In-Reply-To: <003001c7d9ec$1ce46d70$0200a8c0@murphy3234aaf1> Message-ID: <017e01c7da8e$51c56290$f5df0651@minster33c3r25> FWIW I overcome this by adding code to rename the file once it exists. Don't need to manipulate the registry that way. Once you've dictated what filename Adobe creates you put code to delete that filename at the start of your routine (if it exists off course) then after the PDF creation you have a timing loop that exits once the file exists and, once it's there, code that renames the file to anything you like. -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Murphy > Sent: 08 August 2007 19:44 > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Changing Default Printer > > > Rocky, > > There is no object model that I know of. There is vb code on > the Adobe site and on the web but each file is saved to a > setting in the registry, so if you want to have each file > saved to a unique name and folder location you have to set > that in the registry. I can dig out the code I use if you > want it. Send off line. > > Doug > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Rocky Smolin at Beach Access Software > Sent: Wednesday, August 08, 2007 11:22 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Changing Default Printer > > Do you know if Adobe has an object model that can be > manipulated through code? So that, for example, you could > create a file name or direct the PDF file to a specific folder? > > Rocky > > > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Charlotte Foust > Sent: Wednesday, August 08, 2007 11:00 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Changing Default Printer > > The alternatives (we used Amyuni) require coding and then > installation on the target machine. I'm not sure you would > be any better off, especially if you need to get this working > fast. On the other hand, several of the PDF printers you can > license on the web include VBA sample code to get you started. > > Charlotte Foust > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Rocky Smolin at Beach Access Software > Sent: Wednesday, August 08, 2007 10:54 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Changing Default Printer > > Any good alternatives that you know of? > > Rocky > > > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Charlotte Foust > Sent: Wednesday, August 08, 2007 10:41 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Changing Default Printer > > On the other hand, it may cause you more problems. If you > are using generic code to print to PDF, you won't be able to > control page size, orientation, or anything else. Nor will > you be able to create it with a useful name, which may not be > what your user needs. > > Charlotte Foust > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Rocky Smolin at Beach Access Software > Sent: Wednesday, August 08, 2007 10:35 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Changing Default Printer > > This is a work in progress so I don't have precise answers > yet. But, the plan is to have the user install whatever PDF > printer they like . In the control panel of the Automated > Email System there's a combo box with all of the installed > printers. They pick their PDF printer and it's saved in a > local options table. So they'll be providing their own PDF > printer. Which might finesse the problem you had. > > Rocky > > > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Charlotte Foust > Sent: Wednesday, August 08, 2007 10:23 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Changing Default Printer > > Um ... Is this PDF printer something you provide in your app? > We've found that we needed to include an installer for our > clients to reinstall their PDF printer when it went sideways, > and we ran into problems if a full version of Adobe Acrobat > was installed on the same machine. > > Charlotte Foust > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Rocky Smolin at Beach Access Software > Sent: Wednesday, August 08, 2007 9:09 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Changing Default Printer > > Well, that won't be a problem for my app. Al I want to do it > have the user switch to a PDF printer for reports which will > then be attached to emails. > > > Rocky > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Charlotte Foust > Sent: Wednesday, August 08, 2007 8:52 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Changing Default Printer > > OY!! After all this time I don't recall. I know I wrote > printer object based code to replace all our old code to set > page size properly and then after testing it a bit, I threw > it out and went back to the original code. I don't think it > was a problem with selecting the printer, it was trying to > manipulate the page settings that gave us problems. > > Charlotte Foust > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Rocky Smolin at Beach Access Software > Sent: Wednesday, August 08, 2007 8:45 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Changing Default Printer > > Uh-oh. What problems did you have with the Printer object? > Is that the same as using Application.Printer? > > Rocky > > > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Charlotte Foust > Sent: Wednesday, August 08, 2007 8:08 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Changing Default Printer > > A2002 was the first version to have a printer object. I have > to tell you, though, that we tried it and went back to API > calls as more consistent and reliable. > > Charlotte Foust > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Rocky Smolin at Beach Access Software > Sent: Wednesday, August 08, 2007 7:21 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Changing Default Printer > > What version of Access has that Printer object? And that > code would go into the report in the load or open event? The > code I found that I posted yesterday works in A2K3, it's real > short, but does it at the OS level, which is probably more > sketchy than doing it inside Access itself. What to you think? > > Rocky > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.476 / Virus Database: 269.11.8/941 - Release > Date: 8/7/2007 4:06 PM > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.476 / Virus Database: 269.11.8/941 - Release > Date: 8/7/2007 4:06 PM > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From rockysmolin at bchacc.com Thu Aug 9 10:20:11 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Thu, 9 Aug 2007 08:20:11 -0700 Subject: [AccessD] Changing Default Printer In-Reply-To: <017e01c7da8e$51c56290$f5df0651@minster33c3r25> Message-ID: <004701c7da98$c7a1c3a0$0301a8c0@HAL9005> Clever. I can use that unless we move to A2007 which would get around the whole problem by using the Report To PDF add-in. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey Sent: Thursday, August 09, 2007 7:05 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Changing Default Printer FWIW I overcome this by adding code to rename the file once it exists. Don't need to manipulate the registry that way. Once you've dictated what filename Adobe creates you put code to delete that filename at the start of your routine (if it exists off course) then after the PDF creation you have a timing loop that exits once the file exists and, once it's there, code that renames the file to anything you like. -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Murphy > Sent: 08 August 2007 19:44 > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Changing Default Printer > > > Rocky, > > There is no object model that I know of. There is vb code on the > Adobe site and on the web but each file is saved to a setting in the > registry, so if you want to have each file saved to a unique name and > folder location you have to set that in the registry. I can dig out > the code I use if you want it. Send off line. > > Doug > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky > Smolin at Beach Access Software > Sent: Wednesday, August 08, 2007 11:22 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Changing Default Printer > > Do you know if Adobe has an object model that can be manipulated > through code? So that, for example, you could create a file name or > direct the PDF file to a specific folder? > > Rocky > > > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte > Foust > Sent: Wednesday, August 08, 2007 11:00 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Changing Default Printer > > The alternatives (we used Amyuni) require coding and then installation > on the target machine. I'm not sure you would be any better off, > especially if you need to get this working fast. On the other hand, > several of the PDF printers you can license on the web include VBA > sample code to get you started. > > Charlotte Foust > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky > Smolin at Beach Access Software > Sent: Wednesday, August 08, 2007 10:54 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Changing Default Printer > > Any good alternatives that you know of? > > Rocky > > > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte > Foust > Sent: Wednesday, August 08, 2007 10:41 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Changing Default Printer > > On the other hand, it may cause you more problems. If you are using > generic code to print to PDF, you won't be able to control page size, > orientation, or anything else. Nor will you be able to create it with > a useful name, which may not be what your user needs. > > Charlotte Foust > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky > Smolin at Beach Access Software > Sent: Wednesday, August 08, 2007 10:35 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Changing Default Printer > > This is a work in progress so I don't have precise answers yet. But, > the plan is to have the user install whatever PDF printer they like . > In the control panel of the Automated Email System there's a combo box > with all of the installed printers. They pick their PDF printer and > it's saved in a local options table. So they'll be providing their > own PDF printer. Which might finesse the problem you had. > > Rocky > > > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte > Foust > Sent: Wednesday, August 08, 2007 10:23 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Changing Default Printer > > Um ... Is this PDF printer something you provide in your app? > We've found that we needed to include an installer for our clients to > reinstall their PDF printer when it went sideways, and we ran into > problems if a full version of Adobe Acrobat was installed on the same > machine. > > Charlotte Foust > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky > Smolin at Beach Access Software > Sent: Wednesday, August 08, 2007 9:09 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Changing Default Printer > > Well, that won't be a problem for my app. Al I want to do it have the > user switch to a PDF printer for reports which will then be attached > to emails. > > > Rocky > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte > Foust > Sent: Wednesday, August 08, 2007 8:52 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Changing Default Printer > > OY!! After all this time I don't recall. I know I wrote printer > object based code to replace all our old code to set page size > properly and then after testing it a bit, I threw it out and went back > to the original code. I don't think it was a problem with selecting > the printer, it was trying to manipulate the page settings that gave > us problems. > > Charlotte Foust > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky > Smolin at Beach Access Software > Sent: Wednesday, August 08, 2007 8:45 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Changing Default Printer > > Uh-oh. What problems did you have with the Printer object? > Is that the same as using Application.Printer? > > Rocky > > > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte > Foust > Sent: Wednesday, August 08, 2007 8:08 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Changing Default Printer > > A2002 was the first version to have a printer object. I have to tell > you, though, that we tried it and went back to API calls as more > consistent and reliable. > > Charlotte Foust > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky > Smolin at Beach Access Software > Sent: Wednesday, August 08, 2007 7:21 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Changing Default Printer > > What version of Access has that Printer object? And that code would > go into the report in the load or open event? The code I found that I > posted yesterday works in A2K3, it's real short, but does it at the OS > level, which is probably more sketchy than doing it inside Access > itself. What to you think? > > Rocky > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.476 / Virus Database: 269.11.8/941 - Release > Date: 8/7/2007 4:06 PM > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.476 / Virus Database: 269.11.8/941 - Release > Date: 8/7/2007 4:06 PM > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.10/943 - Release Date: 8/8/2007 5:38 PM From cfoust at infostatsystems.com Thu Aug 9 10:18:53 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 9 Aug 2007 08:18:53 -0700 Subject: [AccessD] PDF Add-in for A2007 In-Reply-To: <46BA611C.1010401@mvps.org> References: <00c101c7da10$e159a930$0301a8c0@HAL9005> <46BA611C.1010401@mvps.org> Message-ID: Aha! I knew it was something like that. I haven't really worked with 2007 so I hadn't realized the absence of PDF. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Schapel Sent: Wednesday, August 08, 2007 5:35 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] PDF Add-in for A2007 That was the original intention, Charlotte. Then Microsoft buckled under a silly threat from Adobe, and pulled it from the final release. Now you have to explicitly download and install an add-in from Microsoft's download site, before the Save As PDF option will work. Regards Steve Charlotte Foust wrote: > Doesn't 2007 support PDF output directly? > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dw-murphy at cox.net Thu Aug 9 10:40:04 2007 From: dw-murphy at cox.net (Doug Murphy) Date: Thu, 9 Aug 2007 08:40:04 -0700 Subject: [AccessD] Changing Default Printer In-Reply-To: <017e01c7da8e$51c56290$f5df0651@minster33c3r25> Message-ID: <002601c7da9b$8e52de10$0200a8c0@murphy3234aaf1> I like it! Gets around a few other issues of trying to get Acrobat to put files where you want with code generated names. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey Sent: Thursday, August 09, 2007 7:05 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Changing Default Printer FWIW I overcome this by adding code to rename the file once it exists. Don't need to manipulate the registry that way. Once you've dictated what filename Adobe creates you put code to delete that filename at the start of your routine (if it exists off course) then after the PDF creation you have a timing loop that exits once the file exists and, once it's there, code that renames the file to anything you like. -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Murphy > Sent: 08 August 2007 19:44 > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Changing Default Printer > > > Rocky, > > There is no object model that I know of. There is vb code on the > Adobe site and on the web but each file is saved to a setting in the > registry, so if you want to have each file saved to a unique name and > folder location you have to set that in the registry. I can dig out > the code I use if you want it. Send off line. > > Doug > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky > Smolin at Beach Access Software > Sent: Wednesday, August 08, 2007 11:22 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Changing Default Printer > > Do you know if Adobe has an object model that can be manipulated > through code? So that, for example, you could create a file name or > direct the PDF file to a specific folder? > > Rocky > > > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte > Foust > Sent: Wednesday, August 08, 2007 11:00 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Changing Default Printer > > The alternatives (we used Amyuni) require coding and then installation > on the target machine. I'm not sure you would be any better off, > especially if you need to get this working fast. On the other hand, > several of the PDF printers you can license on the web include VBA > sample code to get you started. > > Charlotte Foust > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky > Smolin at Beach Access Software > Sent: Wednesday, August 08, 2007 10:54 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Changing Default Printer > > Any good alternatives that you know of? > > Rocky > > > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte > Foust > Sent: Wednesday, August 08, 2007 10:41 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Changing Default Printer > > On the other hand, it may cause you more problems. If you are using > generic code to print to PDF, you won't be able to control page size, > orientation, or anything else. Nor will you be able to create it with > a useful name, which may not be what your user needs. > > Charlotte Foust > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky > Smolin at Beach Access Software > Sent: Wednesday, August 08, 2007 10:35 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Changing Default Printer > > This is a work in progress so I don't have precise answers yet. But, > the plan is to have the user install whatever PDF printer they like . > In the control panel of the Automated Email System there's a combo box > with all of the installed printers. They pick their PDF printer and > it's saved in a local options table. So they'll be providing their > own PDF printer. Which might finesse the problem you had. > > Rocky > > > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte > Foust > Sent: Wednesday, August 08, 2007 10:23 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Changing Default Printer > > Um ... Is this PDF printer something you provide in your app? > We've found that we needed to include an installer for our clients to > reinstall their PDF printer when it went sideways, and we ran into > problems if a full version of Adobe Acrobat was installed on the same > machine. > > Charlotte Foust > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky > Smolin at Beach Access Software > Sent: Wednesday, August 08, 2007 9:09 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Changing Default Printer > > Well, that won't be a problem for my app. Al I want to do it have the > user switch to a PDF printer for reports which will then be attached > to emails. > > > Rocky > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte > Foust > Sent: Wednesday, August 08, 2007 8:52 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Changing Default Printer > > OY!! After all this time I don't recall. I know I wrote printer > object based code to replace all our old code to set page size > properly and then after testing it a bit, I threw it out and went back > to the original code. I don't think it was a problem with selecting > the printer, it was trying to manipulate the page settings that gave > us problems. > > Charlotte Foust > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky > Smolin at Beach Access Software > Sent: Wednesday, August 08, 2007 8:45 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Changing Default Printer > > Uh-oh. What problems did you have with the Printer object? > Is that the same as using Application.Printer? > > Rocky > > > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte > Foust > Sent: Wednesday, August 08, 2007 8:08 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Changing Default Printer > > A2002 was the first version to have a printer object. I have to tell > you, though, that we tried it and went back to API calls as more > consistent and reliable. > > Charlotte Foust > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky > Smolin at Beach Access Software > Sent: Wednesday, August 08, 2007 7:21 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Changing Default Printer > > What version of Access has that Printer object? And that code would > go into the report in the load or open event? The code I found that I > posted yesterday works in A2K3, it's real short, but does it at the OS > level, which is probably more sketchy than doing it inside Access > itself. What to you think? > > Rocky > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.476 / Virus Database: 269.11.8/941 - Release > Date: 8/7/2007 4:06 PM > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.476 / Virus Database: 269.11.8/941 - Release > Date: 8/7/2007 4:06 PM > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Thu Aug 9 10:58:10 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Thu, 9 Aug 2007 08:58:10 -0700 Subject: [AccessD] More Questions Message-ID: <007d01c7da9e$16059120$0301a8c0@HAL9005> 1) Is Jet noticeably slower in A2K7 than A2K3? 2) Has anybody seen or had any problems with A2K7 run-time? MTIA Rocky From jimdettman at verizon.net Thu Aug 9 11:58:17 2007 From: jimdettman at verizon.net (Jim Dettman) Date: Thu, 09 Aug 2007 12:58:17 -0400 Subject: [AccessD] Changing Default Printer In-Reply-To: <017e01c7da8e$51c56290$f5df0651@minster33c3r25> References: <003001c7d9ec$1ce46d70$0200a8c0@murphy3234aaf1> <017e01c7da8e$51c56290$f5df0651@minster33c3r25> Message-ID: <000301c7daa6$7c234120$8abea8c0@XPS> Andy, If your saying what I think your saying, then the only problem with that is if you have multiple apps running at the same time, a file can get over written. To get around that, the file name generated on the disk must be unique or you need a semaphore to lock the resource (ie. a printer set to print to disk) until your done with it . This is especially true when you have automated jobs running on a tight cycle. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey Sent: Thursday, August 09, 2007 10:05 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Changing Default Printer FWIW I overcome this by adding code to rename the file once it exists. Don't need to manipulate the registry that way. Once you've dictated what filename Adobe creates you put code to delete that filename at the start of your routine (if it exists off course) then after the PDF creation you have a timing loop that exits once the file exists and, once it's there, code that renames the file to anything you like. -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Murphy > Sent: 08 August 2007 19:44 > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Changing Default Printer > > > Rocky, > > There is no object model that I know of. There is vb code on > the Adobe site and on the web but each file is saved to a > setting in the registry, so if you want to have each file > saved to a unique name and folder location you have to set > that in the registry. I can dig out the code I use if you > want it. Send off line. > > Doug > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Rocky Smolin at Beach Access Software > Sent: Wednesday, August 08, 2007 11:22 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Changing Default Printer > > Do you know if Adobe has an object model that can be > manipulated through code? So that, for example, you could > create a file name or direct the PDF file to a specific folder? > > Rocky > > > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Charlotte Foust > Sent: Wednesday, August 08, 2007 11:00 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Changing Default Printer > > The alternatives (we used Amyuni) require coding and then > installation on the target machine. I'm not sure you would > be any better off, especially if you need to get this working > fast. On the other hand, several of the PDF printers you can > license on the web include VBA sample code to get you started. > > Charlotte Foust > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Rocky Smolin at Beach Access Software > Sent: Wednesday, August 08, 2007 10:54 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Changing Default Printer > > Any good alternatives that you know of? > > Rocky > > > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Charlotte Foust > Sent: Wednesday, August 08, 2007 10:41 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Changing Default Printer > > On the other hand, it may cause you more problems. If you > are using generic code to print to PDF, you won't be able to > control page size, orientation, or anything else. Nor will > you be able to create it with a useful name, which may not be > what your user needs. > > Charlotte Foust > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Rocky Smolin at Beach Access Software > Sent: Wednesday, August 08, 2007 10:35 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Changing Default Printer > > This is a work in progress so I don't have precise answers > yet. But, the plan is to have the user install whatever PDF > printer they like . In the control panel of the Automated > Email System there's a combo box with all of the installed > printers. They pick their PDF printer and it's saved in a > local options table. So they'll be providing their own PDF > printer. Which might finesse the problem you had. > > Rocky > > > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Charlotte Foust > Sent: Wednesday, August 08, 2007 10:23 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Changing Default Printer > > Um ... Is this PDF printer something you provide in your app? > We've found that we needed to include an installer for our > clients to reinstall their PDF printer when it went sideways, > and we ran into problems if a full version of Adobe Acrobat > was installed on the same machine. > > Charlotte Foust > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Rocky Smolin at Beach Access Software > Sent: Wednesday, August 08, 2007 9:09 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Changing Default Printer > > Well, that won't be a problem for my app. Al I want to do it > have the user switch to a PDF printer for reports which will > then be attached to emails. > > > Rocky > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Charlotte Foust > Sent: Wednesday, August 08, 2007 8:52 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Changing Default Printer > > OY!! After all this time I don't recall. I know I wrote > printer object based code to replace all our old code to set > page size properly and then after testing it a bit, I threw > it out and went back to the original code. I don't think it > was a problem with selecting the printer, it was trying to > manipulate the page settings that gave us problems. > > Charlotte Foust > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Rocky Smolin at Beach Access Software > Sent: Wednesday, August 08, 2007 8:45 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Changing Default Printer > > Uh-oh. What problems did you have with the Printer object? > Is that the same as using Application.Printer? > > Rocky > > > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Charlotte Foust > Sent: Wednesday, August 08, 2007 8:08 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Changing Default Printer > > A2002 was the first version to have a printer object. I have > to tell you, though, that we tried it and went back to API > calls as more consistent and reliable. > > Charlotte Foust > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Rocky Smolin at Beach Access Software > Sent: Wednesday, August 08, 2007 7:21 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Changing Default Printer > > What version of Access has that Printer object? And that > code would go into the report in the load or open event? The > code I found that I posted yesterday works in A2K3, it's real > short, but does it at the OS level, which is probably more > sketchy than doing it inside Access itself. What to you think? > > Rocky > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.476 / Virus Database: 269.11.8/941 - Release > Date: 8/7/2007 4:06 PM > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.476 / Virus Database: 269.11.8/941 - Release > Date: 8/7/2007 4:06 PM > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From markamatte at hotmail.com Thu Aug 9 12:27:51 2007 From: markamatte at hotmail.com (Mark A Matte) Date: Thu, 09 Aug 2007 17:27:51 +0000 Subject: [AccessD] SQL Speed Message-ID: Thanks to All for your responses...(everything discussed below is currently in A2K) I'm at the beginning of this and appreciate any ideas...This program has been running 24/7 for the last 3 years...but only runs 1 SQL statement. It runs the statement, loops through the results and concatenates the results, and then emails the results (for these tests we are going to forget about the email part and just store the results in a separate table). Last night I put a loop on this and ran it 10K times. It took just under 2 minutes. To make it more realistic, (the 10k SQL statements will all be different, but very similar) I removed the SQL from the code and placed it in a memo field in another table (tblSQL). Next, I modified the code so now it first pulls all records form tblSQL (I added 10k rows...but all the same SQL statement)...then for each of these records...it does the stuff I outlined above. Again, it ran in just under 2 minutes. I need this to be as fast as possible, and I don't know what a realistic time is. I apparently can do 10K in less than 2 minutes, but is this good, bad, average? Any thoughts/ideas? Thanks, Mark A. Matte >From: Jim Lawrence >Reply-To: Access Developers discussion and problem >solving >To: "'Access Developers discussion and problem >solving'" >Subject: Re: [AccessD] SQL Speed >Date: Wed, 08 Aug 2007 22:15:43 -0700 > >Well, you have probably already thought of this, but any queries that can >run on the SQL server as pre-compiled stored procedures will give superior >performance. > >Jim > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte >Sent: Wednesday, August 08, 2007 1:57 PM >To: accessd at databaseadvisors.com >Subject: [AccessD] SQL Speed > >Hello All, > >I am involved in a project that will be web based. The database will >either > >be access or SQL Server. > >The question is: I need to run a bunch (maybe 10K) of SQL statements >againts a single table...or flat file, whatever is best, containing about >4K > >rows. The results of each will be appended to a second table, or emailed >instantly (ahh...idea...good place for a JC style Class). The SQL >statements themselves will be stored in a table. > >Does anyone have any ideas/suggestions about approach? I will need ALL of >the SQLs to run in less than 5 minutes. I know 1 runs in a fraction of a >second...I just don't know what that fraction is to calculate time needed. > >Being there are so few rows involved...but so many SQL statements...and >speed is an issue...will there be a signicant advantage using SQL Server or >Access? > >I'm thinking of having the SQLs in a table and looping through and >executing > >each...I just don't know if this is the best approach? > >Thanks, > >Mark A. Matte > >_________________________________________________________________ >Booking a flight? Know when to buy with airfare predictions on MSN Travel. >http://travel.msn.com/Articles/aboutfarecast.aspx&ocid=T001MSN25A07001 > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Tease your brain--play Clink! Win cool prizes! http://club.live.com/clink.aspx?icid=clink_hotmailtextlink2 From rockysmolin at bchacc.com Thu Aug 9 12:45:51 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Thu, 9 Aug 2007 10:45:51 -0700 Subject: [AccessD] Access 2007 run time on same machine with 2003 Message-ID: <008e01c7daad$21294a60$0301a8c0@HAL9005> Dear List: Does anyone know of any problems running an A2K7 run-time on the same machine where A2K3 is installed? MTIA Rocky From dw-murphy at cox.net Thu Aug 9 14:11:16 2007 From: dw-murphy at cox.net (Doug Murphy) Date: Thu, 9 Aug 2007 12:11:16 -0700 Subject: [AccessD] Access 2007 run time on same machine with 2003 In-Reply-To: <008e01c7daad$21294a60$0301a8c0@HAL9005> Message-ID: <004801c7dab9$0f5e6d40$0200a8c0@murphy3234aaf1> There are some issues as I recollect. I know we had to purchase a modified Access 2002 runtime install script to make our runtime coexist with Access 2007. Take a look at the Sagekey software knowledge base. Doug -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Thursday, August 09, 2007 10:46 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Access 2007 run time on same machine with 2003 Dear List: Does anyone know of any problems running an A2K7 run-time on the same machine where A2K3 is installed? MTIA Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accma at sympatico.ca Thu Aug 9 14:18:51 2007 From: accma at sympatico.ca (Annie Courchesne, CMA) Date: Thu, 9 Aug 2007 15:18:51 -0400 Subject: [AccessD] WindowLeft Property Message-ID: Hi Everyone, Thanks a lot for all the great tips about performance. It help me greatly on my project. I'm working on a another small project that I thought would be faily simple... bu tI'm stopped by this weird bug. I've developped this application at home on my Access 2003 but using Access 2000 files. This application runs well at home. But when I put it on the computers at work (they have Access 2000), it stops because it does not recognize the me.WindowLeft property. I thought this property was available in A2000. And why gives us at all the opportunity to write a DB in 2003 with 2000 files if it cannot be run on A2000? Anyways, I looked at the reference and none is missing. This property is not crucial to the application, but it sure make one part look nice. Before I got to work on a workaroung, I thought I'ld check with you guys to see if anyone ever had this problem and how it was resolved. Thanks! Annie Courchesne, CMA From cfoust at infostatsystems.com Thu Aug 9 14:36:55 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 9 Aug 2007 12:36:55 -0700 Subject: [AccessD] Access 2007 run time on same machine with 2003 In-Reply-To: <004801c7dab9$0f5e6d40$0200a8c0@murphy3234aaf1> References: <008e01c7daad$21294a60$0301a8c0@HAL9005> <004801c7dab9$0f5e6d40$0200a8c0@murphy3234aaf1> Message-ID: We had to modify our runtime script to make 2002 coexist with 2003! Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Murphy Sent: Thursday, August 09, 2007 12:11 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access 2007 run time on same machine with 2003 There are some issues as I recollect. I know we had to purchase a modified Access 2002 runtime install script to make our runtime coexist with Access 2007. Take a look at the Sagekey software knowledge base. Doug -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Thursday, August 09, 2007 10:46 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Access 2007 run time on same machine with 2003 Dear List: Does anyone know of any problems running an A2K7 run-time on the same machine where A2K3 is installed? MTIA Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Thu Aug 9 14:40:25 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 9 Aug 2007 12:40:25 -0700 Subject: [AccessD] WindowLeft Property In-Reply-To: References: Message-ID: Each Access version brings new features that are not backward compatible with prior versions when run in them. The support for prior formats is so you can run an Access 2000 app in 2003 or have front ends from each version link to a 2000 backend. It doesn't mean anything you create from the later version will run in the earlier version. I've never heard of the WindowLeft property, and I programmed at LOT in 2000 and 2002, so it must have been introduced in 2003. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Annie Courchesne, CMA Sent: Thursday, August 09, 2007 12:19 PM To: accessd at databaseadvisors.com Subject: [AccessD] WindowLeft Property Hi Everyone, Thanks a lot for all the great tips about performance. It help me greatly on my project. I'm working on a another small project that I thought would be faily simple... bu tI'm stopped by this weird bug. I've developped this application at home on my Access 2003 but using Access 2000 files. This application runs well at home. But when I put it on the computers at work (they have Access 2000), it stops because it does not recognize the me.WindowLeft property. I thought this property was available in A2000. And why gives us at all the opportunity to write a DB in 2003 with 2000 files if it cannot be run on A2000? Anyways, I looked at the reference and none is missing. This property is not crucial to the application, but it sure make one part look nice. Before I got to work on a workaroung, I thought I'ld check with you guys to see if anyone ever had this problem and how it was resolved. Thanks! Annie Courchesne, CMA From rockysmolin at bchacc.com Thu Aug 9 15:40:09 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Thu, 9 Aug 2007 13:40:09 -0700 Subject: [AccessD] Access 2007 run time on same machine with 2003 In-Reply-To: <004801c7dab9$0f5e6d40$0200a8c0@murphy3234aaf1> Message-ID: <00d101c7dac5$7a61f100$0301a8c0@HAL9005> Well, maybe I'll dodge that bullet. Because the client wants to send an A2007 run-time and is worried about users who have A2003 installed and installing the A2007 run-time might hose their 2003 apps. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Murphy Sent: Thursday, August 09, 2007 12:11 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access 2007 run time on same machine with 2003 There are some issues as I recollect. I know we had to purchase a modified Access 2002 runtime install script to make our runtime coexist with Access 2007. Take a look at the Sagekey software knowledge base. Doug -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Thursday, August 09, 2007 10:46 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Access 2007 run time on same machine with 2003 Dear List: Does anyone know of any problems running an A2K7 run-time on the same machine where A2K3 is installed? MTIA Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.10/943 - Release Date: 8/8/2007 5:38 PM From markamatte at hotmail.com Thu Aug 9 15:53:45 2007 From: markamatte at hotmail.com (Mark A Matte) Date: Thu, 09 Aug 2007 20:53:45 +0000 Subject: [AccessD] WindowLeft Property In-Reply-To: Message-ID: Annie, In reading your email, and researching me.windowleft, I'm assuming you are moving forms or reports around on the screen. 'WINDOWLEFT' returns an Integer indicating the screen position in twips of the left edge of a form or report relative to the left edge of the Microsoft Access window. In A2K this feature is not available...although I think a simple workaround would be to use something like mycontrol.top and mycontrol.left...both of these also return an integer in TWIPS...and make the necessarly setting changes this way. Hope it helps...and if my assumptions are wrong (happens often), let me know. Mark A. Matte >From: "Charlotte Foust" >Reply-To: Access Developers discussion and problem >solving >To: "Access Developers discussion and problem >solving" >Subject: Re: [AccessD] WindowLeft Property >Date: Thu, 9 Aug 2007 12:40:25 -0700 > >Each Access version brings new features that are not backward compatible >with prior versions when run in them. The support for prior formats is >so you can run an Access 2000 app in 2003 or have front ends from each >version link to a 2000 backend. It doesn't mean anything you create >from the later version will run in the earlier version. I've never >heard of the WindowLeft property, and I programmed at LOT in 2000 and >2002, so it must have been introduced in 2003. > >Charlotte Foust > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Annie >Courchesne, CMA >Sent: Thursday, August 09, 2007 12:19 PM >To: accessd at databaseadvisors.com >Subject: [AccessD] WindowLeft Property > >Hi Everyone, > >Thanks a lot for all the great tips about performance. It help me >greatly on my project. > >I'm working on a another small project that I thought would be faily >simple... bu tI'm stopped by this weird bug. > >I've developped this application at home on my Access 2003 but using >Access 2000 files. This application runs well at home. But when I put >it on the computers at work (they have Access 2000), it stops because it >does not recognize the me.WindowLeft property. I thought this property >was available in A2000. And why gives us at all the opportunity to >write a DB in 2003 with 2000 files if it cannot be run on A2000? > >Anyways, I looked at the reference and none is missing. > >This property is not crucial to the application, but it sure make one >part look nice. Before I got to work on a workaroung, I thought I'ld >check with you guys to see if anyone ever had this problem and how it >was resolved. > >Thanks! > > > >Annie Courchesne, CMA > > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ More photos, more messages, more storage?get 2GB with Windows Live Hotmail. http://imagine-windowslive.com/hotmail/?locale=en-us&ocid=TXT_TAGHM_migration_HM_mini_2G_0507 From galeper at gmail.com Thu Aug 9 17:19:32 2007 From: galeper at gmail.com (Gale Perez) Date: Thu, 9 Aug 2007 15:19:32 -0700 Subject: [AccessD] Update Query: Remove Hyphens in Phone Number Message-ID: <5b2621db0708091519y499aa9adncaa66d26e67ce421@mail.gmail.com> Hi! I'm creating a new phone number field with a phone number input mask, to replace a text field with actual hyphens in the numbers. Has anyone done an update query which copy the digits only from the old field to the new field (or which would just strip them and leave the digits in the current field)? Thank you, Gale From cfoust at infostatsystems.com Thu Aug 9 17:30:27 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 9 Aug 2007 15:30:27 -0700 Subject: [AccessD] Update Query: Remove Hyphens in Phone Number In-Reply-To: <5b2621db0708091519y499aa9adncaa66d26e67ce421@mail.gmail.com> References: <5b2621db0708091519y499aa9adncaa66d26e67ce421@mail.gmail.com> Message-ID: Just use the replace function to replace any instance of "-" with "". Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gale Perez Sent: Thursday, August 09, 2007 3:20 PM To: accessd at databaseadvisors.com Subject: [AccessD] Update Query: Remove Hyphens in Phone Number Hi! I'm creating a new phone number field with a phone number input mask, to replace a text field with actual hyphens in the numbers. Has anyone done an update query which copy the digits only from the old field to the new field (or which would just strip them and leave the digits in the current field)? Thank you, Gale -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dw-murphy at cox.net Thu Aug 9 17:41:03 2007 From: dw-murphy at cox.net (Doug Murphy) Date: Thu, 9 Aug 2007 15:41:03 -0700 Subject: [AccessD] Access 2007 run time on same machine with 2003 In-Reply-To: <00d101c7dac5$7a61f100$0301a8c0@HAL9005> Message-ID: <006e01c7dad6$5e0e7210$0200a8c0@murphy3234aaf1> Rocky, This is an excerpt from the alert that Sagekey sent out. --------------------------------- In January 2007 Microsoft released Vista and Access 2007. Both products are significantly different from Microsoft's previously released versions and this is going to affect how successful your current Access Runtime installations are with these products. How much Vista will affect your Access Runtime installation will depend upon the complexity of your application. Access 2007 on the other hand won't co-exist well with previous runtimes, triggering an MSI repair that can take up to 5 minutes to complete, followed by a forced reboot. ------------------------------------ It indicates that there are issues with older runtimes and 2007 so I wouldn't be surprised if the 2007 runtime didn't interact with older versions. I'd do some research on what to expect, or a lot of testing before installing 2007 on a bunch of customers computers. Doug -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Thursday, August 09, 2007 1:40 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access 2007 run time on same machine with 2003 Well, maybe I'll dodge that bullet. Because the client wants to send an A2007 run-time and is worried about users who have A2003 installed and installing the A2007 run-time might hose their 2003 apps. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Murphy Sent: Thursday, August 09, 2007 12:11 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access 2007 run time on same machine with 2003 There are some issues as I recollect. I know we had to purchase a modified Access 2002 runtime install script to make our runtime coexist with Access 2007. Take a look at the Sagekey software knowledge base. Doug -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Thursday, August 09, 2007 10:46 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Access 2007 run time on same machine with 2003 Dear List: Does anyone know of any problems running an A2K7 run-time on the same machine where A2K3 is installed? MTIA Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.10/943 - Release Date: 8/8/2007 5:38 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accma at sympatico.ca Thu Aug 9 18:14:25 2007 From: accma at sympatico.ca (Annie Courchesne, CMA) Date: Thu, 9 Aug 2007 19:14:25 -0400 Subject: [AccessD] WindowLeft Property In-Reply-To: References: Message-ID: <000301c7dadb$07362370$6800a8c0@anniec> Hi Charlotte, I was so sure that I had seen this property somewhere... but I must have been wrong. Thanks for the info! Annie Courchesne, CMA -----Message d'origine----- De?: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] De la part de Charlotte Foust Envoy??: 9 ao?t 2007 15:40 ??: Access Developers discussion and problem solving Objet?: Re: [AccessD] WindowLeft Property Each Access version brings new features that are not backward compatible with prior versions when run in them. The support for prior formats is so you can run an Access 2000 app in 2003 or have front ends from each version link to a 2000 backend. It doesn't mean anything you create from the later version will run in the earlier version. I've never heard of the WindowLeft property, and I programmed at LOT in 2000 and 2002, so it must have been introduced in 2003. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Annie Courchesne, CMA Sent: Thursday, August 09, 2007 12:19 PM To: accessd at databaseadvisors.com Subject: [AccessD] WindowLeft Property Hi Everyone, Thanks a lot for all the great tips about performance. It help me greatly on my project. I'm working on a another small project that I thought would be faily simple... bu tI'm stopped by this weird bug. I've developped this application at home on my Access 2003 but using Access 2000 files. This application runs well at home. But when I put it on the computers at work (they have Access 2000), it stops because it does not recognize the me.WindowLeft property. I thought this property was available in A2000. And why gives us at all the opportunity to write a DB in 2003 with 2000 files if it cannot be run on A2000? Anyways, I looked at the reference and none is missing. This property is not crucial to the application, but it sure make one part look nice. Before I got to work on a workaroung, I thought I'ld check with you guys to see if anyone ever had this problem and how it was resolved. Thanks! Annie Courchesne, CMA -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accma at sympatico.ca Thu Aug 9 18:14:59 2007 From: accma at sympatico.ca (Annie Courchesne, CMA) Date: Thu, 9 Aug 2007 19:14:59 -0400 Subject: [AccessD] WindowLeft Property In-Reply-To: References: Message-ID: <000401c7dadb$1b96a920$6800a8c0@anniec> Hi Mark, Thanks for the info... I'll try that... Annie Courchesne, CMA -----Message d'origine----- De?: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] De la part de Mark A Matte Envoy??: 9 ao?t 2007 16:54 ??: accessd at databaseadvisors.com Objet?: Re: [AccessD] WindowLeft Property Annie, In reading your email, and researching me.windowleft, I'm assuming you are moving forms or reports around on the screen. 'WINDOWLEFT' returns an Integer indicating the screen position in twips of the left edge of a form or report relative to the left edge of the Microsoft Access window. In A2K this feature is not available...although I think a simple workaround would be to use something like mycontrol.top and mycontrol.left...both of these also return an integer in TWIPS...and make the necessarly setting changes this way. Hope it helps...and if my assumptions are wrong (happens often), let me know. Mark A. Matte >From: "Charlotte Foust" >Reply-To: Access Developers discussion and problem >solving >To: "Access Developers discussion and problem >solving" >Subject: Re: [AccessD] WindowLeft Property >Date: Thu, 9 Aug 2007 12:40:25 -0700 > >Each Access version brings new features that are not backward compatible >with prior versions when run in them. The support for prior formats is >so you can run an Access 2000 app in 2003 or have front ends from each >version link to a 2000 backend. It doesn't mean anything you create >from the later version will run in the earlier version. I've never >heard of the WindowLeft property, and I programmed at LOT in 2000 and >2002, so it must have been introduced in 2003. > >Charlotte Foust > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Annie >Courchesne, CMA >Sent: Thursday, August 09, 2007 12:19 PM >To: accessd at databaseadvisors.com >Subject: [AccessD] WindowLeft Property > >Hi Everyone, > >Thanks a lot for all the great tips about performance. It help me >greatly on my project. > >I'm working on a another small project that I thought would be faily >simple... bu tI'm stopped by this weird bug. > >I've developped this application at home on my Access 2003 but using >Access 2000 files. This application runs well at home. But when I put >it on the computers at work (they have Access 2000), it stops because it >does not recognize the me.WindowLeft property. I thought this property >was available in A2000. And why gives us at all the opportunity to >write a DB in 2003 with 2000 files if it cannot be run on A2000? > >Anyways, I looked at the reference and none is missing. > >This property is not crucial to the application, but it sure make one >part look nice. Before I got to work on a workaroung, I thought I'ld >check with you guys to see if anyone ever had this problem and how it >was resolved. > >Thanks! > > > >Annie Courchesne, CMA > > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ More photos, more messages, more storageget 2GB with Windows Live Hotmail. http://imagine-windowslive.com/hotmail/?locale=en-us&ocid=TXT_TAGHM_migratio n_HM_mini_2G_0507 From accma at sympatico.ca Thu Aug 9 18:16:09 2007 From: accma at sympatico.ca (Annie Courchesne, CMA) Date: Thu, 9 Aug 2007 19:16:09 -0400 Subject: [AccessD] A2003 developer Message-ID: <000501c7dadb$456ec9d0$6800a8c0@anniec> Hi, Anyone know where I can get buy Access 2003 developper to turn my application to runtime ? Looks like it's only Access 2007 that is available everywhere I look. Thanks! Annie Courchesne, CMA From cfoust at infostatsystems.com Thu Aug 9 18:32:55 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 9 Aug 2007 16:32:55 -0700 Subject: [AccessD] A2003 developer In-Reply-To: <000501c7dadb$456ec9d0$6800a8c0@anniec> References: <000501c7dadb$456ec9d0$6800a8c0@anniec> Message-ID: Check the archives on this one. The 2003 runtime was available with the VSTO for 2003, which isn't free. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Annie Courchesne, CMA Sent: Thursday, August 09, 2007 4:16 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] A2003 developer Hi, Anyone know where I can get buy Access 2003 developper to turn my application to runtime ? Looks like it's only Access 2007 that is available everywhere I look. Thanks! Annie Courchesne, CMA -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accma at sympatico.ca Thu Aug 9 18:54:31 2007 From: accma at sympatico.ca (Annie Courchesne, CMA) Date: Thu, 9 Aug 2007 19:54:31 -0400 Subject: [AccessD] A2003 developer In-Reply-To: References: <000501c7dadb$456ec9d0$6800a8c0@anniec> Message-ID: <000a01c7dae0$a147b870$6800a8c0@anniec> Hi Charlotte, I did not know that, thanks. Do you know if there's a place where I can still buy it? Annie Courchesne, CMA -----Message d'origine----- De?: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] De la part de Charlotte Foust Envoy??: 9 ao?t 2007 19:33 ??: Access Developers discussion and problem solving Objet?: Re: [AccessD] A2003 developer Check the archives on this one. The 2003 runtime was available with the VSTO for 2003, which isn't free. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Annie Courchesne, CMA Sent: Thursday, August 09, 2007 4:16 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] A2003 developer Hi, Anyone know where I can get buy Access 2003 developper to turn my application to runtime ? Looks like it's only Access 2007 that is available everywhere I look. Thanks! Annie Courchesne, CMA -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Thu Aug 9 18:55:58 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Thu, 9 Aug 2007 16:55:58 -0700 Subject: [AccessD] Access 2007 run time on same machine with 2003 In-Reply-To: <006e01c7dad6$5e0e7210$0200a8c0@murphy3234aaf1> Message-ID: <00de01c7dae0$d535f0c0$0301a8c0@HAL9005> "a lot of testing before installing 2007 on a bunch" Do you mean installing 2007 runtimes? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Murphy Sent: Thursday, August 09, 2007 3:41 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access 2007 run time on same machine with 2003 Rocky, This is an excerpt from the alert that Sagekey sent out. --------------------------------- In January 2007 Microsoft released Vista and Access 2007. Both products are significantly different from Microsoft's previously released versions and this is going to affect how successful your current Access Runtime installations are with these products. How much Vista will affect your Access Runtime installation will depend upon the complexity of your application. Access 2007 on the other hand won't co-exist well with previous runtimes, triggering an MSI repair that can take up to 5 minutes to complete, followed by a forced reboot. ------------------------------------ It indicates that there are issues with older runtimes and 2007 so I wouldn't be surprised if the 2007 runtime didn't interact with older versions. I'd do some research on what to expect, or a lot of testing before installing 2007 on a bunch of customers computers. Doug -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Thursday, August 09, 2007 1:40 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access 2007 run time on same machine with 2003 Well, maybe I'll dodge that bullet. Because the client wants to send an A2007 run-time and is worried about users who have A2003 installed and installing the A2007 run-time might hose their 2003 apps. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Murphy Sent: Thursday, August 09, 2007 12:11 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access 2007 run time on same machine with 2003 There are some issues as I recollect. I know we had to purchase a modified Access 2002 runtime install script to make our runtime coexist with Access 2007. Take a look at the Sagekey software knowledge base. Doug -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Thursday, August 09, 2007 10:46 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Access 2007 run time on same machine with 2003 Dear List: Does anyone know of any problems running an A2K7 run-time on the same machine where A2K3 is installed? MTIA Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.10/943 - Release Date: 8/8/2007 5:38 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.10/943 - Release Date: 8/8/2007 5:38 PM From accessd at shaw.ca Thu Aug 9 19:05:25 2007 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 09 Aug 2007 17:05:25 -0700 Subject: [AccessD] SQL Speed In-Reply-To: <59A61174B1F5B54B97FD4ADDE71E7D01289BB1@ddi-01.DDI.local> Message-ID: <0JMJ00LU86O60TO1@l-daemon> Hi Michael: As a matter of fact I have. As long as variables and not values are used and the procedure are allowed to compile the performance is superior. When do they get compiled... first time they are used and then they remain cached until they time-out. If for example you have an 'Add record' SP the first time used it is compiled and cache and then every other user that request this procedure enjoys almost instantaneous access. If the SQL code is in fact uploaded first, then compiled before use the performance is going slower let alone the obvious security risks. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Michael Maddison Sent: Wednesday, August 08, 2007 10:59 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] SQL Speed Hi Jim, Have you tested this? I have, 'any queries that can run on the SQL server as pre-compiled stored procedures will give superior performance' is too broad a statement. In most instance a sql statement that has a cached exec plan is exactly as fast as a sproc (that has a cached plan). cheers Michael M -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, 9 August 2007 3:16 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] SQL Speed Well, you have probably already thought of this, but any queries that can run on the SQL server as pre-compiled stored procedures will give superior performance. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Wednesday, August 08, 2007 1:57 PM To: accessd at databaseadvisors.com Subject: [AccessD] SQL Speed Hello All, I am involved in a project that will be web based. The database will either be access or SQL Server. The question is: I need to run a bunch (maybe 10K) of SQL statements againts a single table...or flat file, whatever is best, containing about 4K rows. The results of each will be appended to a second table, or emailed instantly (ahh...idea...good place for a JC style Class). The SQL statements themselves will be stored in a table. Does anyone have any ideas/suggestions about approach? I will need ALL of the SQLs to run in less than 5 minutes. I know 1 runs in a fraction of a second...I just don't know what that fraction is to calculate time needed. Being there are so few rows involved...but so many SQL statements...and speed is an issue...will there be a signicant advantage using SQL Server or Access? I'm thinking of having the SQLs in a table and looping through and executing each...I just don't know if this is the best approach? Thanks, Mark A. Matte _________________________________________________________________ Booking a flight? Know when to buy with airfare predictions on MSN Travel. http://travel.msn.com/Articles/aboutfarecast.aspx&ocid=T001MSN25A07001 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dw-murphy at cox.net Thu Aug 9 19:14:42 2007 From: dw-murphy at cox.net (Doug Murphy) Date: Thu, 9 Aug 2007 17:14:42 -0700 Subject: [AccessD] Access 2007 run time on same machine with 2003 In-Reply-To: <00de01c7dae0$d535f0c0$0301a8c0@HAL9005> Message-ID: <007201c7dae3$733b83a0$0200a8c0@murphy3234aaf1> My concern when distributing a product to customers with unknown computer configurations, software installations, Office versions, etc is that I won't screw up their systems. I have a test set up with different versions of windows and different installations of Office that I run our installations through to try and insure we don't have any conflicts or worse yet creat a problem for the client. This is also why we spent the $ to buy the Sagekey scripts and then update them when MS came out with Vista and Office 2007. I think you were attending the Users group when one of the members created an install that overwrote some main windows dlls mistakenly. Made the package available for download and screwed up a bunch of computers. Cost him lots of $. My response was to your statement that you might dodge the bullet. I am pretty conservative when distributing applications. Doug -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Thursday, August 09, 2007 4:56 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access 2007 run time on same machine with 2003 "a lot of testing before installing 2007 on a bunch" Do you mean installing 2007 runtimes? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Murphy Sent: Thursday, August 09, 2007 3:41 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access 2007 run time on same machine with 2003 Rocky, This is an excerpt from the alert that Sagekey sent out. --------------------------------- In January 2007 Microsoft released Vista and Access 2007. Both products are significantly different from Microsoft's previously released versions and this is going to affect how successful your current Access Runtime installations are with these products. How much Vista will affect your Access Runtime installation will depend upon the complexity of your application. Access 2007 on the other hand won't co-exist well with previous runtimes, triggering an MSI repair that can take up to 5 minutes to complete, followed by a forced reboot. ------------------------------------ It indicates that there are issues with older runtimes and 2007 so I wouldn't be surprised if the 2007 runtime didn't interact with older versions. I'd do some research on what to expect, or a lot of testing before installing 2007 on a bunch of customers computers. Doug -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Thursday, August 09, 2007 1:40 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access 2007 run time on same machine with 2003 Well, maybe I'll dodge that bullet. Because the client wants to send an A2007 run-time and is worried about users who have A2003 installed and installing the A2007 run-time might hose their 2003 apps. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Murphy Sent: Thursday, August 09, 2007 12:11 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access 2007 run time on same machine with 2003 There are some issues as I recollect. I know we had to purchase a modified Access 2002 runtime install script to make our runtime coexist with Access 2007. Take a look at the Sagekey software knowledge base. Doug -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Thursday, August 09, 2007 10:46 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Access 2007 run time on same machine with 2003 Dear List: Does anyone know of any problems running an A2K7 run-time on the same machine where A2K3 is installed? MTIA Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.10/943 - Release Date: 8/8/2007 5:38 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.10/943 - Release Date: 8/8/2007 5:38 PM -- 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 9 19:16:11 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 9 Aug 2007 17:16:11 -0700 Subject: [AccessD] A2003 developer In-Reply-To: <000a01c7dae0$a147b870$6800a8c0@anniec> References: <000501c7dadb$456ec9d0$6800a8c0@anniec> <000a01c7dae0$a147b870$6800a8c0@anniec> Message-ID: You'd have to try the net and see if it's available. Alternatively, I believe the 2007 tools include the runtime license for the prior versions. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Annie Courchesne, CMA Sent: Thursday, August 09, 2007 4:55 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] A2003 developer Hi Charlotte, I did not know that, thanks. Do you know if there's a place where I can still buy it? Annie Courchesne, CMA -----Message d'origine----- De?: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] De la part de Charlotte Foust Envoy??: 9 ao?t 2007 19:33 ??: Access Developers discussion and problem solving Objet?: Re: [AccessD] A2003 developer Check the archives on this one. The 2003 runtime was available with the VSTO for 2003, which isn't free. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Annie Courchesne, CMA Sent: Thursday, August 09, 2007 4:16 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] A2003 developer Hi, Anyone know where I can get buy Access 2003 developper to turn my application to runtime ? Looks like it's only Access 2007 that is available everywhere I look. Thanks! Annie Courchesne, CMA -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Thu Aug 9 19:20:38 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Thu, 9 Aug 2007 17:20:38 -0700 Subject: [AccessD] A2003 developer In-Reply-To: <000501c7dadb$456ec9d0$6800a8c0@anniec> Message-ID: <00e801c7dae4$4778b480$0301a8c0@HAL9005> And where do we get the cheapest O2007 or even just A2007? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Annie Courchesne, CMA Sent: Thursday, August 09, 2007 4:16 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] A2003 developer Hi, Anyone know where I can get buy Access 2003 developper to turn my application to runtime ? Looks like it's only Access 2007 that is available everywhere I look. Thanks! Annie Courchesne, CMA -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.10/943 - Release Date: 8/8/2007 5:38 PM From rockysmolin at bchacc.com Thu Aug 9 19:22:59 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Thu, 9 Aug 2007 17:22:59 -0700 Subject: [AccessD] A2007 from Dell(!) Message-ID: <00e901c7dae4$9b9b66c0$0301a8c0@HAL9005> The A2007 upgrade is available for DELL(! who knew) for $99. Does it play well with )2003 on the same box? Will it replace A2003 or will it let you install A2007 and leave your A2003 alone? TIA Rocky From rockysmolin at bchacc.com Thu Aug 9 19:28:38 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Thu, 9 Aug 2007 17:28:38 -0700 Subject: [AccessD] Access 2007 run time on same machine with 2003 In-Reply-To: <007201c7dae3$733b83a0$0200a8c0@murphy3234aaf1> Message-ID: <00ea01c7dae5$65528020$0301a8c0@HAL9005> Thanks Doug. That's why I'm a big fan of obsolete technology. It works. The client and I are trying to decide whether to standardize on A2007 for the development of his product. There are some distinct advantages. Or standardize on something earlier - right now it's compatible with A2000. Not sure we need to go back that far however. The target market for this product is *likely* to have Office Pro but not for certain. So we're considering a run-time version as well. However, since the product t will be selling for 5 figures, it might be reasonable to require the end user to have Access - some version of it. Opinions, anyone? TIA Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Murphy Sent: Thursday, August 09, 2007 5:15 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access 2007 run time on same machine with 2003 My concern when distributing a product to customers with unknown computer configurations, software installations, Office versions, etc is that I won't screw up their systems. I have a test set up with different versions of windows and different installations of Office that I run our installations through to try and insure we don't have any conflicts or worse yet creat a problem for the client. This is also why we spent the $ to buy the Sagekey scripts and then update them when MS came out with Vista and Office 2007. I think you were attending the Users group when one of the members created an install that overwrote some main windows dlls mistakenly. Made the package available for download and screwed up a bunch of computers. Cost him lots of $. My response was to your statement that you might dodge the bullet. I am pretty conservative when distributing applications. Doug -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Thursday, August 09, 2007 4:56 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access 2007 run time on same machine with 2003 "a lot of testing before installing 2007 on a bunch" Do you mean installing 2007 runtimes? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Murphy Sent: Thursday, August 09, 2007 3:41 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access 2007 run time on same machine with 2003 Rocky, This is an excerpt from the alert that Sagekey sent out. --------------------------------- In January 2007 Microsoft released Vista and Access 2007. Both products are significantly different from Microsoft's previously released versions and this is going to affect how successful your current Access Runtime installations are with these products. How much Vista will affect your Access Runtime installation will depend upon the complexity of your application. Access 2007 on the other hand won't co-exist well with previous runtimes, triggering an MSI repair that can take up to 5 minutes to complete, followed by a forced reboot. ------------------------------------ It indicates that there are issues with older runtimes and 2007 so I wouldn't be surprised if the 2007 runtime didn't interact with older versions. I'd do some research on what to expect, or a lot of testing before installing 2007 on a bunch of customers computers. Doug -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Thursday, August 09, 2007 1:40 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access 2007 run time on same machine with 2003 Well, maybe I'll dodge that bullet. Because the client wants to send an A2007 run-time and is worried about users who have A2003 installed and installing the A2007 run-time might hose their 2003 apps. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Murphy Sent: Thursday, August 09, 2007 12:11 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access 2007 run time on same machine with 2003 There are some issues as I recollect. I know we had to purchase a modified Access 2002 runtime install script to make our runtime coexist with Access 2007. Take a look at the Sagekey software knowledge base. Doug -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Thursday, August 09, 2007 10:46 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Access 2007 run time on same machine with 2003 Dear List: Does anyone know of any problems running an A2K7 run-time on the same machine where A2K3 is installed? MTIA Rocky From cfoust at infostatsystems.com Thu Aug 9 19:42:49 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 9 Aug 2007 17:42:49 -0700 Subject: [AccessD] A2007 from Dell(!) In-Reply-To: <00e901c7dae4$9b9b66c0$0301a8c0@HAL9005> References: <00e901c7dae4$9b9b66c0$0301a8c0@HAL9005> Message-ID: You can install it on the same machine and tell the installer to leave 2003 alone. The problem is that each of these beasts wants to be the boss. So if you open a db in 2003 and then open it in 2007, you get a long (is 5 minutes long enough?) reconfiguration for 2007. If you open it in 2003 after opening in 2007, you'll get its installer rerunning, although not as long as the 2007 monster does. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Thursday, August 09, 2007 5:23 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] A2007 from Dell(!) The A2007 upgrade is available for DELL(! who knew) for $99. Does it play well with )2003 on the same box? Will it replace A2003 or will it let you install A2007 and leave your A2003 alone? TIA Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Thu Aug 9 20:31:16 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Thu, 9 Aug 2007 18:31:16 -0700 Subject: [AccessD] A2007 from Dell(!) In-Reply-To: Message-ID: <00f401c7daee$25607ae0$0301a8c0@HAL9005> That blows. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, August 09, 2007 5:43 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] A2007 from Dell(!) You can install it on the same machine and tell the installer to leave 2003 alone. The problem is that each of these beasts wants to be the boss. So if you open a db in 2003 and then open it in 2007, you get a long (is 5 minutes long enough?) reconfiguration for 2007. If you open it in 2003 after opening in 2007, you'll get its installer rerunning, although not as long as the 2007 monster does. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Thursday, August 09, 2007 5:23 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] A2007 from Dell(!) The A2007 upgrade is available for DELL(! who knew) for $99. Does it play well with )2003 on the same box? Will it replace A2003 or will it let you install A2007 and leave your A2003 alone? TIA Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.10/943 - Release Date: 8/8/2007 5:38 PM From drboz at pacbell.net Thu Aug 9 20:37:52 2007 From: drboz at pacbell.net (Don Bozarth) Date: Thu, 9 Aug 2007 18:37:52 -0700 Subject: [AccessD] A2007 from Dell(!) References: <00f401c7daee$25607ae0$0301a8c0@HAL9005> Message-ID: <00bb01c7daef$12ae24f0$6501a8c0@don> That's Microsoft. Don B. ----- Original Message ----- From: "Rocky Smolin at Beach Access Software" To: "'Access Developers discussion and problem solving'" Sent: Thursday, August 09, 2007 6:31 PM Subject: Re: [AccessD] A2007 from Dell(!) > That blows. > > Rocky > > > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust > Sent: Thursday, August 09, 2007 5:43 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] A2007 from Dell(!) > > You can install it on the same machine and tell the installer to leave > 2003 alone. The problem is that each of these beasts wants to be the > boss. > So if you open a db in 2003 and then open it in 2007, you get a long (is 5 > minutes long enough?) reconfiguration for 2007. If you open it in 2003 > after opening in 2007, you'll get its installer rerunning, although not as > long as the 2007 monster does. > > Charlotte Foust > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at > Beach Access Software > Sent: Thursday, August 09, 2007 5:23 PM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] A2007 from Dell(!) > > The A2007 upgrade is available for DELL(! who knew) for $99. Does it play > well with )2003 on the same box? Will it replace A2003 or will it let you > install A2007 and leave your A2003 alone? > > TIA > > Rocky > > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.476 / Virus Database: 269.11.10/943 - Release Date: 8/8/2007 > 5:38 PM > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Thu Aug 9 21:06:03 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 9 Aug 2007 22:06:03 -0400 Subject: [AccessD] YYYYMMDD string to date Message-ID: <20070810020605.7F604BD66@smtp-auth.no-ip.com> Is there a neat way to change a string date in YYYYMMDD format to a date? I can write a function to parse the pieces etc but wondered if there is just something built in to Access that will do it. Cdate() does not like it. John W. Colby Colby Consulting www.ColbyConsulting.com From carbonnb at gmail.com Thu Aug 9 21:18:22 2007 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Thu, 9 Aug 2007 22:18:22 -0400 Subject: [AccessD] OT: Pics from JC Conference In-Reply-To: <000d01c7da49$6204fbb0$517a6c4c@jisshowsbs.local> References: <006801c7d92b$e9e1d0e0$0301a8c0@HAL9005> <001801c7d9c7$e3ca3e30$8abea8c0@XPS> <000601c7d9f8$ed1b3ad0$6400a8c0@dsunit1> <000001c7da12$d43e7d00$6400a8c0@dsunit1> <000001c7da3c$c0c705b0$6400a8c0@dsunit1> <000d01c7da49$6204fbb0$517a6c4c@jisshowsbs.local> Message-ID: On 8/9/07, William Hindman wrote: > ...I've been retired since '94 ...but I still know what day it is :)))) I'm on vacation for a couple of weeks!! I don't CARE what day it is :) -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" From wdhindman at dejpolsystems.com Thu Aug 9 21:35:20 2007 From: wdhindman at dejpolsystems.com (William Hindman) Date: Thu, 9 Aug 2007 22:35:20 -0400 Subject: [AccessD] A2007 from Dell(!) References: <00f401c7daee$25607ae0$0301a8c0@HAL9005> Message-ID: <006301c7daf7$19280960$517a6c4c@jisshowsbs.local> ...use VM software ...MS has a free one that works as does VMWare ...that way you can switch fairly easily without any interference ...btw, I buy the upgrade but do a clean install with it ...I've never had an upgrade of Office that didn't leave a lot of crap floating around to cause future problems. William Hindman ----- Original Message ----- From: "Rocky Smolin at Beach Access Software" To: "'Access Developers discussion and problem solving'" Sent: Thursday, August 09, 2007 9:31 PM Subject: Re: [AccessD] A2007 from Dell(!) > That blows. > > Rocky > > > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust > Sent: Thursday, August 09, 2007 5:43 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] A2007 from Dell(!) > > You can install it on the same machine and tell the installer to leave > 2003 alone. The problem is that each of these beasts wants to be the > boss. > So if you open a db in 2003 and then open it in 2007, you get a long (is 5 > minutes long enough?) reconfiguration for 2007. If you open it in 2003 > after opening in 2007, you'll get its installer rerunning, although not as > long as the 2007 monster does. > > Charlotte Foust > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at > Beach Access Software > Sent: Thursday, August 09, 2007 5:23 PM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] A2007 from Dell(!) > > The A2007 upgrade is available for DELL(! who knew) for $99. Does it play > well with )2003 on the same box? Will it replace A2003 or will it let you > install A2007 and leave your A2003 alone? > > TIA > > Rocky > > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.476 / Virus Database: 269.11.10/943 - Release Date: 8/8/2007 > 5:38 PM > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From mmattys at rochester.rr.com Thu Aug 9 21:54:04 2007 From: mmattys at rochester.rr.com (Michael R Mattys) Date: Thu, 9 Aug 2007 22:54:04 -0400 Subject: [AccessD] YYYYMMDD string to date References: <20070810020605.7F604BD66@smtp-auth.no-ip.com> Message-ID: <003201c7daf9$bc0f7530$0202a8c0@Laptop> Hi John, This seems to work: CDate(Format("20070119","####-##-##")) Michael R. Mattys MapPoint & Access Dev www.mattysconsulting.com ----- Original Message ----- From: "jwcolby" To: "'Access Developers discussion and problem solving'" Sent: Thursday, August 09, 2007 10:06 PM Subject: [AccessD] YYYYMMDD string to date > Is there a neat way to change a string date in YYYYMMDD format to a date? > I > can write a function to parse the pieces etc but wondered if there is just > something built in to Access that will do it. Cdate() does not like it. > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Thu Aug 9 22:07:43 2007 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 10 Aug 2007 13:07:43 +1000 Subject: [AccessD] YYYYMMDD string to date In-Reply-To: <003201c7daf9$bc0f7530$0202a8c0@Laptop> References: <20070810020605.7F604BD66@smtp-auth.no-ip.com>, <003201c7daf9$bc0f7530$0202a8c0@Laptop> Message-ID: <46BBD67F.29640.F98AB0@stuart.lexacorp.com.pg> Neat! On 9 Aug 2007 at 22:54, Michael R Mattys wrote: > Hi John, > > This seems to work: > CDate(Format("20070119","####-##-##")) > > Michael R. Mattys > MapPoint & Access Dev > www.mattysconsulting.com > > ----- Original Message ----- > From: "jwcolby" > To: "'Access Developers discussion and problem solving'" > > Sent: Thursday, August 09, 2007 10:06 PM > Subject: [AccessD] YYYYMMDD string to date > > > > Is there a neat way to change a string date in YYYYMMDD format to a date? > > I > > can write a function to parse the pieces etc but wondered if there is just > > something built in to Access that will do it. Cdate() does not like it. > > > > John W. Colby > > Colby Consulting > > www.ColbyConsulting.com > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From miscellany at mvps.org Thu Aug 9 22:19:16 2007 From: miscellany at mvps.org (Steve Schapel) Date: Fri, 10 Aug 2007 15:19:16 +1200 Subject: [AccessD] A2007 from Dell(!) In-Reply-To: <00bb01c7daef$12ae24f0$6501a8c0@don> References: <00f401c7daee$25607ae0$0301a8c0@HAL9005> <00bb01c7daef$12ae24f0$6501a8c0@don> Message-ID: <46BBD934.4070306@mvps.org> Not sure what your implication is here, Don. If you mean how incredible it is that Microsoft provide at all for side by side installation of different versions of the same program, then I would agree with you. If you are talking about the extreme lengths that Microsoft go to to maximise version compatibility (including backward compatibility), to a degree unheard of in most other parts of the software industry, I would agree with you. Of course, the requirement for users to have more than one version of the same application installed side by side is a very unusual one. And the technicalities of switching versions on the fly are complex and difficult. In fact, that small group of computer users who call themselves Access developers probably want this facility in greater numbers than anyone else. So I say, let's count our lucky stars. Regards Steve Don Bozarth wrote: > That's Microsoft. From andy at minstersystems.co.uk Fri Aug 10 01:38:12 2007 From: andy at minstersystems.co.uk (Andy Lacey) Date: Fri, 10 Aug 2007 07:38:12 +0100 Subject: [AccessD] Changing Default Printer In-Reply-To: <000301c7daa6$7c234120$8abea8c0@XPS> Message-ID: <01ac01c7db19$09a3e5f0$f5df0651@minster33c3r25> Jim I can see you'd have such problems in that environment. Happily I don't so haven't been faced with them. -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman > Sent: 09 August 2007 17:58 > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Changing Default Printer > > > Andy, > > If your saying what I think your saying, then the only > problem with that is if you have multiple apps running at the > same time, a file can get over written. > > To get around that, the file name generated on the disk > must be unique or you need a semaphore to lock the resource > (ie. a printer set to print to > disk) until your done with it . This is especially true when > you have automated jobs running on a tight cycle. > > Jim. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey > Sent: Thursday, August 09, 2007 10:05 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Changing Default Printer > > FWIW I overcome this by adding code to rename the file once > it exists. Don't need to manipulate the registry that way. > Once you've dictated what filename Adobe creates you put code > to delete that filename at the start of your routine (if it > exists off course) then after the PDF creation you have a > timing loop that exits once the file exists and, once it's > there, code that renames the file to anything you like. > > -- Andy Lacey > http://www.minstersystems.co.uk > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Doug Murphy > > Sent: 08 August 2007 19:44 > > To: 'Access Developers discussion and problem solving' > > Subject: Re: [AccessD] Changing Default Printer > > > > > > Rocky, > > > > There is no object model that I know of. There is vb code on the > > Adobe site and on the web but each file is saved to a > setting in the > > registry, so if you want to have each file saved to a > unique name and > > folder location you have to set that in the registry. I can dig out > > the code I use if you want it. Send off line. > > > > Doug > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky > > Smolin at Beach Access Software > > Sent: Wednesday, August 08, 2007 11:22 AM > > To: 'Access Developers discussion and problem solving' > > Subject: Re: [AccessD] Changing Default Printer > > > > Do you know if Adobe has an object model that can be manipulated > > through code? So that, for example, you could create a > file name or > > direct the PDF file to a specific folder? > > > > Rocky > > > > > > > > > > > > > > > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Charlotte > > Foust > > Sent: Wednesday, August 08, 2007 11:00 AM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Changing Default Printer > > > > The alternatives (we used Amyuni) require coding and then > installation > > on the target machine. I'm not sure you would be any better off, > > especially if you need to get this working fast. On the > other hand, > > several of the PDF printers you can license on the web include VBA > > sample code to get you started. > > > > Charlotte Foust > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky > > Smolin at Beach Access Software > > Sent: Wednesday, August 08, 2007 10:54 AM > > To: 'Access Developers discussion and problem solving' > > Subject: Re: [AccessD] Changing Default Printer > > > > Any good alternatives that you know of? > > > > Rocky > > > > > > > > > > > > > > > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Charlotte > > Foust > > Sent: Wednesday, August 08, 2007 10:41 AM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Changing Default Printer > > > > On the other hand, it may cause you more problems. If you > are using > > generic code to print to PDF, you won't be able to control > page size, > > orientation, or anything else. Nor will you be able to > create it with > > a useful name, which may not be what your user needs. > > > > Charlotte Foust > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky > > Smolin at Beach Access Software > > Sent: Wednesday, August 08, 2007 10:35 AM > > To: 'Access Developers discussion and problem solving' > > Subject: Re: [AccessD] Changing Default Printer > > > > This is a work in progress so I don't have precise answers > yet. But, > > the plan is to have the user install whatever PDF printer > they like . > > In the control panel of the Automated Email System there's > a combo box > > with all of the installed printers. They pick their PDF > printer and > > it's saved in a local options table. So they'll be providing their > > own PDF printer. Which might finesse the problem you had. > > > > Rocky > > > > > > > > > > > > > > > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Charlotte > > Foust > > Sent: Wednesday, August 08, 2007 10:23 AM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Changing Default Printer > > > > Um ... Is this PDF printer something you provide in your > app? We've > > found that we needed to include an installer for our clients to > > reinstall their PDF printer when it went sideways, and we ran into > > problems if a full version of Adobe Acrobat was installed > on the same > > machine. > > > > Charlotte Foust > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky > > Smolin at Beach Access Software > > Sent: Wednesday, August 08, 2007 9:09 AM > > To: 'Access Developers discussion and problem solving' > > Subject: Re: [AccessD] Changing Default Printer > > > > Well, that won't be a problem for my app. Al I want to do > it have the > > user switch to a PDF printer for reports which will then be > attached > > to emails. > > > > > > Rocky > > > > > > > > > > > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Charlotte > > Foust > > Sent: Wednesday, August 08, 2007 8:52 AM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Changing Default Printer > > > > OY!! After all this time I don't recall. I know I wrote printer > > object based code to replace all our old code to set page size > > properly and then after testing it a bit, I threw it out > and went back > > to the original code. I don't think it was a problem with selecting > > the printer, it was trying to manipulate the page settings > that gave > > us problems. > > > > Charlotte Foust > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky > > Smolin at Beach Access Software > > Sent: Wednesday, August 08, 2007 8:45 AM > > To: 'Access Developers discussion and problem solving' > > Subject: Re: [AccessD] Changing Default Printer > > > > Uh-oh. What problems did you have with the Printer object? Is that > > the same as using Application.Printer? > > > > Rocky > > > > > > > > > > > > > > > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Charlotte > > Foust > > Sent: Wednesday, August 08, 2007 8:08 AM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Changing Default Printer > > > > A2002 was the first version to have a printer object. I > have to tell > > you, though, that we tried it and went back to API calls as more > > consistent and reliable. > > > > Charlotte Foust > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky > > Smolin at Beach Access Software > > Sent: Wednesday, August 08, 2007 7:21 AM > > To: 'Access Developers discussion and problem solving' > > Subject: Re: [AccessD] Changing Default Printer > > > > What version of Access has that Printer object? And that > code would > > go into the report in the load or open event? The code I > found that I > > posted yesterday works in A2K3, it's real short, but does > it at the OS > > level, which is probably more sketchy than doing it inside Access > > itself. What to you think? > > > > Rocky > > > > > > > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > No virus found in this incoming message. > > Checked by AVG Free Edition. > > Version: 7.5.476 / Virus Database: 269.11.8/941 - Release > > Date: 8/7/2007 4:06 PM > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > No virus found in this incoming message. > > Checked by AVG Free Edition. > > Version: 7.5.476 / Virus Database: 269.11.8/941 - Release > > Date: 8/7/2007 4:06 PM > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From rbgajewski at adelphia.net Fri Aug 10 05:12:49 2007 From: rbgajewski at adelphia.net (Bob Gajewski) Date: Fri, 10 Aug 2007 06:12:49 -0400 Subject: [AccessD] Problem with A2003 Report caption *SOLVED* In-Reply-To: <010e01c7d85b$771cd3f0$8757a27a@pcadt> References: <20070801123650.4227B4F5DC@smtp.nildram.co.uk><004301c7d4b4$496e84d0$0301a8c0@HAL9005> <001201c7d7eb$c71113a0$6400a8c0@DCYN3T81> <010e01c7d85b$771cd3f0$8757a27a@pcadt> Message-ID: <004b01c7db37$01bd5ce0$6400a8c0@DCYN3T81> A.D. That worked perfectly! Many thanks, Bob Gajewski -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of A.D.TEJPAL Sent: Monday, August 06, 2007 14:55 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Problem with A2003 Report caption Bob, You can try passing the caption string as report's OpenArgs as follows: DoCmd.OpenReport strReportName, _ acViewPreview, , strWhere, , strReportCaption Code in report's open event would be: Private Sub Report_Open(Cancel As Integer) Me.Caption = Me.OpenArgs End Sub Best wishes, A.D.Tejpal --------------- ----- Original Message ----- From: Bob Gajewski To: 'Access Developers discussion and problem solving' Sent: Monday, August 06, 2007 11:06 Subject: [AccessD] Problem with A2003 Report caption Hi Folks I am running into a problem with a new report. I am using a form to select record types and a date range, and passing the parameters to the report. Everything is working perfectly and as expected *EXCEPT* that my report caption does not print on the first page. It's there from Page 2 through the end, regardless of how many pages. My form code sample is below. I have confirmed that the value of "frmDateRange" just prior to the OpenReport is "1". On the actual report, the unbound text field for the report title has a control source of "=[Caption]". If anyone has any ideas on how to fix this, or can at least point me in the right direction, I will be truly grateful. Thanks ! Bob Gajewski CODE SAMPLE (frmMembersResponses) ================================= Private Sub cmdGenerateReport_Click() On Error GoTo Err_cmdGenerateReport_Click Dim strReportName As String, strWhere As String strReportName = "rptMembersResponse" strWhere = "" ' Set strWhere for Date Range If Not IsNull(Me!dteDateRangeSelectFrom) Or Me!dteDateRangeSelectFrom <> "" Then If IsNull(strWhere) Or strWhere = "" Then strWhere = "([IncidentDate] >= #" & Me!dteDateRangeSelectFrom & "#)" Else strWhere = "(" & strWhere & ") And ([IncidentDate] >= #" & Me!dteDateRangeSelectFrom & "#)" End If End If If Not IsNull(Me!dteDateRangeSelectTo) Or Me!dteDateRangeSelectTo <> "" Then If IsNull(strWhere) Or strWhere = "" Then strWhere = "([IncidentDate] <= #" & Me!dteDateRangeSelectTo & "#)" Else strWhere = "(" & strWhere & ") And ([IncidentDate] <= #" & Me!dteDateRangeSelectTo & "#)" End If End If ' Print report Dim rpt As Report, strReportCaption As String If IsNull(strWhere) Or strWhere = "" Then Select Case frmDateRange Case 1 strReportCaption = "Member Responses for Call Year " & Format([dteDateRangeSelectFrom], "MM/DD/YYYY") & " - " & Format([dteDateRangeSelectTo], "MM/DD/YYYY") Case 2 strReportCaption = "Member Responses for Calendar Year " & DatePart("yyyy", [dteDateRangeSelectFrom]) Case 3 strReportCaption = "Member Responses for " & Format([dteDateRangeSelectFrom], "MM/DD/YYYY") & " - " & Format([dteDateRangeSelectTo], "MM/DD/YYYY") Case Else strReportCaption = "Member Responses" End Select Else Select Case frmDateRange Case 1 strReportCaption = "Selected Member Responses for Call Year " & Format([dteDateRangeSelectFrom], "MM/DD/YYYY") & " - " & Format([dteDateRangeSelectTo], "MM/DD/YYYY") Case 2 strReportCaption = "Selected Member Responses for Calendar Year " & DatePart("yyyy", [dteDateRangeSelectFrom]) Case 3 strReportCaption = "Selected Member Responses for " & Format([dteDateRangeSelectFrom], "MM/DD/YYYY") & " - " & Format([dteDateRangeSelectTo], "MM/DD/YYYY") Case Else strReportCaption = "Selected Member Responses" End Select End If MsgBox ("The value of 'strReportCaption' is " & strReportCaption & ".") DoCmd.OpenReport strReportName, acViewPreview, , strWhere Set rpt = Reports(strReportName) rpt.OrderByOn = True rpt.OrderBy = strSortOrder rpt.Caption = strReportCaption -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.6/938 - Release Date: 08/05/2007 16:16 PM No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.11/944 - Release Date: 08/09/2007 14:44 PM From Gustav at cactus.dk Fri Aug 10 06:52:30 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 10 Aug 2007 13:52:30 +0200 Subject: [AccessD] YYYYMMDD string to date Message-ID: Hi John Parsing is about 5 times faster than using CDate(Format(...)): datDate = DateSerial(Left(strDate, 4), Mid(strDate, 5, 2), Right(strDate, 2)) /gustav >>> jwcolby at colbyconsulting.com 10-08-2007 04:06 >>> Is there a neat way to change a string date in YYYYMMDD format to a date? I can write a function to parse the pieces etc but wondered if there is just something built in to Access that will do it. Cdate() does not like it. John W. Colby Colby Consulting www.ColbyConsulting.com From adtp at airtelbroadband.in Fri Aug 10 07:03:57 2007 From: adtp at airtelbroadband.in (A.D.TEJPAL) Date: Fri, 10 Aug 2007 17:33:57 +0530 Subject: [AccessD] Problem with A2003 Report caption *SOLVED* References: <20070801123650.4227B4F5DC@smtp.nildram.co.uk><004301c7d4b4$496e 84d0$0301a8c0@HAL9005><001201c7d7eb$c71113a0$6400a8c0@DCYN3T81><010e01c7d85 b$771cd3f0$8757a27a@pcadt> <004b01c7db37$01bd5ce0$6400a8c0@DCYN3T81> Message-ID: <005701c7db46$a449eb90$0a57a27a@pcadt> You are most welcome Bob! A.D.Tejpal --------------- ----- Original Message ----- From: Bob Gajewski To: 'Access Developers discussion and problem solving' Sent: Friday, August 10, 2007 15:42 Subject: Re: [AccessD] Problem with A2003 Report caption *SOLVED* A.D. That worked perfectly! Many thanks, Bob Gajewski -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of A.D.TEJPAL Sent: Monday, August 06, 2007 14:55 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Problem with A2003 Report caption Bob, You can try passing the caption string as report's OpenArgs as follows: DoCmd.OpenReport strReportName, _ acViewPreview, , strWhere, , strReportCaption Code in report's open event would be: Private Sub Report_Open(Cancel As Integer) Me.Caption = Me.OpenArgs End Sub Best wishes, A.D.Tejpal --------------- ----- Original Message ----- From: Bob Gajewski To: 'Access Developers discussion and problem solving' Sent: Monday, August 06, 2007 11:06 Subject: [AccessD] Problem with A2003 Report caption Hi Folks I am running into a problem with a new report. I am using a form to select record types and a date range, and passing the parameters to the report. Everything is working perfectly and as expected *EXCEPT* that my report caption does not print on the first page. It's there from Page 2 through the end, regardless of how many pages. My form code sample is below. I have confirmed that the value of "frmDateRange" just prior to the OpenReport is "1". On the actual report, the unbound text field for the report title has a control source of "=[Caption]". If anyone has any ideas on how to fix this, or can at least point me in the right direction, I will be truly grateful. Thanks ! Bob Gajewski CODE SAMPLE (frmMembersResponses) ================================= Private Sub cmdGenerateReport_Click() On Error GoTo Err_cmdGenerateReport_Click Dim strReportName As String, strWhere As String strReportName = "rptMembersResponse" strWhere = "" ' Set strWhere for Date Range If Not IsNull(Me!dteDateRangeSelectFrom) Or Me!dteDateRangeSelectFrom <> "" Then If IsNull(strWhere) Or strWhere = "" Then strWhere = "([IncidentDate] >= #" & Me!dteDateRangeSelectFrom & "#)" Else strWhere = "(" & strWhere & ") And ([IncidentDate] >= #" & Me!dteDateRangeSelectFrom & "#)" End If End If If Not IsNull(Me!dteDateRangeSelectTo) Or Me!dteDateRangeSelectTo <> "" Then If IsNull(strWhere) Or strWhere = "" Then strWhere = "([IncidentDate] <= #" & Me!dteDateRangeSelectTo & "#)" Else strWhere = "(" & strWhere & ") And ([IncidentDate] <= #" & Me!dteDateRangeSelectTo & "#)" End If End If ' Print report Dim rpt As Report, strReportCaption As String If IsNull(strWhere) Or strWhere = "" Then Select Case frmDateRange Case 1 strReportCaption = "Member Responses for Call Year " & Format([dteDateRangeSelectFrom], "MM/DD/YYYY") & " - " & Format([dteDateRangeSelectTo], "MM/DD/YYYY") Case 2 strReportCaption = "Member Responses for Calendar Year " & DatePart("yyyy", [dteDateRangeSelectFrom]) Case 3 strReportCaption = "Member Responses for " & Format([dteDateRangeSelectFrom], "MM/DD/YYYY") & " - " & Format([dteDateRangeSelectTo], "MM/DD/YYYY") Case Else strReportCaption = "Member Responses" End Select Else Select Case frmDateRange Case 1 strReportCaption = "Selected Member Responses for Call Year " & Format([dteDateRangeSelectFrom], "MM/DD/YYYY") & " - " & Format([dteDateRangeSelectTo], "MM/DD/YYYY") Case 2 strReportCaption = "Selected Member Responses for Calendar Year " & DatePart("yyyy", [dteDateRangeSelectFrom]) Case 3 strReportCaption = "Selected Member Responses for " & Format([dteDateRangeSelectFrom], "MM/DD/YYYY") & " - " & Format([dteDateRangeSelectTo], "MM/DD/YYYY") Case Else strReportCaption = "Selected Member Responses" End Select End If MsgBox ("The value of 'strReportCaption' is " & strReportCaption & ".") DoCmd.OpenReport strReportName, acViewPreview, , strWhere Set rpt = Reports(strReportName) rpt.OrderByOn = True rpt.OrderBy = strSortOrder rpt.Caption = strReportCaption From phpons at gmail.com Fri Aug 10 07:08:53 2007 From: phpons at gmail.com (philippe pons) Date: Fri, 10 Aug 2007 14:08:53 +0200 Subject: [AccessD] How to create a form with the VBA Extensibility Library Message-ID: <57144ced0708100508pad23879i3d76520183e149b4@mail.gmail.com> Hi all, I just discovered the capabilities of this library that allows to programmaticaly control the VBE. I can now create a new class module with: Application.VBE.ActiveVBProject.VBComponents.Add (vbext_ct_ClassModule) or a standard module using the vbext_ct_StdModule constante. But I can't find how to create a new Form! There is a vbext_ct_MSForm constante, but it creates a UserForm, very similar to the ones used in Excel, not an Acces Form. Do you know if it is possible, and how to do that? TIA, Philippe From robert at webedb.com Fri Aug 10 08:00:54 2007 From: robert at webedb.com (Robert L. Stewart) Date: Fri, 10 Aug 2007 08:00:54 -0500 Subject: [AccessD] A2007 from Dell(!) In-Reply-To: References: Message-ID: <200708101305.l7AD5qLf009931@databaseadvisors.com> Rocky, I have 97, 2000, 2002 2003, and 2007 installed on the same computer. I have no problems with it except for the "installing" process when I switch between versions. FYI, I have also had a client that I had to convert to 2007 accdb format because the 2003 mdb kept corrupting. Robert At 07:44 PM 8/9/2007, you wrote: >Date: Thu, 9 Aug 2007 17:22:59 -0700 >From: "Rocky Smolin at Beach Access Software" >Subject: [AccessD] A2007 from Dell(!) >To: "'Access Developers discussion and problem solving'" > >Message-ID: <00e901c7dae4$9b9b66c0$0301a8c0 at HAL9005> >Content-Type: text/plain; charset="us-ascii" > >The A2007 upgrade is available for DELL(! who knew) for $99. Does it play >well with )2003 on the same box? Will it replace A2003 or will it let you >install A2007 and leave your A2003 alone? > >TIA > >Rocky From robert at webedb.com Fri Aug 10 08:02:59 2007 From: robert at webedb.com (Robert L. Stewart) Date: Fri, 10 Aug 2007 08:02:59 -0500 Subject: [AccessD] Access 2007 run time on same machine with 2003 In-Reply-To: References: Message-ID: <200708101305.l7AD5qLp009930@databaseadvisors.com> Rocky, Actually, for that kind of money, your install script should detect and "compatible" version of Access. And, if it is not there, install the runtime. Robert At 07:44 PM 8/9/2007, you wrote: >Date: Thu, 9 Aug 2007 17:28:38 -0700 >From: "Rocky Smolin at Beach Access Software" >Subject: Re: [AccessD] Access 2007 run time on same machine with 2003 >To: "'Access Developers discussion and problem solving'" > >Cc: 'Jack Stone' >Message-ID: <00ea01c7dae5$65528020$0301a8c0 at HAL9005> >Content-Type: text/plain; charset="us-ascii" > >Thanks Doug. That's why I'm a big fan of obsolete technology. It works. > >The client and I are trying to decide whether to standardize on A2007 for >the development of his product. There are some distinct advantages. Or >standardize on something earlier - right now it's compatible with A2000. >Not sure we need to go back that far however. > >The target market for this product is *likely* to have Office Pro but not >for certain. So we're considering a run-time version as well. > >However, since the product t will be selling for 5 figures, it might be >reasonable to require the end user to have Access - some version of it. > >Opinions, anyone? > >TIA > >Rocky From jwcolby at colbyconsulting.com Fri Aug 10 08:25:54 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 10 Aug 2007 09:25:54 -0400 Subject: [AccessD] How to create a form with the VBA Extensibility Library In-Reply-To: <57144ced0708100508pad23879i3d76520183e149b4@mail.gmail.com> Message-ID: <20070810132557.3DCAEBF8F@smtp-auth.no-ip.com> How did you SAVE the module once created? John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of philippe pons Sent: Friday, August 10, 2007 8:09 AM To: accessd at databaseadvisors.com Subject: [AccessD] How to create a form with the VBA Extensibility Library Hi all, I just discovered the capabilities of this library that allows to programmaticaly control the VBE. I can now create a new class module with: Application.VBE.ActiveVBProject.VBComponents.Add (vbext_ct_ClassModule) or a standard module using the vbext_ct_StdModule constante. But I can't find how to create a new Form! There is a vbext_ct_MSForm constante, but it creates a UserForm, very similar to the ones used in Excel, not an Acces Form. Do you know if it is possible, and how to do that? TIA, Philippe -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Fri Aug 10 08:26:54 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 10 Aug 2007 09:26:54 -0400 Subject: [AccessD] YYYYMMDD string to date In-Reply-To: Message-ID: <20070810132657.42CE2BBFC@smtp-auth.no-ip.com> And about as easy to do, since the left/mid/right is what I used anyway. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, August 10, 2007 7:53 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] YYYYMMDD string to date Hi John Parsing is about 5 times faster than using CDate(Format(...)): datDate = DateSerial(Left(strDate, 4), Mid(strDate, 5, 2), Right(strDate, 2)) /gustav >>> jwcolby at colbyconsulting.com 10-08-2007 04:06 >>> Is there a neat way to change a string date in YYYYMMDD format to a date? I can write a function to parse the pieces etc but wondered if there is just something built in to Access that will do it. Cdate() does not like it. John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From phpons at gmail.com Fri Aug 10 08:51:10 2007 From: phpons at gmail.com (philippe pons) Date: Fri, 10 Aug 2007 15:51:10 +0200 Subject: [AccessD] How to create a form with the VBA Extensibility Library In-Reply-To: <20070810132557.3DCAEBF8F@smtp-auth.no-ip.com> References: <57144ced0708100508pad23879i3d76520183e149b4@mail.gmail.com> <20070810132557.3DCAEBF8F@smtp-auth.no-ip.com> Message-ID: <57144ced0708100651r53584be1u36886f79d041cff0@mail.gmail.com> The same way as when the module is added "by hand": you click on Save. I don't know if there is a programmatic way of doing that! 2007/8/10, jwcolby : > > How did you SAVE the module once created? > > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of philippe pons > Sent: Friday, August 10, 2007 8:09 AM > To: accessd at databaseadvisors.com > Subject: [AccessD] How to create a form with the VBA Extensibility Library > > Hi all, > > I just discovered the capabilities of this library that allows to > programmaticaly control the VBE. > I can now create a new class module with: > Application.VBE.ActiveVBProject.VBComponents.Add (vbext_ct_ClassModule) > > or a standard module using the vbext_ct_StdModule constante. > > But I can't find how to create a new Form! > There is a vbext_ct_MSForm constante, but it creates a UserForm, very > similar to the ones used in Excel, not an Acces Form. > > Do you know if it is possible, and how to do that? > > TIA, > > Philippe > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jwcolby at colbyconsulting.com Fri Aug 10 08:58:49 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 10 Aug 2007 09:58:49 -0400 Subject: [AccessD] How to create a form with the VBA ExtensibilityLibrary In-Reply-To: <57144ced0708100651r53584be1u36886f79d041cff0@mail.gmail.com> Message-ID: <20070810135852.DBA8ABFB8@smtp-auth.no-ip.com> That is what I was after. I have delved into that stuff before and never found a way to programmatically save. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of philippe pons Sent: Friday, August 10, 2007 9:51 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] How to create a form with the VBA ExtensibilityLibrary The same way as when the module is added "by hand": you click on Save. I don't know if there is a programmatic way of doing that! 2007/8/10, jwcolby : > > How did you SAVE the module once created? > > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of philippe > pons > Sent: Friday, August 10, 2007 8:09 AM > To: accessd at databaseadvisors.com > Subject: [AccessD] How to create a form with the VBA Extensibility > Library > > Hi all, > > I just discovered the capabilities of this library that allows to > programmaticaly control the VBE. > I can now create a new class module with: > Application.VBE.ActiveVBProject.VBComponents.Add > (vbext_ct_ClassModule) > > or a standard module using the vbext_ct_StdModule constante. > > But I can't find how to create a new Form! > There is a vbext_ct_MSForm constante, but it creates a UserForm, very > similar to the ones used in Excel, not an Acces Form. > > Do you know if it is possible, and how to do that? > > TIA, > > Philippe > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Fri Aug 10 09:06:11 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 10 Aug 2007 16:06:11 +0200 Subject: [AccessD] OT Friday: Comodo AntiSpam Message-ID: Hi JC et al JC has sent this out, so now you cannot get to him directly. Aside the good intentions behind doing so, this will cause a lot of trouble, and I don't say too much if I - as a general warning - mention that the consensus between system people is, that as tempting these challenge-response system my seem, they represent a bad idea because the negative impact outweighs the positive. If you or your client run a mail server, I can strongly recommend SpamBunker: http://www.aimconsulting.ch/Spambunker/sbk-strategy.asp which is not free but cheap, and is superior to the common mail filtering systems. Thus, it requires no "learning", no maintenance, it works from the minute it is installed, and it handles massive amount of spam and/or mail even on modest hardware. We operate it here where we went from about 4000 spam mails per day to a handful per week after we had been under a week long attack with constantly 20 connections and more than 16000 connections per day. As a result we now promote this to our clients with serious spam troubles. /gustav --- >>> 10-08-2007 13:58 >>> Hi, it's jwcolby. I finally decided I'd had enough of junk mail, and installed a fantastic application that gets rid of it all. Unfortunately, you are not yet in my trusted senders list!! The only way I'll get your emails is if you follow the steps outlined below: Here's all you have to do: 1. Press Reply 2. In the body of the reply, type in my AntiSpam Passcode contained in the graphical attachment. 3. Press Send When I receive this reply, I will know that it was really you that sent me the email and not a computerized spammer. I will then be able to receive all your mail. This authentication will be done only once. Thank you & have a great day, jwcolby ------------------------------------------------------------------------------------------------ You are receiving this messages in response to your email to jwcolby at colbyconsulting.com, a Comodo AntiSpam user. Our Passcode Authentication Technology requires senders to verify themselves before their mail is delivered. You will only need to do this once. Comodo AntiSpam is completely free. Experience a 100% spam free inbox for yourself by visiting www.comodo.com X-Comodo-AntiSpamRFA (jwcolby at colbyconsulting.com) From jwcolby at colbyconsulting.com Fri Aug 10 09:24:50 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 10 Aug 2007 10:24:50 -0400 Subject: [AccessD] OT Friday: Comodo AntiSpam In-Reply-To: Message-ID: <20070810142453.923B3BFEC@smtp-auth.no-ip.com> Gustav, As soon as I pick you up on the control panel I "allow" your email so in fact you do not have to respond. Your email as well as every one else on the list that has popped up so far is now coming right through because I manually "allowed" you to. Either way, you respond or I allow, it only has to be done one time and then it works just fine. I have not had time yet to evaluate the full impact, but I am a small company, with a small number of regular correspondents (with the exception of this list). I can appreciate the "challenge / response sucks" mentality but I don't have a mail server under my control. I use the pop server that comes with my web site. This works at the client level and so I am trying it. My apologies for any inconvenience. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, August 10, 2007 10:06 AM To: accessd at databaseadvisors.com Subject: [AccessD] OT Friday: Comodo AntiSpam Hi JC et al JC has sent this out, so now you cannot get to him directly. Aside the good intentions behind doing so, this will cause a lot of trouble, and I don't say too much if I - as a general warning - mention that the consensus between system people is, that as tempting these challenge-response system my seem, they represent a bad idea because the negative impact outweighs the positive. If you or your client run a mail server, I can strongly recommend SpamBunker: http://www.aimconsulting.ch/Spambunker/sbk-strategy.asp which is not free but cheap, and is superior to the common mail filtering systems. Thus, it requires no "learning", no maintenance, it works from the minute it is installed, and it handles massive amount of spam and/or mail even on modest hardware. We operate it here where we went from about 4000 spam mails per day to a handful per week after we had been under a week long attack with constantly 20 connections and more than 16000 connections per day. As a result we now promote this to our clients with serious spam troubles. /gustav --- >>> 10-08-2007 13:58 >>> Hi, it's jwcolby. I finally decided I'd had enough of junk mail, and installed a fantastic application that gets rid of it all. Unfortunately, you are not yet in my trusted senders list!! The only way I'll get your emails is if you follow the steps outlined below: Here's all you have to do: 1. Press Reply 2. In the body of the reply, type in my AntiSpam Passcode contained in the graphical attachment. 3. Press Send When I receive this reply, I will know that it was really you that sent me the email and not a computerized spammer. I will then be able to receive all your mail. This authentication will be done only once. Thank you & have a great day, jwcolby ---------------------------------------------------------------------------- -------------------- You are receiving this messages in response to your email to jwcolby at colbyconsulting.com, a Comodo AntiSpam user. Our Passcode Authentication Technology requires senders to verify themselves before their mail is delivered. You will only need to do this once. Comodo AntiSpam is completely free. Experience a 100% spam free inbox for yourself by visiting www.comodo.com X-Comodo-AntiSpamRFA (jwcolby at colbyconsulting.com) -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From wdhindman at dejpolsystems.com Fri Aug 10 09:39:40 2007 From: wdhindman at dejpolsystems.com (William Hindman) Date: Fri, 10 Aug 2007 10:39:40 -0400 Subject: [AccessD] OT Friday: Comodo AntiSpam References: <20070810142453.923B3BFEC@smtp-auth.no-ip.com> Message-ID: <005c01c7db5c$48f8d650$0c10a8c0@jisshowsbs.local> ...what happens when a new, potential client e-mails you? ...I'm with Gustav, the initial e-mail gave me a negative reaction ...but then, like you, I'm dependent on my ISP's filtering and its far from perfect so I'm open to anything that helps ...question is of course, does this really help or hinder in the long run? William Hindman ----- Original Message ----- From: "jwcolby" To: "'Access Developers discussion and problem solving'" Sent: Friday, August 10, 2007 10:24 AM Subject: Re: [AccessD] OT Friday: Comodo AntiSpam > Gustav, > > As soon as I pick you up on the control panel I "allow" your email so in > fact you do not have to respond. Your email as well as every one else on > the list that has popped up so far is now coming right through because I > manually "allowed" you to. Either way, you respond or I allow, it only > has > to be done one time and then it works just fine. > > I have not had time yet to evaluate the full impact, but I am a small > company, with a small number of regular correspondents (with the exception > of this list). > > I can appreciate the "challenge / response sucks" mentality but I don't > have > a mail server under my control. I use the pop server that comes with my > web > site. This works at the client level and so I am trying it. > > My apologies for any inconvenience. > > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock > Sent: Friday, August 10, 2007 10:06 AM > To: accessd at databaseadvisors.com > Subject: [AccessD] OT Friday: Comodo AntiSpam > > Hi JC et al > > JC has sent this out, so now you cannot get to him directly. Aside the > good > intentions behind doing so, this will cause a lot of trouble, and I don't > say too much if I - as a general warning - mention that the consensus > between system people is, that as tempting these challenge-response system > my seem, they represent a bad idea because the negative impact outweighs > the > positive. > > If you or your client run a mail server, I can strongly recommend > SpamBunker: > > http://www.aimconsulting.ch/Spambunker/sbk-strategy.asp > > which is not free but cheap, and is superior to the common mail filtering > systems. Thus, it requires no "learning", no maintenance, it works from > the > minute it is installed, and it handles massive amount of spam and/or mail > even on modest hardware. We operate it here where we went from about 4000 > spam mails per day to a handful per week after we had been under a week > long > attack with constantly 20 connections and more than 16000 connections per > day. > > As a result we now promote this to our clients with serious spam troubles. > > /gustav > > --- >>>> 10-08-2007 13:58 >>> > Hi, it's jwcolby. > I finally decided I'd had enough of junk mail, and installed a fantastic > application that gets rid of it all. > Unfortunately, you are not yet in my trusted senders list!! The only way > I'll get your emails is if you follow the steps outlined below: > > Here's all you have to do: > > 1. Press Reply > 2. In the body of the reply, type in my AntiSpam Passcode contained in the > graphical attachment. > 3. Press Send > > When I receive this reply, I will know that it was really you that sent me > the email and not a computerized spammer. I will then be able to receive > all > your mail. This authentication will be done only once. > > Thank you & have a great day, > jwcolby > > ---------------------------------------------------------------------------- > -------------------- > You are receiving this messages in response to your email to > jwcolby at colbyconsulting.com, a Comodo AntiSpam user. > Our Passcode Authentication Technology requires senders to verify > themselves > before their mail is delivered. You will only need to do this once. > > > Comodo AntiSpam is completely free. Experience a 100% spam free inbox for > yourself by visiting www.comodo.com > > X-Comodo-AntiSpamRFA (jwcolby at 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 actebs at actebs.com.au Fri Aug 10 09:40:14 2007 From: actebs at actebs.com.au (ACTEBS) Date: Sat, 11 Aug 2007 00:40:14 +1000 Subject: [AccessD] OT Friday: Comodo AntiSpam In-Reply-To: Message-ID: <005001c7db5c$5cb41b50$0d08a8c0@carltonone.local> Hey Guys, Don't mean to be difficult, but this is the best Firewall/Spam/Proxy/Anti-Virus etc server software available I feel: www.efw.it Best part it's free and released under GPL. Works on old hardware and protects your network from all the various nasties. The biggest bonus is it speeds up your internet connection immeasurably and frees up your PC and/or server from having to run all that bloat ware like spam filters and the like. If you don't need as many features you can also try: www.ipcop.org I love the Open Source world, they are Gods! Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Saturday, 11 August 2007 12:06 AM To: accessd at databaseadvisors.com Subject: [AccessD] OT Friday: Comodo AntiSpam Hi JC et al JC has sent this out, so now you cannot get to him directly. Aside the good intentions behind doing so, this will cause a lot of trouble, and I don't say too much if I - as a general warning - mention that the consensus between system people is, that as tempting these challenge-response system my seem, they represent a bad idea because the negative impact outweighs the positive. If you or your client run a mail server, I can strongly recommend SpamBunker: http://www.aimconsulting.ch/Spambunker/sbk-strategy.asp which is not free but cheap, and is superior to the common mail filtering systems. Thus, it requires no "learning", no maintenance, it works from the minute it is installed, and it handles massive amount of spam and/or mail even on modest hardware. We operate it here where we went from about 4000 spam mails per day to a handful per week after we had been under a week long attack with constantly 20 connections and more than 16000 connections per day. As a result we now promote this to our clients with serious spam troubles. /gustav --- >>> 10-08-2007 13:58 >>> Hi, it's jwcolby. I finally decided I'd had enough of junk mail, and installed a fantastic application that gets rid of it all. Unfortunately, you are not yet in my trusted senders list!! The only way I'll get your emails is if you follow the steps outlined below: Here's all you have to do: 1. Press Reply 2. In the body of the reply, type in my AntiSpam Passcode contained in the graphical attachment. 3. Press Send When I receive this reply, I will know that it was really you that sent me the email and not a computerized spammer. I will then be able to receive all your mail. This authentication will be done only once. Thank you & have a great day, jwcolby ---------------------------------------------------------------------------- -------------------- You are receiving this messages in response to your email to jwcolby at colbyconsulting.com, a Comodo AntiSpam user. Our Passcode Authentication Technology requires senders to verify themselves before their mail is delivered. You will only need to do this once. Comodo AntiSpam is completely free. Experience a 100% spam free inbox for yourself by visiting www.comodo.com X-Comodo-AntiSpamRFA (jwcolby at colbyconsulting.com) -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at verizon.net Fri Aug 10 09:40:51 2007 From: jimdettman at verizon.net (Jim Dettman) Date: Fri, 10 Aug 2007 10:40:51 -0400 Subject: [AccessD] How to create a form with the VBA Extensibility Library In-Reply-To: <57144ced0708100508pad23879i3d76520183e149b4@mail.gmail.com> References: <57144ced0708100508pad23879i3d76520183e149b4@mail.gmail.com> Message-ID: <012f01c7db5c$73f3f330$8abea8c0@XPS> Philippe, You don't create it through the VBE, but through Access with the CreateForm() function and then set the forms HasModule property to True. Access will then add the class module to the VBA project. JimD. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of philippe pons Sent: Friday, August 10, 2007 8:09 AM To: accessd at databaseadvisors.com Subject: [AccessD] How to create a form with the VBA Extensibility Library Hi all, I just discovered the capabilities of this library that allows to programmaticaly control the VBE. I can now create a new class module with: Application.VBE.ActiveVBProject.VBComponents.Add (vbext_ct_ClassModule) or a standard module using the vbext_ct_StdModule constante. But I can't find how to create a new Form! There is a vbext_ct_MSForm constante, but it creates a UserForm, very similar to the ones used in Excel, not an Acces Form. Do you know if it is possible, and how to do that? TIA, Philippe -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Fri Aug 10 09:46:51 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 10 Aug 2007 16:46:51 +0200 Subject: [AccessD] OT Friday: Comodo AntiSpam Message-ID: Thanks John It is right that your options are limited when using a hosted mail server. However, most hosts provide basic spamfilters if you prefer so - did you check that out? Further, if you have a fixed IP address I can recommend running your own mail server. One of the very best, hMailServer, is free and open-source and runs on Windows: http://www.hmailserver.com/ Support from the forum and the developer is excellent, and setup is piece of cake if you know just a little about the Internet mail mechanics. /gustav >>> jwcolby at colbyconsulting.com 10-08-2007 16:24 >>> Gustav, As soon as I pick you up on the control panel I "allow" your email so in fact you do not have to respond. Your email as well as every one else on the list that has popped up so far is now coming right through because I manually "allowed" you to. Either way, you respond or I allow, it only has to be done one time and then it works just fine. I have not had time yet to evaluate the full impact, but I am a small company, with a small number of regular correspondents (with the exception of this list). I can appreciate the "challenge / response sucks" mentality but I don't have a mail server under my control. I use the pop server that comes with my web site. This works at the client level and so I am trying it. My apologies for any inconvenience. John W. Colby Colby Consulting www.ColbyConsulting.com From cfoust at infostatsystems.com Fri Aug 10 09:55:31 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 10 Aug 2007 07:55:31 -0700 Subject: [AccessD] How to create a form with the VBA ExtensibilityLibrary In-Reply-To: <20070810132557.3DCAEBF8F@smtp-auth.no-ip.com> References: <57144ced0708100508pad23879i3d76520183e149b4@mail.gmail.com> <20070810132557.3DCAEBF8F@smtp-auth.no-ip.com> Message-ID: John, I used to do a lot of code building in code in Access 97. I can probably dig some old code out for you if you're interested. Inheriting from a class is a better approach for the latest versions. Charlotte -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Friday, August 10, 2007 6:26 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] How to create a form with the VBA ExtensibilityLibrary How did you SAVE the module once created? John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of philippe pons Sent: Friday, August 10, 2007 8:09 AM To: accessd at databaseadvisors.com Subject: [AccessD] How to create a form with the VBA Extensibility Library Hi all, I just discovered the capabilities of this library that allows to programmaticaly control the VBE. I can now create a new class module with: Application.VBE.ActiveVBProject.VBComponents.Add (vbext_ct_ClassModule) or a standard module using the vbext_ct_StdModule constante. But I can't find how to create a new Form! There is a vbext_ct_MSForm constante, but it creates a UserForm, very similar to the ones used in Excel, not an Acces Form. Do you know if it is possible, and how to do that? TIA, Philippe -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Fri Aug 10 10:00:40 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 10 Aug 2007 08:00:40 -0700 Subject: [AccessD] OT: Secret Password Message-ID: OK, it's finally Friday, even in Central California! When Dian and I met in San Luis Obispo, we wanted to be able to recognize one another or at least find each other. Dian came up with a brilliant suggestion for a name to use at Appleby's when we met. Any guesses? Charlotte From mmattys at rochester.rr.com Fri Aug 10 10:16:55 2007 From: mmattys at rochester.rr.com (Michael R Mattys) Date: Fri, 10 Aug 2007 11:16:55 -0400 Subject: [AccessD] OT: Secret Password References: Message-ID: <007501c7db61$7db6a160$0202a8c0@Laptop> Hmm ... How 'bout "Primary Key Debating Team" Michael R. Mattys MapPoint & Access Dev www.mattysconsulting.com ----- Original Message ----- From: "Charlotte Foust" To: Sent: Friday, August 10, 2007 11:00 AM Subject: [AccessD] OT: Secret Password > OK, it's finally Friday, even in Central California! When Dian and I > met in San Luis Obispo, we wanted to be able to recognize one another or > at least find each other. Dian came up with a brilliant suggestion for > a name to use at Appleby's when we met. Any guesses? > > Charlotte > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Fri Aug 10 10:22:19 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 10 Aug 2007 08:22:19 -0700 Subject: [AccessD] OT: Secret Password In-Reply-To: <007501c7db61$7db6a160$0202a8c0@Laptop> References: <007501c7db61$7db6a160$0202a8c0@Laptop> Message-ID: ROTFL Now why didn't WE think of that?? Charlotte -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Michael R Mattys Sent: Friday, August 10, 2007 8:17 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Secret Password Hmm ... How 'bout "Primary Key Debating Team" Michael R. Mattys MapPoint & Access Dev www.mattysconsulting.com ----- Original Message ----- From: "Charlotte Foust" To: Sent: Friday, August 10, 2007 11:00 AM Subject: [AccessD] OT: Secret Password > OK, it's finally Friday, even in Central California! When Dian and I > met in San Luis Obispo, we wanted to be able to recognize one another or > at least find each other. Dian came up with a brilliant suggestion for > a name to use at Appleby's when we met. Any guesses? > > Charlotte > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Fri Aug 10 10:28:56 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Fri, 10 Aug 2007 08:28:56 -0700 Subject: [AccessD] A2007 from Dell(!) In-Reply-To: <200708101305.l7AD5qLf009931@databaseadvisors.com> Message-ID: <002401c7db63$2ab2e1c0$0301a8c0@HAL9005> How long does your 'reinstall' take when you switch? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Robert L. Stewart Sent: Friday, August 10, 2007 6:01 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] A2007 from Dell(!) Rocky, I have 97, 2000, 2002 2003, and 2007 installed on the same computer. I have no problems with it except for the "installing" process when I switch between versions. FYI, I have also had a client that I had to convert to 2007 accdb format because the 2003 mdb kept corrupting. Robert At 07:44 PM 8/9/2007, you wrote: >Date: Thu, 9 Aug 2007 17:22:59 -0700 >From: "Rocky Smolin at Beach Access Software" >Subject: [AccessD] A2007 from Dell(!) >To: "'Access Developers discussion and problem solving'" > >Message-ID: <00e901c7dae4$9b9b66c0$0301a8c0 at HAL9005> >Content-Type: text/plain; charset="us-ascii" > >The A2007 upgrade is available for DELL(! who knew) for $99. Does it >play well with )2003 on the same box? Will it replace A2003 or will it >let you install A2007 and leave your A2003 alone? > >TIA > >Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.11/944 - Release Date: 8/9/2007 2:44 PM From phpons at gmail.com Fri Aug 10 10:30:20 2007 From: phpons at gmail.com (philippe pons) Date: Fri, 10 Aug 2007 17:30:20 +0200 Subject: [AccessD] How to create a form with the VBA ExtensibilityLibrary In-Reply-To: References: <57144ced0708100508pad23879i3d76520183e149b4@mail.gmail.com> <20070810132557.3DCAEBF8F@smtp-auth.no-ip.com> Message-ID: <57144ced0708100830p36b1ab5di5f1b779cf5ccc35@mail.gmail.com> Jim, CreateForm does not seem to be useful for me, as I want to make a simple copy ofa template form. However, I just found that: DoCmd.CopyObject, "frmNew", acForm, "frmTemplate" do the job I want. Thanks again, Philippe 2007/8/10, Charlotte Foust : > > John, > > I used to do a lot of code building in code in Access 97. I can > probably dig some old code out for you if you're interested. Inheriting > from a class is a better approach for the latest versions. > > Charlotte > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Friday, August 10, 2007 6:26 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] How to create a form with the VBA > ExtensibilityLibrary > > How did you SAVE the module once created? > > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of philippe pons > Sent: Friday, August 10, 2007 8:09 AM > To: accessd at databaseadvisors.com > Subject: [AccessD] How to create a form with the VBA Extensibility > Library > > Hi all, > > I just discovered the capabilities of this library that allows to > programmaticaly control the VBE. > I can now create a new class module with: > Application.VBE.ActiveVBProject.VBComponents.Add (vbext_ct_ClassModule) > > or a standard module using the vbext_ct_StdModule constante. > > But I can't find how to create a new Form! > There is a vbext_ct_MSForm constante, but it creates a UserForm, very > similar to the ones used in Excel, not an Acces Form. > > Do you know if it is possible, and how to do that? > > TIA, > > Philippe > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From cfoust at infostatsystems.com Fri Aug 10 11:26:42 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 10 Aug 2007 09:26:42 -0700 Subject: [AccessD] OT: Secret Password In-Reply-To: <007501c7db61$7db6a160$0202a8c0@Laptop> References: <007501c7db61$7db6a160$0202a8c0@Laptop> Message-ID: Oh, come on! Is that the only guess? Maybe we'll have to drag it out until next Friday .... Charlotte -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Michael R Mattys Sent: Friday, August 10, 2007 8:17 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Secret Password Hmm ... How 'bout "Primary Key Debating Team" Michael R. Mattys MapPoint & Access Dev www.mattysconsulting.com ----- Original Message ----- From: "Charlotte Foust" To: Sent: Friday, August 10, 2007 11:00 AM Subject: [AccessD] OT: Secret Password > OK, it's finally Friday, even in Central California! When Dian and I > met in San Luis Obispo, we wanted to be able to recognize one another or > at least find each other. Dian came up with a brilliant suggestion for > a name to use at Appleby's when we met. Any guesses? > > Charlotte > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mikedorism at verizon.net Fri Aug 10 11:52:32 2007 From: mikedorism at verizon.net (Doris Manning) Date: Fri, 10 Aug 2007 12:52:32 -0400 Subject: [AccessD] OT: Secret Password In-Reply-To: References: <007501c7db61$7db6a160$0202a8c0@Laptop> Message-ID: <000001c7db6e$d94742c0$2f01a8c0@Kermit> AccessD? Doris Manning Database Administrator Hargrove Inc. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, August 10, 2007 12:27 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Secret Password Oh, come on! Is that the only guess? Maybe we'll have to drag it out until next Friday .... Charlotte -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Michael R Mattys Sent: Friday, August 10, 2007 8:17 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Secret Password Hmm ... How 'bout "Primary Key Debating Team" Michael R. Mattys MapPoint & Access Dev www.mattysconsulting.com ----- Original Message ----- From: "Charlotte Foust" To: Sent: Friday, August 10, 2007 11:00 AM Subject: [AccessD] OT: Secret Password > OK, it's finally Friday, even in Central California! When Dian and I > met in San Luis Obispo, we wanted to be able to recognize one another or > at least find each other. Dian came up with a brilliant suggestion for > a name to use at Appleby's when we met. Any guesses? > > Charlotte > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Fri Aug 10 11:54:47 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 10 Aug 2007 09:54:47 -0700 Subject: [AccessD] OT: Secret Password In-Reply-To: <000001c7db6e$d94742c0$2f01a8c0@Kermit> References: <007501c7db61$7db6a160$0202a8c0@Laptop> <000001c7db6e$d94742c0$2f01a8c0@Kermit> Message-ID: Nope! -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doris Manning Sent: Friday, August 10, 2007 9:53 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Secret Password AccessD? Doris Manning Database Administrator Hargrove Inc. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, August 10, 2007 12:27 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Secret Password Oh, come on! Is that the only guess? Maybe we'll have to drag it out until next Friday .... Charlotte -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Michael R Mattys Sent: Friday, August 10, 2007 8:17 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Secret Password Hmm ... How 'bout "Primary Key Debating Team" Michael R. Mattys MapPoint & Access Dev www.mattysconsulting.com ----- Original Message ----- From: "Charlotte Foust" To: Sent: Friday, August 10, 2007 11:00 AM Subject: [AccessD] OT: Secret Password > OK, it's finally Friday, even in Central California! When Dian and I > met in San Luis Obispo, we wanted to be able to recognize one another or > at least find each other. Dian came up with a brilliant suggestion for > a name to use at Appleby's when we met. Any guesses? > > Charlotte > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From fuller.artful at gmail.com Fri Aug 10 11:57:15 2007 From: fuller.artful at gmail.com (Arthur Fuller) Date: Fri, 10 Aug 2007 12:57:15 -0400 Subject: [AccessD] OT: Secret Password In-Reply-To: <000001c7db6e$d94742c0$2f01a8c0@Kermit> References: <007501c7db61$7db6a160$0202a8c0@Laptop> <000001c7db6e$d94742c0$2f01a8c0@Kermit> Message-ID: <29f585dd0708100957w3dcf75cauf212ed35d364ff24@mail.gmail.com> Colby? On 8/10/07, Doris Manning wrote: > > AccessD? > > Doris Manning > Database Administrator > Hargrove Inc. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust > Sent: Friday, August 10, 2007 12:27 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] OT: Secret Password > > Oh, come on! Is that the only guess? Maybe we'll have to drag it out > until next Friday .... > > Charlotte > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Michael R > Mattys > Sent: Friday, August 10, 2007 8:17 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] OT: Secret Password > > Hmm ... How 'bout "Primary Key Debating Team" > > Michael R. Mattys > MapPoint & Access Dev > www.mattysconsulting.com > > ----- Original Message ----- > From: "Charlotte Foust" > To: > Sent: Friday, August 10, 2007 11:00 AM > Subject: [AccessD] OT: Secret Password > > > > OK, it's finally Friday, even in Central California! When Dian and I > > met in San Luis Obispo, we wanted to be able to recognize one another > or > > at least find each other. Dian came up with a brilliant suggestion > for > > a name to use at Appleby's when we met. Any guesses? > > > > Charlotte > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From dw-murphy at cox.net Fri Aug 10 11:59:20 2007 From: dw-murphy at cox.net (Doug Murphy) Date: Fri, 10 Aug 2007 09:59:20 -0700 Subject: [AccessD] A2007 from Dell(!) In-Reply-To: <002401c7db63$2ab2e1c0$0301a8c0@HAL9005> Message-ID: <002c01c7db6f$cb5b4e80$0200a8c0@murphy3234aaf1> For a developer I would recommend using virtual machines as William suggested. That is the way I work with Office 2007. I have played a little with Virtual PC 2003 and VM ware. From my limited experience VM Ware seems to be the way to go even though you have to pay for it. For a product I'd go with a run time with it's own installer built around Sagekey scripts. Their new scripts get rid of the reinstall problem with Access 2007. For what its worth. Doug -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Friday, August 10, 2007 8:29 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] A2007 from Dell(!) How long does your 'reinstall' take when you switch? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Robert L. Stewart Sent: Friday, August 10, 2007 6:01 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] A2007 from Dell(!) Rocky, I have 97, 2000, 2002 2003, and 2007 installed on the same computer. I have no problems with it except for the "installing" process when I switch between versions. FYI, I have also had a client that I had to convert to 2007 accdb format because the 2003 mdb kept corrupting. Robert At 07:44 PM 8/9/2007, you wrote: >Date: Thu, 9 Aug 2007 17:22:59 -0700 >From: "Rocky Smolin at Beach Access Software" >Subject: [AccessD] A2007 from Dell(!) >To: "'Access Developers discussion and problem solving'" > >Message-ID: <00e901c7dae4$9b9b66c0$0301a8c0 at HAL9005> >Content-Type: text/plain; charset="us-ascii" > >The A2007 upgrade is available for DELL(! who knew) for $99. Does it >play well with )2003 on the same box? Will it replace A2003 or will it >let you install A2007 and leave your A2003 alone? > >TIA > >Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.11/944 - Release Date: 8/9/2007 2:44 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Fri Aug 10 12:02:25 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 10 Aug 2007 10:02:25 -0700 Subject: [AccessD] OT: Secret Password In-Reply-To: <29f585dd0708100957w3dcf75cauf212ed35d364ff24@mail.gmail.com> References: <007501c7db61$7db6a160$0202a8c0@Laptop><000001c7db6e$d94742c0$2f01a8c0@Kermit> <29f585dd0708100957w3dcf75cauf212ed35d364ff24@mail.gmail.com> Message-ID: WooHoo! Colby it is! How does it feel to be a secret password, JC?? LOL Charlotte -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Friday, August 10, 2007 9:57 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Secret Password Colby? On 8/10/07, Doris Manning wrote: > > AccessD? > > Doris Manning > Database Administrator > Hargrove Inc. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte > Foust > Sent: Friday, August 10, 2007 12:27 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] OT: Secret Password > > Oh, come on! Is that the only guess? Maybe we'll have to drag it out > until next Friday .... > > Charlotte > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Michael R > Mattys > Sent: Friday, August 10, 2007 8:17 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] OT: Secret Password > > Hmm ... How 'bout "Primary Key Debating Team" > > Michael R. Mattys > MapPoint & Access Dev > www.mattysconsulting.com > > ----- Original Message ----- > From: "Charlotte Foust" > To: > Sent: Friday, August 10, 2007 11:00 AM > Subject: [AccessD] OT: Secret Password > > > > OK, it's finally Friday, even in Central California! When Dian and > > I met in San Luis Obispo, we wanted to be able to recognize one > > another > or > > at least find each other. Dian came up with a brilliant suggestion > for > > a name to use at Appleby's when we met. Any guesses? > > > > Charlotte > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From markamatte at hotmail.com Fri Aug 10 12:05:06 2007 From: markamatte at hotmail.com (Mark A Matte) Date: Fri, 10 Aug 2007 17:05:06 +0000 Subject: [AccessD] OT: Secret Password Message-ID: Colby Nemesis Johns Thorn Unbound Queens >From: "Charlotte Foust" >Reply-To: Access Developers discussion and problem >solving >To: "Access Developers discussion and problem >solving" >Subject: Re: [AccessD] OT: Secret Password >Date: Fri, 10 Aug 2007 09:54:47 -0700 > >Nope! > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doris Manning >Sent: Friday, August 10, 2007 9:53 AM >To: 'Access Developers discussion and problem solving' >Subject: Re: [AccessD] OT: Secret Password > >AccessD? > >Doris Manning >Database Administrator >Hargrove Inc. > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte >Foust >Sent: Friday, August 10, 2007 12:27 PM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] OT: Secret Password > >Oh, come on! Is that the only guess? Maybe we'll have to drag it out >until next Friday .... > >Charlotte > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Michael R >Mattys >Sent: Friday, August 10, 2007 8:17 AM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] OT: Secret Password > >Hmm ... How 'bout "Primary Key Debating Team" > >Michael R. Mattys >MapPoint & Access Dev >www.mattysconsulting.com > >----- Original Message ----- >From: "Charlotte Foust" >To: >Sent: Friday, August 10, 2007 11:00 AM >Subject: [AccessD] OT: Secret Password > > > > OK, it's finally Friday, even in Central California! When Dian and I > > met in San Luis Obispo, we wanted to be able to recognize one another >or > > at least find each other. Dian came up with a brilliant suggestion >for > > a name to use at Appleby's when we met. Any guesses? > > > > Charlotte > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Find a local pizza place, movie theater, and more?.then map the best route! http://maps.live.com/default.aspx?v=2&ss=yp.bars~yp.pizza~yp.movie%20theater&cp=42.358996~-71.056691&style=r&lvl=13&tilt=-90&dir=0&alt=-1000&scene=950607&encType=1&FORM=MGAC01 From robert at webedb.com Fri Aug 10 12:08:37 2007 From: robert at webedb.com (Robert L. Stewart) Date: Fri, 10 Aug 2007 12:08:37 -0500 Subject: [AccessD] A2007 from Dell(!) In-Reply-To: References: Message-ID: <200708101710.l7AHAl22004153@databaseadvisors.com> Like someone else mentioned, it varies with the version. Longer with 2007. At 12:00 PM 8/10/2007, you wrote: >Date: Fri, 10 Aug 2007 08:28:56 -0700 >From: "Rocky Smolin at Beach Access Software" >Subject: Re: [AccessD] A2007 from Dell(!) >To: "'Access Developers discussion and problem solving'" > >Message-ID: <002401c7db63$2ab2e1c0$0301a8c0 at HAL9005> >Content-Type: text/plain; charset="us-ascii" > >How long does your 'reinstall' take when you switch? > >Rocky From eric.starkenburg at home.nl Fri Aug 10 12:11:12 2007 From: eric.starkenburg at home.nl (Eric Starkenburg) Date: Fri, 10 Aug 2007 19:11:12 +0200 Subject: [AccessD] OT: Secret Password In-Reply-To: <29f585dd0708100957w3dcf75cauf212ed35d364ff24@mail.gmail.com> References: <007501c7db61$7db6a160$0202a8c0@Laptop><000001c7db6e$d94742c0$2f01a8c0@Kermit> <29f585dd0708100957w3dcf75cauf212ed35d364ff24@mail.gmail.com> Message-ID: <000601c7db71$73b1fba0$0201a8c0@PC2M> Macintosh? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Friday, August 10, 2007 6:57 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Secret Password Colby? On 8/10/07, Doris Manning wrote: > > AccessD? > > Doris Manning > Database Administrator > Hargrove Inc. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust > Sent: Friday, August 10, 2007 12:27 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] OT: Secret Password > > Oh, come on! Is that the only guess? Maybe we'll have to drag it out > until next Friday .... > > Charlotte > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Michael R > Mattys > Sent: Friday, August 10, 2007 8:17 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] OT: Secret Password > > Hmm ... How 'bout "Primary Key Debating Team" > > Michael R. Mattys > MapPoint & Access Dev > www.mattysconsulting.com > > ----- Original Message ----- > From: "Charlotte Foust" > To: > Sent: Friday, August 10, 2007 11:00 AM > Subject: [AccessD] OT: Secret Password > > > > OK, it's finally Friday, even in Central California! When Dian and I > > met in San Luis Obispo, we wanted to be able to recognize one another > or > > at least find each other. Dian came up with a brilliant suggestion > for > > a name to use at Appleby's when we met. Any guesses? > > > > Charlotte > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Fri Aug 10 12:13:26 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 10 Aug 2007 10:13:26 -0700 Subject: [AccessD] OT: Secret Password In-Reply-To: <000601c7db71$73b1fba0$0201a8c0@PC2M> References: <007501c7db61$7db6a160$0202a8c0@Laptop><000001c7db6e$d94742c0$2f01a8c0@Kermit><29f585dd0708100957w3dcf75cauf212ed35d364ff24@mail.gmail.com> <000601c7db71$73b1fba0$0201a8c0@PC2M> Message-ID: That's NOT funny!! Charlotte -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Eric Starkenburg Sent: Friday, August 10, 2007 10:11 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Secret Password Macintosh? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Friday, August 10, 2007 6:57 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Secret Password Colby? On 8/10/07, Doris Manning wrote: > > AccessD? > > Doris Manning > Database Administrator > Hargrove Inc. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte > Foust > Sent: Friday, August 10, 2007 12:27 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] OT: Secret Password > > Oh, come on! Is that the only guess? Maybe we'll have to drag it out > until next Friday .... > > Charlotte > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Michael R > Mattys > Sent: Friday, August 10, 2007 8:17 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] OT: Secret Password > > Hmm ... How 'bout "Primary Key Debating Team" > > Michael R. Mattys > MapPoint & Access Dev > www.mattysconsulting.com > > ----- Original Message ----- > From: "Charlotte Foust" > To: > Sent: Friday, August 10, 2007 11:00 AM > Subject: [AccessD] OT: Secret Password > > > > OK, it's finally Friday, even in Central California! When Dian and > > I met in San Luis Obispo, we wanted to be able to recognize one > > another > or > > at least find each other. Dian came up with a brilliant suggestion > for > > a name to use at Appleby's when we met. Any guesses? > > > > Charlotte > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Lambert.Heenan at AIG.com Fri Aug 10 12:20:20 2007 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Fri, 10 Aug 2007 13:20:20 -0400 Subject: [AccessD] OT Friday: Comodo AntiSpam Message-ID: <34C8A2AB1EF3564CB0D64DB6AFFDD5C208ED6DE1@XLIVMBX35bkup.aig.com> I get my (home) mail from a POP3 server too, and while my ISP does offer some Spam filtering, it's not up to much. *However* I long ago set up my Gmail account to go retrieve my POP3 mail for me. I get to see all my mail in one place, and Gmail's SPAM filter works a treat. If you need to you can also set up your mail client to retrieve your mail from your Gmail inbox via POP and have the best of both worlds. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Friday, August 10, 2007 10:25 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT Friday: Comodo AntiSpam Gustav, As soon as I pick you up on the control panel I "allow" your email so in fact you do not have to respond. Your email as well as every one else on the list that has popped up so far is now coming right through because I manually "allowed" you to. Either way, you respond or I allow, it only has to be done one time and then it works just fine. I have not had time yet to evaluate the full impact, but I am a small company, with a small number of regular correspondents (with the exception of this list). I can appreciate the "challenge / response sucks" mentality but I don't have a mail server under my control. I use the pop server that comes with my web site. This works at the client level and so I am trying it. My apologies for any inconvenience. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, August 10, 2007 10:06 AM To: accessd at databaseadvisors.com Subject: [AccessD] OT Friday: Comodo AntiSpam Hi JC et al JC has sent this out, so now you cannot get to him directly. Aside the good intentions behind doing so, this will cause a lot of trouble, and I don't say too much if I - as a general warning - mention that the consensus between system people is, that as tempting these challenge-response system my seem, they represent a bad idea because the negative impact outweighs the positive. If you or your client run a mail server, I can strongly recommend SpamBunker: http://www.aimconsulting.ch/Spambunker/sbk-strategy.asp which is not free but cheap, and is superior to the common mail filtering systems. Thus, it requires no "learning", no maintenance, it works from the minute it is installed, and it handles massive amount of spam and/or mail even on modest hardware. We operate it here where we went from about 4000 spam mails per day to a handful per week after we had been under a week long attack with constantly 20 connections and more than 16000 connections per day. As a result we now promote this to our clients with serious spam troubles. /gustav --- >>> 10-08-2007 13:58 >>> Hi, it's jwcolby. I finally decided I'd had enough of junk mail, and installed a fantastic application that gets rid of it all. Unfortunately, you are not yet in my trusted senders list!! The only way I'll get your emails is if you follow the steps outlined below: Here's all you have to do: 1. Press Reply 2. In the body of the reply, type in my AntiSpam Passcode contained in the graphical attachment. 3. Press Send When I receive this reply, I will know that it was really you that sent me the email and not a computerized spammer. I will then be able to receive all your mail. This authentication will be done only once. Thank you & have a great day, jwcolby ---------------------------------------------------------------------------- -------------------- You are receiving this messages in response to your email to jwcolby at colbyconsulting.com, a Comodo AntiSpam user. Our Passcode Authentication Technology requires senders to verify themselves before their mail is delivered. You will only need to do this once. Comodo AntiSpam is completely free. Experience a 100% spam free inbox for yourself by visiting www.comodo.com X-Comodo-AntiSpamRFA (jwcolby at 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 eric.starkenburg at home.nl Fri Aug 10 12:22:46 2007 From: eric.starkenburg at home.nl (Eric Starkenburg) Date: Fri, 10 Aug 2007 19:22:46 +0200 Subject: [AccessD] OT: Secret Password In-Reply-To: References: <007501c7db61$7db6a160$0202a8c0@Laptop><000001c7db6e$d94742c0$2f01a8c0@Kermit><29f585dd0708100957w3dcf75cauf212ed35d364ff24@mail.gmail.com><000601c7db71$73b1fba0$0201a8c0@PC2M> Message-ID: <001601c7db73$11d14d80$0201a8c0@PC2M> :P -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, August 10, 2007 7:13 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Secret Password That's NOT funny!! Charlotte -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Eric Starkenburg Sent: Friday, August 10, 2007 10:11 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Secret Password Macintosh? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Friday, August 10, 2007 6:57 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Secret Password Colby? On 8/10/07, Doris Manning wrote: > > AccessD? > > Doris Manning > Database Administrator > Hargrove Inc. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte > Foust > Sent: Friday, August 10, 2007 12:27 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] OT: Secret Password > > Oh, come on! Is that the only guess? Maybe we'll have to drag it out > until next Friday .... > > Charlotte > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Michael R > Mattys > Sent: Friday, August 10, 2007 8:17 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] OT: Secret Password > > Hmm ... How 'bout "Primary Key Debating Team" > > Michael R. Mattys > MapPoint & Access Dev > www.mattysconsulting.com > > ----- Original Message ----- > From: "Charlotte Foust" > To: > Sent: Friday, August 10, 2007 11:00 AM > Subject: [AccessD] OT: Secret Password > > > > OK, it's finally Friday, even in Central California! When Dian and > > I met in San Luis Obispo, we wanted to be able to recognize one > > another > or > > at least find each other. Dian came up with a brilliant suggestion > for > > a name to use at Appleby's when we met. Any guesses? > > > > Charlotte > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 10 12:41:07 2007 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 10 Aug 2007 10:41:07 -0700 Subject: [AccessD] OT Friday: Comodo AntiSpam In-Reply-To: Message-ID: <0JMK00BG1JL8L350@l-daemon> Gustav: Another possibility is to use an old 'beater' box and run a Linux solution on it... Like: http://www.mailscanner.info/. It would use the same configuration that is recommended with the 'Spambunker' solution. Even with an appropriate contribution it can also be very inexpensive. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, August 10, 2007 7:06 AM To: accessd at databaseadvisors.com Subject: [AccessD] OT Friday: Comodo AntiSpam Hi JC et al JC has sent this out, so now you cannot get to him directly. Aside the good intentions behind doing so, this will cause a lot of trouble, and I don't say too much if I - as a general warning - mention that the consensus between system people is, that as tempting these challenge-response system my seem, they represent a bad idea because the negative impact outweighs the positive. If you or your client run a mail server, I can strongly recommend SpamBunker: http://www.aimconsulting.ch/Spambunker/sbk-strategy.asp which is not free but cheap, and is superior to the common mail filtering systems. Thus, it requires no "learning", no maintenance, it works from the minute it is installed, and it handles massive amount of spam and/or mail even on modest hardware. We operate it here where we went from about 4000 spam mails per day to a handful per week after we had been under a week long attack with constantly 20 connections and more than 16000 connections per day. As a result we now promote this to our clients with serious spam troubles. /gustav --- >>> 10-08-2007 13:58 >>> Hi, it's jwcolby. I finally decided I'd had enough of junk mail, and installed a fantastic application that gets rid of it all. Unfortunately, you are not yet in my trusted senders list!! The only way I'll get your emails is if you follow the steps outlined below: Here's all you have to do: 1. Press Reply 2. In the body of the reply, type in my AntiSpam Passcode contained in the graphical attachment. 3. Press Send When I receive this reply, I will know that it was really you that sent me the email and not a computerized spammer. I will then be able to receive all your mail. This authentication will be done only once. Thank you & have a great day, jwcolby ---------------------------------------------------------------------------- -------------------- You are receiving this messages in response to your email to jwcolby at colbyconsulting.com, a Comodo AntiSpam user. Our Passcode Authentication Technology requires senders to verify themselves before their mail is delivered. You will only need to do this once. Comodo AntiSpam is completely free. Experience a 100% spam free inbox for yourself by visiting www.comodo.com X-Comodo-AntiSpamRFA (jwcolby at colbyconsulting.com) -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From fuller.artful at gmail.com Fri Aug 10 12:50:53 2007 From: fuller.artful at gmail.com (Arthur Fuller) Date: Fri, 10 Aug 2007 13:50:53 -0400 Subject: [AccessD] OT: Secret Password In-Reply-To: References: <007501c7db61$7db6a160$0202a8c0@Laptop> <000001c7db6e$d94742c0$2f01a8c0@Kermit> <29f585dd0708100957w3dcf75cauf212ed35d364ff24@mail.gmail.com> Message-ID: <29f585dd0708101050h10294e3cp97344fb6f18e32b5@mail.gmail.com> It's a gift. I am exceptional at cracking passwords. LOL. On 8/10/07, Charlotte Foust wrote: > > WooHoo! Colby it is! How does it feel to be a secret password, JC?? > LOL > > Charlotte > From nd500_lo at charter.net Fri Aug 10 12:58:20 2007 From: nd500_lo at charter.net (Dian) Date: Fri, 10 Aug 2007 10:58:20 -0700 Subject: [AccessD] OT: Secret Password In-Reply-To: References: <007501c7db61$7db6a160$0202a8c0@Laptop> Message-ID: <000f01c7db78$09c878c0$6400a8c0@dsunit1> Actually, Charlotte...it is "warmer"... -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, August 10, 2007 8:22 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Secret Password ROTFL Now why didn't WE think of that?? Charlotte -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Michael R Mattys Sent: Friday, August 10, 2007 8:17 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Secret Password Hmm ... How 'bout "Primary Key Debating Team" Michael R. Mattys MapPoint & Access Dev www.mattysconsulting.com ----- Original Message ----- From: "Charlotte Foust" To: Sent: Friday, August 10, 2007 11:00 AM Subject: [AccessD] OT: Secret Password > OK, it's finally Friday, even in Central California! When Dian and I > met in San Luis Obispo, we wanted to be able to recognize one another or > at least find each other. Dian came up with a brilliant suggestion for > a name to use at Appleby's when we met. Any guesses? > > Charlotte > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From nd500_lo at charter.net Fri Aug 10 12:59:24 2007 From: nd500_lo at charter.net (Dian) Date: Fri, 10 Aug 2007 10:59:24 -0700 Subject: [AccessD] OT: Secret Password In-Reply-To: References: <007501c7db61$7db6a160$0202a8c0@Laptop><000001c7db6e$d94742c0$2f01a8c0@Kermit><29f585dd0708100957w3dcf75cauf212ed35d364ff24@mail.gmail.com> Message-ID: <001001c7db78$300ac880$6400a8c0@dsunit1> That's Arthur for ya! Congratulations! -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, August 10, 2007 10:02 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Secret Password WooHoo! Colby it is! How does it feel to be a secret password, JC?? LOL Charlotte -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Friday, August 10, 2007 9:57 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Secret Password Colby? On 8/10/07, Doris Manning wrote: > > AccessD? > > Doris Manning > Database Administrator > Hargrove Inc. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte > Foust > Sent: Friday, August 10, 2007 12:27 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] OT: Secret Password > > Oh, come on! Is that the only guess? Maybe we'll have to drag it out > until next Friday .... > > Charlotte > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Michael R > Mattys > Sent: Friday, August 10, 2007 8:17 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] OT: Secret Password > > Hmm ... How 'bout "Primary Key Debating Team" > > Michael R. Mattys > MapPoint & Access Dev > www.mattysconsulting.com > > ----- Original Message ----- > From: "Charlotte Foust" > To: > Sent: Friday, August 10, 2007 11:00 AM > Subject: [AccessD] OT: Secret Password > > > > OK, it's finally Friday, even in Central California! When Dian and > > I met in San Luis Obispo, we wanted to be able to recognize one > > another > or > > at least find each other. Dian came up with a brilliant suggestion > for > > a name to use at Appleby's when we met. Any guesses? > > > > Charlotte > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Fri Aug 10 13:12:14 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 10 Aug 2007 20:12:14 +0200 Subject: [AccessD] OT Friday: Comodo AntiSpam Message-ID: Hi Jim Well, not exactly. This is one of many setups using SpamAssassin which downloads _all_ mail including spam, reads and "learns" from it and maintains a large database. That process is CPU dependant which means it will choke under heavy load. That will not happen with SpamBunker which monitors the communication from the sending SMTP server and only downloads good mail. Thus, spam is not even downloaded, and it can easily with modest hardware keep more than 100 connections alive. Also, it causes _no_ "false positives" which frees you from one more boring task. For a small setup not under attack, SpamAssassin on a decent machine will do a fine job. /gustav >>> accessd at shaw.ca 10-08-2007 19:41 >>> Gustav: Another possibility is to use an old 'beater' box and run a Linux solution on it... Like: http://www.mailscanner.info/. It would use the same configuration that is recommended with the 'Spambunker' solution. Even with an appropriate contribution it can also be very inexpensive. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, August 10, 2007 7:06 AM To: accessd at databaseadvisors.com Subject: [AccessD] OT Friday: Comodo AntiSpam Hi JC et al JC has sent this out, so now you cannot get to him directly. Aside the good intentions behind doing so, this will cause a lot of trouble, and I don't say too much if I - as a general warning - mention that the consensus between system people is, that as tempting these challenge-response system my seem, they represent a bad idea because the negative impact outweighs the positive. If you or your client run a mail server, I can strongly recommend SpamBunker: http://www.aimconsulting.ch/Spambunker/sbk-strategy.asp which is not free but cheap, and is superior to the common mail filtering systems. Thus, it requires no "learning", no maintenance, it works from the minute it is installed, and it handles massive amount of spam and/or mail even on modest hardware. We operate it here where we went from about 4000 spam mails per day to a handful per week after we had been under a week long attack with constantly 20 connections and more than 16000 connections per day. As a result we now promote this to our clients with serious spam troubles. /gustav From accessd at shaw.ca Fri Aug 10 15:45:14 2007 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 10 Aug 2007 13:45:14 -0700 Subject: [AccessD] OT Friday: Comodo AntiSpam In-Reply-To: Message-ID: <0JMK003J3S43C180@l-daemon> Gustav; Very interesting....Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, August 10, 2007 11:12 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] OT Friday: Comodo AntiSpam Hi Jim Well, not exactly. This is one of many setups using SpamAssassin which downloads _all_ mail including spam, reads and "learns" from it and maintains a large database. That process is CPU dependant which means it will choke under heavy load. That will not happen with SpamBunker which monitors the communication from the sending SMTP server and only downloads good mail. Thus, spam is not even downloaded, and it can easily with modest hardware keep more than 100 connections alive. Also, it causes _no_ "false positives" which frees you from one more boring task. For a small setup not under attack, SpamAssassin on a decent machine will do a fine job. /gustav >>> accessd at shaw.ca 10-08-2007 19:41 >>> Gustav: Another possibility is to use an old 'beater' box and run a Linux solution on it... Like: http://www.mailscanner.info/. It would use the same configuration that is recommended with the 'Spambunker' solution. Even with an appropriate contribution it can also be very inexpensive. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, August 10, 2007 7:06 AM To: accessd at databaseadvisors.com Subject: [AccessD] OT Friday: Comodo AntiSpam Hi JC et al JC has sent this out, so now you cannot get to him directly. Aside the good intentions behind doing so, this will cause a lot of trouble, and I don't say too much if I - as a general warning - mention that the consensus between system people is, that as tempting these challenge-response system my seem, they represent a bad idea because the negative impact outweighs the positive. If you or your client run a mail server, I can strongly recommend SpamBunker: http://www.aimconsulting.ch/Spambunker/sbk-strategy.asp which is not free but cheap, and is superior to the common mail filtering systems. Thus, it requires no "learning", no maintenance, it works from the minute it is installed, and it handles massive amount of spam and/or mail even on modest hardware. We operate it here where we went from about 4000 spam mails per day to a handful per week after we had been under a week long attack with constantly 20 connections and more than 16000 connections per day. As a result we now promote this to our clients with serious spam troubles. /gustav -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Fri Aug 10 16:34:54 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 10 Aug 2007 17:34:54 -0400 Subject: [AccessD] OT: Secret Password In-Reply-To: Message-ID: <20070810213457.B03B2BD15@smtp-auth.no-ip.com> Old Fogies? John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, August 10, 2007 12:27 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Secret Password Oh, come on! Is that the only guess? Maybe we'll have to drag it out until next Friday .... Charlotte -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Michael R Mattys Sent: Friday, August 10, 2007 8:17 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Secret Password Hmm ... How 'bout "Primary Key Debating Team" Michael R. Mattys MapPoint & Access Dev www.mattysconsulting.com ----- Original Message ----- From: "Charlotte Foust" To: Sent: Friday, August 10, 2007 11:00 AM Subject: [AccessD] OT: Secret Password > OK, it's finally Friday, even in Central California! When Dian and I > met in San Luis Obispo, we wanted to be able to recognize one another or > at least find each other. Dian came up with a brilliant suggestion for > a name to use at Appleby's when we met. Any guesses? > > Charlotte > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Fri Aug 10 16:36:17 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 10 Aug 2007 17:36:17 -0400 Subject: [AccessD] OT: Secret Password In-Reply-To: Message-ID: <20070810213623.1FDE0BD2C@smtp-auth.no-ip.com> ROTFLMAO. I have always felt a bit like a secret password. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, August 10, 2007 1:02 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Secret Password WooHoo! Colby it is! How does it feel to be a secret password, JC?? LOL Charlotte -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Friday, August 10, 2007 9:57 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Secret Password Colby? On 8/10/07, Doris Manning wrote: > > AccessD? > > Doris Manning > Database Administrator > Hargrove Inc. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte > Foust > Sent: Friday, August 10, 2007 12:27 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] OT: Secret Password > > Oh, come on! Is that the only guess? Maybe we'll have to drag it out > until next Friday .... > > Charlotte > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Michael R > Mattys > Sent: Friday, August 10, 2007 8:17 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] OT: Secret Password > > Hmm ... How 'bout "Primary Key Debating Team" > > Michael R. Mattys > MapPoint & Access Dev > www.mattysconsulting.com > > ----- Original Message ----- > From: "Charlotte Foust" > To: > Sent: Friday, August 10, 2007 11:00 AM > Subject: [AccessD] OT: Secret Password > > > > OK, it's finally Friday, even in Central California! When Dian and > > I met in San Luis Obispo, we wanted to be able to recognize one > > another > or > > at least find each other. Dian came up with a brilliant suggestion > for > > a name to use at Appleby's when we met. Any guesses? > > > > Charlotte > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Fri Aug 10 16:36:38 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 10 Aug 2007 17:36:38 -0400 Subject: [AccessD] OT: Secret Password In-Reply-To: Message-ID: <20070810213647.7532ABCEA@smtp-auth.no-ip.com> ROTFL. Good ones all! John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Friday, August 10, 2007 1:05 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] OT: Secret Password Colby Nemesis Johns Thorn Unbound Queens >From: "Charlotte Foust" >Reply-To: Access Developers discussion and problem >solving >To: "Access Developers discussion and problem >solving" >Subject: Re: [AccessD] OT: Secret Password >Date: Fri, 10 Aug 2007 09:54:47 -0700 > >Nope! > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doris >Manning >Sent: Friday, August 10, 2007 9:53 AM >To: 'Access Developers discussion and problem solving' >Subject: Re: [AccessD] OT: Secret Password > >AccessD? > >Doris Manning >Database Administrator >Hargrove Inc. > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte >Foust >Sent: Friday, August 10, 2007 12:27 PM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] OT: Secret Password > >Oh, come on! Is that the only guess? Maybe we'll have to drag it out >until next Friday .... > >Charlotte > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Michael R >Mattys >Sent: Friday, August 10, 2007 8:17 AM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] OT: Secret Password > >Hmm ... How 'bout "Primary Key Debating Team" > >Michael R. Mattys >MapPoint & Access Dev >www.mattysconsulting.com > >----- Original Message ----- >From: "Charlotte Foust" >To: >Sent: Friday, August 10, 2007 11:00 AM >Subject: [AccessD] OT: Secret Password > > > > OK, it's finally Friday, even in Central California! When Dian and > > I met in San Luis Obispo, we wanted to be able to recognize one > > another >or > > at least find each other. Dian came up with a brilliant suggestion >for > > a name to use at Appleby's when we met. Any guesses? > > > > Charlotte > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Find a local pizza place, movie theater, and more.then map the best route! http://maps.live.com/default.aspx?v=2&ss=yp.bars~yp.pizza~yp.movie%20theater &cp=42.358996~-71.056691&style=r&lvl=13&tilt=-90&dir=0&alt=-1000&scene=95060 7&encType=1&FORM=MGAC01 From jwcolby at colbyconsulting.com Fri Aug 10 16:41:00 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 10 Aug 2007 17:41:00 -0400 Subject: [AccessD] OT Friday: Comodo AntiSpam In-Reply-To: Message-ID: <20070810214104.6CBCDBD30@smtp-auth.no-ip.com> I do not have a fixed IP, although I use No-IP to translate my IP to a fixed "named address", which works quite well. I also know nothing about mail servers nor all the rest. I have so much to do that I cringe at the thought of piling anything more on my plate. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, August 10, 2007 10:47 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] OT Friday: Comodo AntiSpam Thanks John It is right that your options are limited when using a hosted mail server. However, most hosts provide basic spamfilters if you prefer so - did you check that out? Further, if you have a fixed IP address I can recommend running your own mail server. One of the very best, hMailServer, is free and open-source and runs on Windows: http://www.hmailserver.com/ Support from the forum and the developer is excellent, and setup is piece of cake if you know just a little about the Internet mail mechanics. /gustav >>> jwcolby at colbyconsulting.com 10-08-2007 16:24 >>> Gustav, As soon as I pick you up on the control panel I "allow" your email so in fact you do not have to respond. Your email as well as every one else on the list that has popped up so far is now coming right through because I manually "allowed" you to. Either way, you respond or I allow, it only has to be done one time and then it works just fine. I have not had time yet to evaluate the full impact, but I am a small company, with a small number of regular correspondents (with the exception of this list). I can appreciate the "challenge / response sucks" mentality but I don't have a mail server under my control. I use the pop server that comes with my web site. This works at the client level and so I am trying it. My apologies for any inconvenience. John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From miscellany at mvps.org Fri Aug 10 18:44:54 2007 From: miscellany at mvps.org (Steve Schapel) Date: Sat, 11 Aug 2007 11:44:54 +1200 Subject: [AccessD] A2007 from Dell(!) In-Reply-To: <200708101710.l7AHAl22004153@databaseadvisors.com> References: <200708101710.l7AHAl22004153@databaseadvisors.com> Message-ID: <46BCF876.9060505@mvps.org> Robert L. Stewart wrote: > Longer with 2007. I think we will see an improvement to this problem at some point. Regards Steve From miscellany at mvps.org Fri Aug 10 18:50:10 2007 From: miscellany at mvps.org (Steve Schapel) Date: Sat, 11 Aug 2007 11:50:10 +1200 Subject: [AccessD] OT Friday: Comodo AntiSpam In-Reply-To: References: Message-ID: <46BCF9B2.5080409@mvps.org> Someone may be interested in this critique: http://linuxmafia.com/faq/Mail/challenge-response.html Regards Steve Gustav Brock wrote: > Hi JC et al > > JC has sent this out, so now you cannot get to him directly. Aside > the good intentions behind doing so, this will cause a lot of > trouble, and I don't say too much if I - as a general warning - > mention that the consensus between system people is, that as tempting > these challenge-response system my seem, they represent a bad idea > because the negative impact outweighs the positive. > > If you or your client run a mail server, I can strongly recommend > SpamBunker: > > http://www.aimconsulting.ch/Spambunker/sbk-strategy.asp > > which is not free but cheap, and is superior to the common mail > filtering systems. Thus, it requires no "learning", no maintenance, > it works from the minute it is installed, and it handles massive > amount of spam and/or mail even on modest hardware. We operate it > here where we went from about 4000 spam mails per day to a handful > per week after we had been under a week long attack with constantly > 20 connections and more than 16000 connections per day. > > As a result we now promote this to our clients with serious spam > troubles. > From martyconnelly at shaw.ca Fri Aug 10 19:09:02 2007 From: martyconnelly at shaw.ca (MartyConnelly) Date: Fri, 10 Aug 2007 17:09:02 -0700 Subject: [AccessD] Access 2007 run time on same machine with 2003 In-Reply-To: <200708101305.l7AD5qLp009930@databaseadvisors.com> References: <200708101305.l7AD5qLp009930@databaseadvisors.com> Message-ID: <46BCFE1E.1090803@shaw.ca> There is a requestable hotfix for Access 2007 runtimes using ADP and certain types of Reports. Robert L. Stewart wrote: >Rocky, > >Actually, for that kind of money, your install script should >detect and "compatible" version of Access. And, if it is not >there, install the runtime. > >Robert > >At 07:44 PM 8/9/2007, you wrote: > > >>Date: Thu, 9 Aug 2007 17:28:38 -0700 >>From: "Rocky Smolin at Beach Access Software" >>Subject: Re: [AccessD] Access 2007 run time on same machine with 2003 >>To: "'Access Developers discussion and problem solving'" >> >>Cc: 'Jack Stone' >>Message-ID: <00ea01c7dae5$65528020$0301a8c0 at HAL9005> >>Content-Type: text/plain; charset="us-ascii" >> >>Thanks Doug. That's why I'm a big fan of obsolete technology. It works. >> >>The client and I are trying to decide whether to standardize on A2007 for >>the development of his product. There are some distinct advantages. Or >>standardize on something earlier - right now it's compatible with A2000. >>Not sure we need to go back that far however. >> >>The target market for this product is *likely* to have Office Pro but not >>for certain. So we're considering a run-time version as well. >> >>However, since the product t will be selling for 5 figures, it might be >>reasonable to require the end user to have Access - some version of it. >> >>Opinions, anyone? >> >>TIA >> >>Rocky >> >> > > > > -- Marty Connelly Victoria, B.C. Canada From jwcolby at colbyconsulting.com Fri Aug 10 21:04:05 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 10 Aug 2007 22:04:05 -0400 Subject: [AccessD] OT Friday: Comodo AntiSpam In-Reply-To: <46BCF9B2.5080409@mvps.org> Message-ID: <20070811020409.3AB81BD04@smtp-auth.no-ip.com> I find it amusing that anyone takes the time to generate a 10 page "why CR is bad", the basis of many of which is "it should punish the spammer", as if ANYONE has a way to do that. My personally opinion is that hunting down and colbyizing a handful of them VERY publicly would be the only effective deterrent but that won't be happening either. Additionally, so far I have never had email delivered to me because someone spoofed my email address as the sender of spam and a CR system was bouncing it back to me. Given that my name is on the spam lists (I get spam) THAT argument isn't keeping me up at night. I did not design the wonky system that allows spammers to spoof senders and I can not do anything about others doing so. In the meantime, I have at most 100 people in my address books, all of which have already been picked up (automatically) by the system. The rest are trickling in and I am manually dealing with them. Within a single week all of my regular emails will be handled. I used a Bayesian filter with outlook and tried to do so again but it wouldn't install. When it worked, it worked fairly well (98% rate) but had false positives and false negatives, few but still there. Having 2% hiding in the 100 is almost worse than 50%. You have to look at each one to find the 2 in 100 that you need to recover. THAT is as much of a PITA as just hitting the delete key 50 times a day. There are a million systems out there for handling spam, none of them perfect. I have tried about 500,000 of them so far, I know none of them are perfect. Of course if any of you fine folks wants to volunteer to set up and maintain an email server / AntiSpam system on my server machine, or install your favorite variation of Linux and your favorite variation of anti spam, please take my invitation to do so. I do have a beater box (not even so beater) and I will give you remote access to the box in order to do your thing. Of course YOU will be responsible for all maintenance for the rest of your life. I have real work to do unfortunately. In the meantime, I will be trying this one for awhile. I have had to respond to a handful of such "response required" from a handful of people I have emailed, and I did so, no biggie. I can see that some think it is a poor idea but such is life. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Schapel Sent: Friday, August 10, 2007 7:50 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT Friday: Comodo AntiSpam Someone may be interested in this critique: http://linuxmafia.com/faq/Mail/challenge-response.html Regards Steve Gustav Brock wrote: > Hi JC et al > > JC has sent this out, so now you cannot get to him directly. Aside the > good intentions behind doing so, this will cause a lot of trouble, and > I don't say too much if I - as a general warning - mention that the > consensus between system people is, that as tempting these > challenge-response system my seem, they represent a bad idea because > the negative impact outweighs the positive. > > If you or your client run a mail server, I can strongly recommend > SpamBunker: > > http://www.aimconsulting.ch/Spambunker/sbk-strategy.asp > > which is not free but cheap, and is superior to the common mail > filtering systems. Thus, it requires no "learning", no maintenance, it > works from the minute it is installed, and it handles massive amount > of spam and/or mail even on modest hardware. We operate it here where > we went from about 4000 spam mails per day to a handful per week after > we had been under a week long attack with constantly 20 connections > and more than 16000 connections per day. > > As a result we now promote this to our clients with serious spam > troubles. > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From miscellany at mvps.org Fri Aug 10 21:09:49 2007 From: miscellany at mvps.org (Steve Schapel) Date: Sat, 11 Aug 2007 14:09:49 +1200 Subject: [AccessD] OT Friday: Comodo AntiSpam In-Reply-To: <34C8A2AB1EF3564CB0D64DB6AFFDD5C208ED6DE1@XLIVMBX35bkup.aig.com> References: <34C8A2AB1EF3564CB0D64DB6AFFDD5C208ED6DE1@XLIVMBX35bkup.aig.com> Message-ID: <46BD1A6D.7010601@mvps.org> Lambert, Thank you very much. This is a very cool idea. In fact, I have heard of it before, but didn't act on it so far because on an antipathy for Google. But the spammers drove me to it, and, prompted by your post here, I have just set up a gmail account. I then simply set it up so email to my main email address gets forwarded to the gmail address, and my email client retrieves the email from the gmail. Sweet. Everything works exactly as it did before, my normal email address is being used to send and receive, but the spam is being scrubbed out en route, courtesy of Gmail's spam filter. I hope I'm not crowing too soon, because I have only just done it, but so far it looks good. (Only reservation is that a test mail I sent from another of my own email accounts got trashed as spam by Gmail, so I obviously can't trust myself!) Anyway, thanks again, I'm hoping this will mean less pain in my daily life! :-) Regards Steve Heenan, Lambert wrote: > I get my (home) mail from a POP3 server too, and while my ISP does offer > some Spam filtering, it's not up to much. > > *However* I long ago set up my Gmail account to go retrieve my POP3 mail for > me. I get to see all my mail in one place, and Gmail's SPAM filter works a > treat. If you need to you can also set up your mail client to retrieve your > mail from your Gmail inbox via POP and have the best of both worlds. From miscellany at mvps.org Fri Aug 10 21:40:35 2007 From: miscellany at mvps.org (Steve Schapel) Date: Sat, 11 Aug 2007 14:40:35 +1200 Subject: [AccessD] OT Friday: Comodo AntiSpam In-Reply-To: <20070811020409.3AB81BD04@smtp-auth.no-ip.com> References: <20070811020409.3AB81BD04@smtp-auth.no-ip.com> Message-ID: <46BD21A3.7080208@mvps.org> Good for you, John. I will be interested to hear how it works out for you. When I got your email asking for my self-validation, I thought it was an idea with a lot of merit. I still do. But, since then, I have looked at it a bit more closely, and see that Comodo has been around for quite a long time. So the fact that this is my first contact with the concept, answers my question about whether the idea will catch on! :-) For myself, almost all of the emails I send are to people I know, and most of the legitimate email I receive is from people I know. For those new people who are emailing me for the first time, it does not seem to be too onerous a request to have an automated system ask them to validate themselves before I accept their first email. On the other hand, I can see how a lot of people would find it irritating. Oh well... In the meantime, see my reply to Lambert elsewhere in this thread, about getting Gmail to launder the mail for you. I found this very quick and easy to set up. Possibly *too* effective though, I'lll have to wait and see - even this very post from you that I'm replying to was spam-dunked by Gmail, and I had to fish it out of the bin. Regards Steve P.S. I have been around this forum only a relatively short amount of time, so don't know the full meaning of the term, but was nonetheless amused by the word "colbyizing". :-) I assume getting colbyized takes different forms in different situations? jwcolby wrote: > I find it amusing that anyone takes the time to generate a 10 page "why CR > is bad", the basis of many of which is "it should punish the spammer", as if > ANYONE has a way to do that. My personally opinion is that hunting down and > colbyizing a handful of them VERY publicly would be the only effective > deterrent but that won't be happening either. > > Additionally, so far I have never had email delivered to me because someone > spoofed my email address as the sender of spam and a CR system was bouncing > it back to me. Given that my name is on the spam lists (I get spam) THAT > argument isn't keeping me up at night. I did not design the wonky system > that allows spammers to spoof senders and I can not do anything about others > doing so. > > In the meantime, I have at most 100 people in my address books, all of which > have already been picked up (automatically) by the system. The rest are > trickling in and I am manually dealing with them. Within a single week all > of my regular emails will be handled. > > I used a Bayesian filter with outlook and tried to do so again but it > wouldn't install. When it worked, it worked fairly well (98% rate) but had > false positives and false negatives, few but still there. Having 2% hiding > in the 100 is almost worse than 50%. You have to look at each one to find > the 2 in 100 that you need to recover. THAT is as much of a PITA as just > hitting the delete key 50 times a day. > > There are a million systems out there for handling spam, none of them > perfect. I have tried about 500,000 of them so far, I know none of them are > perfect. > > Of course if any of you fine folks wants to volunteer to set up and maintain > an email server / AntiSpam system on my server machine, or install your > favorite variation of Linux and your favorite variation of anti spam, please > take my invitation to do so. I do have a beater box (not even so beater) > and I will give you remote access to the box in order to do your thing. Of > course YOU will be responsible for all maintenance for the rest of your > life. I have real work to do unfortunately. > > In the meantime, I will be trying this one for awhile. I have had to > respond to a handful of such "response required" from a handful of people I > have emailed, and I did so, no biggie. I can see that some think it is a > poor idea but such is life. From jwcolby at colbyconsulting.com Fri Aug 10 23:42:09 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 11 Aug 2007 00:42:09 -0400 Subject: [AccessD] OT Friday: Comodo AntiSpam In-Reply-To: <46BD21A3.7080208@mvps.org> Message-ID: <20070811044214.2C951BD29@smtp-auth.no-ip.com> Steve, >P.S. I have been around this forum only a relatively short amount of time, so don't know the full meaning of the term, but was nonetheless amused by the word "colbyizing". :-) I assume getting colbyized takes different forms in different situations? LOL. I have been around this board since the early days (1997). At that time I lived in Puebla Mexico and the Shining Path guerrilla movement was being "handled" by the Peru military by picking up thousands of people and disappearing them, often by (allegedly) flying them far out over the Pacific ocean and pushing them out the door of the airplane from about 20K feet up, without a parachute. At that time I was a little more ... Uhh... Hmm... How to say this... Militant? So I would make statements like "if any client of mine is found working directly in the tables... 20K feet, out the door without a parachute". I think it was William Hindman who coined the phrase "colbyize" to replace "20K feet, out the door without a parachute". ;-) Lately I have mellowed a bit (no, REALLY!!!). Now I just poke Charlotte with a stick every now and again. I am trying several of the Comodo products. I LOVE their software firewall!!! I run that on all of my systems and for the first time EVER have managed to have trusted zones where I could actually see and use the shares on every system, every time. Their AV is still in beta but I am trying it out as well. I just installed their Anti-Spam a few days ago. Something's gotta give on the spam front. I have looked and tried this and that and NOTHING has worked really well to this point. I am reading that the newest stuff is even getting around the Bayesian filters. I can't verify that since I can't get SpamBayes to run for whatever reason (I used it for a looong time). As for the Gmail thing, my biggest issue with that is Gmail itself. I have read sources I believe who say that Google archives EVERYTHING, PERMANENTLY - Google searches, as well as Gmail. I use Google for searches and simply avoid them when it is time to search for ways to kill my wife and such. ;-) My mail I want to have a delete button on. I am not doing anything illegal but I just am uncomfortable with being archived forever by a third party for their own purposes. Say what you will, this CR system does work, at least from my perspective. >From the instant I installed it NO spam has come through. ATM I am going through my quarantine database to manually allow those email addresses / domains I need through. Again it is quick and easy, one time, click "allow" and voila it is allowed. And yea, there are nutcases everywhere. Some will hiss and spit and refuse to answer and oh well. Mostly those kinds of people just get on my nerves anyway so I am probably better off without their email. If I lose some email from the fringes and ALL my spam... Hmm... Kind of a clear cut win. Someday, when Internet II comes out and this spam nonsense is behind us, well, CR won't be necessary any more anyway. And who knows whether it will really work long term, but I have to do something, and nothing else I have done worked all that well, so for today I try this. And yes, I will take the time to respond to CR messages (If I want to talk to you ;-). John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Schapel Sent: Friday, August 10, 2007 10:41 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT Friday: Comodo AntiSpam Good for you, John. I will be interested to hear how it works out for you. When I got your email asking for my self-validation, I thought it was an idea with a lot of merit. I still do. But, since then, I have looked at it a bit more closely, and see that Comodo has been around for quite a long time. So the fact that this is my first contact with the concept, answers my question about whether the idea will catch on! :-) For myself, almost all of the emails I send are to people I know, and most of the legitimate email I receive is from people I know. For those new people who are emailing me for the first time, it does not seem to be too onerous a request to have an automated system ask them to validate themselves before I accept their first email. On the other hand, I can see how a lot of people would find it irritating. Oh well... In the meantime, see my reply to Lambert elsewhere in this thread, about getting Gmail to launder the mail for you. I found this very quick and easy to set up. Possibly *too* effective though, I'lll have to wait and see - even this very post from you that I'm replying to was spam-dunked by Gmail, and I had to fish it out of the bin. Regards Steve From max at sherman.org.uk Sat Aug 11 02:14:39 2007 From: max at sherman.org.uk (Max Sherman) Date: Sat, 11 Aug 2007 08:14:39 +0100 Subject: [AccessD] OT Friday: Comodo AntiSpam In-Reply-To: <20070811044214.2C951BD29@smtp-auth.no-ip.com> References: <46BD21A3.7080208@mvps.org> <20070811044214.2C951BD29@smtp-auth.no-ip.com> Message-ID: <001501c7dbe7$493bc290$8119fea9@LTVM> Hi John, Following your write-up, I have now installed Comodo as well. Like you I have tried many such programs over time and have not found any which are ideal. Comodo sounds good and will see how it goes. Regards Max Sherman -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Saturday, August 11, 2007 5:42 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT Friday: Comodo AntiSpam Steve, >P.S. I have been around this forum only a relatively short amount of >time, so don't know the full meaning of the term, but was nonetheless amused by the word "colbyizing". :-) I assume getting colbyized takes different forms in different situations? LOL. I have been around this board since the early days (1997). At that time I lived in Puebla Mexico and the Shining Path guerrilla movement was being "handled" by the Peru military by picking up thousands of people and disappearing them, often by (allegedly) flying them far out over the Pacific ocean and pushing them out the door of the airplane from about 20K feet up, without a parachute. At that time I was a little more ... Uhh... Hmm... How to say this... Militant? So I would make statements like "if any client of mine is found working directly in the tables... 20K feet, out the door without a parachute". I think it was William Hindman who coined the phrase "colbyize" to replace "20K feet, out the door without a parachute". ;-) Lately I have mellowed a bit (no, REALLY!!!). Now I just poke Charlotte with a stick every now and again. I am trying several of the Comodo products. I LOVE their software firewall!!! I run that on all of my systems and for the first time EVER have managed to have trusted zones where I could actually see and use the shares on every system, every time. Their AV is still in beta but I am trying it out as well. I just installed their Anti-Spam a few days ago. Something's gotta give on the spam front. I have looked and tried this and that and NOTHING has worked really well to this point. I am reading that the newest stuff is even getting around the Bayesian filters. I can't verify that since I can't get SpamBayes to run for whatever reason (I used it for a looong time). As for the Gmail thing, my biggest issue with that is Gmail itself. I have read sources I believe who say that Google archives EVERYTHING, PERMANENTLY - Google searches, as well as Gmail. I use Google for searches and simply avoid them when it is time to search for ways to kill my wife and such. ;-) My mail I want to have a delete button on. I am not doing anything illegal but I just am uncomfortable with being archived forever by a third party for their own purposes. Say what you will, this CR system does work, at least from my perspective. >From the instant I installed it NO spam has come through. ATM I am >going through my quarantine database to manually allow those email addresses / domains I need through. Again it is quick and easy, one time, click "allow" and voila it is allowed. And yea, there are nutcases everywhere. Some will hiss and spit and refuse to answer and oh well. Mostly those kinds of people just get on my nerves anyway so I am probably better off without their email. If I lose some email from the fringes and ALL my spam... Hmm... Kind of a clear cut win. Someday, when Internet II comes out and this spam nonsense is behind us, well, CR won't be necessary any more anyway. And who knows whether it will really work long term, but I have to do something, and nothing else I have done worked all that well, so for today I try this. And yes, I will take the time to respond to CR messages (If I want to talk to you ;-). John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Schapel Sent: Friday, August 10, 2007 10:41 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT Friday: Comodo AntiSpam Good for you, John. I will be interested to hear how it works out for you. When I got your email asking for my self-validation, I thought it was an idea with a lot of merit. I still do. But, since then, I have looked at it a bit more closely, and see that Comodo has been around for quite a long time. So the fact that this is my first contact with the concept, answers my question about whether the idea will catch on! :-) For myself, almost all of the emails I send are to people I know, and most of the legitimate email I receive is from people I know. For those new people who are emailing me for the first time, it does not seem to be too onerous a request to have an automated system ask them to validate themselves before I accept their first email. On the other hand, I can see how a lot of people would find it irritating. Oh well... In the meantime, see my reply to Lambert elsewhere in this thread, about getting Gmail to launder the mail for you. I found this very quick and easy to set up. Possibly *too* effective though, I'lll have to wait and see - even this very post from you that I'm replying to was spam-dunked by Gmail, and I had to fish it out of the bin. Regards Steve -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From carbonnb at gmail.com Sat Aug 11 07:01:27 2007 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Sat, 11 Aug 2007 08:01:27 -0400 Subject: [AccessD] OT Friday: Comodo AntiSpam In-Reply-To: <005c01c7db5c$48f8d650$0c10a8c0@jisshowsbs.local> References: <20070810142453.923B3BFEC@smtp-auth.no-ip.com> <005c01c7db5c$48f8d650$0c10a8c0@jisshowsbs.local> Message-ID: On 8/10/07, William Hindman wrote: > ...I'm with Gustav, the initial e-mail gave me a negative reaction ...but > then, like you, I'm dependent on my ISP's filtering and its far from perfect > so I'm open to anything that helps ...question is of course, does this > really help or hinder in the long run? Hinder. IMO. They are at best a waste of time and at worst a waste of time and resources. On some of the lists I belong to, if anyone got a C/R request you'd be tossed unceremoniously to the curb and banned for life. Not to mention the fact the extra waste of bandwidth that it uses by sending them and the spoofed addresses. I know in a later e-mail JC says that he never has received and blow back from a spoofed address, but I got 7 since 1 am Friday night to 8 am Sat morning. That's 1 an hour of spoofed email blowback that is readily apparent. I haven't bothered to look at 55 that I got as bounces from the DBA mailinglist and see which were real bounces and which were blowback. Most likely more than 1/4 of them are blow back from spoofed addresses. Not trivial. I know there are zealots out there, but C/R systems puts the onus on the sender for the recipients spam filtering. I don't know about the rest of the world but I don't have enough time to do my stuff as it is let alone someone elses. -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" From carbonnb at gmail.com Sat Aug 11 07:07:39 2007 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Sat, 11 Aug 2007 08:07:39 -0400 Subject: [AccessD] OT Friday: Comodo AntiSpam In-Reply-To: <20070811020409.3AB81BD04@smtp-auth.no-ip.com> References: <46BCF9B2.5080409@mvps.org> <20070811020409.3AB81BD04@smtp-auth.no-ip.com> Message-ID: On 8/10/07, jwcolby wrote: > I used a Bayesian filter with outlook and tried to do so again but it > wouldn't install. When it worked, it worked fairly well (98% rate) but had > false positives and false negatives, few but still there. Having 2% hiding > in the 100 is almost worse than 50%. You have to look at each one to find > the 2 in 100 that you need to recover. THAT is as much of a PITA as just > hitting the delete key 50 times a day. Yea, but how long does it take you? I get on the order of 300+ a day and it takes me less than a minute to go through the list. > There are a million systems out there for handling spam, none of them > perfect. I have tried about 500,000 of them so far, I know none of them are > perfect. Nope, you're right. But some are less perfect than others. > In the meantime, I will be trying this one for awhile. I have had to > respond to a handful of such "response required" from a handful of people I > have emailed, and I did so, no biggie. I can see that some think it is a > poor idea but such is life. Actually most e-mail systems administrators think it is a horrible idea and the inventor of it should be drawn an quartered on a pile of spam. I think they would appreciate a poor idea. I'm talking about mail admins from Roadrunner, Hotmail, Time/Warner, Nortel. Not small name players by any stretch of the imagination. -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" From carbonnb at gmail.com Sat Aug 11 07:19:59 2007 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Sat, 11 Aug 2007 08:19:59 -0400 Subject: [AccessD] OT Friday: Comodo AntiSpam In-Reply-To: <20070811020409.3AB81BD04@smtp-auth.no-ip.com> References: <46BCF9B2.5080409@mvps.org> <20070811020409.3AB81BD04@smtp-auth.no-ip.com> Message-ID: On 8/10/07, jwcolby wrote: > I find it amusing that anyone takes the time to generate a 10 page "why CR > is bad", the basis of many of which is "it should punish the spammer", as if > ANYONE has a way to do that. My personally opinion is that hunting down and > colbyizing a handful of them VERY publicly would be the only effective > deterrent but that won't be happening either. I can send anyone that wants, a discussion of C/R systems and why they are bad from Spam-L, a spam fighting mailing list. The guys there are, for the most part, professional e-mail admins and spam fighters. Yes, there are some very strongly opinionated people there, but well, since we don't have any like that here, you'll have to deal with it :) -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" From lembit.dbamail at t-online.de Sat Aug 11 07:31:53 2007 From: lembit.dbamail at t-online.de (Lembit Soobik) Date: Sat, 11 Aug 2007 14:31:53 +0200 Subject: [AccessD] OT Friday: Comodo AntiSpam References: <20070811044214.2C951BD29@smtp-auth.no-ip.com> Message-ID: <000601c7dc13$99a2ef70$1800a8c0@s1800> John, I have the same concerns about Google. Storing everything permanently will let someone after x years draw false conclusions about you without you yourself knowing even. (BTW, this mail will be stored permanently, since there are AccessD members with Gmail) So please keep us posted (maybe better on dba-Tech, however) thank you Lembit ----- Original Message ----- From: "jwcolby" To: "'Access Developers discussion and problem solving'" Sent: Saturday, August 11, 2007 6:42 AM Subject: Re: [AccessD] OT Friday: Comodo AntiSpam ..... > > As for the Gmail thing, my biggest issue with that is Gmail itself. I > have > read sources I believe who say that Google archives EVERYTHING, > PERMANENTLY > - Google searches, as well as Gmail. I use Google for searches and simply > avoid them when it is time to search for ways to kill my wife and such. > ;-) > My mail I want to have a delete button on. I am not doing anything > illegal > but I just am uncomfortable with being archived forever by a third party > for > their own purposes. > From jwcolby at colbyconsulting.com Sat Aug 11 09:07:13 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 11 Aug 2007 10:07:13 -0400 Subject: [AccessD] OT Friday: Comodo AntiSpam In-Reply-To: Message-ID: <20070811140718.80343BF02@smtp-auth.no-ip.com> Bryan, >Yea, but how long does it take you? It takes exactly as long as it does to hit delete which is my point. What good does it do to move all the emails off to a spam folder, hide a couple out of 100 that are real, and then force me to go through the list of 100 looking for the good ones? I might as well just leave the spam in the in box and hit delete on each one. Spam by it's nature is pretty easy to recognize for a human. There is a pattern quickly recognized. A PDF attachment (delete), a picture of a software product (delete), a pattern of text about a pump n dump - delete. On the other hand, buried in amongst the 100 spams, a few non spams are NOT so easy to find. You have to look at specific things (the subject or the To) and you have to then click a button to move it back to the inbox. I know quite well that the Bayesian guys are RABID about Bayesian stuff and how well it works, and yea, a 98% rate is pretty good, but not good enough. I know that anti- CR guys are PARTICULARLY rabid about CR. Oh well. >From the Anti-web page: >Even where used, C-R systems are readily bypassed by spammers. Not so far on my system. >The 'FROM:' header of e-mail can be, and routinely is, spoofed. It offers no degree of authentication or evidence of identity. That is not what I use. I use VALID emails from my contact book and real email that I receive. You can spoof all you want with email addresses I don't know and they are all rejected. >C-R uses the "From:" header (with implementation-specific variations) as an authentication key. While a given key is going to have a relatively low likelihood of being cleared by a given user, there are keys that will have a high likelihood of being cleared. Off the top of my head, @microsoft.com, @aol.com, @ebay.com, @*.gov, and other major commercial, financial, and governmental institutions, would be likely to be cleared by a large number of users. Similar "social engineering" tactics are already used by spammers. Social engineering tricks work on newbees, not likely to use a CR system anyway since they are suffering along on (and PAYING FOR) the pathetic systems pushed on them by Norton and such. >C-R moves you back to square one of the fact that SMTP can't provide authentication of e-mail headers. I don't have to validate every email that comes in, only those that I approve. Unless those just happen to be spoofed in someone's spam email, those I don't approve are filtered out. At least so far. >By contrast, systems that utilize multiple metrics - sender, header integrity, content, context, Bayesian analysis - provide a broader, deeper, richer set of metrics on which to gauge spam. While such filters may incorporate the 'From:' header, they do so in context of additional data for stronger validation. Yes, and they then bury their false positives in amongst piles of real spam. >The intent of a practical anti-spam system is not to ensure, at all costs, that no spam should darken the reader's inbox at any cost. If that's the goal, then unplugging your computer is the simplest fix. That is ONLY because most systems cannot provide 100% effectiveness. You may DAMN WELL KNOW that if they could boast 100% effectiveness, they would! >C-R systems in practice achieve an unacceptably high false-positive rate (non-spam treated as spam), and may in fact be highly susceptible to false-negatives (spam treated as non-spam) via spoofing. Hasn't happened so far, on either count. The moon may in fact fall from orbit tomorrow, but I shan't spend my life worrying about it. >Effective spam management tools should place the burden either on the spammer THIS ONE I LOVE!!! Which of ALL of the systems touted by anyone here on the list does that? If that were possible (Blue frog did in fact do that) they would be driven out of business. Spammers are still in business, so we see how far this one gets. >Welcome to spamcop! OH GREAT, now we are recommending BLACK LISTS. >3. Privacy violation. Simply stupid. This one simply isn't happening. >A C-R system is essentially an outsourced whitelist system. The database is on MY system, not outsourced. >One commonplace piece of advice for avoiding spam is to not respond to opt-out, AKA e-mail validation testing, requests. And I LOVE THIS ONE AS WELL... First the rabids declare that some poor innocent is going to get 47 bajillion emails from me because "of course, all the spammers spoof their headers", and then turn right around and tell me that "I am going to validate my self to the spammers because they DON'T spoof the headers, but rather use the responses to test that they got a hit. WHICH ONE IS IT? One way or another, nothing else works so what's a guy to do. I do respond positively to CR messages if I care about the mail. I have (so far) received EXACTLY ONE - from a cousin working for Intel and yes, I responded so that I could talk to him. Boy, that cost me all of... A few seconds out of my life. I must say I was PISSED about having to spend those few seconds to be able to talk to my cousin, but what's a guy to do? IOW, propose a system that works and I will certainly try it. But DON'T tell me that "no, nothing works but please don't use CR". If it in fact fails from all of the deep dark failings predicted by the rabid anti-CR folks then guess what, I will stop using it too, just as I stopped using all the other things that didn't work. In the mean time... John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bryan Carbonnell Sent: Saturday, August 11, 2007 8:08 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT Friday: Comodo AntiSpam On 8/10/07, jwcolby wrote: > I used a Bayesian filter with outlook and tried to do so again but it > wouldn't install. When it worked, it worked fairly well (98% rate) > but had false positives and false negatives, few but still there. > Having 2% hiding in the 100 is almost worse than 50%. You have to > look at each one to find the 2 in 100 that you need to recover. THAT > is as much of a PITA as just hitting the delete key 50 times a day. Yea, but how long does it take you? I get on the order of 300+ a day and it takes me less than a minute to go through the list. > There are a million systems out there for handling spam, none of them > perfect. I have tried about 500,000 of them so far, I know none of > them are perfect. Nope, you're right. But some are less perfect than others. > In the meantime, I will be trying this one for awhile. I have had to > respond to a handful of such "response required" from a handful of > people I have emailed, and I did so, no biggie. I can see that some > think it is a poor idea but such is life. Actually most e-mail systems administrators think it is a horrible idea and the inventor of it should be drawn an quartered on a pile of spam. I think they would appreciate a poor idea. I'm talking about mail admins from Roadrunner, Hotmail, Time/Warner, Nortel. Not small name players by any stretch of the imagination. -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Sat Aug 11 09:40:49 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Sat, 11 Aug 2007 07:40:49 -0700 Subject: [AccessD] OT Friday: Comodo AntiSpam In-Reply-To: <20070811140718.80343BF02@smtp-auth.no-ip.com> Message-ID: <000f01c7dc25$9c8c9cb0$0301a8c0@HAL9005> How does CR handle the problem of people making inquiries about my products and service from my web site? I don't think I'd want them to have to go through the CR thing. BTW, I feel kind of out of the loop on this since I never get that much spam - maybe 5-10 a day. Outlook seems to be real good at routing the spam to my junk folder. Very rarely does a legit email show up there. And a couple times a week it misses a spam and it ends up in my inbox. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Saturday, August 11, 2007 7:07 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT Friday: Comodo AntiSpam Bryan, >Yea, but how long does it take you? It takes exactly as long as it does to hit delete which is my point. What good does it do to move all the emails off to a spam folder, hide a couple out of 100 that are real, and then force me to go through the list of 100 looking for the good ones? I might as well just leave the spam in the in box and hit delete on each one. Spam by it's nature is pretty easy to recognize for a human. There is a pattern quickly recognized. A PDF attachment (delete), a picture of a software product (delete), a pattern of text about a pump n dump - delete. On the other hand, buried in amongst the 100 spams, a few non spams are NOT so easy to find. You have to look at specific things (the subject or the To) and you have to then click a button to move it back to the inbox. I know quite well that the Bayesian guys are RABID about Bayesian stuff and how well it works, and yea, a 98% rate is pretty good, but not good enough. I know that anti- CR guys are PARTICULARLY rabid about CR. Oh well. >From the Anti-web page: >Even where used, C-R systems are readily bypassed by spammers. Not so far on my system. >The 'FROM:' header of e-mail can be, and routinely is, spoofed. It >offers no degree of authentication or evidence of identity. That is not what I use. I use VALID emails from my contact book and real email that I receive. You can spoof all you want with email addresses I don't know and they are all rejected. >C-R uses the "From:" header (with implementation-specific variations) >as an authentication key. While a given key is going to have a relatively low likelihood of being cleared by a given user, there are keys that will have a high likelihood of being cleared. Off the top of my head, @microsoft.com, @aol.com, @ebay.com, @*.gov, and other major commercial, financial, and governmental institutions, would be likely to be cleared by a large number of users. Similar "social engineering" tactics are already used by spammers. Social engineering tricks work on newbees, not likely to use a CR system anyway since they are suffering along on (and PAYING FOR) the pathetic systems pushed on them by Norton and such. >C-R moves you back to square one of the fact that SMTP can't provide authentication of e-mail headers. I don't have to validate every email that comes in, only those that I approve. Unless those just happen to be spoofed in someone's spam email, those I don't approve are filtered out. At least so far. >By contrast, systems that utilize multiple metrics - sender, header integrity, content, context, Bayesian analysis - provide a broader, deeper, richer set of metrics on which to gauge spam. While such filters may incorporate the 'From:' header, they do so in context of additional data for stronger validation. Yes, and they then bury their false positives in amongst piles of real spam. >The intent of a practical anti-spam system is not to ensure, at all >costs, that no spam should darken the reader's inbox at any cost. If that's the goal, then unplugging your computer is the simplest fix. That is ONLY because most systems cannot provide 100% effectiveness. You may DAMN WELL KNOW that if they could boast 100% effectiveness, they would! >C-R systems in practice achieve an unacceptably high false-positive >rate (non-spam treated as spam), and may in fact be highly susceptible to false-negatives (spam treated as non-spam) via spoofing. Hasn't happened so far, on either count. The moon may in fact fall from orbit tomorrow, but I shan't spend my life worrying about it. >Effective spam management tools should place the burden either on the spammer THIS ONE I LOVE!!! Which of ALL of the systems touted by anyone here on the list does that? If that were possible (Blue frog did in fact do that) they would be driven out of business. Spammers are still in business, so we see how far this one gets. >Welcome to spamcop! OH GREAT, now we are recommending BLACK LISTS. >3. Privacy violation. Simply stupid. This one simply isn't happening. >A C-R system is essentially an outsourced whitelist system. The database is on MY system, not outsourced. >One commonplace piece of advice for avoiding spam is to not respond to opt-out, AKA e-mail validation testing, requests. And I LOVE THIS ONE AS WELL... First the rabids declare that some poor innocent is going to get 47 bajillion emails from me because "of course, all the spammers spoof their headers", and then turn right around and tell me that "I am going to validate my self to the spammers because they DON'T spoof the headers, but rather use the responses to test that they got a hit. WHICH ONE IS IT? One way or another, nothing else works so what's a guy to do. I do respond positively to CR messages if I care about the mail. I have (so far) received EXACTLY ONE - from a cousin working for Intel and yes, I responded so that I could talk to him. Boy, that cost me all of... A few seconds out of my life. I must say I was PISSED about having to spend those few seconds to be able to talk to my cousin, but what's a guy to do? IOW, propose a system that works and I will certainly try it. But DON'T tell me that "no, nothing works but please don't use CR". If it in fact fails from all of the deep dark failings predicted by the rabid anti-CR folks then guess what, I will stop using it too, just as I stopped using all the other things that didn't work. In the mean time... John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bryan Carbonnell Sent: Saturday, August 11, 2007 8:08 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT Friday: Comodo AntiSpam On 8/10/07, jwcolby wrote: > I used a Bayesian filter with outlook and tried to do so again but it > wouldn't install. When it worked, it worked fairly well (98% rate) > but had false positives and false negatives, few but still there. > Having 2% hiding in the 100 is almost worse than 50%. You have to > look at each one to find the 2 in 100 that you need to recover. THAT > is as much of a PITA as just hitting the delete key 50 times a day. Yea, but how long does it take you? I get on the order of 300+ a day and it takes me less than a minute to go through the list. > There are a million systems out there for handling spam, none of them > perfect. I have tried about 500,000 of them so far, I know none of > them are perfect. Nope, you're right. But some are less perfect than others. > In the meantime, I will be trying this one for awhile. I have had to > respond to a handful of such "response required" from a handful of > people I have emailed, and I did so, no biggie. I can see that some > think it is a poor idea but such is life. Actually most e-mail systems administrators think it is a horrible idea and the inventor of it should be drawn an quartered on a pile of spam. I think they would appreciate a poor idea. I'm talking about mail admins from Roadrunner, Hotmail, Time/Warner, Nortel. Not small name players by any stretch of the imagination. -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.13/946 - Release Date: 8/10/2007 3:50 PM From robert at servicexp.com Sat Aug 11 11:41:41 2007 From: robert at servicexp.com (Robert) Date: Sat, 11 Aug 2007 12:41:41 -0400 Subject: [AccessD] Date From Month Name In-Reply-To: <20070811140718.80343BF02@smtp-auth.no-ip.com> References: <20070811140718.80343BF02@smtp-auth.no-ip.com> Message-ID: <000c01c7dc36$7fa59050$0801a8c0@roberts> I'm need some help with a date function.. I'm not 100% sure of my requirements but I do know that I need to find the 2nd day of the month of the current year derived solely on the Month name. The month name could be abbreviated or not. WBR Robert From carbonnb at gmail.com Sat Aug 11 11:57:07 2007 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Sat, 11 Aug 2007 12:57:07 -0400 Subject: [AccessD] OT Friday: Comodo AntiSpam In-Reply-To: <000f01c7dc25$9c8c9cb0$0301a8c0@HAL9005> References: <20070811140718.80343BF02@smtp-auth.no-ip.com> <000f01c7dc25$9c8c9cb0$0301a8c0@HAL9005> Message-ID: On 8/11/07, Rocky Smolin at Beach Access Software wrote: > How does CR handle the problem of people making inquiries about my products > and service from my web site? I don't think I'd want them to have to go > through the CR thing. The sender has to jump through hoops (reply to an e-mail, click a link, enter a pass phrase/code, etc one or more of the listed steps) to get their e-mail to you, or you have to go through the list of held posts and manually approve it. Be forewarned I know a LOT of people that will not, under any circumstances, reply to a CR system. The get summarily deleted. That's what I do. Even if you manually approve the e-mail to get through to you, you've already lost a lot or people. Now granted the places I hang out on the web are with a lot more technically savy (e-mail and mail servers) than Joe Average user. There are some that even set up rules to automatically delete the CRs sight unseen, so there are folks that would not even know their e-mails haven't gotten through. I'm not trying to make it sound like the sky is falling, but just telling you what I have seen and experienced personally. > BTW, I feel kind of out of the loop on this since I never get that much spam > - maybe 5-10 a day. Outlook seems to be real good at routing the spam to my > junk folder. Very rarely does a legit email show up there. And a couple > times a week it misses a spam and it ends up in my inbox. Hell, I can send some to you. I've already got all the pills and software I can handle. I am almost at my limit for pre-approved mortgages and loans too :) -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" From carbonnb at gmail.com Sat Aug 11 12:00:11 2007 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Sat, 11 Aug 2007 13:00:11 -0400 Subject: [AccessD] OT Friday: Comodo AntiSpam In-Reply-To: <20070811140718.80343BF02@smtp-auth.no-ip.com> References: <20070811140718.80343BF02@smtp-auth.no-ip.com> Message-ID: On 8/11/07, jwcolby wrote: > It takes exactly as long as it does to hit delete which is my point. What > good does it do to move all the emails off to a spam folder, hide a couple > out of 100 that are real, and then force me to go through the list of 100 > looking for the good ones? I might as well just leave the spam in the in > box and hit delete on each one. Well you are doing the same thing by going through the list of messages that get held by your CR system aren't you? > I know quite well that the Bayesian guys are RABID about Bayesian stuff and > how well it works, and yea, a 98% rate is pretty good, but not good enough. > I know that anti- > CR guys are PARTICULARLY rabid about CR. Oh well. Everybody is rabid about things John. Even you. > >From the Anti-web page: I was going to go through all these points you raise, but quite frankly I see your mind as being made up and nothing I can say, or the experts that deal with this day in or day out say will change your mind. I've said my peace and I'm outta here to enjoy my birthday. -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" From rockysmolin at bchacc.com Sat Aug 11 12:35:41 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Sat, 11 Aug 2007 10:35:41 -0700 Subject: [AccessD] Date From Month Name In-Reply-To: <000c01c7dc36$7fa59050$0801a8c0@roberts> Message-ID: <005e01c7dc3e$0a879810$0301a8c0@HAL9005> Are you looking for the day of the week? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Robert Sent: Saturday, August 11, 2007 9:42 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Date From Month Name I'm need some help with a date function.. I'm not 100% sure of my requirements but I do know that I need to find the 2nd day of the month of the current year derived solely on the Month name. The month name could be abbreviated or not. WBR Robert -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.13/946 - Release Date: 8/10/2007 3:50 PM From rockysmolin at bchacc.com Sat Aug 11 12:37:53 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Sat, 11 Aug 2007 10:37:53 -0700 Subject: [AccessD] OT Friday: Comodo AntiSpam In-Reply-To: Message-ID: <005f01c7dc3e$58afae60$0301a8c0@HAL9005> Now that you mention it, I've bailed on a couple of those CRs myself. Just wasn't interested enough in the message. I figure, if I get an email from them asking why I haven't responded, I'll tell them. It's like people who have caller ID and won't take your call if your number is blocked and you have to dial *82 or some such thing. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bryan Carbonnell Sent: Saturday, August 11, 2007 9:57 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT Friday: Comodo AntiSpam On 8/11/07, Rocky Smolin at Beach Access Software wrote: > How does CR handle the problem of people making inquiries about my > products and service from my web site? I don't think I'd want them to > have to go through the CR thing. The sender has to jump through hoops (reply to an e-mail, click a link, enter a pass phrase/code, etc one or more of the listed steps) to get their e-mail to you, or you have to go through the list of held posts and manually approve it. Be forewarned I know a LOT of people that will not, under any circumstances, reply to a CR system. The get summarily deleted. That's what I do. Even if you manually approve the e-mail to get through to you, you've already lost a lot or people. Now granted the places I hang out on the web are with a lot more technically savy (e-mail and mail servers) than Joe Average user. There are some that even set up rules to automatically delete the CRs sight unseen, so there are folks that would not even know their e-mails haven't gotten through. I'm not trying to make it sound like the sky is falling, but just telling you what I have seen and experienced personally. > BTW, I feel kind of out of the loop on this since I never get that > much spam > - maybe 5-10 a day. Outlook seems to be real good at routing the spam > to my junk folder. Very rarely does a legit email show up there. And > a couple times a week it misses a spam and it ends up in my inbox. Hell, I can send some to you. I've already got all the pills and software I can handle. I am almost at my limit for pre-approved mortgages and loans too :) -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.13/946 - Release Date: 8/10/2007 3:50 PM From miscellany at mvps.org Sat Aug 11 14:26:41 2007 From: miscellany at mvps.org (Steve Schapel) Date: Sun, 12 Aug 2007 07:26:41 +1200 Subject: [AccessD] Date From Month Name In-Reply-To: <000c01c7dc36$7fa59050$0801a8c0@roberts> References: <20070811140718.80343BF02@smtp-auth.no-ip.com> <000c01c7dc36$7fa59050$0801a8c0@roberts> Message-ID: <46BE0D71.6000303@mvps.org> Robert, Don't know if there is a more elegant way, but I think this will work... CDate(Year(Date()) & "- " & [YourMonth] & "-" & 2) Regards Steve Robert wrote: > > I'm need some help with a date function.. I'm not 100% sure of my > requirements but I do know that I need to find the 2nd day of the month of > the current year derived solely on the Month name. The month name could be > abbreviated or not. > > > WBR > Robert > > From robert at servicexp.com Sat Aug 11 16:25:15 2007 From: robert at servicexp.com (Robert) Date: Sat, 11 Aug 2007 17:25:15 -0400 Subject: [AccessD] Date From Month Name In-Reply-To: <46BE0D71.6000303@mvps.org> References: <20070811140718.80343BF02@smtp-auth.no-ip.com><000c01c7dc36$7fa59050$0801a8c0@roberts> <46BE0D71.6000303@mvps.org> Message-ID: <001001c7dc5e$1cd89120$0801a8c0@roberts> Steve, Thanks, I think yours is a bit better then mine.. CDate(Format(sMonth & "/" & 2 & "/" & Format(Date, "yyyy"))) Thanks Again!! WBR Robert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Schapel Sent: Saturday, August 11, 2007 3:27 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Date From Month Name Robert, Don't know if there is a more elegant way, but I think this will work... CDate(Year(Date()) & "- " & [YourMonth] & "-" & 2) Regards Steve Robert wrote: > > I'm need some help with a date function.. I'm not 100% sure of my > requirements but I do know that I need to find the 2nd day of the > month of the current year derived solely on the Month name. The month > name could be abbreviated or not. > > > WBR > Robert > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Sat Aug 11 17:10:34 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 11 Aug 2007 18:10:34 -0400 Subject: [AccessD] OT Friday: Comodo AntiSpam In-Reply-To: Message-ID: <20070811221035.99472BD92@smtp-auth.no-ip.com> Bryan, >Well you are doing the same thing by going through the list of messages that get held by your CR system aren't you? Yes, I am, but that is simply a "get up to speed week or two to manually handle all of the things that I know need to be handled. After that I will not do this. They get responded to or don't talk to me. >Everybody is rabid about things John. Even you. What? How in the WORLD can you say I AM RABID about ANYTHING? ;-) >I was going to go through all these points you raise, but quite frankly I see your mind as being made up and nothing I can say, or the experts that deal with this day in or day out say will change your mind. And quite frankly I see your mind is made up too. Brian, what you see is someone who has done the normal and even not so normal stuff which just didn't work. I have stated several times that my mind is NOT made up, I am watching to see whether this works or not, and if not it will be abandoned. Let me tell you something. In my mind the "anti-spam community" is a bunch of whining spineless jellyfish. The ONE and ONLY organization who actually did ANYTHING AT ALL in terms of hurting the spamming community was Blue Frog. Blue Frog was driven out of business buy a DOS attack BECAUSE THEY WERE MAKING A DIFFERENCE and the spineless jellyfish AS community did ABSOLUTELY NOTHING to assist them. Blue Frog making progress. I was a blue frog system and my spam actually did drop a LOT because the spammers were reaching agreements with Blue Frog to cleanse their lists. One specific criminal (and yes, they are all criminals) used a huge botnet to put Blue Frog out of business. And guess what the jellyfish did. Whimper and whine about how blue frog was hurting the innocents instead of hurting the spammers. As if ANYTHING that the jellyfish were doing hurt the spammers AT ALL and as if any criminal would train a huge botnet on any company FOR THE PURPOSE OF DRIVING THEM OUT OF BUSINESS unless they were being hurt by that company. Whine, whine whine. Brian, I like you, and I respect your opinion but I have ABSOLUTELY NO USE for the "anti-spam community". They have done almost NOTHING real. ALL OF THE WHINING responses to CR are (IMNSHO) just more examples of their uselessness. CR could work if the "anti-spam community" wanted to make it work. They don't, they just want to whine and protect their own (pretty much useless) AS methods and programs. I did not see anything in that entire list that could not be addressed if they wanted to address them. It is far easier to whine than to do the things required to make a REAL difference. So is my mind made up? YEA, in fact I am PISSED. There ARE technologies to do MANY THINGS. The experts can trace each bot back. A PITA but it can be done. There have been talks about installing programs on systems with holes that the spammers use to grab a bot but "whine whine whine we can't do that because whine whine whine". You will never make ANY difference until you a) close the holes that allow botnets and b) take away their bots, and c) whack em where it hurts. Whine whine whine. NONE of them have done ANY of these three things. Whine whine whine. In the meantime the headlines are quoting big names in the "anti-spam" community saying "the war is lost, the spammers have won." Whine, whine, whine. Make a difference or get out of my face. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bryan Carbonnell Sent: Saturday, August 11, 2007 1:00 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT Friday: Comodo AntiSpam On 8/11/07, jwcolby wrote: > It takes exactly as long as it does to hit delete which is my point. > What good does it do to move all the emails off to a spam folder, hide > a couple out of 100 that are real, and then force me to go through the > list of 100 looking for the good ones? I might as well just leave the > spam in the in box and hit delete on each one. Well you are doing the same thing by going through the list of messages that get held by your CR system aren't you? > I know quite well that the Bayesian guys are RABID about Bayesian > stuff and how well it works, and yea, a 98% rate is pretty good, but not good enough. > I know that anti- > CR guys are PARTICULARLY rabid about CR. Oh well. Everybody is rabid about things John. Even you. > >From the Anti-web page: I was going to go through all these points you raise, but quite frankly I see your mind as being made up and nothing I can say, or the experts that deal with this day in or day out say will change your mind. I've said my peace and I'm outta here to enjoy my birthday. -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Sat Aug 11 17:18:56 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 11 Aug 2007 18:18:56 -0400 Subject: [AccessD] OT Friday: Comodo AntiSpam In-Reply-To: <005f01c7dc3e$58afae60$0301a8c0@HAL9005> Message-ID: <20070811221857.BF7BFBBEF@smtp-auth.no-ip.com> Rocky, And the bottom line is that is a valid choice. If the person is not important to you why in the world would you even read their email WITHOUT a CR required? If the person you are calling wants you to do something to help him control the flood and you don't really care about talking to him, then don't talk to him. CR is all about "I need help here and if I am important enough to talk to, please help me out here. When I was growing up, my grandfather needed to put stucco on the outside of his barn. The whole community showed up to help. Now you won't even take 10 seconds to respond to a CR. Just goes to show how much community is worth to us these days eh? I have been a contributing member of this community for 10 years and you would think I had raped your daughter by the response when a CR request shows up in your inbox. Pretty sad really. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Saturday, August 11, 2007 1:38 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT Friday: Comodo AntiSpam Now that you mention it, I've bailed on a couple of those CRs myself. Just wasn't interested enough in the message. I figure, if I get an email from them asking why I haven't responded, I'll tell them. It's like people who have caller ID and won't take your call if your number is blocked and you have to dial *82 or some such thing. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bryan Carbonnell Sent: Saturday, August 11, 2007 9:57 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT Friday: Comodo AntiSpam On 8/11/07, Rocky Smolin at Beach Access Software wrote: > How does CR handle the problem of people making inquiries about my > products and service from my web site? I don't think I'd want them to > have to go through the CR thing. The sender has to jump through hoops (reply to an e-mail, click a link, enter a pass phrase/code, etc one or more of the listed steps) to get their e-mail to you, or you have to go through the list of held posts and manually approve it. Be forewarned I know a LOT of people that will not, under any circumstances, reply to a CR system. The get summarily deleted. That's what I do. Even if you manually approve the e-mail to get through to you, you've already lost a lot or people. Now granted the places I hang out on the web are with a lot more technically savy (e-mail and mail servers) than Joe Average user. There are some that even set up rules to automatically delete the CRs sight unseen, so there are folks that would not even know their e-mails haven't gotten through. I'm not trying to make it sound like the sky is falling, but just telling you what I have seen and experienced personally. > BTW, I feel kind of out of the loop on this since I never get that > much spam > - maybe 5-10 a day. Outlook seems to be real good at routing the spam > to my junk folder. Very rarely does a legit email show up there. And > a couple times a week it misses a spam and it ends up in my inbox. Hell, I can send some to you. I've already got all the pills and software I can handle. I am almost at my limit for pre-approved mortgages and loans too :) -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.13/946 - Release Date: 8/10/2007 3:50 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Sat Aug 11 18:08:00 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 11 Aug 2007 19:08:00 -0400 Subject: [AccessD] OT Friday: Comodo AntiSpam In-Reply-To: <20070811221857.BF7BFBBEF@smtp-auth.no-ip.com> Message-ID: <20070811230802.68F2DBC97@smtp-auth.no-ip.com> Rocky, And no, I was not responding to your response specifically. My apologies that it appears that way. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Saturday, August 11, 2007 6:19 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT Friday: Comodo AntiSpam Rocky, And the bottom line is that is a valid choice. If the person is not important to you why in the world would you even read their email WITHOUT a CR required? If the person you are calling wants you to do something to help him control the flood and you don't really care about talking to him, then don't talk to him. CR is all about "I need help here and if I am important enough to talk to, please help me out here. When I was growing up, my grandfather needed to put stucco on the outside of his barn. The whole community showed up to help. Now you won't even take 10 seconds to respond to a CR. Just goes to show how much community is worth to us these days eh? I have been a contributing member of this community for 10 years and you would think I had raped your daughter by the response when a CR request shows up in your inbox. Pretty sad really. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Saturday, August 11, 2007 1:38 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT Friday: Comodo AntiSpam Now that you mention it, I've bailed on a couple of those CRs myself. Just wasn't interested enough in the message. I figure, if I get an email from them asking why I haven't responded, I'll tell them. It's like people who have caller ID and won't take your call if your number is blocked and you have to dial *82 or some such thing. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bryan Carbonnell Sent: Saturday, August 11, 2007 9:57 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT Friday: Comodo AntiSpam On 8/11/07, Rocky Smolin at Beach Access Software wrote: > How does CR handle the problem of people making inquiries about my > products and service from my web site? I don't think I'd want them to > have to go through the CR thing. The sender has to jump through hoops (reply to an e-mail, click a link, enter a pass phrase/code, etc one or more of the listed steps) to get their e-mail to you, or you have to go through the list of held posts and manually approve it. Be forewarned I know a LOT of people that will not, under any circumstances, reply to a CR system. The get summarily deleted. That's what I do. Even if you manually approve the e-mail to get through to you, you've already lost a lot or people. Now granted the places I hang out on the web are with a lot more technically savy (e-mail and mail servers) than Joe Average user. There are some that even set up rules to automatically delete the CRs sight unseen, so there are folks that would not even know their e-mails haven't gotten through. I'm not trying to make it sound like the sky is falling, but just telling you what I have seen and experienced personally. > BTW, I feel kind of out of the loop on this since I never get that > much spam > - maybe 5-10 a day. Outlook seems to be real good at routing the spam > to my junk folder. Very rarely does a legit email show up there. And > a couple times a week it misses a spam and it ends up in my inbox. Hell, I can send some to you. I've already got all the pills and software I can handle. I am almost at my limit for pre-approved mortgages and loans too :) -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.13/946 - Release Date: 8/10/2007 3:50 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dw-murphy at cox.net Sat Aug 11 18:28:10 2007 From: dw-murphy at cox.net (Doug Murphy) Date: Sat, 11 Aug 2007 16:28:10 -0700 Subject: [AccessD] OT Friday: Comodo AntiSpam In-Reply-To: <34C8A2AB1EF3564CB0D64DB6AFFDD5C208ED6DE1@XLIVMBX35bkup.aig.com> Message-ID: <09a701c7dc6f$47c1c3f0$0200a8c0@murphy3234aaf1> Folks, I'll add my recent experience, i.e., today. I act as webmaster for an organization I belong to;( gratuitous plug www.sdfwa.org ) I have all the email directed to the organization, not specificly to one of the accounts we have set up for officers sent to the webmaster account which is forwarded to my email account. Today some one started sending spam spoofing random names at sdfwa.org as the sender. I started getting all the bounces. I got something like 500 messages in a couple of hours. I just redirected the club email to one of my Gmail accounts and it filtered all the bogus messages as spam. I am impressed. This works way better than any of the spam blocking programs I have tried. FWIW Doug -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert Sent: Friday, August 10, 2007 10:20 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT Friday: Comodo AntiSpam I get my (home) mail from a POP3 server too, and while my ISP does offer some Spam filtering, it's not up to much. *However* I long ago set up my Gmail account to go retrieve my POP3 mail for me. I get to see all my mail in one place, and Gmail's SPAM filter works a treat. If you need to you can also set up your mail client to retrieve your mail from your Gmail inbox via POP and have the best of both worlds. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Friday, August 10, 2007 10:25 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT Friday: Comodo AntiSpam Gustav, As soon as I pick you up on the control panel I "allow" your email so in fact you do not have to respond. Your email as well as every one else on the list that has popped up so far is now coming right through because I manually "allowed" you to. Either way, you respond or I allow, it only has to be done one time and then it works just fine. I have not had time yet to evaluate the full impact, but I am a small company, with a small number of regular correspondents (with the exception of this list). I can appreciate the "challenge / response sucks" mentality but I don't have a mail server under my control. I use the pop server that comes with my web site. This works at the client level and so I am trying it. My apologies for any inconvenience. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, August 10, 2007 10:06 AM To: accessd at databaseadvisors.com Subject: [AccessD] OT Friday: Comodo AntiSpam Hi JC et al JC has sent this out, so now you cannot get to him directly. Aside the good intentions behind doing so, this will cause a lot of trouble, and I don't say too much if I - as a general warning - mention that the consensus between system people is, that as tempting these challenge-response system my seem, they represent a bad idea because the negative impact outweighs the positive. If you or your client run a mail server, I can strongly recommend SpamBunker: http://www.aimconsulting.ch/Spambunker/sbk-strategy.asp which is not free but cheap, and is superior to the common mail filtering systems. Thus, it requires no "learning", no maintenance, it works from the minute it is installed, and it handles massive amount of spam and/or mail even on modest hardware. We operate it here where we went from about 4000 spam mails per day to a handful per week after we had been under a week long attack with constantly 20 connections and more than 16000 connections per day. As a result we now promote this to our clients with serious spam troubles. /gustav --- >>> 10-08-2007 13:58 >>> Hi, it's jwcolby. I finally decided I'd had enough of junk mail, and installed a fantastic application that gets rid of it all. Unfortunately, you are not yet in my trusted senders list!! The only way I'll get your emails is if you follow the steps outlined below: Here's all you have to do: 1. Press Reply 2. In the body of the reply, type in my AntiSpam Passcode contained in the graphical attachment. 3. Press Send When I receive this reply, I will know that it was really you that sent me the email and not a computerized spammer. I will then be able to receive all your mail. This authentication will be done only once. Thank you & have a great day, jwcolby ---------------------------------------------------------------------------- -------------------- You are receiving this messages in response to your email to jwcolby at colbyconsulting.com, a Comodo AntiSpam user. Our Passcode Authentication Technology requires senders to verify themselves before their mail is delivered. You will only need to do this once. Comodo AntiSpam is completely free. Experience a 100% spam free inbox for yourself by visiting www.comodo.com X-Comodo-AntiSpamRFA (jwcolby at 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 rockysmolin at bchacc.com Sat Aug 11 18:40:03 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Sat, 11 Aug 2007 16:40:03 -0700 Subject: [AccessD] OT Friday: Comodo AntiSpam In-Reply-To: <20070811230802.68F2DBC97@smtp-auth.no-ip.com> Message-ID: <008301c7dc70$f12f5f50$0301a8c0@HAL9005> Do you know (after 10 years) how hard it is to take offense at anything written in COLBY? :o) The CR that I ignore are the ones from people I don't want to email with. If someone like yourself makes a CR I do it. It takes 5 seconds and I'm hooked up. But more than reducing spam, I'm starting on a subtle program to reduce the number of emails altogether. Taking a higher level view (like the altitude from which you push people from your metaphorical airplane) - there's too GD much email, altogether. I'm drowning in content - from jokes to important tech news to current events to family trivia. I admire the guy who declared 'email bankruptcy' - Lessig. Except for his pledge to try to keep up in the future. Why? There is a psychological model - two axes labeled Important/Unimportant on the Y and Urgent/Not Urgent on the X. So you can visualize what's in each quadrant. Generally people spend too much time in the Urgent/Unimportant quadrant. That's where you find most of the email and internet content. Email and the 'net create what I call 'artificial urgency' a phenomenon IMO created by the FedEx marketing department. Mostly it does not absolutely positively have to be there overnight. But once you're on that track, everything gets accelerated and takes on an artificial urgency. And since it's the weekend maybe I can get away with the OT ramble. Moderators should all be at the beach. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Saturday, August 11, 2007 4:08 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT Friday: Comodo AntiSpam Rocky, And no, I was not responding to your response specifically. My apologies that it appears that way. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Saturday, August 11, 2007 6:19 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT Friday: Comodo AntiSpam Rocky, And the bottom line is that is a valid choice. If the person is not important to you why in the world would you even read their email WITHOUT a CR required? If the person you are calling wants you to do something to help him control the flood and you don't really care about talking to him, then don't talk to him. CR is all about "I need help here and if I am important enough to talk to, please help me out here. When I was growing up, my grandfather needed to put stucco on the outside of his barn. The whole community showed up to help. Now you won't even take 10 seconds to respond to a CR. Just goes to show how much community is worth to us these days eh? I have been a contributing member of this community for 10 years and you would think I had raped your daughter by the response when a CR request shows up in your inbox. Pretty sad really. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Saturday, August 11, 2007 1:38 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT Friday: Comodo AntiSpam Now that you mention it, I've bailed on a couple of those CRs myself. Just wasn't interested enough in the message. I figure, if I get an email from them asking why I haven't responded, I'll tell them. It's like people who have caller ID and won't take your call if your number is blocked and you have to dial *82 or some such thing. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bryan Carbonnell Sent: Saturday, August 11, 2007 9:57 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT Friday: Comodo AntiSpam On 8/11/07, Rocky Smolin at Beach Access Software wrote: > How does CR handle the problem of people making inquiries about my > products and service from my web site? I don't think I'd want them to > have to go through the CR thing. The sender has to jump through hoops (reply to an e-mail, click a link, enter a pass phrase/code, etc one or more of the listed steps) to get their e-mail to you, or you have to go through the list of held posts and manually approve it. Be forewarned I know a LOT of people that will not, under any circumstances, reply to a CR system. The get summarily deleted. That's what I do. Even if you manually approve the e-mail to get through to you, you've already lost a lot or people. Now granted the places I hang out on the web are with a lot more technically savy (e-mail and mail servers) than Joe Average user. There are some that even set up rules to automatically delete the CRs sight unseen, so there are folks that would not even know their e-mails haven't gotten through. I'm not trying to make it sound like the sky is falling, but just telling you what I have seen and experienced personally. > BTW, I feel kind of out of the loop on this since I never get that > much spam > - maybe 5-10 a day. Outlook seems to be real good at routing the spam > to my junk folder. Very rarely does a legit email show up there. And > a couple times a week it misses a spam and it ends up in my inbox. Hell, I can send some to you. I've already got all the pills and software I can handle. I am almost at my limit for pre-approved mortgages and loans too :) -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.13/946 - Release Date: 8/10/2007 3:50 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.13/946 - Release Date: 8/10/2007 3:50 PM From accessd at shaw.ca Sat Aug 11 18:50:32 2007 From: accessd at shaw.ca (Jim Lawrence) Date: Sat, 11 Aug 2007 16:50:32 -0700 Subject: [AccessD] OT Friday: Comodo AntiSpam In-Reply-To: <09a701c7dc6f$47c1c3f0$0200a8c0@murphy3234aaf1> Message-ID: <0JMM0039TVCSF5NA@l-daemon> Hi Doug: I have not tried it myself (My ISP is Shaw which has excellent Spam filters) but actually know of a company that uses Gmail spam filter for their company and I have heard of others who swear by Gmail. Excellent choice. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Murphy Sent: Saturday, August 11, 2007 4:28 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT Friday: Comodo AntiSpam Folks, I'll add my recent experience, i.e., today. I act as webmaster for an organization I belong to;( gratuitous plug www.sdfwa.org ) I have all the email directed to the organization, not specificly to one of the accounts we have set up for officers sent to the webmaster account which is forwarded to my email account. Today some one started sending spam spoofing random names at sdfwa.org as the sender. I started getting all the bounces. I got something like 500 messages in a couple of hours. I just redirected the club email to one of my Gmail accounts and it filtered all the bogus messages as spam. I am impressed. This works way better than any of the spam blocking programs I have tried. FWIW Doug -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert Sent: Friday, August 10, 2007 10:20 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT Friday: Comodo AntiSpam I get my (home) mail from a POP3 server too, and while my ISP does offer some Spam filtering, it's not up to much. *However* I long ago set up my Gmail account to go retrieve my POP3 mail for me. I get to see all my mail in one place, and Gmail's SPAM filter works a treat. If you need to you can also set up your mail client to retrieve your mail from your Gmail inbox via POP and have the best of both worlds. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Friday, August 10, 2007 10:25 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT Friday: Comodo AntiSpam Gustav, As soon as I pick you up on the control panel I "allow" your email so in fact you do not have to respond. Your email as well as every one else on the list that has popped up so far is now coming right through because I manually "allowed" you to. Either way, you respond or I allow, it only has to be done one time and then it works just fine. I have not had time yet to evaluate the full impact, but I am a small company, with a small number of regular correspondents (with the exception of this list). I can appreciate the "challenge / response sucks" mentality but I don't have a mail server under my control. I use the pop server that comes with my web site. This works at the client level and so I am trying it. My apologies for any inconvenience. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, August 10, 2007 10:06 AM To: accessd at databaseadvisors.com Subject: [AccessD] OT Friday: Comodo AntiSpam Hi JC et al JC has sent this out, so now you cannot get to him directly. Aside the good intentions behind doing so, this will cause a lot of trouble, and I don't say too much if I - as a general warning - mention that the consensus between system people is, that as tempting these challenge-response system my seem, they represent a bad idea because the negative impact outweighs the positive. If you or your client run a mail server, I can strongly recommend SpamBunker: http://www.aimconsulting.ch/Spambunker/sbk-strategy.asp which is not free but cheap, and is superior to the common mail filtering systems. Thus, it requires no "learning", no maintenance, it works from the minute it is installed, and it handles massive amount of spam and/or mail even on modest hardware. We operate it here where we went from about 4000 spam mails per day to a handful per week after we had been under a week long attack with constantly 20 connections and more than 16000 connections per day. As a result we now promote this to our clients with serious spam troubles. /gustav --- >>> 10-08-2007 13:58 >>> Hi, it's jwcolby. I finally decided I'd had enough of junk mail, and installed a fantastic application that gets rid of it all. Unfortunately, you are not yet in my trusted senders list!! The only way I'll get your emails is if you follow the steps outlined below: Here's all you have to do: 1. Press Reply 2. In the body of the reply, type in my AntiSpam Passcode contained in the graphical attachment. 3. Press Send When I receive this reply, I will know that it was really you that sent me the email and not a computerized spammer. I will then be able to receive all your mail. This authentication will be done only once. Thank you & have a great day, jwcolby ---------------------------------------------------------------------------- -------------------- You are receiving this messages in response to your email to jwcolby at colbyconsulting.com, a Comodo AntiSpam user. Our Passcode Authentication Technology requires senders to verify themselves before their mail is delivered. You will only need to do this once. Comodo AntiSpam is completely free. Experience a 100% spam free inbox for yourself by visiting www.comodo.com X-Comodo-AntiSpamRFA (jwcolby at 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 jwcolby at colbyconsulting.com Sat Aug 11 19:11:59 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 11 Aug 2007 20:11:59 -0400 Subject: [AccessD] OT Friday: Comodo AntiSpam In-Reply-To: <09a701c7dc6f$47c1c3f0$0200a8c0@murphy3234aaf1> Message-ID: <20070812001200.4C228BC63@smtp-auth.no-ip.com> What really needs to happen is to make the clients like Outlook etc be able to SEND with a specific email address / account, based on the address being sent to. Default to main but allow setting a specific address to do the send if desired. You can receive from all email addresses / accounts but the send is all from the same address / account (the default). You should also be able to set up different instances of the email client such that one instance pulls email from this email address / account while another instance pulls from another account. I have a handful of email accounts, jwcolby@, admin@ etc. The way things are they all just pour into the same client and I have to rely on filters to route them to specific sub folders inside of the main folder. This concept of using gmail as a filter is certainly intriguing, but unfortunately all the spam comes in on my jwcolby address which I do not want to expose to eternal archiving. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Murphy Sent: Saturday, August 11, 2007 7:28 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT Friday: Comodo AntiSpam Folks, I'll add my recent experience, i.e., today. I act as webmaster for an organization I belong to;( gratuitous plug www.sdfwa.org ) I have all the email directed to the organization, not specificly to one of the accounts we have set up for officers sent to the webmaster account which is forwarded to my email account. Today some one started sending spam spoofing random names at sdfwa.org as the sender. I started getting all the bounces. I got something like 500 messages in a couple of hours. I just redirected the club email to one of my Gmail accounts and it filtered all the bogus messages as spam. I am impressed. This works way better than any of the spam blocking programs I have tried. FWIW Doug -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert Sent: Friday, August 10, 2007 10:20 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT Friday: Comodo AntiSpam I get my (home) mail from a POP3 server too, and while my ISP does offer some Spam filtering, it's not up to much. *However* I long ago set up my Gmail account to go retrieve my POP3 mail for me. I get to see all my mail in one place, and Gmail's SPAM filter works a treat. If you need to you can also set up your mail client to retrieve your mail from your Gmail inbox via POP and have the best of both worlds. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Friday, August 10, 2007 10:25 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT Friday: Comodo AntiSpam Gustav, As soon as I pick you up on the control panel I "allow" your email so in fact you do not have to respond. Your email as well as every one else on the list that has popped up so far is now coming right through because I manually "allowed" you to. Either way, you respond or I allow, it only has to be done one time and then it works just fine. I have not had time yet to evaluate the full impact, but I am a small company, with a small number of regular correspondents (with the exception of this list). I can appreciate the "challenge / response sucks" mentality but I don't have a mail server under my control. I use the pop server that comes with my web site. This works at the client level and so I am trying it. My apologies for any inconvenience. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, August 10, 2007 10:06 AM To: accessd at databaseadvisors.com Subject: [AccessD] OT Friday: Comodo AntiSpam Hi JC et al JC has sent this out, so now you cannot get to him directly. Aside the good intentions behind doing so, this will cause a lot of trouble, and I don't say too much if I - as a general warning - mention that the consensus between system people is, that as tempting these challenge-response system my seem, they represent a bad idea because the negative impact outweighs the positive. If you or your client run a mail server, I can strongly recommend SpamBunker: http://www.aimconsulting.ch/Spambunker/sbk-strategy.asp which is not free but cheap, and is superior to the common mail filtering systems. Thus, it requires no "learning", no maintenance, it works from the minute it is installed, and it handles massive amount of spam and/or mail even on modest hardware. We operate it here where we went from about 4000 spam mails per day to a handful per week after we had been under a week long attack with constantly 20 connections and more than 16000 connections per day. As a result we now promote this to our clients with serious spam troubles. /gustav --- >>> 10-08-2007 13:58 >>> Hi, it's jwcolby. I finally decided I'd had enough of junk mail, and installed a fantastic application that gets rid of it all. Unfortunately, you are not yet in my trusted senders list!! The only way I'll get your emails is if you follow the steps outlined below: Here's all you have to do: 1. Press Reply 2. In the body of the reply, type in my AntiSpam Passcode contained in the graphical attachment. 3. Press Send When I receive this reply, I will know that it was really you that sent me the email and not a computerized spammer. I will then be able to receive all your mail. This authentication will be done only once. Thank you & have a great day, jwcolby ---------------------------------------------------------------------------- -------------------- You are receiving this messages in response to your email to jwcolby at colbyconsulting.com, a Comodo AntiSpam user. Our Passcode Authentication Technology requires senders to verify themselves before their mail is delivered. You will only need to do this once. Comodo AntiSpam is completely free. Experience a 100% spam free inbox for yourself by visiting www.comodo.com X-Comodo-AntiSpamRFA (jwcolby at 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 miscellany at mvps.org Sat Aug 11 19:23:22 2007 From: miscellany at mvps.org (Steve Schapel) Date: Sun, 12 Aug 2007 12:23:22 +1200 Subject: [AccessD] OT Friday: Comodo AntiSpam In-Reply-To: <20070812001200.4C228BC63@smtp-auth.no-ip.com> References: <20070812001200.4C228BC63@smtp-auth.no-ip.com> Message-ID: <46BE52FA.4090603@mvps.org> jwcolby wrote: > ... which I do not > want to expose to eternal archiving. I wonder how one could find out whether this eternal archiving charge is truth or folklore... Regards Steve From miscellany at mvps.org Sat Aug 11 19:32:06 2007 From: miscellany at mvps.org (Steve Schapel) Date: Sun, 12 Aug 2007 12:32:06 +1200 Subject: [AccessD] OT Friday: Comodo AntiSpam In-Reply-To: <0JMM0039TVCSF5NA@l-daemon> References: <0JMM0039TVCSF5NA@l-daemon> Message-ID: <46BE5506.3030309@mvps.org> My experience so far (22 hours :-) ) with scrubbing my email by routing it through Gmail, is a very high number of false positives, i.e. most of the legitimate email is being spam-dunked by Gmail. Regards Steve Jim Lawrence wrote: > I have not tried it myself (My ISP is Shaw which has excellent Spam filters) > but actually know of a company that uses Gmail spam filter for their company > and I have heard of others who swear by Gmail. > > Excellent choice. From jwcolby at colbyconsulting.com Sat Aug 11 20:08:57 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 11 Aug 2007 21:08:57 -0400 Subject: [AccessD] OT Friday: Comodo AntiSpam In-Reply-To: <46BE5506.3030309@mvps.org> Message-ID: <20070812010858.6869CBD32@smtp-auth.no-ip.com> Ouch. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Schapel Sent: Saturday, August 11, 2007 8:32 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT Friday: Comodo AntiSpam My experience so far (22 hours :-) ) with scrubbing my email by routing it through Gmail, is a very high number of false positives, i.e. most of the legitimate email is being spam-dunked by Gmail. Regards Steve Jim Lawrence wrote: > I have not tried it myself (My ISP is Shaw which has excellent Spam > filters) but actually know of a company that uses Gmail spam filter > for their company and I have heard of others who swear by Gmail. > > Excellent choice. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From carbonnb at gmail.com Sat Aug 11 21:52:12 2007 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Sat, 11 Aug 2007 22:52:12 -0400 Subject: [AccessD] OT Friday: Comodo AntiSpam In-Reply-To: <20070811221035.99472BD92@smtp-auth.no-ip.com> References: <20070811221035.99472BD92@smtp-auth.no-ip.com> Message-ID: On 8/11/07, jwcolby wrote: > Yes, I am, but that is simply a "get up to speed week or two to manually > handle all of the things that I know need to be handled. After that I will > not do this. They get responded to or don't talk to me. What about potential new customers? Are you willing to throw the baby out with the bath water? I can tell you that if *I* have to jump through too many hoops to deal with a company, I don't deal with them if I don't have to. Automated phone systems, not being able to deal with a real person, poor service, etc,etc. They don't get my business. A CR system is the same deal to me. > And quite frankly I see your mind is made up too. Has been for a very long time on CR systems. POS that passes your spam filtering onto me. > Brian, what you see is someone who has done the normal and even not so > normal stuff which just didn't work. I have stated several times that my > mind is NOT made up, I am watching to see whether this works or not, and if > not it will be abandoned. That's not what I get from reading your posts John. What I get is that you have no use for the opinions of the folks, nor the actual folks, that do anti-spam and mail server admining for a living. > Let me tell you something. In my mind the "anti-spam community" is a bunch > of whining spineless jellyfish. The ONE and ONLY organization who actually I can't and won't comment on anything that you have said about Blue Fish. never heard of them. Never dealt with them, never knew they existed. > Brian, I like you, and I respect your opinion Likewise John. > but I have ABSOLUTELY NO USE > for the "anti-spam community". Why is "anti-spam community in quotes? Who are you referring to? The folks the are the actual experts in the field or those that say they are? You need to be specific. I've got a ton of respect for the anti-spam community. They are doing what they can with their hands tied behind their backs. They have almost no legal ground to stand on. They have very little support form any gov't agency. The can-Spam act is a ****ing joke. It take a lot of hard work and dedication to deal with what they have to deal with on a day to day basis. > They have done almost NOTHING real. ALL OF > THE WHINING responses to CR are (IMNSHO) just more examples of their > uselessness. CR could work if the "anti-spam community" wanted to make it > work. They don't, they just want to whine and protect their own (pretty > much useless) AS methods and programs. I did not see anything in that > entire list that could not be addressed if they wanted to address them. You know what John, reading this paragraph make me thing that you are only reading they hype and drivel by people claiming to be experts. All the people I have respect for are not rabid in their approach. It's here is the good, here is the bad. here is why the good out weighs the bad. here is why the bad out weighs the good. No there is not a single place to tell the good guys from the bad guys. You have to do a LOT of reading and when you find someone who's opinion that you trust you need to listen to what they say. From that, you can then make informed decisions. > It is far easier to whine than to do the things required to make a REAL > difference. Such as? > So is my mind made up? YEA, in fact I am PISSED. There ARE technologies to > do MANY THINGS. The experts can trace each bot back. A PITA but it can be > done. There have been talks about installing programs on systems with holes > that the spammers use to grab a bot but "whine whine whine we can't do that > because whine whine whine". You will never make ANY difference until you a) > close the holes that allow botnets and b) take away their bots, and c) whack > em where it hurts. Whine whine whine. NONE of them have done ANY of these > three things. Whine whine whine. What would you like them to do John? The bots run on Windows typically. Well crap, you and I both know MS won't do anything to plug the holes because it'll make it more difficult for your grandparents and mine to get pics of their grand babies until there is a huge outcry from the security experts or they get threatened with public disclosure of the holes. > Make a difference or get out of my face. Such as? Here are typical stories I hear over and over again. SysAdmin block IP range because of spamming SysAdmin gets hauled on the carpet by CEO because he can't get e-mail from IP range because of the block. SysAdmin has to go and unblock the the IP range letting spam back into his system ISP SysAdmin block IP range because of spamming ISP SysAdmin gets complains from paying subscribers that they cannot get email from Joe Blow because of IP range is blocked. ISP SysAdmin has to go and unblock the the IP range letting spam back into his system Last one small time sysadmin implements new spam filtering. small time sysadmin gets email saying why can't I post to any of my mailing lists anymore? Did I do something wrong? small time sysadmin has to unimplement spam filtering to let long time posters back to thier mailing lists (Welcome back Rocky and Jon :) It's not that easy John. CR systems just add traffic and volume to an already over burdened system, while adding little to no benefit, IMO. -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" From carbonnb at gmail.com Sat Aug 11 21:59:06 2007 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Sat, 11 Aug 2007 22:59:06 -0400 Subject: [AccessD] OT Friday: Comodo AntiSpam In-Reply-To: <20070811221857.BF7BFBBEF@smtp-auth.no-ip.com> References: <005f01c7dc3e$58afae60$0301a8c0@HAL9005> <20070811221857.BF7BFBBEF@smtp-auth.no-ip.com> Message-ID: On 8/11/07, jwcolby wrote: > And the bottom line is that is a valid choice. If the person is not It certainly is. So is drinking yourself to death. But both are, IMO, poor choices to finding solutions to problems. > important to you why in the world would you even read their email WITHOUT a > CR required? Because if I'm running a business I do not want my customers to jump through hoops to deal with me. And if it is personal e-mail, I don't want my friend to have to jump through hoops to talk to me. > If the person you are calling wants you to do something to > help him control the flood and you don't really care about talking to him, > then don't talk to him. CR is all about "I need help here and if I am > important enough to talk to, please help me out here. What about the people that ask for help and have a CR system in place. They send me a request for help and I reply and they haven't bothered to whitelist me? Why should *I* jump through hoops to answer *THEIR* question *THEY ASKED ME*? > When I was growing up, my grandfather needed to put stucco on the outside of > his barn. The whole community showed up to help. I would help my neighbour out in a heart beat if they needed me. > Now you won't even take 10 seconds to respond to a CR. Nope. IMO, its the wrong fix for a problem. Just like I wouldn't restucco an entire barn if only one wall needed restuccoing. > Just goes to show how much community is > worth to us these days eh? I have been a contributing member of this > community for 10 years and you would think I had raped your daughter by the > response when a CR request shows up in your inbox. Pretty sad really. It's no worse than some of the comments that have passed back and forth about bound/unbound, Natural/Surrogate PKs, etc, etc. -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" From carbonnb at gmail.com Sat Aug 11 22:00:52 2007 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Sat, 11 Aug 2007 23:00:52 -0400 Subject: [AccessD] OT Friday: Comodo AntiSpam In-Reply-To: <008301c7dc70$f12f5f50$0301a8c0@HAL9005> References: <20070811230802.68F2DBC97@smtp-auth.no-ip.com> <008301c7dc70$f12f5f50$0301a8c0@HAL9005> Message-ID: On 8/11/07, Rocky Smolin at Beach Access Software wrote: > And since it's the weekend maybe I can get away with the OT ramble. > Moderators should all be at the beach. Good point. I think we should go over to tech. I'm going to copy Tech on all my relpies now :) Thanks for being such a good Mod Rocky. Wanna join? :) -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" From carbonnb at gmail.com Sat Aug 11 22:05:30 2007 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Sat, 11 Aug 2007 23:05:30 -0400 Subject: [AccessD] OT Friday: Comodo AntiSpam In-Reply-To: <20070812001200.4C228BC63@smtp-auth.no-ip.com> References: <09a701c7dc6f$47c1c3f0$0200a8c0@murphy3234aaf1> <20070812001200.4C228BC63@smtp-auth.no-ip.com> Message-ID: On 8/11/07, jwcolby wrote: > What really needs to happen is to make the clients like Outlook etc be able > to SEND with a specific email address / account, based on the address being > sent to. Default to main but allow setting a specific address to do the > send if desired. You can receive from all email addresses / accounts but > the send is all from the same address / account (the default). I'm sorry to have to say this, but use a better e-mail client. Pegasus Mail allows me to send as different Identities. I can even set it up so that if I am in a folder then replies and new mails are automatically from a specific e-mail address. Here is an example. All of my e-mail to listmaster at databaseadvisors.com gets filtered into a specific folder. When I reply to an e-mail in that folder, it automatically gets sent from my listmaster identity, which includes my e-mail address as listmaster at databaseadvisors.com. My personal bryan at carbonnell.ca account is the default but if I'm in that particular folder, listmaster gets used. And I've got a few other identitis that I use on a regular basis. -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" From carbonnb at gmail.com Sat Aug 11 22:07:11 2007 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Sat, 11 Aug 2007 23:07:11 -0400 Subject: [AccessD] OT Friday: Comodo AntiSpam In-Reply-To: <46BE5506.3030309@mvps.org> References: <0JMM0039TVCSF5NA@l-daemon> <46BE5506.3030309@mvps.org> Message-ID: On 8/11/07, Steve Schapel wrote: > My experience so far (22 hours :-) ) with scrubbing my email by routing > it through Gmail, is a very high number of false positives, i.e. most of > the legitimate email is being spam-dunked by Gmail. That will drop. I get maybe 5-10 false positives a week on a volume of well over 1500 good email. -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" From rockysmolin at bchacc.com Sun Aug 12 00:22:09 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Sat, 11 Aug 2007 22:22:09 -0700 Subject: [AccessD] OT Friday: Comodo AntiSpam In-Reply-To: Message-ID: <009d01c7dca0$bb9b6570$0301a8c0@HAL9005> Me? Mod? Heaven forfend! Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bryan Carbonnell Sent: Saturday, August 11, 2007 8:01 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT Friday: Comodo AntiSpam On 8/11/07, Rocky Smolin at Beach Access Software wrote: > And since it's the weekend maybe I can get away with the OT ramble. > Moderators should all be at the beach. Good point. I think we should go over to tech. I'm going to copy Tech on all my relpies now :) Thanks for being such a good Mod Rocky. Wanna join? :) -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.13/947 - Release Date: 8/11/2007 2:29 PM From gustav at cactus.dk Sun Aug 12 17:01:07 2007 From: gustav at cactus.dk (Gustav Brock) Date: Mon, 13 Aug 2007 00:01:07 +0200 Subject: [AccessD] Svar: Date From Month Name Message-ID: Hi Robert DateValue is good for such purposes: datDate = DateValue(strMonth & "/2") /gustav >>> robert at servicexp.com 11-08-07 18:41 >>> I'm need some help with a date function.. I'm not 100% sure of my requirements but I do know that I need to find the 2nd day of the month of the current year derived solely on the Month name. The month name could be abbreviated or not. WBR Robert From robert at servicexp.com Sun Aug 12 17:45:49 2007 From: robert at servicexp.com (Robert) Date: Sun, 12 Aug 2007 18:45:49 -0400 Subject: [AccessD] Svar: Date From Month Name In-Reply-To: References: Message-ID: <000001c7dd32$887b8c50$0801a8c0@roberts> Thank You Gustav! WBR Robert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Sunday, August 12, 2007 6:01 PM To: accessd at databaseadvisors.com Subject: [AccessD] Svar: Date From Month Name Hi Robert DateValue is good for such purposes: datDate = DateValue(strMonth & "/2") /gustav >>> robert at servicexp.com 11-08-07 18:41 >>> I'm need some help with a date function.. I'm not 100% sure of my requirements but I do know that I need to find the 2nd day of the month of the current year derived solely on the Month name. The month name could be abbreviated or not. WBR Robert -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From robert at servicexp.com Sun Aug 12 17:47:20 2007 From: robert at servicexp.com (Robert) Date: Sun, 12 Aug 2007 18:47:20 -0400 Subject: [AccessD] Word Inside Access Form? In-Reply-To: <009d01c7dca0$bb9b6570$0301a8c0@HAL9005> References: <009d01c7dca0$bb9b6570$0301a8c0@HAL9005> Message-ID: <000101c7dd32$be3cfe00$0801a8c0@roberts> Can this be done.. I'm looking for an internal word processor. WBR Robert From miscellany at mvps.org Sun Aug 12 18:01:13 2007 From: miscellany at mvps.org (Steve Schapel) Date: Mon, 13 Aug 2007 11:01:13 +1200 Subject: [AccessD] Word Inside Access Form? In-Reply-To: <000101c7dd32$be3cfe00$0801a8c0@roberts> References: <009d01c7dca0$bb9b6570$0301a8c0@HAL9005> <000101c7dd32$be3cfe00$0801a8c0@roberts> Message-ID: <46BF9139.3090507@mvps.org> Not sure if it's still available... You used to be able to get alphabet soup. Sorry, couldn't resist. What do you mean by internal? Regards Steve Robert wrote: > > Can this be done.. I'm looking for an internal word processor. From robert at servicexp.com Sun Aug 12 19:24:23 2007 From: robert at servicexp.com (Robert) Date: Sun, 12 Aug 2007 20:24:23 -0400 Subject: [AccessD] Word Inside Access Form? In-Reply-To: <46BF9139.3090507@mvps.org> References: <009d01c7dca0$bb9b6570$0301a8c0@HAL9005><000101c7dd32$be3cfe00$0801a8c0@roberts> <46BF9139.3090507@mvps.org> Message-ID: <000201c7dd40$4d471ce0$0801a8c0@roberts> Steve, Looking for a internal (inside Access / via a form) word/text processor that is seamless as possible. Much like a report writer but for text/documents.. I may have to use a third party control... WBR Robert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Schapel Sent: Sunday, August 12, 2007 7:01 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Word Inside Access Form? Not sure if it's still available... You used to be able to get alphabet soup. Sorry, couldn't resist. What do you mean by internal? Regards Steve Robert wrote: > > Can this be done.. I'm looking for an internal word processor. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From nd500_lo at charter.net Sun Aug 12 21:37:13 2007 From: nd500_lo at charter.net (Dian) Date: Sun, 12 Aug 2007 19:37:13 -0700 Subject: [AccessD] Word Inside Access Form? In-Reply-To: <000201c7dd40$4d471ce0$0801a8c0@roberts> References: <009d01c7dca0$bb9b6570$0301a8c0@HAL9005><000101c7dd32$be3cfe00$0801a8c0@roberts><46BF9139.3090507@mvps.org> <000201c7dd40$4d471ce0$0801a8c0@roberts> Message-ID: <000001c7dd52$db8e6eb0$6400a8c0@dsunit1> You can embed a Word document in an Access database...is that what you want to do? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Robert Sent: Sunday, August 12, 2007 5:24 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Word Inside Access Form? Steve, Looking for a internal (inside Access / via a form) word/text processor that is seamless as possible. Much like a report writer but for text/documents.. I may have to use a third party control... WBR Robert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Schapel Sent: Sunday, August 12, 2007 7:01 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Word Inside Access Form? Not sure if it's still available... You used to be able to get alphabet soup. Sorry, couldn't resist. What do you mean by internal? Regards Steve Robert wrote: > > Can this be done.. I'm looking for an internal word processor. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Sun Aug 12 22:22:26 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Sun, 12 Aug 2007 20:22:26 -0700 Subject: [AccessD] Running front end on server Message-ID: <010001c7dd59$2caa61e0$0301a8c0@HAL9005> Dear List: If you run the front end on a server, do you still need a copy of access on each client? And if not, is it still street legal? Rocky From stuart at lexacorp.com.pg Sun Aug 12 22:39:32 2007 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Mon, 13 Aug 2007 13:39:32 +1000 Subject: [AccessD] Running front end on server In-Reply-To: <010001c7dd59$2caa61e0$0301a8c0@HAL9005> References: <010001c7dd59$2caa61e0$0301a8c0@HAL9005> Message-ID: <46BFD274.29091.F37DBD@stuart.lexacorp.com.pg> On 12 Aug 2007 at 20:22, Rocky Smolin at Beach Access wrote: > > If you run the front end on a server, do you still need a copy of access on > each client? Yes. your FE is not an application (executable file), it's just a collection of objects and code which are called by an application (MSAccess.exe). You still need to run the application on the workstation and MSAccess.exe won't run unless it is installed with all the appropriate registry entries. From jwcolby at colbyconsulting.com Sun Aug 12 22:48:48 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sun, 12 Aug 2007 23:48:48 -0400 Subject: [AccessD] Running front end on server In-Reply-To: <010001c7dd59$2caa61e0$0301a8c0@HAL9005> Message-ID: <20070813034856.0A38EBD4E@smtp-auth.no-ip.com> Rocky, Running the FE on the server is possible of course, but one has to ask what you mean. To truly "run it" on the serve you would need remote desktop or the like. Otherwise the server just serves up pieces of the Fe, downloaded to and run on the workstation. This is pretty much the worst of all worlds for a bunch of reasons. Fes are notable for corrupting when run by several people at the same time. Changes can be made (sometimes) but shouldn't be etc. There is high network usage as forms and reports are downloaded to run on the workstation etc. Downloading the entire FE to the workstation gives each WS its own copy and does away with all of these problems. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Sunday, August 12, 2007 11:22 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Running front end on server Dear List: If you run the front end on a server, do you still need a copy of access on each client? And if not, is it still street legal? Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Sun Aug 12 23:07:25 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Sun, 12 Aug 2007 21:07:25 -0700 Subject: [AccessD] Running front end on server In-Reply-To: <20070813034856.0A38EBD4E@smtp-auth.no-ip.com> Message-ID: <011401c7dd5f$74fe8f60$0301a8c0@HAL9005> I think I've convinced the client that it's a bad idea. This should put the nail in the coffin. Besides, it's easy to make a run-time with the Wise/Sagekey combo and load that on each WS. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Sunday, August 12, 2007 8:49 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Running front end on server Rocky, Running the FE on the server is possible of course, but one has to ask what you mean. To truly "run it" on the serve you would need remote desktop or the like. Otherwise the server just serves up pieces of the Fe, downloaded to and run on the workstation. This is pretty much the worst of all worlds for a bunch of reasons. Fes are notable for corrupting when run by several people at the same time. Changes can be made (sometimes) but shouldn't be etc. There is high network usage as forms and reports are downloaded to run on the workstation etc. Downloading the entire FE to the workstation gives each WS its own copy and does away with all of these problems. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Sunday, August 12, 2007 11:22 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Running front end on server Dear List: If you run the front end on a server, do you still need a copy of access on each client? And if not, is it still street legal? Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.15/949 - Release Date: 8/12/2007 11:03 AM From andy at minstersystems.co.uk Mon Aug 13 02:22:37 2007 From: andy at minstersystems.co.uk (Andy Lacey) Date: Mon, 13 Aug 2007 08:22:37 +0100 Subject: [AccessD] OT Friday: Comodo AntiSpam In-Reply-To: Message-ID: <003f01c7dd7a$b9cf7d00$6d4b0c54@minster33c3r25> OK, mod back from beach (well cricket actually) and it's no longer even close to Friday, so please take any further discussion on this to dba-Tech and (as we always say) if you're not a member of dba-Tech please get signed up as it was established for exactly this sort of thread. Cheers folks -- 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 2007 04:01 > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] OT Friday: Comodo AntiSpam > > > On 8/11/07, Rocky Smolin at Beach Access Software > wrote: > > > And since it's the weekend maybe I can get away with the OT ramble. > > Moderators should all be at the beach. > > Good point. I think we should go over to tech. I'm going to > copy Tech on all my relpies now :) > > Thanks for being such a good Mod Rocky. Wanna join? :) > > -- > Bryan Carbonnell - carbonnb at gmail.com > Life's journey is not to arrive at the grave safely in a well > preserved body, but rather to skid in sideways, totally worn > out, shouting "What a great ride!" > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From Lambert.Heenan at AIG.com Mon Aug 13 08:28:33 2007 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Mon, 13 Aug 2007 08:28:33 -0500 Subject: [AccessD] OT Friday: Comodo AntiSpam Message-ID: <34C8A2AB1EF3564CB0D64DB6AFFDD5C208ED6DF7@XLIVMBX35bkup.aig.com> That's exactly how gMail works. Your reply is automatically from the address the message was sent to in the first place. Mail to different addresses can very easily be labeled as such automatically as they arrive, and it's just a single click to see all mail with a specific label. As for false positives, mentioned by Steve: I guess it just depends! I check my gMail spam folder every few days and I've never yet found a single item in there that I wanted to keep. And the delete button reads "Delete Forever" Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Saturday, August 11, 2007 8:12 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT Friday: Comodo AntiSpam What really needs to happen is to make the clients like Outlook etc be able to SEND with a specific email address / account, based on the address being sent to. Default to main but allow setting a specific address to do the send if desired. You can receive from all email addresses / accounts but the send is all from the same address / account (the default). You should also be able to set up different instances of the email client such that one instance pulls email from this email address / account while another instance pulls from another account. I have a handful of email accounts, jwcolby@, admin@ etc. The way things are they all just pour into the same client and I have to rely on filters to route them to specific sub folders inside of the main folder. This concept of using gmail as a filter is certainly intriguing, but unfortunately all the spam comes in on my jwcolby address which I do not want to expose to eternal archiving. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Murphy Sent: Saturday, August 11, 2007 7:28 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT Friday: Comodo AntiSpam Folks, I'll add my recent experience, i.e., today. I act as webmaster for an organization I belong to;( gratuitous plug www.sdfwa.org ) I have all the email directed to the organization, not specificly to one of the accounts we have set up for officers sent to the webmaster account which is forwarded to my email account. Today some one started sending spam spoofing random names at sdfwa.org as the sender. I started getting all the bounces. I got something like 500 messages in a couple of hours. I just redirected the club email to one of my Gmail accounts and it filtered all the bogus messages as spam. I am impressed. This works way better than any of the spam blocking programs I have tried. FWIW Doug -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert Sent: Friday, August 10, 2007 10:20 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT Friday: Comodo AntiSpam I get my (home) mail from a POP3 server too, and while my ISP does offer some Spam filtering, it's not up to much. *However* I long ago set up my Gmail account to go retrieve my POP3 mail for me. I get to see all my mail in one place, and Gmail's SPAM filter works a treat. If you need to you can also set up your mail client to retrieve your mail from your Gmail inbox via POP and have the best of both worlds. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Friday, August 10, 2007 10:25 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT Friday: Comodo AntiSpam Gustav, As soon as I pick you up on the control panel I "allow" your email so in fact you do not have to respond. Your email as well as every one else on the list that has popped up so far is now coming right through because I manually "allowed" you to. Either way, you respond or I allow, it only has to be done one time and then it works just fine. I have not had time yet to evaluate the full impact, but I am a small company, with a small number of regular correspondents (with the exception of this list). I can appreciate the "challenge / response sucks" mentality but I don't have a mail server under my control. I use the pop server that comes with my web site. This works at the client level and so I am trying it. My apologies for any inconvenience. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, August 10, 2007 10:06 AM To: accessd at databaseadvisors.com Subject: [AccessD] OT Friday: Comodo AntiSpam Hi JC et al JC has sent this out, so now you cannot get to him directly. Aside the good intentions behind doing so, this will cause a lot of trouble, and I don't say too much if I - as a general warning - mention that the consensus between system people is, that as tempting these challenge-response system my seem, they represent a bad idea because the negative impact outweighs the positive. If you or your client run a mail server, I can strongly recommend SpamBunker: http://www.aimconsulting.ch/Spambunker/sbk-strategy.asp which is not free but cheap, and is superior to the common mail filtering systems. Thus, it requires no "learning", no maintenance, it works from the minute it is installed, and it handles massive amount of spam and/or mail even on modest hardware. We operate it here where we went from about 4000 spam mails per day to a handful per week after we had been under a week long attack with constantly 20 connections and more than 16000 connections per day. As a result we now promote this to our clients with serious spam troubles. /gustav --- >>> 10-08-2007 13:58 >>> Hi, it's jwcolby. I finally decided I'd had enough of junk mail, and installed a fantastic application that gets rid of it all. Unfortunately, you are not yet in my trusted senders list!! The only way I'll get your emails is if you follow the steps outlined below: Here's all you have to do: 1. Press Reply 2. In the body of the reply, type in my AntiSpam Passcode contained in the graphical attachment. 3. Press Send When I receive this reply, I will know that it was really you that sent me the email and not a computerized spammer. I will then be able to receive all your mail. This authentication will be done only once. Thank you & have a great day, jwcolby ---------------------------------------------------------------------------- -------------------- You are receiving this messages in response to your email to jwcolby at colbyconsulting.com, a Comodo AntiSpam user. Our Passcode Authentication Technology requires senders to verify themselves before their mail is delivered. You will only need to do this once. Comodo AntiSpam is completely free. Experience a 100% spam free inbox for yourself by visiting www.comodo.com X-Comodo-AntiSpamRFA (jwcolby at 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 rockysmolin at bchacc.com Mon Aug 13 09:24:12 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Mon, 13 Aug 2007 07:24:12 -0700 Subject: [AccessD] test Message-ID: <000d01c7ddb5$9f5e6090$0301a8c0@HAL9005> Just testing From Chester_Kaup at kindermorgan.com Mon Aug 13 10:18:08 2007 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Mon, 13 Aug 2007 10:18:08 -0500 Subject: [AccessD] Delete Query Problem Message-ID: The following delete query asks specify the table you wish to delete records from. It looks the same to me as other delete queries I have created. Unique records is set to yes. DELETE [tbl Scaleup Forecast SU 8-08-2007].PID, [tbl Scaleup Forecast SU 8-08-2007].YearMth, [tbl Scale up Forecast SU 8-08-2007].[ForCO2Inj (HCPV/Yr)], [tbl Scaleup Forecast SU 8-08-2007].[ForWatInj (HCPV/Yr)], [tbl Scaleup Forecast SU 8-08-2007].CO2Days, [tbl Scaleup Forecast SU 8-08-2007].WatDays, [tbl Scaleup Forecast SU 8-08-2007].BOPD, [tbl Scaleup Forecast SU 8-08-2007].MCFCO2PD, [tbl Scaleup Forecast SU 8-08-2007].BWPD, [tbl Scaleup Forecast SU 8-08-2007].MCFHCPD, [tbl Scaleup Forecast SU 8-08-2007].BNGLPD, [tbl Scaleup Forecast SU 8-08-2007].MCFIPD, [tbl Scaleup Forecast SU 8-08-2007].BWIPD, [tbl Scaleup Forecast SU 8-08-2007].AcvtdWELL, [tbl Scaleup Forecast SU 8-08-2007].AcvtdPATT, [tbl Scaleup Forecast SU 8-08-2007].ActWELL, [tbl Scaleup Forecast SU 8-08-2007].ActPATT FROM [tbl Scaleup Forecast SU 8-08-2007] INNER JOIN [tbl Scaleup Recompletions] ON ([tbl Scaleup Forecast SU 8-08-2007].YearMth = [tbl Scaleup Recompletions].YearMth) AND ([tbl Scaleup Forecast SU 8-08-2007].PID = [tbl Scaleup Recompletions].SubPID) WHERE ((([tbl Scaleup Forecast SU 8-08-2007].PID)=[tbl Scaleup Recompletions]![SubPID]) AND (([tbl Scaleup Forecast SU 8-08-2007].YearMth)=[tbl Scaleup Recompletions]![YearMth])); Chester Kaup Engineering Technician Kinder Morgan CO2 Company, LLP Office (432) 688-3797 FAX (432) 688-3799 No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. From Chester_Kaup at kindermorgan.com Mon Aug 13 11:26:43 2007 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Mon, 13 Aug 2007 11:26:43 -0500 Subject: [AccessD] Delete Query Problem In-Reply-To: References: Message-ID: I solved the problem by using an asterisk (*) rather than the individual field names. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Monday, August 13, 2007 10:18 AM To: Access Developers discussion and problem solving Subject: [AccessD] Delete Query Problem The following delete query asks specify the table you wish to delete records from. It looks the same to me as other delete queries I have created. Unique records is set to yes. DELETE [tbl Scaleup Forecast SU 8-08-2007].PID, [tbl Scaleup Forecast SU 8-08-2007].YearMth, [tbl Scale up Forecast SU 8-08-2007].[ForCO2Inj (HCPV/Yr)], [tbl Scaleup Forecast SU 8-08-2007].[ForWatInj (HCPV/Yr)], [tbl Scaleup Forecast SU 8-08-2007].CO2Days, [tbl Scaleup Forecast SU 8-08-2007].WatDays, [tbl Scaleup Forecast SU 8-08-2007].BOPD, [tbl Scaleup Forecast SU 8-08-2007].MCFCO2PD, [tbl Scaleup Forecast SU 8-08-2007].BWPD, [tbl Scaleup Forecast SU 8-08-2007].MCFHCPD, [tbl Scaleup Forecast SU 8-08-2007].BNGLPD, [tbl Scaleup Forecast SU 8-08-2007].MCFIPD, [tbl Scaleup Forecast SU 8-08-2007].BWIPD, [tbl Scaleup Forecast SU 8-08-2007].AcvtdWELL, [tbl Scaleup Forecast SU 8-08-2007].AcvtdPATT, [tbl Scaleup Forecast SU 8-08-2007].ActWELL, [tbl Scaleup Forecast SU 8-08-2007].ActPATT FROM [tbl Scaleup Forecast SU 8-08-2007] INNER JOIN [tbl Scaleup Recompletions] ON ([tbl Scaleup Forecast SU 8-08-2007].YearMth = [tbl Scaleup Recompletions].YearMth) AND ([tbl Scaleup Forecast SU 8-08-2007].PID = [tbl Scaleup Recompletions].SubPID) WHERE ((([tbl Scaleup Forecast SU 8-08-2007].PID)=[tbl Scaleup Recompletions]![SubPID]) AND (([tbl Scaleup Forecast SU 8-08-2007].YearMth)=[tbl Scaleup Recompletions]![YearMth])); Chester Kaup Engineering Technician Kinder Morgan CO2 Company, LLP Office (432) 688-3797 FAX (432) 688-3799 No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Patricia.O'Connor at otda.state.ny.us Mon Aug 13 11:50:11 2007 From: Patricia.O'Connor at otda.state.ny.us (O'Connor, Patricia (OTDA)) Date: Mon, 13 Aug 2007 12:50:11 -0400 Subject: [AccessD] Long Time Format difference A97, A2k, A2k3 In-Reply-To: <703BDA18A87DFA4CB265A86F42E4178D0262511B@c2k3exchange.pgdp.corp.usec.com> References: <703BDA18A87DFA4CB265A86F42E4178D0262511B@c2k3exchange.pgdp.corp.usec.com> Message-ID: <01DBAB52E30A9A4AB3D94EF8029EDBE8021BAF61@EXCNYSM0A1AI.nysemail.nyenet> I am converting old A97 systems to A2k3. I have to go through A2k first. There is a section in my code where I take a flat file with a date and time in separate columns, I convert both and then combine them. For the time conversion I have been using "LONG TIME" I works fine for almost 9 years in A97. When I test it in A2k I get error 13 type mismatch with the time conversion. I checked it through the immediate window and see that A2k adds an extra colon : at the end of the number. I double checked the A97 and it comes out correctly. So I also checked A2k3 and it also adds the extra colon : If I use the "hh:nn:ss am/pm" then it does not add the extra colon. Has anyone else run into this problem? Does anyone know why M$ changed how this works? Thanks in advance Patti ------------------------------------------- Access 2k ?format(now(),"long Time") 12:50:35: PM ?format("14:57:44","long time") 02:57:44: PM ?format("10:57:44","long time") 10:57:44: AM ?format("11:57:44","hh:nn:ss am/pm") 11:57:44 am ?format("15:57:44","hh:nn:ss am/pm") 03:57:44 pm -------------------------------------------- Access 97 ?format(now(),"long Time") 12:49:54 PM ?format("15:57:44","long time") 03:57:44 PM ?format("11:57:44","long time") 11:57:44 AM ?format("11:57:44","hh:nn:ss am/pm") 11:57:44 am ?format("15:57:44","hh:nn:ss am/pm") 03:57:44 pm ----------------------------------------- Access 2003 ?format(now(),"long Time") 12:49:16: PM ?format("11:57:44","long time") 11:57:44: AM ?format("15:57:44","long time") 03:57:44: PM ?format("15:57:44","hh:nn:ss am/pm") 03:57:44 pm ?format("11:57:44","hh:nn:ss am/pm") 11:57:44 am Thanks ************************************************** * Patricia O'Connor * Associate Computer Programmer Analyst * OTDA - BDMA * (W) mailto:Patricia.O'Connor at otda.state.ny.us * (w) mailto:aa1160 at nysemail.state.ny.us ************************************************** -------------------------------------------------------- This e-mail, including any attachments, may be confidential, privileged or otherwise legally protected. It is intended only for the addressee. If you received this e-mail in error or from someone who was not authorized to send it to you, do not disseminate, copy or otherwise use this e-mail or its attachments. Please notify the sender immediately by reply e-mail and delete the e-mail from your system. From ewaldt at gdls.com Mon Aug 13 10:17:40 2007 From: ewaldt at gdls.com (ewaldt at gdls.com) Date: Mon, 13 Aug 2007 11:17:40 -0400 Subject: [AccessD] Highlighting a record in a form In-Reply-To: Message-ID: I'd prefer to do this in datasheet view, but I can use continuous form with the fields shown horizontally. Is there a way to simply tell Access to highlight the 5th record? Not every fifth record (although that would be okay, since there are only 8); just the fifth. The data comes from a table I create via a make table query, so I can control exactly what goes where. I need records 5 & 8 highlighted n the form. That's all. Seems easy, but I can't seem to get it. Feel free to make me feel even more stupid by suggesting an easy solution. TIA. Thomas F. Ewald Stryker Mass Properties General Dynamics Land Systems This is an e-mail from General Dynamics Land Systems. It is for the intended recipient only and may contain confidential and privileged information. No one else may read, print, store, copy, forward or act in reliance on it or its attachments. If you are not the intended recipient, please return this message to the sender and delete the message and any attachments from your computer. Your cooperation is appreciated. From ssharkins at gmail.com Mon Aug 13 15:07:37 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Mon, 13 Aug 2007 16:07:37 -0400 Subject: [AccessD] Enterprise Data Storage Message-ID: <00ce01c7dde5$9c76a920$048e01c7@SusanOne> Thought I'd ask again -- anyone have good/expert experience with SANS or NAS? Susan H. From ssharkins at gmail.com Mon Aug 13 15:22:19 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Mon, 13 Aug 2007 16:22:19 -0400 Subject: [AccessD] Highlighting a record in a form In-Reply-To: References: Message-ID: <01b401c7dde7$a717fee0$048e01c7@SusanOne> I'd prefer to do this in datasheet view, but I can use continuous form with the fields shown horizontally. Is there a way to simply tell Access to highlight the 5th record? Not every fifth record (although that would be okay, since there are only 8); just the fifth. The data comes from a table I create via a make table query, so I can control exactly what goes where. I need records 5 & 8 highlighted n the form. That's all. Seems easy, but I can't seem to get it. Feel free to make me feel even more stupid by suggesting an easy solution. =====Define "highlight" for us. Does it matter? Susan H. From dwaters at usinternet.com Mon Aug 13 15:34:27 2007 From: dwaters at usinternet.com (Dan Waters) Date: Mon, 13 Aug 2007 15:34:27 -0500 Subject: [AccessD] Highlighting a record in a form In-Reply-To: References: Message-ID: <006201c7dde9$584761a0$0200a8c0@danwaters> Hi Thomas, How about using Conditional Formatting? For each control in your continuous form, set conditional formatting to change the background color if say, [RecordID] = 5 Or [RecordID] = 8. You could also have different colors for row 5 and for row 8. HTH! Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of ewaldt at gdls.com Sent: Monday, August 13, 2007 10:18 AM To: accessd at databaseadvisors.com Subject: [AccessD] Highlighting a record in a form I'd prefer to do this in datasheet view, but I can use continuous form with the fields shown horizontally. Is there a way to simply tell Access to highlight the 5th record? Not every fifth record (although that would be okay, since there are only 8); just the fifth. The data comes from a table I create via a make table query, so I can control exactly what goes where. I need records 5 & 8 highlighted n the form. That's all. Seems easy, but I can't seem to get it. Feel free to make me feel even more stupid by suggesting an easy solution. TIA. Thomas F. Ewald Stryker Mass Properties General Dynamics Land Systems This is an e-mail from General Dynamics Land Systems. It is for the intended recipient only and may contain confidential and privileged information. No one else may read, print, store, copy, forward or act in reliance on it or its attachments. If you are not the intended recipient, please return this message to the sender and delete the message and any attachments from your computer. Your cooperation is appreciated. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Mon Aug 13 15:40:21 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Mon, 13 Aug 2007 13:40:21 -0700 Subject: [AccessD] Highlighting a record in a form In-Reply-To: Message-ID: <006501c7ddea$2b5142a0$0301a8c0@HAL9005> Can you add a sequence number to the table you make with the query and use conditional formatting in the form to change the background color of the bound text boxes if the sequence number = 5 or the sequence number = 8? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of ewaldt at gdls.com Sent: Monday, August 13, 2007 8:18 AM To: accessd at databaseadvisors.com Subject: [AccessD] Highlighting a record in a form I'd prefer to do this in datasheet view, but I can use continuous form with the fields shown horizontally. Is there a way to simply tell Access to highlight the 5th record? Not every fifth record (although that would be okay, since there are only 8); just the fifth. The data comes from a table I create via a make table query, so I can control exactly what goes where. I need records 5 & 8 highlighted n the form. That's all. Seems easy, but I can't seem to get it. Feel free to make me feel even more stupid by suggesting an easy solution. TIA. Thomas F. Ewald Stryker Mass Properties General Dynamics Land Systems This is an e-mail from General Dynamics Land Systems. It is for the intended recipient only and may contain confidential and privileged information. No one else may read, print, store, copy, forward or act in reliance on it or its attachments. If you are not the intended recipient, please return this message to the sender and delete the message and any attachments from your computer. Your cooperation is appreciated. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.15/949 - Release Date: 8/12/2007 11:03 AM From galeper at gmail.com Mon Aug 13 16:27:19 2007 From: galeper at gmail.com (Gale Perez) Date: Mon, 13 Aug 2007 14:27:19 -0700 Subject: [AccessD] Update Query: Remove Hyphens in Phone Number In-Reply-To: References: <5b2621db0708091519y499aa9adncaa66d26e67ce421@mail.gmail.com> Message-ID: <5b2621db0708131427v3ed203eeo3986dc29b80a7880@mail.gmail.com> Thank you, Charlotte (boy, do I feel foolish ... happens a lot these days)! Gale On 8/9/07, Charlotte Foust wrote: > > Just use the replace function to replace any instance of "-" with "". > > Charlotte Foust > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gale Perez > Sent: Thursday, August 09, 2007 3:20 PM > To: accessd at databaseadvisors.com > Subject: [AccessD] Update Query: Remove Hyphens in Phone Number > > Hi! > > I'm creating a new phone number field with a phone number input mask, to > replace a text field with actual hyphens in the numbers. Has anyone > done an update query which copy the digits only from the old field to > the new field (or which would just strip them and leave the digits in > the current field)? > > Thank you, > Gale > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 13 17:08:18 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 13 Aug 2007 15:08:18 -0700 Subject: [AccessD] Update Query: Remove Hyphens in Phone Number In-Reply-To: <5b2621db0708131427v3ed203eeo3986dc29b80a7880@mail.gmail.com> References: <5b2621db0708091519y499aa9adncaa66d26e67ce421@mail.gmail.com> <5b2621db0708131427v3ed203eeo3986dc29b80a7880@mail.gmail.com> Message-ID: LOL Welcome to the club! I've been feeling foolish for years! Charlotte -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gale Perez Sent: Monday, August 13, 2007 2:27 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Update Query: Remove Hyphens in Phone Number Thank you, Charlotte (boy, do I feel foolish ... happens a lot these days)! Gale On 8/9/07, Charlotte Foust wrote: > > Just use the replace function to replace any instance of "-" with "". > > Charlotte Foust > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gale Perez > Sent: Thursday, August 09, 2007 3:20 PM > To: accessd at databaseadvisors.com > Subject: [AccessD] Update Query: Remove Hyphens in Phone Number > > Hi! > > I'm creating a new phone number field with a phone number input mask, > to replace a text field with actual hyphens in the numbers. Has > anyone done an update query which copy the digits only from the old > field to the new field (or which would just strip them and leave the > digits in the current field)? > > Thank you, > Gale > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Mon Aug 13 18:22:59 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 13 Aug 2007 19:22:59 -0400 Subject: [AccessD] OT Friday: Comodo AntiSpam In-Reply-To: <34C8A2AB1EF3564CB0D64DB6AFFDD5C208ED6DF7@XLIVMBX35bkup.aig.com> Message-ID: <20070813232300.40D70BD9A@smtp-auth.no-ip.com> Lambert, >And the delete button reads "Delete Forever" Yea, I did a light Google and it seems that deleted email is indeed deleted. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert Sent: Monday, August 13, 2007 9:29 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT Friday: Comodo AntiSpam That's exactly how gMail works. Your reply is automatically from the address the message was sent to in the first place. Mail to different addresses can very easily be labeled as such automatically as they arrive, and it's just a single click to see all mail with a specific label. As for false positives, mentioned by Steve: I guess it just depends! I check my gMail spam folder every few days and I've never yet found a single item in there that I wanted to keep. And the delete button reads "Delete Forever" Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Saturday, August 11, 2007 8:12 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT Friday: Comodo AntiSpam What really needs to happen is to make the clients like Outlook etc be able to SEND with a specific email address / account, based on the address being sent to. Default to main but allow setting a specific address to do the send if desired. You can receive from all email addresses / accounts but the send is all from the same address / account (the default). You should also be able to set up different instances of the email client such that one instance pulls email from this email address / account while another instance pulls from another account. I have a handful of email accounts, jwcolby@, admin@ etc. The way things are they all just pour into the same client and I have to rely on filters to route them to specific sub folders inside of the main folder. This concept of using gmail as a filter is certainly intriguing, but unfortunately all the spam comes in on my jwcolby address which I do not want to expose to eternal archiving. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Murphy Sent: Saturday, August 11, 2007 7:28 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT Friday: Comodo AntiSpam Folks, I'll add my recent experience, i.e., today. I act as webmaster for an organization I belong to;( gratuitous plug www.sdfwa.org ) I have all the email directed to the organization, not specificly to one of the accounts we have set up for officers sent to the webmaster account which is forwarded to my email account. Today some one started sending spam spoofing random names at sdfwa.org as the sender. I started getting all the bounces. I got something like 500 messages in a couple of hours. I just redirected the club email to one of my Gmail accounts and it filtered all the bogus messages as spam. I am impressed. This works way better than any of the spam blocking programs I have tried. FWIW Doug -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert Sent: Friday, August 10, 2007 10:20 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT Friday: Comodo AntiSpam I get my (home) mail from a POP3 server too, and while my ISP does offer some Spam filtering, it's not up to much. *However* I long ago set up my Gmail account to go retrieve my POP3 mail for me. I get to see all my mail in one place, and Gmail's SPAM filter works a treat. If you need to you can also set up your mail client to retrieve your mail from your Gmail inbox via POP and have the best of both worlds. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Friday, August 10, 2007 10:25 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT Friday: Comodo AntiSpam Gustav, As soon as I pick you up on the control panel I "allow" your email so in fact you do not have to respond. Your email as well as every one else on the list that has popped up so far is now coming right through because I manually "allowed" you to. Either way, you respond or I allow, it only has to be done one time and then it works just fine. I have not had time yet to evaluate the full impact, but I am a small company, with a small number of regular correspondents (with the exception of this list). I can appreciate the "challenge / response sucks" mentality but I don't have a mail server under my control. I use the pop server that comes with my web site. This works at the client level and so I am trying it. My apologies for any inconvenience. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, August 10, 2007 10:06 AM To: accessd at databaseadvisors.com Subject: [AccessD] OT Friday: Comodo AntiSpam Hi JC et al JC has sent this out, so now you cannot get to him directly. Aside the good intentions behind doing so, this will cause a lot of trouble, and I don't say too much if I - as a general warning - mention that the consensus between system people is, that as tempting these challenge-response system my seem, they represent a bad idea because the negative impact outweighs the positive. If you or your client run a mail server, I can strongly recommend SpamBunker: http://www.aimconsulting.ch/Spambunker/sbk-strategy.asp which is not free but cheap, and is superior to the common mail filtering systems. Thus, it requires no "learning", no maintenance, it works from the minute it is installed, and it handles massive amount of spam and/or mail even on modest hardware. We operate it here where we went from about 4000 spam mails per day to a handful per week after we had been under a week long attack with constantly 20 connections and more than 16000 connections per day. As a result we now promote this to our clients with serious spam troubles. /gustav --- >>> 10-08-2007 13:58 >>> Hi, it's jwcolby. I finally decided I'd had enough of junk mail, and installed a fantastic application that gets rid of it all. Unfortunately, you are not yet in my trusted senders list!! The only way I'll get your emails is if you follow the steps outlined below: Here's all you have to do: 1. Press Reply 2. In the body of the reply, type in my AntiSpam Passcode contained in the graphical attachment. 3. Press Send When I receive this reply, I will know that it was really you that sent me the email and not a computerized spammer. I will then be able to receive all your mail. This authentication will be done only once. Thank you & have a great day, jwcolby ---------------------------------------------------------------------------- -------------------- You are receiving this messages in response to your email to jwcolby at colbyconsulting.com, a Comodo AntiSpam user. Our Passcode Authentication Technology requires senders to verify themselves before their mail is delivered. You will only need to do this once. Comodo AntiSpam is completely free. Experience a 100% spam free inbox for yourself by visiting www.comodo.com X-Comodo-AntiSpamRFA (jwcolby at colbyconsulting.com) -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From miscellany at mvps.org Mon Aug 13 21:13:16 2007 From: miscellany at mvps.org (Steve Schapel) Date: Tue, 14 Aug 2007 14:13:16 +1200 Subject: [AccessD] OT Friday: Comodo AntiSpam In-Reply-To: <34C8A2AB1EF3564CB0D64DB6AFFDD5C208ED6DF7@XLIVMBX35bkup.aig.com> References: <34C8A2AB1EF3564CB0D64DB6AFFDD5C208ED6DF7@XLIVMBX35bkup.aig.com> Message-ID: <46C10FBC.9050202@mvps.org> Thanks, Lambert. Just out of interest, I changed my setup from my main mail server forwarding the mail to Gmail, to getting Gmail to POP the mail from the other server. I don't know whether it is just circumstantial, but the false positives are no longer happening. Regards Steve Heenan, Lambert wrote: > As for false positives, mentioned by Steve: I guess it just depends! I > check my gMail spam folder every few days and I've never yet found a single > item in there that I wanted to keep. From newsgrps at dalyn.co.nz Mon Aug 13 21:38:36 2007 From: newsgrps at dalyn.co.nz (David Emerson) Date: Tue, 14 Aug 2007 14:38:36 +1200 Subject: [AccessD] Setting Combobox to Last Item Message-ID: <20070814023803.WITO26291.fep03.xtra.co.nz@Dalyn.dalyn.co.nz> I want to open a form and set a combo box to the last item in the list (the list is based on a table so the last item isn't static). On the Form open event I have: intFinModelCount = (basRunDataObject("SELECT FinModelID FROM dbo.tblFinModel", adCmdText).RecordCount) - 1 If intFinModelCount > 0 Then Me!cboFinModelDate = [Forms]![frmFinModel]![cboFinModelDate].[ItemData](intFinModelCount) 'Error here End If The error I get is 450 - Wrong number of arguments or invalid property assignment. Any pointers on where I might be wrong? Regards David Emerson Dalyn Software Ltd Wellington, New Zealand From stuart at lexacorp.com.pg Mon Aug 13 23:56:40 2007 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue, 14 Aug 2007 14:56:40 +1000 Subject: [AccessD] Long Time Format difference A97, A2k, A2k3 In-Reply-To: <01DBAB52E30A9A4AB3D94EF8029EDBE8021BAF61@EXCNYSM0A1AI.nysemail.nyenet> References: <703BDA18A87DFA4CB265A86F42E4178D0262511B@c2k3exchange.pgdp.corp.usec.com>, <01DBAB52E30A9A4AB3D94EF8029EDBE8021BAF61@EXCNYSM0A1AI.nysemail.nyenet> Message-ID: <46C13608.18211.66077CD@stuart.lexacorp.com.pg> Are you testing these on different machines? Sounds like the A97 is on one machine and the A2K, A2K3 are on a different one. "Long Time" etc formats are not specific to Access, they are determined by the Regional Settings in Windows. On 13 Aug 2007 at 12:50, O'Connor, Patricia (OTDA) wrote: > I am converting old A97 systems to A2k3. I have to go through A2k first. > > There is a section in my code where I take a flat file with a date and > time in separate columns, I convert both and then combine them. For the > time conversion I have been using "LONG TIME" I works fine for almost 9 > years in A97. When I test it in A2k I get error 13 type mismatch with > the time conversion. > > I checked it through the immediate window and see that A2k adds an extra > colon : at the end of the number. I double checked the A97 and it comes > out correctly. So I also checked A2k3 and it also adds the extra colon > : > > If I use the "hh:nn:ss am/pm" then it does not add the extra colon. > > Has anyone else run into this problem? Does anyone know why M$ changed > how this works? > > Thanks in advance > Patti > > ------------------------------------------- > Access 2k > > ?format(now(),"long Time") > 12:50:35: PM > ?format("14:57:44","long time") > 02:57:44: PM > ?format("10:57:44","long time") > 10:57:44: AM > ?format("11:57:44","hh:nn:ss am/pm") > 11:57:44 am > ?format("15:57:44","hh:nn:ss am/pm") > 03:57:44 pm > -------------------------------------------- > Access 97 > > ?format(now(),"long Time") > 12:49:54 PM > ?format("15:57:44","long time") > 03:57:44 PM > ?format("11:57:44","long time") > 11:57:44 AM > ?format("11:57:44","hh:nn:ss am/pm") > 11:57:44 am > ?format("15:57:44","hh:nn:ss am/pm") > 03:57:44 pm > ----------------------------------------- > Access 2003 > > ?format(now(),"long Time") > 12:49:16: PM > ?format("11:57:44","long time") > 11:57:44: AM > ?format("15:57:44","long time") > 03:57:44: PM > ?format("15:57:44","hh:nn:ss am/pm") > 03:57:44 pm > ?format("11:57:44","hh:nn:ss am/pm") > 11:57:44 am > > > Thanks > ************************************************** > * Patricia O'Connor > * Associate Computer Programmer Analyst > * OTDA - BDMA > * (W) mailto:Patricia.O'Connor at otda.state.ny.us > * (w) mailto:aa1160 at nysemail.state.ny.us > ************************************************** > -------------------------------------------------------- > This e-mail, including any attachments, may be confidential, privileged or otherwise legally protected. It is intended only for the addressee. If you received this e-mail in error or from someone who was not authorized to send it to you, do not disseminate, copy or otherwise use this e-mail or its attachments. Please notify the sender immediately by reply e-mail and delete the e-mail from your system. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From andy at minstersystems.co.uk Tue Aug 14 01:25:25 2007 From: andy at minstersystems.co.uk (Andy Lacey) Date: Tue, 14 Aug 2007 07:25:25 +0100 Subject: [AccessD] OT Friday: Comodo AntiSpam - NO MORE In-Reply-To: <46C10FBC.9050202@mvps.org> Message-ID: <00a001c7de3b$e68d38c0$6d4b0c54@minster33c3r25> Hey guys, I asked nicely 24 hours ago that you take any further on this to dba-Tech. Please do so. -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Steve Schapel > Sent: 14 August 2007 03:13 > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] OT Friday: Comodo AntiSpam > > > Thanks, Lambert. Just out of interest, I changed my setup > from my main > mail server forwarding the mail to Gmail, to getting Gmail to POP the > mail from the other server. I don't know whether it is just > circumstantial, but the false positives are no longer happening. > > Regards > Steve > > > Heenan, Lambert wrote: > > As for false positives, mentioned by Steve: I guess it just > depends! > > I check my gMail spam folder every few days and I've never > yet found a > > single item in there that I wanted to keep. > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From carbonnb at gmail.com Tue Aug 14 07:28:22 2007 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Tue, 14 Aug 2007 08:28:22 -0400 Subject: [AccessD] OT Friday: Comodo AntiSpam In-Reply-To: <46C10FBC.9050202@mvps.org> References: <34C8A2AB1EF3564CB0D64DB6AFFDD5C208ED6DF7@XLIVMBX35bkup.aig.com> <46C10FBC.9050202@mvps.org> Message-ID: On 8/13/07, Steve Schapel wrote: > Thanks, Lambert. Just out of interest, I changed my setup from my main > mail server forwarding the mail to Gmail, to getting Gmail to POP the > mail from the other server. I don't know whether it is just > circumstantial, but the false positives are no longer happening. It's probably the forwards that were causing the false positives. It was probably a combination of factors, not the least of which was the forwarding and the envelope not matching the headers. -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" From fuller.artful at gmail.com Tue Aug 14 09:16:42 2007 From: fuller.artful at gmail.com (Arthur Fuller) Date: Tue, 14 Aug 2007 10:16:42 -0400 Subject: [AccessD] Excel Vlookup() question Message-ID: <29f585dd0708140716w734a682ao24468ecb8754901e@mail.gmail.com> I'm working on an Excel file created by someone else and I have to change it to do new things, including talk to a new lookup file rather than the old one. The following formula works: "VLOOKUP(A7,'s:\Lgroup\Fundacct\Excel\MKT&SHS\DAILY\2007\Jun 07\[062907.xls ]R136NAVSUM'!$E$10:$I$250,4,FALSE)" but when I change it to "=VLOOKUP(A7,'G:\Fundacct\Excel\2007\June 2007\[Pricing 062907.xls ]TMLC'!$B$1:$H$250,4,FALSE)" I get the N/A error. So I tried the second formula in the debug window (with a question mark and no equals) and I get "Compile error. Expected expression." In the above, R136NAVSUM and TMLC are named worksheets. I think I understand the arguments Vlookup wants (target, table_range, relative column, nearest), so I must be doing something wrong, but I patterned mine on the first one, and it works. The workbook referred to in the second formula is definitely there; in fact I have it open right now as I work on this problem. What am I doing wrong? TIA, Arthur From Patricia.O'Connor at otda.state.ny.us Tue Aug 14 09:19:16 2007 From: Patricia.O'Connor at otda.state.ny.us (O'Connor, Patricia (OTDA)) Date: Tue, 14 Aug 2007 10:19:16 -0400 Subject: [AccessD] Long Time Format difference A97, A2k, A2k3 In-Reply-To: <46C13608.18211.66077CD@stuart.lexacorp.com.pg> References: <703BDA18A87DFA4CB265A86F42E4178D0262511B@c2k3exchange.pgdp.corp.usec.com>, <01DBAB52E30A9A4AB3D94EF8029EDBE8021BAF61@EXCNYSM0A1AI.nysemail.nyenet> <46C13608.18211.66077CD@stuart.lexacorp.com.pg> Message-ID: <01DBAB52E30A9A4AB3D94EF8029EDBE8021BAF63@EXCNYSM0A1AI.nysemail.nyenet> No same machine but I did find the problem. The computer's regional setting for long time was hh:nn:ss: tt instead of hh:nn:ss tt Why it didn't affect A97 but did A2k and A2k3 I don't know. Corrected the machine and it seems to work fine. Though I still changed all my vb and vba code to use the hh:nn:ss AMPM instead of general date and long time. I now have to check that our other computers do not have same mistype in the regional settings. Thanks Patti ************************************************** * Patricia O'Connor * Associate Computer Programmer Analyst * OTDA - BDMA * (W) mailto:Patricia.O'Connor at otda.state.ny.us * (w) mailto:aa1160 at nysemail.state.ny.us ************************************************** > -------------------------------------------------------- This e-mail, including any attachments, may be confidential, privileged or otherwise legally protected. It is intended only for the addressee. If you received this e-mail in error or from someone who was not authorized to send it to you, do not disseminate, copy or otherwise use this e-mail or its attachments. Please notify the sender immediately by reply e-mail and delete the e-mail from your system. -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Stuart McLachlan > Sent: Tuesday, August 14, 2007 12:57 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Long Time Format difference A97, A2k, A2k3 > > Are you testing these on different machines? Sounds like the > A97 is on one machine and the A2K, A2K3 are on a different one. > > "Long Time" etc formats are not specific to Access, they are > determined by the Regional Settings in Windows. > > On 13 Aug 2007 at 12:50, O'Connor, Patricia (OTDA) wrote: > > > I am converting old A97 systems to A2k3. I have to go > through A2k first. > > > > There is a section in my code where I take a flat file with > a date and > > time in separate columns, I convert both and then combine them. For > > the time conversion I have been using "LONG TIME" I works fine for > > almost 9 years in A97. When I test it in A2k I get error 13 type > > mismatch with the time conversion. > > > > I checked it through the immediate window and see that A2k adds an > > extra colon : at the end of the number. I double checked > the A97 and > > it comes out correctly. So I also checked A2k3 and it also > adds the > > extra colon > > : > > > > If I use the "hh:nn:ss am/pm" then it does not add the > extra colon. > > > > Has anyone else run into this problem? Does anyone know why > M$ changed > > how this works? > > > > Thanks in advance > > Patti > > > > ------------------------------------------- > > Access 2k > > > > ?format(now(),"long Time") > > 12:50:35: PM > > ?format("14:57:44","long time") > > 02:57:44: PM > > ?format("10:57:44","long time") > > 10:57:44: AM > > ?format("11:57:44","hh:nn:ss am/pm") > > 11:57:44 am > > ?format("15:57:44","hh:nn:ss am/pm") > > 03:57:44 pm > > -------------------------------------------- > > Access 97 > > > > ?format(now(),"long Time") > > 12:49:54 PM > > ?format("15:57:44","long time") > > 03:57:44 PM > > ?format("11:57:44","long time") > > 11:57:44 AM > > ?format("11:57:44","hh:nn:ss am/pm") > > 11:57:44 am > > ?format("15:57:44","hh:nn:ss am/pm") > > 03:57:44 pm > > ----------------------------------------- > > Access 2003 > > > > ?format(now(),"long Time") > > 12:49:16: PM > > ?format("11:57:44","long time") > > 11:57:44: AM > > ?format("15:57:44","long time") > > 03:57:44: PM > > ?format("15:57:44","hh:nn:ss am/pm") > > 03:57:44 pm > > ?format("11:57:44","hh:nn:ss am/pm") > > 11:57:44 am > > > > > > Thanks > > ************************************************** > > * Patricia O'Connor > > * Associate Computer Programmer Analyst > > * OTDA - BDMA > > * (W) mailto:Patricia.O'Connor at otda.state.ny.us > > * (w) mailto:aa1160 at nysemail.state.ny.us > > ************************************************** > > -------------------------------------------------------- > > This e-mail, including any attachments, may be > confidential, privileged or otherwise legally protected. It > is intended only for the addressee. If you received this > e-mail in error or from someone who was not authorized to > send it to you, do not disseminate, copy or otherwise use > this e-mail or its attachments. Please notify the sender > immediately by reply e-mail and delete the e-mail from your system. > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From markamatte at hotmail.com Tue Aug 14 10:08:09 2007 From: markamatte at hotmail.com (Mark A Matte) Date: Tue, 14 Aug 2007 15:08:09 +0000 Subject: [AccessD] SQL Speed In-Reply-To: Message-ID: Hello All, I haven't received any responses after the email below. I am specifically curious about the realistic time to run 10K sql statements (see below). Access vs. SQL server? Any feedback is greatly appreciated. Thanks, Mark A. Matte >From: "Mark A Matte" >Reply-To: Access Developers discussion and problem >solving >To: accessd at databaseadvisors.com >Subject: Re: [AccessD] SQL Speed >Date: Thu, 09 Aug 2007 17:27:51 +0000 > >Thanks to All for your responses...(everything discussed below is currently >in A2K) > >I'm at the beginning of this and appreciate any ideas...This program has >been running 24/7 for the last 3 years...but only runs 1 SQL statement. It >runs the statement, loops through the results and concatenates the results, >and then emails the results (for these tests we are going to forget about >the email part and just store the results in a separate table). > >Last night I put a loop on this and ran it 10K times. It took just under 2 >minutes. To make it more realistic, (the 10k SQL statements will all be >different, but very similar) I removed the SQL from the code and placed it >in a memo field in another table (tblSQL). Next, I modified the code so >now >it first pulls all records form tblSQL (I added 10k rows...but all the same >SQL statement)...then for each of these records...it does the stuff I >outlined above. > >Again, it ran in just under 2 minutes. I need this to be as fast as >possible, and I don't know what a realistic time is. I apparently can do >10K in less than 2 minutes, but is this good, bad, average? > >Any thoughts/ideas? > >Thanks, > >Mark A. Matte > > > >From: Jim Lawrence > >Reply-To: Access Developers discussion and problem > >solving > >To: "'Access Developers discussion and problem > >solving'" > >Subject: Re: [AccessD] SQL Speed > >Date: Wed, 08 Aug 2007 22:15:43 -0700 > > > >Well, you have probably already thought of this, but any queries that can > >run on the SQL server as pre-compiled stored procedures will give >superior > >performance. > > > >Jim > > > >-----Original Message----- > >From: accessd-bounces at databaseadvisors.com > >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte > >Sent: Wednesday, August 08, 2007 1:57 PM > >To: accessd at databaseadvisors.com > >Subject: [AccessD] SQL Speed > > > >Hello All, > > > >I am involved in a project that will be web based. The database will > >either > > > >be access or SQL Server. > > > >The question is: I need to run a bunch (maybe 10K) of SQL statements > >againts a single table...or flat file, whatever is best, containing about > >4K > > > >rows. The results of each will be appended to a second table, or emailed > >instantly (ahh...idea...good place for a JC style Class). The SQL > >statements themselves will be stored in a table. > > > >Does anyone have any ideas/suggestions about approach? I will need ALL >of > >the SQLs to run in less than 5 minutes. I know 1 runs in a fraction of a > >second...I just don't know what that fraction is to calculate time >needed. > > > >Being there are so few rows involved...but so many SQL statements...and > >speed is an issue...will there be a signicant advantage using SQL Server >or > >Access? > > > >I'm thinking of having the SQLs in a table and looping through and > >executing > > > >each...I just don't know if this is the best approach? > > > >Thanks, > > > >Mark A. Matte > > > >_________________________________________________________________ > >Booking a flight? Know when to buy with airfare predictions on MSN >Travel. > >http://travel.msn.com/Articles/aboutfarecast.aspx&ocid=T001MSN25A07001 > > > >-- > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > > > >-- > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > >_________________________________________________________________ >Tease your brain--play Clink! Win cool prizes! >http://club.live.com/clink.aspx?icid=clink_hotmailtextlink2 > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ A new home for Mom, no cleanup required. All starts here. http://www.reallivemoms.com?ocid=TXT_TAGHM&loc=us From cfoust at infostatsystems.com Tue Aug 14 10:13:23 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 14 Aug 2007 08:13:23 -0700 Subject: [AccessD] Long Time Format difference A97, A2k, A2k3 In-Reply-To: <01DBAB52E30A9A4AB3D94EF8029EDBE8021BAF63@EXCNYSM0A1AI.nysemail.nyenet> References: <703BDA18A87DFA4CB265A86F42E4178D0262511B@c2k3exchange.pgdp.corp.usec.com>, <01DBAB52E30A9A4AB3D94EF8029EDBE8021BAF61@EXCNYSM0A1AI.nysemail.nyenet><46C13608.18211.66077CD@stuart.lexacorp.com.pg> <01DBAB52E30A9A4AB3D94EF8029EDBE8021BAF63@EXCNYSM0A1AI.nysemail.nyenet> Message-ID: I don't think 97 cared about anything past seconds. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of O'Connor, Patricia (OTDA) Sent: Tuesday, August 14, 2007 7:19 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Long Time Format difference A97, A2k, A2k3 No same machine but I did find the problem. The computer's regional setting for long time was hh:nn:ss: tt instead of hh:nn:ss tt Why it didn't affect A97 but did A2k and A2k3 I don't know. Corrected the machine and it seems to work fine. Though I still changed all my vb and vba code to use the hh:nn:ss AMPM instead of general date and long time. I now have to check that our other computers do not have same mistype in the regional settings. Thanks Patti ************************************************** * Patricia O'Connor * Associate Computer Programmer Analyst * OTDA - BDMA * (W) mailto:Patricia.O'Connor at otda.state.ny.us * (w) mailto:aa1160 at nysemail.state.ny.us ************************************************** > -------------------------------------------------------- This e-mail, including any attachments, may be confidential, privileged or otherwise legally protected. It is intended only for the addressee. If you received this e-mail in error or from someone who was not authorized to send it to you, do not disseminate, copy or otherwise use this e-mail or its attachments. Please notify the sender immediately by reply e-mail and delete the e-mail from your system. -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart > McLachlan > Sent: Tuesday, August 14, 2007 12:57 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Long Time Format difference A97, A2k, A2k3 > > Are you testing these on different machines? Sounds like the > A97 is on one machine and the A2K, A2K3 are on a different one. > > "Long Time" etc formats are not specific to Access, they are > determined by the Regional Settings in Windows. > > On 13 Aug 2007 at 12:50, O'Connor, Patricia (OTDA) wrote: > > > I am converting old A97 systems to A2k3. I have to go > through A2k first. > > > > There is a section in my code where I take a flat file with > a date and > > time in separate columns, I convert both and then combine them. For > > the time conversion I have been using "LONG TIME" I works fine for > > almost 9 years in A97. When I test it in A2k I get error 13 type > > mismatch with the time conversion. > > > > I checked it through the immediate window and see that A2k adds an > > extra colon : at the end of the number. I double checked > the A97 and > > it comes out correctly. So I also checked A2k3 and it also > adds the > > extra colon > > : > > > > If I use the "hh:nn:ss am/pm" then it does not add the > extra colon. > > > > Has anyone else run into this problem? Does anyone know why > M$ changed > > how this works? > > > > Thanks in advance > > Patti > > > > ------------------------------------------- > > Access 2k > > > > ?format(now(),"long Time") > > 12:50:35: PM > > ?format("14:57:44","long time") > > 02:57:44: PM > > ?format("10:57:44","long time") > > 10:57:44: AM > > ?format("11:57:44","hh:nn:ss am/pm") > > 11:57:44 am > > ?format("15:57:44","hh:nn:ss am/pm") > > 03:57:44 pm > > -------------------------------------------- > > Access 97 > > > > ?format(now(),"long Time") > > 12:49:54 PM > > ?format("15:57:44","long time") > > 03:57:44 PM > > ?format("11:57:44","long time") > > 11:57:44 AM > > ?format("11:57:44","hh:nn:ss am/pm") > > 11:57:44 am > > ?format("15:57:44","hh:nn:ss am/pm") > > 03:57:44 pm > > ----------------------------------------- > > Access 2003 > > > > ?format(now(),"long Time") > > 12:49:16: PM > > ?format("11:57:44","long time") > > 11:57:44: AM > > ?format("15:57:44","long time") > > 03:57:44: PM > > ?format("15:57:44","hh:nn:ss am/pm") > > 03:57:44 pm > > ?format("11:57:44","hh:nn:ss am/pm") > > 11:57:44 am > > > > > > Thanks > > ************************************************** > > * Patricia O'Connor > > * Associate Computer Programmer Analyst > > * OTDA - BDMA > > * (W) mailto:Patricia.O'Connor at otda.state.ny.us > > * (w) mailto:aa1160 at nysemail.state.ny.us > > ************************************************** > > -------------------------------------------------------- > > This e-mail, including any attachments, may be > confidential, privileged or otherwise legally protected. It is > intended only for the addressee. If you received this e-mail in error > or from someone who was not authorized to send it to you, do not > disseminate, copy or otherwise use this e-mail or its attachments. > Please notify the sender immediately by reply e-mail and delete the > e-mail from your system. > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Tue Aug 14 10:28:26 2007 From: accessd at shaw.ca (Jim Lawrence) Date: Tue, 14 Aug 2007 08:28:26 -0700 Subject: [AccessD] Excel Vlookup() question In-Reply-To: <29f585dd0708140716w734a682ao24468ecb8754901e@mail.gmail.com> Message-ID: <0JMR00J9VS3NKQ30@l-daemon> Hi Arthur: Not testing anything and assuming that files are correct, receiving spreadsheet is correct the only difference between the 2 lines is one has a "=VLOOKUP(... one is proceeded an '=' or calculate sign "VLOOKUP(... and the other is not HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Tuesday, August 14, 2007 7:17 AM To: Access Developers discussion and problem solving Subject: [AccessD] Excel Vlookup() question I'm working on an Excel file created by someone else and I have to change it to do new things, including talk to a new lookup file rather than the old one. The following formula works: "VLOOKUP(A7,'s:\Lgroup\Fundacct\Excel\MKT&SHS\DAILY\2007\Jun 07\[062907.xls ]R136NAVSUM'!$E$10:$I$250,4,FALSE)" but when I change it to "=VLOOKUP(A7,'G:\Fundacct\Excel\2007\June 2007\[Pricing 062907.xls ]TMLC'!$B$1:$H$250,4,FALSE)" I get the N/A error. So I tried the second formula in the debug window (with a question mark and no equals) and I get "Compile error. Expected expression." In the above, R136NAVSUM and TMLC are named worksheets. I think I understand the arguments Vlookup wants (target, table_range, relative column, nearest), so I must be doing something wrong, but I patterned mine on the first one, and it works. The workbook referred to in the second formula is definitely there; in fact I have it open right now as I work on this problem. What am I doing wrong? TIA, Arthur -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From fuller.artful at gmail.com Tue Aug 14 10:43:34 2007 From: fuller.artful at gmail.com (Arthur Fuller) Date: Tue, 14 Aug 2007 11:43:34 -0400 Subject: [AccessD] Excel Vlookup() question In-Reply-To: <0JMR00J9VS3NKQ30@l-daemon> References: <29f585dd0708140716w734a682ao24468ecb8754901e@mail.gmail.com> <0JMR00J9VS3NKQ30@l-daemon> Message-ID: <29f585dd0708140843r7ef07430v719a0842789bc77b@mail.gmail.com> Thanks for looking at this, Jim. That was just a typo on my part. In fact, I don't think I expressed my problem accurately. When I use the second formula directly in a worksheet, it works fine, but I cannot make it work in a module and that's what I need to do. Something along the lines of Dim x x = VLOOKUP( $A6, "path_and_filename", relative_column, false) Maybe it's first argument that's the problem from VBA's viewpoint. Maybe I need to thoroughly specify the cell? I'll try that. Also I have another problem. In the workbook containing the code, I have 3 columns for Class A, B and C. In the lookup workbook, these classes, if they exist, will be represented as rows. So having found the company number with Vlookup, I then need to walk the rows and examine the adjacent column to see what class the item is. If it's A, I write the value to retrieve into the Class A column. If it's B, into the Class B column, etc. Too bad Vlookup can't handle a compound argument :(. But anyway, I can just do a loop until the company number changes, since the table is sorted by company number. Thanks, Arthur On 8/14/07, Jim Lawrence wrote: > > Hi Arthur: > > Not testing anything and assuming that files are correct, receiving > spreadsheet is correct the only difference between the 2 lines is one has > a > "=VLOOKUP(... one is proceeded an '=' or calculate sign > "VLOOKUP(... and the other is not > > HTH > Jim > From markamatte at hotmail.com Tue Aug 14 10:44:12 2007 From: markamatte at hotmail.com (Mark A Matte) Date: Tue, 14 Aug 2007 15:44:12 +0000 Subject: [AccessD] Setting Combobox to Last Item In-Reply-To: <20070814023803.WITO26291.fep03.xtra.co.nz@Dalyn.dalyn.co.nz> Message-ID: I would check to see what value intFinModelCount is returning, or what type...integer or text?...because (assuming we're talking about 1 form)... Me!cboFinModelDate = Me!cboFinModelDate.ItemData(intFinModelCount) should work. Good Luck, Mark A. Matte >From: David Emerson >Reply-To: Access Developers discussion and problem >solving >To: accessd at databaseadvisors.com >Subject: [AccessD] Setting Combobox to Last Item >Date: Tue, 14 Aug 2007 14:38:36 +1200 > >I want to open a form and set a combo box to the last item in the >list (the list is based on a table so the last item isn't static). > >On the Form open event I have: > > intFinModelCount = (basRunDataObject("SELECT FinModelID FROM >dbo.tblFinModel", adCmdText).RecordCount) - 1 > If intFinModelCount > 0 Then > Me!cboFinModelDate = >[Forms]![frmFinModel]![cboFinModelDate].[ItemData](intFinModelCount) >'Error here > End If > >The error I get is 450 - Wrong number of arguments or invalid >property assignment. > >Any pointers on where I might be wrong? > >Regards > >David Emerson >Dalyn Software Ltd >Wellington, New Zealand > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Booking a flight? Know when to buy with airfare predictions on MSN Travel. http://travel.msn.com/Articles/aboutfarecast.aspx&ocid=T001MSN25A07001 From Gustav at cactus.dk Tue Aug 14 10:45:15 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 14 Aug 2007 17:45:15 +0200 Subject: [AccessD] Long Time Format difference A97, A2k, A2k3 Message-ID: Hi Charlotte Neither does A2003 - on the surface. Or to be more precise: No more and no less than any other version of Access including A97. /gustav >>> cfoust at infostatsystems.com 14-08-2007 17:13 >>> I don't think 97 cared about anything past seconds. Charlotte Foust From Gustav at cactus.dk Tue Aug 14 10:48:14 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 14 Aug 2007 17:48:14 +0200 Subject: [AccessD] Excel Vlookup() question Message-ID: Hi Arthur If so, in your code, wrap your filename in single quotes; you have a space inside the name. /gustav >>> fuller.artful at gmail.com 14-08-2007 17:43 >>> Thanks for looking at this, Jim. That was just a typo on my part. In fact, I don't think I expressed my problem accurately. When I use the second formula directly in a worksheet, it works fine, but I cannot make it work in a module and that's what I need to do. Something along the lines of Dim x x = VLOOKUP( $A6, "path_and_filename", relative_column, false) From fuller.artful at gmail.com Tue Aug 14 10:59:49 2007 From: fuller.artful at gmail.com (Arthur Fuller) Date: Tue, 14 Aug 2007 11:59:49 -0400 Subject: [AccessD] Excel Vlookup() question In-Reply-To: References: Message-ID: <29f585dd0708140859o5bb487aua0406e436fb357d6@mail.gmail.com> Ok, I will do that. Just out of curiosity, why single quotes rather than double? If there were no space, would I still need the quotes? Also, Do I need to do anything special with the specific cell reference that is argument 1? Thanks, Gustav. Arthur On 8/14/07, Gustav Brock wrote: > > Hi Arthur > > If so, in your code, wrap your filename in single quotes; you have a space > inside the name. > > /gustav > > >>> fuller.artful at gmail.com 14-08-2007 17:43 >>> > Thanks for looking at this, Jim. That was just a typo on my part. In fact, > I > don't think I expressed my problem accurately. When I use the second > formula > directly in a worksheet, it works fine, but I cannot make it work in a > module and that's what I need to do. Something along the lines of > > Dim x > x = VLOOKUP( $A6, "path_and_filename", relative_column, false) > > > > -- > 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 14 11:08:18 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 14 Aug 2007 18:08:18 +0200 Subject: [AccessD] Excel Vlookup() question Message-ID: Hi Arthur You can use double quotes as well but as they are "inside" a set of outer double quotes, you would need to double the inside double quotes. I've always found that a bit confusing. I don't think you need to do anything more but I'm no Excel guru. /gustav >>> fuller.artful at gmail.com 14-08-2007 17:59 >>> Ok, I will do that. Just out of curiosity, why single quotes rather than double? If there were no space, would I still need the quotes? Also, Do I need to do anything special with the specific cell reference that is argument 1? Thanks, Gustav. Arthur On 8/14/07, Gustav Brock wrote: > > Hi Arthur > > If so, in your code, wrap your filename in single quotes; you have a space > inside the name. > > /gustav > > >>> fuller.artful at gmail.com 14-08-2007 17:43 >>> > Thanks for looking at this, Jim. That was just a typo on my part. In fact, > I > don't think I expressed my problem accurately. When I use the second > formula > directly in a worksheet, it works fine, but I cannot make it work in a > module and that's what I need to do. Something along the lines of > > Dim x > x = VLOOKUP( $A6, "path_and_filename", relative_column, false) From cfoust at infostatsystems.com Tue Aug 14 11:10:12 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 14 Aug 2007 09:10:12 -0700 Subject: [AccessD] Long Time Format difference A97, A2k, A2k3 In-Reply-To: References: Message-ID: True, but SQL Server cares and someone may have been trying to force date/time compatibility between the two. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Tuesday, August 14, 2007 8:45 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Long Time Format difference A97, A2k, A2k3 Hi Charlotte Neither does A2003 - on the surface. Or to be more precise: No more and no less than any other version of Access including A97. /gustav >>> cfoust at infostatsystems.com 14-08-2007 17:13 >>> I don't think 97 cared about anything past seconds. Charlotte Foust -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ewaldt at gdls.com Tue Aug 14 11:10:51 2007 From: ewaldt at gdls.com (ewaldt at gdls.com) Date: Tue, 14 Aug 2007 12:10:51 -0400 Subject: [AccessD] Highlighting a record in a form In-Reply-To: Message-ID: Susan: Just BOLD would be fine. Lines 5 and 8 are actually totals, although the form will just see them as additional data lines. In Excel, the user made them bold to stand out as totals. Thomas F. Ewald Stryker Mass Properties General Dynamics Land Systems Date: Mon, 13 Aug 2007 16:22:19 -0400 From: "Susan Harkins" Subject: Re: [AccessD] Highlighting a record in a form I'd prefer to do this in datasheet view, but I can use continuous form with the fields shown horizontally. Is there a way to simply tell Access to highlight the 5th record? Not every fifth record (although that would be okay, since there are only 8); just the fifth. The data comes from a table I create via a make table query, so I can control exactly what goes where. I need records 5 & 8 highlighted n the form. That's all. Seems easy, but I can't seem to get it. Feel free to make me feel even more stupid by suggesting an easy solution. =====Define "highlight" for us. Does it matter? Susan H. This is an e-mail from General Dynamics Land Systems. It is for the intended recipient only and may contain confidential and privileged information. No one else may read, print, store, copy, forward or act in reliance on it or its attachments. If you are not the intended recipient, please return this message to the sender and delete the message and any attachments from your computer. Your cooperation is appreciated. From Gustav at cactus.dk Tue Aug 14 11:25:38 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 14 Aug 2007 18:25:38 +0200 Subject: [AccessD] Long Time Format difference A97, A2k, A2k3 Message-ID: Hi Charlotte I doubt that. If so, the trailing colon would probably have been a dot. I think a typo has been done in the regional settings. /gustav >>> cfoust at infostatsystems.com 14-08-2007 18:10 >>> True, but SQL Server cares and someone may have been trying to force date/time compatibility between the two. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Tuesday, August 14, 2007 8:45 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Long Time Format difference A97, A2k, A2k3 Hi Charlotte Neither does A2003 - on the surface. Or to be more precise: No more and no less than any other version of Access including A97. /gustav >>> cfoust at infostatsystems.com 14-08-2007 17:13 >>> I don't think 97 cared about anything past seconds. Charlotte Foust From Jim.Hale at FleetPride.com Tue Aug 14 11:45:50 2007 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Tue, 14 Aug 2007 11:45:50 -0500 Subject: [AccessD] Excel Vlookup() question In-Reply-To: <29f585dd0708140843r7ef07430v719a0842789bc77b@mail.gmail.com> References: <29f585dd0708140716w734a682ao24468ecb8754901e@mail.gmail.com><0J MR00J9VS3NKQ30@l-daemon> <29f585dd0708140843r7ef07430v719a0842789bc77b@mail.gmail.com> Message-ID: Try WorksheetFunction.VLOOKUP($A6, "path_and_filename", relative_column, false) HTH Jim Hale -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Tuesday, August 14, 2007 10:44 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Excel Vlookup() question Thanks for looking at this, Jim. That was just a typo on my part. In fact, I don't think I expressed my problem accurately. When I use the second formula directly in a worksheet, it works fine, but I cannot make it work in a module and that's what I need to do. Something along the lines of Dim x x = VLOOKUP( $A6, "path_and_filename", relative_column, false) Maybe it's first argument that's the problem from VBA's viewpoint. Maybe I need to thoroughly specify the cell? I'll try that. Also I have another problem. In the workbook containing the code, I have 3 columns for Class A, B and C. In the lookup workbook, these classes, if they exist, will be represented as rows. So having found the company number with Vlookup, I then need to walk the rows and examine the adjacent column to see what class the item is. If it's A, I write the value to retrieve into the Class A column. If it's B, into the Class B column, etc. Too bad Vlookup can't handle a compound argument :(. But anyway, I can just do a loop until the company number changes, since the table is sorted by company number. Thanks, Arthur On 8/14/07, Jim Lawrence wrote: > > Hi Arthur: > > Not testing anything and assuming that files are correct, receiving > spreadsheet is correct the only difference between the 2 lines is one has > a > "=VLOOKUP(... one is proceeded an '=' or calculate sign > "VLOOKUP(... and the other is not > > HTH > Jim > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From markamatte at hotmail.com Tue Aug 14 12:00:53 2007 From: markamatte at hotmail.com (Mark A Matte) Date: Tue, 14 Aug 2007 17:00:53 +0000 Subject: [AccessD] OT: Pics from JC Conference In-Reply-To: Message-ID: Still just curious if the pics from the JC Smokey Mnt conference are on the site somewhere? Thanks, Mark A. Matte >From: "Mark A Matte" >Reply-To: Access Developers discussion and problem >solving >To: accessd at databaseadvisors.com >Subject: Re: [AccessD] OT: Pics from JC Conference >Date: Wed, 08 Aug 2007 15:01:51 +0000 > >Yes...to Jim I believe. > > > >From: "jwcolby" > >Reply-To: Access Developers discussion and problem > >solving > >To: "'Access Developers discussion and problem > >solving'" > >Subject: Re: [AccessD] OT: Pics from JC Conference > >Date: Tue, 7 Aug 2007 17:20:30 -0400 > > > >Did any pics get sent to dba? > > > > > >John W. Colby > >Colby Consulting > >www.ColbyConsulting.com > >-----Original Message----- > >From: accessd-bounces at databaseadvisors.com > >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte > >Sent: Tuesday, August 07, 2007 4:52 PM > >To: accessd at databaseadvisors.com > >Subject: [AccessD] OT: Pics from JC Conference > > > >Just curious if the pics from the latest conference are on the site > >somewhere? > > > >Thanks, > > > >Mark A. Matte > > > >_________________________________________________________________ > >Messenger Cafi  open for fun 24/7. Hot games, cool activities served > >daily. > > > >Visit now. http://cafemessenger.com?ocid=TXT_TAGHM_AugHMtagline > > > > > > > >-- > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > >_________________________________________________________________ >Tease your brain--play Clink! Win cool prizes! >http://club.live.com/clink.aspx?icid=clink_hotmailtextlink2 > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Learn.Laugh.Share. Reallivemoms is right place! http://www.reallivemoms.com?ocid=TXT_TAGHM&loc=us From Chester_Kaup at kindermorgan.com Tue Aug 14 13:54:01 2007 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Tue, 14 Aug 2007 13:54:01 -0500 Subject: [AccessD] Status Bar Text Message-ID: I know on a form status bar text can exist. Is there anything like that for a print preview. I would like to display a message somewhere on the screen that does not print. Chester Kaup Engineering Technician Kinder Morgan CO2 Company, LLP Office (432) 688-3797 FAX (432) 688-3799 No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. From ewaldt at gdls.com Tue Aug 14 13:42:29 2007 From: ewaldt at gdls.com (ewaldt at gdls.com) Date: Tue, 14 Aug 2007 14:42:29 -0400 Subject: [AccessD] Highlighting a record in a form In-Reply-To: Message-ID: I got it! Thanks, everyone, for your help. In the unlikely event that someone is as DUH as I am, I'll explain it below. Many were suggesting conditional formatting, but I could not see how to make it apply to an entire row. It's actually very simple. With the form in design view, select all of the appropriate fields and choose Format / Conditional Formatting from the menubar. On the left, choose "Expression is". On the right, type in the controlling expression, such as [ID] = 5. Since you've selected all fields, they will all be governed by this one expression. Sorry for being so dense, people. I hadn't used this functionality in Access before, so I was trying to figure it out in VBA. Let's hear it for trying to reinvent the wheel. Thanks, again, for your help. Thomas F. Ewald Stryker Mass Properties General Dynamics Land Systems I'd prefer to do this in datasheet view, but I can use continuous form with the fields shown horizontally. Is there a way to simply tell Access to highlight the 5th record? Not every fifth record (although that would be okay, since there are only 8); just the fifth. The data comes from a table I create via a make table query, so I can control exactly what goes where. I need records 5 & 8 highlighted n the form. That's all. Seems easy, but I can't seem to get it. Feel free to make me feel even more stupid by suggesting an easy solution. This is an e-mail from General Dynamics Land Systems. It is for the intended recipient only and may contain confidential and privileged information. No one else may read, print, store, copy, forward or act in reliance on it or its attachments. If you are not the intended recipient, please return this message to the sender and delete the message and any attachments from your computer. Your cooperation is appreciated. From dwaters at usinternet.com Tue Aug 14 14:24:40 2007 From: dwaters at usinternet.com (Dan Waters) Date: Tue, 14 Aug 2007 14:24:40 -0500 Subject: [AccessD] Highlighting a record in a form In-Reply-To: References: Message-ID: <003f01c7dea8$c3443e50$0200a8c0@danwaters> Thomas, Good to hear it's working! I like conditional formatting a lot. Works in reports too. (i.e. Priority = A or Status = Late (in red)) Actually, there is code to set and change conditional formatting at runtime, but it looks a little weird to me so I haven't tried it. Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of ewaldt at gdls.com Sent: Tuesday, August 14, 2007 1:42 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Highlighting a record in a form I got it! Thanks, everyone, for your help. In the unlikely event that someone is as DUH as I am, I'll explain it below. Many were suggesting conditional formatting, but I could not see how to make it apply to an entire row. It's actually very simple. With the form in design view, select all of the appropriate fields and choose Format / Conditional Formatting from the menubar. On the left, choose "Expression is". On the right, type in the controlling expression, such as [ID] = 5. Since you've selected all fields, they will all be governed by this one expression. Sorry for being so dense, people. I hadn't used this functionality in Access before, so I was trying to figure it out in VBA. Let's hear it for trying to reinvent the wheel. Thanks, again, for your help. Thomas F. Ewald Stryker Mass Properties General Dynamics Land Systems I'd prefer to do this in datasheet view, but I can use continuous form with the fields shown horizontally. Is there a way to simply tell Access to highlight the 5th record? Not every fifth record (although that would be okay, since there are only 8); just the fifth. The data comes from a table I create via a make table query, so I can control exactly what goes where. I need records 5 & 8 highlighted n the form. That's all. Seems easy, but I can't seem to get it. Feel free to make me feel even more stupid by suggesting an easy solution. This is an e-mail from General Dynamics Land Systems. It is for the intended recipient only and may contain confidential and privileged information. No one else may read, print, store, copy, forward or act in reliance on it or its attachments. If you are not the intended recipient, please return this message to the sender and delete the message and any attachments from your computer. Your cooperation is appreciated. -- 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 14 14:50:19 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 14 Aug 2007 12:50:19 -0700 Subject: [AccessD] Status Bar Text In-Reply-To: References: Message-ID: Explain what you're trying to do, please. A print preview is a formatted preview of the printed report. You would not normally see anything there that wasn't going to print. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Tuesday, August 14, 2007 11:54 AM To: Access Developers discussion and problem solving Subject: [AccessD] Status Bar Text I know on a form status bar text can exist. Is there anything like that for a print preview. I would like to display a message somewhere on the screen that does not print. Chester Kaup Engineering Technician Kinder Morgan CO2 Company, LLP Office (432) 688-3797 FAX (432) 688-3799 No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From miscellany at mvps.org Tue Aug 14 14:59:20 2007 From: miscellany at mvps.org (Steve Schapel) Date: Wed, 15 Aug 2007 07:59:20 +1200 Subject: [AccessD] Highlighting a record in a form In-Reply-To: References: Message-ID: <46C20998.3060900@mvps.org> Thomas, An alternative approach is to make a textbox, perhaps bound to your ID field, and size it to the full height and width of the Detail section of the form. Then, all the other data controls, you set the Back Style property to Transparent, and then they are laying over the top of the ID. Then you just apply the Conditional Formatting to the ID control, to change its ForeColor and BackColor, and it will give the impression of the whole row being highlighted. Regards Steve ewaldt at gdls.com wrote: > I got it! Thanks, everyone, for your help. In the unlikely event that > someone is as DUH as I am, I'll explain it below. > > Many were suggesting conditional formatting, but I could not see how to > make it apply to an entire row. It's actually very simple. With the form > in design view, select all of the appropriate fields and choose Format / > Conditional Formatting from the menubar. On the left, choose "Expression > is". On the right, type in the controlling expression, such as [ID] = 5. > Since you've selected all fields, they will all be governed by this one > expression. > > Sorry for being so dense, people. I hadn't used this functionality in > Access before, so I was trying to figure it out in VBA. Let's hear it for > trying to reinvent the wheel. From Chester_Kaup at kindermorgan.com Tue Aug 14 15:01:44 2007 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Tue, 14 Aug 2007 15:01:44 -0500 Subject: [AccessD] Status Bar Text In-Reply-To: References: Message-ID: The engineer that wanted this database thinks there out to be a back button or some text to explain to the user how to exit the print preview. Apparently file close is a difficult concept. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, August 14, 2007 2:50 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Status Bar Text Explain what you're trying to do, please. A print preview is a formatted preview of the printed report. You would not normally see anything there that wasn't going to print. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Tuesday, August 14, 2007 11:54 AM To: Access Developers discussion and problem solving Subject: [AccessD] Status Bar Text I know on a form status bar text can exist. Is there anything like that for a print preview. I would like to display a message somewhere on the screen that does not print. Chester Kaup Engineering Technician Kinder Morgan CO2 Company, LLP Office (432) 688-3797 FAX (432) 688-3799 No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at gmail.com Tue Aug 14 15:04:59 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Tue, 14 Aug 2007 16:04:59 -0400 Subject: [AccessD] Status Bar Text In-Reply-To: References: Message-ID: <00b801c7deae$65cba870$048e01c7@SusanOne> Perhaps you could add a text control to the toolbar . I add command buttons that let me change the report's sort order on the fly. Don't know why you couldn't use a text control to display a message, but it would be on the toolbar and not at the bottom of the screen where status text usually appears. Susan H. Explain what you're trying to do, please. A print preview is a formatted preview of the printed report. You would not normally see anything there that wasn't going to print. Charlotte Foust I know on a form status bar text can exist. Is there anything like that for a print preview. I would like to display a message somewhere on the screen that does not print. Chester Kaup Engineering Technician Kinder Morgan CO2 Company, LLP Office (432) 688-3797 FAX (432) 688-3799 No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com Internal Virus Database is out-of-date. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.10.20/919 - Release Date: 2007/07/26 09:56 AM From ssharkins at gmail.com Tue Aug 14 15:10:16 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Tue, 14 Aug 2007 16:10:16 -0400 Subject: [AccessD] Status Bar Text In-Reply-To: References: Message-ID: <00b901c7deaf$22c9ebd0$048e01c7@SusanOne> Just add a new button to the toolbar. That's what I would do. Susan H. The engineer that wanted this database thinks there out to be a back button or some text to explain to the user how to exit the print preview. Apparently file close is a difficult concept. From markamatte at hotmail.com Tue Aug 14 15:16:29 2007 From: markamatte at hotmail.com (Mark A Matte) Date: Tue, 14 Aug 2007 20:16:29 +0000 Subject: [AccessD] Status Bar Text In-Reply-To: <00b801c7deae$65cba870$048e01c7@SusanOne> Message-ID: ok...this might be way outside the box...but how about open a form when the report opens : popup=YES and modal=NO...have this form open and move to whatever location on the screen you want. and have it close when the report closes...you could actually put the print button on this form with whatever directions/text you want. Hope it helps, Mark A. Matte >From: "Susan Harkins" >Reply-To: Access Developers discussion and problem >solving >To: "'Access Developers discussion and problem >solving'" >Subject: Re: [AccessD] Status Bar Text >Date: Tue, 14 Aug 2007 16:04:59 -0400 > >Perhaps you could add a text control to the toolbar . I add command buttons >that let me change the report's sort order on the fly. Don't know why you >couldn't use a text control to display a message, but it would be on the >toolbar and not at the bottom of the screen where status text usually >appears. > >Susan H. > >Explain what you're trying to do, please. A print preview is a formatted >preview of the printed report. You would not normally see anything there >that wasn't going to print. > >Charlotte Foust > >I know on a form status bar text can exist. Is there anything like that for >a print preview. I would like to display a message somewhere on the screen >that does not print. > > > >Chester Kaup > >Engineering Technician > >Kinder Morgan CO2 Company, LLP > >Office (432) 688-3797 > >FAX (432) 688-3799 > > > > > >No trees were killed in the sending of this message. However a large number >of electrons were terribly inconvenienced. > > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > >Internal Virus Database is out-of-date. >Checked by AVG Free Edition. >Version: 7.5.476 / Virus Database: 269.10.20/919 - Release Date: 2007/07/26 >09:56 AM > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Tease your brain--play Clink! Win cool prizes! http://club.live.com/clink.aspx?icid=clink_hotmailtextlink2 From cfoust at infostatsystems.com Tue Aug 14 15:33:34 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 14 Aug 2007 13:33:34 -0700 Subject: [AccessD] Status Bar Text In-Reply-To: References: <00b801c7deae$65cba870$048e01c7@SusanOne> Message-ID: It would probably be more straightforward to simply create a floating toolbar for the purpose. I always used to build custom toolbars that I loaded in the Open event of the report if it was in preview. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Tuesday, August 14, 2007 1:16 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Status Bar Text ok...this might be way outside the box...but how about open a form when the report opens : popup=YES and modal=NO...have this form open and move to whatever location on the screen you want. and have it close when the report closes...you could actually put the print button on this form with whatever directions/text you want. Hope it helps, Mark A. Matte >From: "Susan Harkins" >Reply-To: Access Developers discussion and problem >solving >To: "'Access Developers discussion and problem >solving'" >Subject: Re: [AccessD] Status Bar Text >Date: Tue, 14 Aug 2007 16:04:59 -0400 > >Perhaps you could add a text control to the toolbar . I add command >buttons that let me change the report's sort order on the fly. Don't >know why you couldn't use a text control to display a message, but it >would be on the toolbar and not at the bottom of the screen where >status text usually appears. > >Susan H. > >Explain what you're trying to do, please. A print preview is a >formatted preview of the printed report. You would not normally see >anything there that wasn't going to print. > >Charlotte Foust > >I know on a form status bar text can exist. Is there anything like that >for a print preview. I would like to display a message somewhere on the >screen that does not print. > > > >Chester Kaup > >Engineering Technician > >Kinder Morgan CO2 Company, LLP > >Office (432) 688-3797 > >FAX (432) 688-3799 > > > > > >No trees were killed in the sending of this message. However a large >number of electrons were terribly inconvenienced. > > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > >Internal Virus Database is out-of-date. >Checked by AVG Free Edition. >Version: 7.5.476 / Virus Database: 269.10.20/919 - Release Date: >2007/07/26 >09:56 AM > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Tease your brain--play Clink! Win cool prizes! http://club.live.com/clink.aspx?icid=clink_hotmailtextlink2 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Chester_Kaup at kindermorgan.com Tue Aug 14 16:03:12 2007 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Tue, 14 Aug 2007 16:03:12 -0500 Subject: [AccessD] Status Bar Text In-Reply-To: References: <00b801c7deae$65cba870$048e01c7@SusanOne> Message-ID: Sounds like a good plan to me however I don't know how to create a floating toolbar. Time for my tutorial. Thanks all. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, August 14, 2007 3:34 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Status Bar Text It would probably be more straightforward to simply create a floating toolbar for the purpose. I always used to build custom toolbars that I loaded in the Open event of the report if it was in preview. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Tuesday, August 14, 2007 1:16 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Status Bar Text ok...this might be way outside the box...but how about open a form when the report opens : popup=YES and modal=NO...have this form open and move to whatever location on the screen you want. and have it close when the report closes...you could actually put the print button on this form with whatever directions/text you want. Hope it helps, Mark A. Matte >From: "Susan Harkins" >Reply-To: Access Developers discussion and problem >solving >To: "'Access Developers discussion and problem >solving'" >Subject: Re: [AccessD] Status Bar Text >Date: Tue, 14 Aug 2007 16:04:59 -0400 > >Perhaps you could add a text control to the toolbar . I add command >buttons that let me change the report's sort order on the fly. Don't >know why you couldn't use a text control to display a message, but it >would be on the toolbar and not at the bottom of the screen where >status text usually appears. > >Susan H. > >Explain what you're trying to do, please. A print preview is a >formatted preview of the printed report. You would not normally see >anything there that wasn't going to print. > >Charlotte Foust > >I know on a form status bar text can exist. Is there anything like that >for a print preview. I would like to display a message somewhere on the >screen that does not print. > > > >Chester Kaup > >Engineering Technician > >Kinder Morgan CO2 Company, LLP > >Office (432) 688-3797 > >FAX (432) 688-3799 > > > > > >No trees were killed in the sending of this message. However a large >number of electrons were terribly inconvenienced. > > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > >Internal Virus Database is out-of-date. >Checked by AVG Free Edition. >Version: 7.5.476 / Virus Database: 269.10.20/919 - Release Date: >2007/07/26 >09:56 AM > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Tease your brain--play Clink! Win cool prizes! http://club.live.com/clink.aspx?icid=clink_hotmailtextlink2 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Tue Aug 14 16:21:22 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Tue, 14 Aug 2007 14:21:22 -0700 Subject: [AccessD] Status Bar Text In-Reply-To: Message-ID: <009001c7deb9$106096b0$0301a8c0@HAL9005> I sue a custom tool bar for reports. It only has the magnifying glass, the box with the percent magnification and a command button labeled "CLOSE". So users have three ways to get out of a report preview - close button, X in the upper right, and the ESC key. However, you're working with engineers so there's probably not a simple enough solution. I suppose you could [put a close button on a custom toolbar with a long caption like "Click this button to close the report." Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Tuesday, August 14, 2007 1:02 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Status Bar Text The engineer that wanted this database thinks there out to be a back button or some text to explain to the user how to exit the print preview. Apparently file close is a difficult concept. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, August 14, 2007 2:50 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Status Bar Text Explain what you're trying to do, please. A print preview is a formatted preview of the printed report. You would not normally see anything there that wasn't going to print. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Tuesday, August 14, 2007 11:54 AM To: Access Developers discussion and problem solving Subject: [AccessD] Status Bar Text I know on a form status bar text can exist. Is there anything like that for a print preview. I would like to display a message somewhere on the screen that does not print. Chester Kaup Engineering Technician Kinder Morgan CO2 Company, LLP Office (432) 688-3797 FAX (432) 688-3799 No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.17/951 - Release Date: 8/13/2007 10:15 AM From cfoust at infostatsystems.com Tue Aug 14 16:26:08 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 14 Aug 2007 14:26:08 -0700 Subject: [AccessD] Status Bar Text In-Reply-To: <009001c7deb9$106096b0$0301a8c0@HAL9005> References: <009001c7deb9$106096b0$0301a8c0@HAL9005> Message-ID: That's why they invented tooltips, Rocky. Set the tooltip text and let them hover their mouse over the button to find out the long version of the instructions! LOL Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Tuesday, August 14, 2007 2:21 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Status Bar Text I sue a custom tool bar for reports. It only has the magnifying glass, the box with the percent magnification and a command button labeled "CLOSE". So users have three ways to get out of a report preview - close button, X in the upper right, and the ESC key. However, you're working with engineers so there's probably not a simple enough solution. I suppose you could [put a close button on a custom toolbar with a long caption like "Click this button to close the report." Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Tuesday, August 14, 2007 1:02 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Status Bar Text The engineer that wanted this database thinks there out to be a back button or some text to explain to the user how to exit the print preview. Apparently file close is a difficult concept. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, August 14, 2007 2:50 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Status Bar Text Explain what you're trying to do, please. A print preview is a formatted preview of the printed report. You would not normally see anything there that wasn't going to print. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Tuesday, August 14, 2007 11:54 AM To: Access Developers discussion and problem solving Subject: [AccessD] Status Bar Text I know on a form status bar text can exist. Is there anything like that for a print preview. I would like to display a message somewhere on the screen that does not print. Chester Kaup Engineering Technician Kinder Morgan CO2 Company, LLP Office (432) 688-3797 FAX (432) 688-3799 No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.17/951 - Release Date: 8/13/2007 10:15 AM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Donald.A.McGillivray at sprint.com Tue Aug 14 16:40:17 2007 From: Donald.A.McGillivray at sprint.com (McGillivray, Don [IT]) Date: Tue, 14 Aug 2007 16:40:17 -0500 Subject: [AccessD] Status Bar Text In-Reply-To: References: <009001c7deb9$106096b0$0301a8c0@HAL9005> Message-ID: And you've got it backwards, Rocky. Engineers don't want it simple - the more complex the better! I say, give them a wizard with at least 17 steps to complete just to close the preview . . . :o) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, August 14, 2007 2:26 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Status Bar Text That's why they invented tooltips, Rocky. Set the tooltip text and let them hover their mouse over the button to find out the long version of the instructions! LOL Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Tuesday, August 14, 2007 2:21 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Status Bar Text I sue a custom tool bar for reports. It only has the magnifying glass, the box with the percent magnification and a command button labeled "CLOSE". So users have three ways to get out of a report preview - close button, X in the upper right, and the ESC key. However, you're working with engineers so there's probably not a simple enough solution. I suppose you could [put a close button on a custom toolbar with a long caption like "Click this button to close the report." Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Tuesday, August 14, 2007 1:02 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Status Bar Text The engineer that wanted this database thinks there out to be a back button or some text to explain to the user how to exit the print preview. Apparently file close is a difficult concept. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, August 14, 2007 2:50 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Status Bar Text Explain what you're trying to do, please. A print preview is a formatted preview of the printed report. You would not normally see anything there that wasn't going to print. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Tuesday, August 14, 2007 11:54 AM To: Access Developers discussion and problem solving Subject: [AccessD] Status Bar Text I know on a form status bar text can exist. Is there anything like that for a print preview. I would like to display a message somewhere on the screen that does not print. Chester Kaup Engineering Technician Kinder Morgan CO2 Company, LLP Office (432) 688-3797 FAX (432) 688-3799 No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.17/951 - Release Date: 8/13/2007 10:15 AM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Tue Aug 14 16:43:58 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Tue, 14 Aug 2007 14:43:58 -0700 Subject: [AccessD] Status Bar Text In-Reply-To: Message-ID: <00a501c7debc$3866fd40$0301a8c0@HAL9005> We're talkin' engineers, here, Charlotte. :o) Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, August 14, 2007 2:26 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Status Bar Text That's why they invented tooltips, Rocky. Set the tooltip text and let them hover their mouse over the button to find out the long version of the instructions! LOL Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Tuesday, August 14, 2007 2:21 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Status Bar Text I sue a custom tool bar for reports. It only has the magnifying glass, the box with the percent magnification and a command button labeled "CLOSE". So users have three ways to get out of a report preview - close button, X in the upper right, and the ESC key. However, you're working with engineers so there's probably not a simple enough solution. I suppose you could [put a close button on a custom toolbar with a long caption like "Click this button to close the report." Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Tuesday, August 14, 2007 1:02 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Status Bar Text The engineer that wanted this database thinks there out to be a back button or some text to explain to the user how to exit the print preview. Apparently file close is a difficult concept. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, August 14, 2007 2:50 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Status Bar Text Explain what you're trying to do, please. A print preview is a formatted preview of the printed report. You would not normally see anything there that wasn't going to print. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Tuesday, August 14, 2007 11:54 AM To: Access Developers discussion and problem solving Subject: [AccessD] Status Bar Text I know on a form status bar text can exist. Is there anything like that for a print preview. I would like to display a message somewhere on the screen that does not print. Chester Kaup Engineering Technician Kinder Morgan CO2 Company, LLP Office (432) 688-3797 FAX (432) 688-3799 No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.17/951 - Release Date: 8/13/2007 10:15 AM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.17/951 - Release Date: 8/13/2007 10:15 AM From dwaters at usinternet.com Tue Aug 14 16:54:08 2007 From: dwaters at usinternet.com (Dan Waters) Date: Tue, 14 Aug 2007 16:54:08 -0500 Subject: [AccessD] Status Bar Text In-Reply-To: References: <009001c7deb9$106096b0$0301a8c0@HAL9005> Message-ID: <004701c7debd$a464c080$0200a8c0@danwaters> I agree - Engineers love complexity! And yes I do know this! And, some engineers have a fundamental conviction that everyone else needs to have everything explained to them. They don't realize that people do learn. Do you have a project sponsor/manager who can get you around this guy? If you add this kind of instruction, what else will you be asked to do? When regular users see this, they will be offended. So, if you're really stuck, get some documentation from this guy describing carefully and in detail what his 'requirement' is. Then you can show it to the powers that be when the complaints come rolling in. Good Luck! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of McGillivray, Don [IT] Sent: Tuesday, August 14, 2007 4:40 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Status Bar Text And you've got it backwards, Rocky. Engineers don't want it simple - the more complex the better! I say, give them a wizard with at least 17 steps to complete just to close the preview . . . :o) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, August 14, 2007 2:26 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Status Bar Text That's why they invented tooltips, Rocky. Set the tooltip text and let them hover their mouse over the button to find out the long version of the instructions! LOL Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Tuesday, August 14, 2007 2:21 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Status Bar Text I sue a custom tool bar for reports. It only has the magnifying glass, the box with the percent magnification and a command button labeled "CLOSE". So users have three ways to get out of a report preview - close button, X in the upper right, and the ESC key. However, you're working with engineers so there's probably not a simple enough solution. I suppose you could [put a close button on a custom toolbar with a long caption like "Click this button to close the report." Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Tuesday, August 14, 2007 1:02 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Status Bar Text The engineer that wanted this database thinks there out to be a back button or some text to explain to the user how to exit the print preview. Apparently file close is a difficult concept. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, August 14, 2007 2:50 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Status Bar Text Explain what you're trying to do, please. A print preview is a formatted preview of the printed report. You would not normally see anything there that wasn't going to print. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Tuesday, August 14, 2007 11:54 AM To: Access Developers discussion and problem solving Subject: [AccessD] Status Bar Text I know on a form status bar text can exist. Is there anything like that for a print preview. I would like to display a message somewhere on the screen that does not print. Chester Kaup Engineering Technician Kinder Morgan CO2 Company, LLP Office (432) 688-3797 FAX (432) 688-3799 No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.17/951 - Release Date: 8/13/2007 10:15 AM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 14 21:08:09 2007 From: clh at christopherhawkins.com (Christopher Hawkins) Date: Tue, 14 Aug 2007 20:08:09 -0600 Subject: [AccessD] SQL Speed Message-ID: <49e58df89a44429d9d2e72b78e998f8b@mail1.gearhost.com> Hi, Mark. I think I missed this topic the first time it came up. This is a hard question to answer, mainly because you don't mention what type of data is contained in the 4K rows you're querying, and how many fields are involved. You also mention that the results will be "concatenated", which seems like an odd thing to do. I would expect you to run a sum or a count or something, not a concatenation of 4K rows. Can you provide more detail? Off the cuff, 2 minutes sounds slow to return 4K rows of the kind of data I tend to work with, but like I said, I'm not exactly clear on what you're doing with those rows. Can you show us the actual SQL? -C- ---------------------------------------- From: "Mark A Matte" Sent: Tuesday, August 14, 2007 3:12 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] SQL Speed Hello All, I haven't received any responses after the email below. I am specifically curious about the realistic time to run 10K sql statements (see below). Access vs. SQL server? Any feedback is greatly appreciated. Thanks, Mark A. Matte >From: "Mark A Matte" >Reply-To: Access Developers discussion and problem >solving >To: accessd at databaseadvisors.com >Subject: Re: [AccessD] SQL Speed >Date: Thu, 09 Aug 2007 17:27:51 +0000 > >Thanks to All for your responses...(everything discussed below is currently >in A2K) > >I'm at the beginning of this and appreciate any ideas...This program has >been running 24/7 for the last 3 years...but only runs 1 SQL statement. It >runs the statement, loops through the results and concatenates the results, >and then emails the results (for these tests we are going to forget about >the email part and just store the results in a separate table). > >Last night I put a loop on this and ran it 10K times. It took just under 2 >minutes. To make it more realistic, (the 10k SQL statements will all be >different, but very similar) I removed the SQL from the code and placed it >in a memo field in another table (tblSQL). Next, I modified the code so >now >it first pulls all records form tblSQL (I added 10k rows...but all the same >SQL statement)...then for each of these records...it does the stuff I >outlined above. > >Again, it ran in just under 2 minutes. I need this to be as fast as >possible, and I don't know what a realistic time is. I apparently can do >10K in less than 2 minutes, but is this good, bad, average? > >Any thoughts/ideas? > >Thanks, > >Mark A. Matte > > > >From: Jim Lawrence > >Reply-To: Access Developers discussion and problem > >solving > >To: "'Access Developers discussion and problem > >solving'" > >Subject: Re: [AccessD] SQL Speed > >Date: Wed, 08 Aug 2007 22:15:43 -0700 > > > >Well, you have probably already thought of this, but any queries that can > >run on the SQL server as pre-compiled stored procedures will give >superior > >performance. > > > >Jim > > > >-----Original Message----- > >From: accessd-bounces at databaseadvisors.com > >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte > >Sent: Wednesday, August 08, 2007 1:57 PM > >To: accessd at databaseadvisors.com > >Subject: [AccessD] SQL Speed > > > >Hello All, > > > >I am involved in a project that will be web based. The database will > >either > > > >be access or SQL Server. > > > >The question is: I need to run a bunch (maybe 10K) of SQL statements > >againts a single table...or flat file, whatever is best, containing about > >4K > > > >rows. The results of each will be appended to a second table, or emailed > >instantly (ahh...idea...good place for a JC style Class). The SQL > >statements themselves will be stored in a table. > > > >Does anyone have any ideas/suggestions about approach? I will need ALL >of > >the SQLs to run in less than 5 minutes. I know 1 runs in a fraction of a > >second...I just don't know what that fraction is to calculate time >needed. > > > >Being there are so few rows involved...but so many SQL statements...and > >speed is an issue...will there be a signicant advantage using SQL Server >or > >Access? > > > >I'm thinking of having the SQLs in a table and looping through and > >executing > > > >each...I just don't know if this is the best approach? > > > >Thanks, > > > >Mark A. Matte > > > >_________________________________________________________________ > >Booking a flight? Know when to buy with airfare predictions on MSN >Travel. > >http://travel.msn.com/Articles/aboutfarecast.aspx&ocid=T001MSN25A07001 > > > >-- > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > > > >-- > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > >_________________________________________________________________ >Tease your brain--play Clink! Win cool prizes! >http://club.live.com/clink.aspx?icid=clink_hotmailtextlink2 > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ A new home for Mom, no cleanup required. All starts here. http://www.reallivemoms.com?ocid=TXT_TAGHM&loc=us -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From newsgrps at dalyn.co.nz Tue Aug 14 21:24:47 2007 From: newsgrps at dalyn.co.nz (David Emerson) Date: Wed, 15 Aug 2007 14:24:47 +1200 Subject: [AccessD] Setting Combobox to Last Item In-Reply-To: References: <20070814023803.WITO26291.fep03.xtra.co.nz@Dalyn.dalyn.co.nz> Message-ID: <20070815022401.JWLX9092.fep01.xtra.co.nz@Dalyn.dalyn.co.nz> Thanks Mark. Your suggestion lead me to solve the problem: Me!cboFinModelDate = [Forms]![frmFinModel]![cboFinModelDate].[ItemData](intFinModelCount) needed to be changed to Me!cboFinModelDate = Me!cboFinModelDate.ItemData(intFinModelCount) It seems that the square brackets caused the problem. David At 15/08/2007, you wrote: >I would check to see what value intFinModelCount is returning, or what >type...integer or text?...because (assuming we're talking about 1 form)... >Me!cboFinModelDate = Me!cboFinModelDate.ItemData(intFinModelCount) > >should work. > >Good Luck, > >Mark A. Matte > > > > > >From: David Emerson > >Reply-To: Access Developers discussion and problem > >solving > >To: accessd at databaseadvisors.com > >Subject: [AccessD] Setting Combobox to Last Item > >Date: Tue, 14 Aug 2007 14:38:36 +1200 > > > >I want to open a form and set a combo box to the last item in the > >list (the list is based on a table so the last item isn't static). > > > >On the Form open event I have: > > > > intFinModelCount = (basRunDataObject("SELECT FinModelID FROM > >dbo.tblFinModel", adCmdText).RecordCount) - 1 > > If intFinModelCount > 0 Then > > Me!cboFinModelDate = > >[Forms]![frmFinModel]![cboFinModelDate].[ItemData](intFinModelCount) > >'Error here > > End If > > > >The error I get is 450 - Wrong number of arguments or invalid > >property assignment. > > > >Any pointers on where I might be wrong? > > > >Regards > > > >David Emerson > >Dalyn Software Ltd > >Wellington, New Zealand > > > >-- > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > >_________________________________________________________________ >Booking a flight? Know when to buy with airfare predictions on MSN Travel. >http://travel.msn.com/Articles/aboutfarecast.aspx&ocid=T001MSN25A07001 > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com From ssharkins at gmail.com Tue Aug 14 21:54:42 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Tue, 14 Aug 2007 22:54:42 -0400 Subject: [AccessD] Setting Combobox to Last Item In-Reply-To: <20070815022401.JWLX9092.fep01.xtra.co.nz@Dalyn.dalyn.co.nz> References: <20070814023803.WITO26291.fep03.xtra.co.nz@Dalyn.dalyn.co.nz> <20070815022401.JWLX9092.fep01.xtra.co.nz@Dalyn.dalyn.co.nz> Message-ID: <003501c7dee7$a2356b50$048e01c7@SusanOne> Thanks David -- I thought your statement looked weird with the brackets, but I didn't mention it because I thought maybe it was just me -- because I don't use them. Susan H. It seems that the square brackets caused the problem. From Chester_Kaup at kindermorgan.com Wed Aug 15 08:03:38 2007 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Wed, 15 Aug 2007 08:03:38 -0500 Subject: [AccessD] Custon Toolbar Question Message-ID: I have created 2 custom toolbars in a database. I want to use different ones on different forms. In the property sheet for the form I set the toolbar to either custom1 or custom2. When I open the form both toolbars show on any form. What am I doing wrong? Thanks Chester Kaup Engineering Technician Kinder Morgan CO2 Company, LLP Office (432) 688-3797 FAX (432) 688-3799 No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. From ssharkins at gmail.com Wed Aug 15 08:15:52 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Wed, 15 Aug 2007 09:15:52 -0400 Subject: [AccessD] Custon Toolbar Question In-Reply-To: References: Message-ID: <000001c7df3e$6949a930$048e01c7@SusanOne> So, before you open either form, neither custom toolbar is open. Then, when you open either, both open? What happens when you open a form other than the two forms in question? Susan H. I have created 2 custom toolbars in a database. I want to use different ones on different forms. In the property sheet for the form I set the toolbar to either custom1 or custom2. When I open the form both toolbars show on any form. What am I doing wrong? From markamatte at hotmail.com Wed Aug 15 08:47:13 2007 From: markamatte at hotmail.com (Mark A Matte) Date: Wed, 15 Aug 2007 13:47:13 +0000 Subject: [AccessD] SQL Speed In-Reply-To: <49e58df89a44429d9d2e72b78e998f8b@mail1.gearhost.com> Message-ID: I'm not returning 4K rows...the table I'm running these SQL statements againts has 4K rows... In one table I have 10K SQL statements(1 per row). The SQL statements are all filtering on indexed currency and integer fields. I pullin all 10K as a recordset....and loop through...for each row, I execute that SQL againts a table with about 4K rows...and take the results (typically between 1 and 20 rows) and concatenated a Char4 and a Currency field from each of the results into 1 long string (this will later be the body of an email). So...I run 10K SQL statements, one right after the other, against a table with about 4K rows, returning between 1 and 20 records per SQL statement. To run these 10K and store the results it takes just less than 2 Minutes...if this is slow...please share how long (average) you would expect it to take 10K queries to run? There is more detail in the emails below... >From: "Christopher Hawkins" >Reply-To: Access Developers discussion and problem >solving >To: >Subject: Re: [AccessD] SQL Speed >Date: Tue, 14 Aug 2007 20:08:09 -0600 > >Hi, Mark. I think I missed this topic the first time it came up. > >This is a hard question to answer, mainly because you don't mention what >type of data is contained in the 4K rows you're querying, and how many >fields are involved. You also mention that the results will be >"concatenated", which seems like an odd thing to do. I would expect you to >run a sum or a count or something, not a concatenation of 4K rows. Can you >provide more detail? > >Off the cuff, 2 minutes sounds slow to return 4K rows of the kind of data I >tend to work with, but like I said, I'm not exactly clear on what you're >doing with those rows. > >Can you show us the actual SQL? > >-C- > >---------------------------------------- > >From: "Mark A Matte" >Sent: Tuesday, August 14, 2007 3:12 AM >To: accessd at databaseadvisors.com >Subject: Re: [AccessD] SQL Speed > >Hello All, > >I haven't received any responses after the email below. I am specifically >curious about the realistic time to run 10K sql statements (see below). >Access vs. SQL server? > >Any feedback is greatly appreciated. > >Thanks, > >Mark A. Matte > > >From: "Mark A Matte" > >Reply-To: Access Developers discussion and problem > >solving > >To: accessd at databaseadvisors.com > >Subject: Re: [AccessD] SQL Speed > >Date: Thu, 09 Aug 2007 17:27:51 +0000 > > > >Thanks to All for your responses...(everything discussed below is >currently > >in A2K) > > > >I'm at the beginning of this and appreciate any ideas...This program has > >been running 24/7 for the last 3 years...but only runs 1 SQL statement. >It > >runs the statement, loops through the results and concatenates the >results, > >and then emails the results (for these tests we are going to forget about > >the email part and just store the results in a separate table). > > > >Last night I put a loop on this and ran it 10K times. It took just under >2 > >minutes. To make it more realistic, (the 10k SQL statements will all be > >different, but very similar) I removed the SQL from the code and placed >it > >in a memo field in another table (tblSQL). Next, I modified the code so > >now > >it first pulls all records form tblSQL (I added 10k rows...but all the >same > >SQL statement)...then for each of these records...it does the stuff I > >outlined above. > > > >Again, it ran in just under 2 minutes. I need this to be as fast as > >possible, and I don't know what a realistic time is. I apparently can do > >10K in less than 2 minutes, but is this good, bad, average? > > > >Any thoughts/ideas? > > > >Thanks, > > > >Mark A. Matte > > > > > > >From: Jim Lawrence > > >Reply-To: Access Developers discussion and problem > > >solving > > >To: "'Access Developers discussion and problem > > >solving'" > > >Subject: Re: [AccessD] SQL Speed > > >Date: Wed, 08 Aug 2007 22:15:43 -0700 > > > > > >Well, you have probably already thought of this, but any queries that >can > > >run on the SQL server as pre-compiled stored procedures will give > >superior > > >performance. > > > > > >Jim > > > > > >-----Original Message----- > > >From: accessd-bounces at databaseadvisors.com > > >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte > > >Sent: Wednesday, August 08, 2007 1:57 PM > > >To: accessd at databaseadvisors.com > > >Subject: [AccessD] SQL Speed > > > > > >Hello All, > > > > > >I am involved in a project that will be web based. The database will > > >either > > > > > >be access or SQL Server. > > > > > >The question is: I need to run a bunch (maybe 10K) of SQL statements > > >againts a single table...or flat file, whatever is best, containing >about > > >4K > > > > > >rows. The results of each will be appended to a second table, or >emailed > > >instantly (ahh...idea...good place for a JC style Class). The SQL > > >statements themselves will be stored in a table. > > > > > >Does anyone have any ideas/suggestions about approach? I will need ALL > >of > > >the SQLs to run in less than 5 minutes. I know 1 runs in a fraction of >a > > >second...I just don't know what that fraction is to calculate time > >needed. > > > > > >Being there are so few rows involved...but so many SQL statements...and > > >speed is an issue...will there be a signicant advantage using SQL >Server > >or > > >Access? > > > > > >I'm thinking of having the SQLs in a table and looping through and > > >executing > > > > > >each...I just don't know if this is the best approach? > > > > > >Thanks, > > > > > >Mark A. Matte > > > _________________________________________________________________ Puzzles, trivia teasers, word scrambles and more. Play for your chance to win! http://club.live.com/home.aspx?icid=CLUB_hotmailtextlink From ssharkins at gmail.com Wed Aug 15 08:48:40 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Wed, 15 Aug 2007 09:48:40 -0400 Subject: [AccessD] Highlighting a record in a form In-Reply-To: References: Message-ID: <000801c7df43$00482740$048e01c7@SusanOne> How is [ID] = n counting your records though? Is it is consecutive value that considers the form's sort order? Is it an AutoNumber? What happens if the recordset doesn't have an ID value of 5? Susan H. I got it! Thanks, everyone, for your help. In the unlikely event that someone is as DUH as I am, I'll explain it below. Many were suggesting conditional formatting, but I could not see how to make it apply to an entire row. It's actually very simple. With the form in design view, select all of the appropriate fields and choose Format / Conditional Formatting from the menubar. On the left, choose "Expression is". On the right, type in the controlling expression, such as [ID] = 5. Since you've selected all fields, they will all be governed by this one expression. Sorry for being so dense, people. I hadn't used this functionality in Access before, so I was trying to figure it out in VBA. Let's hear it for trying to reinvent the wheel. Thanks, again, for your help. Thomas F. Ewald Stryker Mass Properties General Dynamics Land Systems I'd prefer to do this in datasheet view, but I can use continuous form with the fields shown horizontally. Is there a way to simply tell Access to highlight the 5th record? Not every fifth record (although that would be okay, since there are only 8); just the fifth. The data comes from a table I create via a make table query, so I can control exactly what goes where. I need records 5 & 8 highlighted n the form. That's all. Seems easy, but I can't seem to get it. Feel free to make me feel even more stupid by suggesting an easy solution. This is an e-mail from General Dynamics Land Systems. It is for the intended recipient only and may contain confidential and privileged information. No one else may read, print, store, copy, forward or act in reliance on it or its attachments. If you are not the intended recipient, please return this message to the sender and delete the message and any attachments from your computer. Your cooperation is appreciated. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com Internal Virus Database is out-of-date. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.10.20/919 - Release Date: 2007/07/26 09:56 AM From Chester_Kaup at kindermorgan.com Wed Aug 15 09:18:49 2007 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Wed, 15 Aug 2007 09:18:49 -0500 Subject: [AccessD] Custon Toolbar Question In-Reply-To: <000001c7df3e$6949a930$048e01c7@SusanOne> References: <000001c7df3e$6949a930$048e01c7@SusanOne> Message-ID: Guess I did not explain well. When I open any form in the database both custom tool bars appear regardless of the property setting (toolbar) of the form that is opened. Toolbar property setting can be null, custon1 or custom2. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Wednesday, August 15, 2007 8:16 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Custon Toolbar Question So, before you open either form, neither custom toolbar is open. Then, when you open either, both open? What happens when you open a form other than the two forms in question? Susan H. I have created 2 custom toolbars in a database. I want to use different ones on different forms. In the property sheet for the form I set the toolbar to either custom1 or custom2. When I open the form both toolbars show on any form. What am I doing wrong? -- 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 15 10:13:59 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 15 Aug 2007 08:13:59 -0700 Subject: [AccessD] Custon Toolbar Question In-Reply-To: References: <000001c7df3e$6949a930$048e01c7@SusanOne> Message-ID: You have to load and unload the toolbars in code to control their appearance and disappearance. If you create a runtime version, the toolbars don't respond to the property setting anyhow. Show the toolbar you want in the Open or Load event of a form and hide it in the close event. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Wednesday, August 15, 2007 7:19 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Custon Toolbar Question Guess I did not explain well. When I open any form in the database both custom tool bars appear regardless of the property setting (toolbar) of the form that is opened. Toolbar property setting can be null, custon1 or custom2. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Wednesday, August 15, 2007 8:16 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Custon Toolbar Question So, before you open either form, neither custom toolbar is open. Then, when you open either, both open? What happens when you open a form other than the two forms in question? Susan H. I have created 2 custom toolbars in a database. I want to use different ones on different forms. In the property sheet for the form I set the toolbar to either custom1 or custom2. When I open the form both toolbars show on any form. What am I doing wrong? -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dw-murphy at cox.net Wed Aug 15 10:58:50 2007 From: dw-murphy at cox.net (Doug Murphy) Date: Wed, 15 Aug 2007 08:58:50 -0700 Subject: [AccessD] Custon Toolbar Question In-Reply-To: Message-ID: <002b01c7df55$2bf5c610$0200a8c0@murphy3234aaf1> Place your cursor in the area of the menus and tool bars, right click and deselect your custom bars, i.e, turn them off. Now if they are set as the default for a form or report they will show when that form or report is open. Doug -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Wednesday, August 15, 2007 7:19 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Custon Toolbar Question Guess I did not explain well. When I open any form in the database both custom tool bars appear regardless of the property setting (toolbar) of the form that is opened. Toolbar property setting can be null, custon1 or custom2. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Wednesday, August 15, 2007 8:16 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Custon Toolbar Question So, before you open either form, neither custom toolbar is open. Then, when you open either, both open? What happens when you open a form other than the two forms in question? Susan H. I have created 2 custom toolbars in a database. I want to use different ones on different forms. In the property sheet for the form I set the toolbar to either custom1 or custom2. When I open the form both toolbars show on any form. What am I doing wrong? -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dw-murphy at cox.net Wed Aug 15 11:00:25 2007 From: dw-murphy at cox.net (Doug Murphy) Date: Wed, 15 Aug 2007 09:00:25 -0700 Subject: [AccessD] Custon Toolbar Question In-Reply-To: Message-ID: <002c01c7df55$64bbc530$0200a8c0@murphy3234aaf1> I don't believe this is the case, at least with Access 2002. We have several runtimes with custom menus and tool bars that I set in the form or report properties. They work just fine in runtime mode. Doug -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, August 15, 2007 8:14 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Custon Toolbar Question You have to load and unload the toolbars in code to control their appearance and disappearance. If you create a runtime version, the toolbars don't respond to the property setting anyhow. Show the toolbar you want in the Open or Load event of a form and hide it in the close event. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Wednesday, August 15, 2007 7:19 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Custon Toolbar Question Guess I did not explain well. When I open any form in the database both custom tool bars appear regardless of the property setting (toolbar) of the form that is opened. Toolbar property setting can be null, custon1 or custom2. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Wednesday, August 15, 2007 8:16 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Custon Toolbar Question So, before you open either form, neither custom toolbar is open. Then, when you open either, both open? What happens when you open a form other than the two forms in question? Susan H. I have created 2 custom toolbars in a database. I want to use different ones on different forms. In the property sheet for the form I set the toolbar to either custom1 or custom2. When I open the form both toolbars show on any form. What am I doing wrong? -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Chester_Kaup at kindermorgan.com Wed Aug 15 11:15:00 2007 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Wed, 15 Aug 2007 11:15:00 -0500 Subject: [AccessD] Custon Toolbar Question In-Reply-To: <002b01c7df55$2bf5c610$0200a8c0@murphy3234aaf1> References: <002b01c7df55$2bf5c610$0200a8c0@murphy3234aaf1> Message-ID: Thanks. That way to easy. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Murphy Sent: Wednesday, August 15, 2007 10:59 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Custon Toolbar Question Place your cursor in the area of the menus and tool bars, right click and deselect your custom bars, i.e, turn them off. Now if they are set as the default for a form or report they will show when that form or report is open. Doug -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Wednesday, August 15, 2007 7:19 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Custon Toolbar Question Guess I did not explain well. When I open any form in the database both custom tool bars appear regardless of the property setting (toolbar) of the form that is opened. Toolbar property setting can be null, custon1 or custom2. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Wednesday, August 15, 2007 8:16 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Custon Toolbar Question So, before you open either form, neither custom toolbar is open. Then, when you open either, both open? What happens when you open a form other than the two forms in question? Susan H. I have created 2 custom toolbars in a database. I want to use different ones on different forms. In the property sheet for the form I set the toolbar to either custom1 or custom2. When I open the form both toolbars show on any form. What am I doing wrong? -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ewaldt at gdls.com Wed Aug 15 12:17:28 2007 From: ewaldt at gdls.com (ewaldt at gdls.com) Date: Wed, 15 Aug 2007 13:17:28 -0400 Subject: [AccessD] Highlighting a record in a form In-Reply-To: Message-ID: Susan: Sorry. I should have explained that. I had two ways to go about this. I posited each [ID] as a specific record each time, so I knew that, for example, ID "Total Weight Impacts (lbs)" is always record 8. Therefore, I could base it on its being record 8 or its having that ID. It turned out to be easier to do the latter. Thanks, again. Thomas F. Ewald Stryker Mass Properties General Dynamics Land Systems To: "'Access Developers discussion and problem solving'" How is [ID] = n counting your records though? Is it is consecutive value that considers the form's sort order? Is it an AutoNumber? What happens if the recordset doesn't have an ID value of 5? Susan H. I got it! Thanks, everyone, for your help. In the unlikely event that someone is as DUH as I am, I'll explain it below. Many were suggesting conditional formatting, but I could not see how to make it apply to an entire row. It's actually very simple. With the form in design view, select all of the appropriate fields and choose Format / Conditional Formatting from the menubar. On the left, choose "Expression is". On the right, type in the controlling expression, such as [ID] = 5. Since you've selected all fields, they will all be governed by this one expression. Sorry for being so dense, people. I hadn't used this functionality in Access before, so I was trying to figure it out in VBA. Let's hear it for trying to reinvent the wheel. Thanks, again, for your help. This is an e-mail from General Dynamics Land Systems. It is for the intended recipient only and may contain confidential and privileged information. No one else may read, print, store, copy, forward or act in reliance on it or its attachments. If you are not the intended recipient, please return this message to the sender and delete the message and any attachments from your computer. Your cooperation is appreciated. From fahooper at trapo.com Wed Aug 15 17:07:26 2007 From: fahooper at trapo.com (Fred Hooper) Date: Wed, 15 Aug 2007 18:07:26 -0400 Subject: [AccessD] SQL Speed In-Reply-To: Message-ID: <000201c7df88$aa244b00$af15c048@fredxp> Hi Mark, Is there any chance you could string those 10k runs together with union all's? If so, you could run all of them at once with a pass-though query, which would be *much* faster than 10k separate runs. Fred -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Wednesday, August 15, 2007 9:47 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] SQL Speed I'm not returning 4K rows...the table I'm running these SQL statements againts has 4K rows... In one table I have 10K SQL statements(1 per row). The SQL statements are all filtering on indexed currency and integer fields. I pullin all 10K as a recordset....and loop through...for each row, I execute that SQL againts a table with about 4K rows...and take the results (typically between 1 and 20 rows) and concatenated a Char4 and a Currency field from each of the results into 1 long string (this will later be the body of an email). So...I run 10K SQL statements, one right after the other, against a table with about 4K rows, returning between 1 and 20 records per SQL statement. To run these 10K and store the results it takes just less than 2 Minutes...if this is slow...please share how long (average) you would expect it to take 10K queries to run? There is more detail in the emails below... >From: "Christopher Hawkins" >Reply-To: Access Developers discussion and problem >solving >To: >Subject: Re: [AccessD] SQL Speed >Date: Tue, 14 Aug 2007 20:08:09 -0600 > >Hi, Mark. I think I missed this topic the first time it came up. > >This is a hard question to answer, mainly because you don't mention what >type of data is contained in the 4K rows you're querying, and how many >fields are involved. You also mention that the results will be >"concatenated", which seems like an odd thing to do. I would expect you to >run a sum or a count or something, not a concatenation of 4K rows. Can you >provide more detail? > >Off the cuff, 2 minutes sounds slow to return 4K rows of the kind of data I >tend to work with, but like I said, I'm not exactly clear on what you're >doing with those rows. > >Can you show us the actual SQL? > >-C- > >---------------------------------------- > >From: "Mark A Matte" >Sent: Tuesday, August 14, 2007 3:12 AM >To: accessd at databaseadvisors.com >Subject: Re: [AccessD] SQL Speed > >Hello All, > >I haven't received any responses after the email below. I am specifically >curious about the realistic time to run 10K sql statements (see below). >Access vs. SQL server? > >Any feedback is greatly appreciated. > >Thanks, > >Mark A. Matte > > >From: "Mark A Matte" > >Reply-To: Access Developers discussion and problem > >solving > >To: accessd at databaseadvisors.com > >Subject: Re: [AccessD] SQL Speed > >Date: Thu, 09 Aug 2007 17:27:51 +0000 > > > >Thanks to All for your responses...(everything discussed below is >currently > >in A2K) > > > >I'm at the beginning of this and appreciate any ideas...This program has > >been running 24/7 for the last 3 years...but only runs 1 SQL statement. >It > >runs the statement, loops through the results and concatenates the >results, > >and then emails the results (for these tests we are going to forget about > >the email part and just store the results in a separate table). > > > >Last night I put a loop on this and ran it 10K times. It took just under >2 > >minutes. To make it more realistic, (the 10k SQL statements will all be > >different, but very similar) I removed the SQL from the code and placed >it > >in a memo field in another table (tblSQL). Next, I modified the code so > >now > >it first pulls all records form tblSQL (I added 10k rows...but all the >same > >SQL statement)...then for each of these records...it does the stuff I > >outlined above. > > > >Again, it ran in just under 2 minutes. I need this to be as fast as > >possible, and I don't know what a realistic time is. I apparently can do > >10K in less than 2 minutes, but is this good, bad, average? > > > >Any thoughts/ideas? > > > >Thanks, > > > >Mark A. Matte > > > > > > >From: Jim Lawrence > > >Reply-To: Access Developers discussion and problem > > >solving > > >To: "'Access Developers discussion and problem > > >solving'" > > >Subject: Re: [AccessD] SQL Speed > > >Date: Wed, 08 Aug 2007 22:15:43 -0700 > > > > > >Well, you have probably already thought of this, but any queries that >can > > >run on the SQL server as pre-compiled stored procedures will give > >superior > > >performance. > > > > > >Jim > > > > > >-----Original Message----- > > >From: accessd-bounces at databaseadvisors.com > > >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte > > >Sent: Wednesday, August 08, 2007 1:57 PM > > >To: accessd at databaseadvisors.com > > >Subject: [AccessD] SQL Speed > > > > > >Hello All, > > > > > >I am involved in a project that will be web based. The database will > > >either > > > > > >be access or SQL Server. > > > > > >The question is: I need to run a bunch (maybe 10K) of SQL statements > > >againts a single table...or flat file, whatever is best, containing >about > > >4K > > > > > >rows. The results of each will be appended to a second table, or >emailed > > >instantly (ahh...idea...good place for a JC style Class). The SQL > > >statements themselves will be stored in a table. > > > > > >Does anyone have any ideas/suggestions about approach? I will need ALL > >of > > >the SQLs to run in less than 5 minutes. I know 1 runs in a fraction of >a > > >second...I just don't know what that fraction is to calculate time > >needed. > > > > > >Being there are so few rows involved...but so many SQL statements...and > > >speed is an issue...will there be a signicant advantage using SQL >Server > >or > > >Access? > > > > > >I'm thinking of having the SQLs in a table and looping through and > > >executing > > > > > >each...I just don't know if this is the best approach? > > > > > >Thanks, > > > > > >Mark A. Matte > > > _________________________________________________________________ Puzzles, trivia teasers, word scrambles and more. Play for your chance to win! http://club.live.com/home.aspx?icid=CLUB_hotmailtextlink -- 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 16 07:22:14 2007 From: accessd666 at yahoo.com (Sad Der) Date: Thu, 16 Aug 2007 05:22:14 -0700 (PDT) Subject: [AccessD] Error 2176 the setting for this property is too long Message-ID: <468131.5267.qm@web31605.mail.mud.yahoo.com> Hi group, I'm trying to add values to a Listbox (A2K2). I'm getting the error: 2176 the setting for this property is too long. I've done some reading and it seems that this error is the result of a value that is too long. The value that you can add has a max of 256. So far i've added 1129 items to the listbox. All with values like: 1131;lblDescription;;fAction Doesn't look like more then 256 chars to me?! I've also used trim and stuff but that didn't do the trick (didn't think so). Any ideas? Thnx, Sander ____________________________________________________________________________________ Sick sense of humor? Visit Yahoo! TV's Comedy with an Edge to see what's on, when. http://tv.yahoo.com/collections/222 From jwcolby at colbyconsulting.com Thu Aug 16 08:22:39 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 16 Aug 2007 09:22:39 -0400 Subject: [AccessD] Error 2176 the setting for this property is too long In-Reply-To: <468131.5267.qm@web31605.mail.mud.yahoo.com> Message-ID: <20070816132242.C9FE6C19F@smtp-auth.no-ip.com> There is a TOTAL text length (all "items" combined) of somewhere in the neighborhood of 2K characters. That is what you are running in to. You do not have a log of options. The most likely is to build a temp table in the FE and then pull that in to the list as a normal sql statement. John W. Colby Colby Consulting 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 16, 2007 8:22 AM To: Acces User Group Subject: [AccessD] Error 2176 the setting for this property is too long Hi group, I'm trying to add values to a Listbox (A2K2). I'm getting the error: 2176 the setting for this property is too long. I've done some reading and it seems that this error is the result of a value that is too long. The value that you can add has a max of 256. So far i've added 1129 items to the listbox. All with values like: 1131;lblDescription;;fAction Doesn't look like more then 256 chars to me?! I've also used trim and stuff but that didn't do the trick (didn't think so). Any ideas? Thnx, Sander ____________________________________________________________________________ ________ Sick sense of humor? Visit Yahoo! TV's Comedy with an Edge to see what's on, when. http://tv.yahoo.com/collections/222 -- 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 16 08:31:16 2007 From: accessd666 at yahoo.com (Sad Der) Date: Thu, 16 Aug 2007 06:31:16 -0700 (PDT) Subject: [AccessD] Error 2176 the setting for this property is too long In-Reply-To: <20070816132242.C9FE6C19F@smtp-auth.no-ip.com> Message-ID: <570365.91238.qm@web31613.mail.mud.yahoo.com> Hahaha, thnx John. I was afraid of that. I've created a work around :-) Manipulated some of the data. Added some data to another listbox and removed some other et voila... If this passes UAT I'm going to eat my shoe :-) Regards, Sander --- jwcolby wrote: > There is a TOTAL text length (all "items" combined) > of somewhere in the > neighborhood of 2K characters. That is what you are > running in to. You do > not have a log of options. The most likely is to > build a temp table in the > FE and then pull that in to the list as a normal sql > statement. > > > John W. Colby > Colby Consulting > 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 16, 2007 8:22 AM > To: Acces User Group > Subject: [AccessD] Error 2176 the setting for this > property is too long > > Hi group, > > I'm trying to add values to a Listbox (A2K2). > > I'm getting the error: > 2176 the setting for this property is too long. > > I've done some reading and it seems that this error > is the result of a value > that is too long. The value that you can add has a > max of 256. > > So far i've added 1129 items to the listbox. All > with values like: > 1131;lblDescription;;fAction > > Doesn't look like more then 256 chars to me?! > I've also used trim and stuff but that didn't do the > trick (didn't think > so). > > Any ideas? > > Thnx, > Sander > > > > ____________________________________________________________________________ > ________ > Sick sense of humor? Visit Yahoo! TV's > Comedy with an Edge to see what's on, when. > http://tv.yahoo.com/collections/222 > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > ____________________________________________________________________________________Ready for the edge of your seat? Check out tonight's top picks on Yahoo! TV. http://tv.yahoo.com/ From prosoft6 at hotmail.com Thu Aug 16 09:20:21 2007 From: prosoft6 at hotmail.com (Julie Reardon-Taylor) Date: Thu, 16 Aug 2007 10:20:21 -0400 Subject: [AccessD] Access Front-End via Web Enabled Message-ID: Looking for some opinions on what people are using for a web-enabled access database. I have used replication for some applications, but would now like to move the front-end to a browser so that the input can be done via a web page over a wireless connection. Have toyed with data access pages, but not sure if that is a good solution. This application has three subform levels and the scripting may be an issue in DAP. Did I read a posting on AccessD at some point that DAP are going to be out in the next version of Access? What are other people using as forms via the www? Julie Reardon PRO-SOFT OF NY, INC. 44 Public Square Suite #5 Watertown, NY 13601 Phone: 315.785.0319 Fax: 315.785.0323 www.pro-soft.net NYS IT Services Contract CMT026A NYS Certified Woman-Owned Business _________________________________________________________________ Learn.Laugh.Share. Reallivemoms is right place! http://www.reallivemoms.com?ocid=TXT_TAGHM&loc=us From cfoust at infostatsystems.com Thu Aug 16 09:50:37 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 16 Aug 2007 07:50:37 -0700 Subject: [AccessD] Custon Toolbar Question In-Reply-To: <002c01c7df55$64bbc530$0200a8c0@murphy3234aaf1> References: <002c01c7df55$64bbc530$0200a8c0@murphy3234aaf1> Message-ID: All I can say is that our experience was different. Of course, we stacked custom menus and toolbars as well. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Murphy Sent: Wednesday, August 15, 2007 9:00 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Custon Toolbar Question I don't believe this is the case, at least with Access 2002. We have several runtimes with custom menus and tool bars that I set in the form or report properties. They work just fine in runtime mode. Doug -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, August 15, 2007 8:14 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Custon Toolbar Question You have to load and unload the toolbars in code to control their appearance and disappearance. If you create a runtime version, the toolbars don't respond to the property setting anyhow. Show the toolbar you want in the Open or Load event of a form and hide it in the close event. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Wednesday, August 15, 2007 7:19 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Custon Toolbar Question Guess I did not explain well. When I open any form in the database both custom tool bars appear regardless of the property setting (toolbar) of the form that is opened. Toolbar property setting can be null, custon1 or custom2. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Wednesday, August 15, 2007 8:16 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Custon Toolbar Question So, before you open either form, neither custom toolbar is open. Then, when you open either, both open? What happens when you open a form other than the two forms in question? Susan H. I have created 2 custom toolbars in a database. I want to use different ones on different forms. In the property sheet for the form I set the toolbar to either custom1 or custom2. When I open the form both toolbars show on any form. What am I doing wrong? -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 16 09:57:20 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 16 Aug 2007 07:57:20 -0700 Subject: [AccessD] Access Front-End via Web Enabled In-Reply-To: References: Message-ID: You won't like the answer: ASP.Net Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Julie Reardon-Taylor Sent: Thursday, August 16, 2007 7:20 AM To: accessd at databaseadvisors.com Subject: [AccessD] Access Front-End via Web Enabled Looking for some opinions on what people are using for a web-enabled access database. I have used replication for some applications, but would now like to move the front-end to a browser so that the input can be done via a web page over a wireless connection. Have toyed with data access pages, but not sure if that is a good solution. This application has three subform levels and the scripting may be an issue in DAP. Did I read a posting on AccessD at some point that DAP are going to be out in the next version of Access? What are other people using as forms via the www? Julie Reardon PRO-SOFT OF NY, INC. 44 Public Square Suite #5 Watertown, NY 13601 Phone: 315.785.0319 Fax: 315.785.0323 www.pro-soft.net NYS IT Services Contract CMT026A NYS Certified Woman-Owned Business _________________________________________________________________ Learn.Laugh.Share. Reallivemoms is right place! http://www.reallivemoms.com?ocid=TXT_TAGHM&loc=us -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at gmail.com Thu Aug 16 10:08:07 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Thu, 16 Aug 2007 11:08:07 -0400 Subject: [AccessD] Access Front-End via Web Enabled In-Reply-To: References: Message-ID: <000901c7e017$463f6d60$048e01c7@SusanOne> This application has three subform levels and the scripting may be an issue in DAP. ========I think DAP would be a bad idea for this kind of complexity. Susan H. From prosoft6 at hotmail.com Thu Aug 16 10:09:36 2007 From: prosoft6 at hotmail.com (Julie Taylor) Date: Thu, 16 Aug 2007 11:09:36 -0400 Subject: [AccessD] Access Front-End via Web Enabled In-Reply-To: References: Message-ID: Hi Charlotte, Thank you for answering me. Was it difficult to get into? Is the transition from Access a difficult one? By the way, for all of you members in Italy..........I was there this summer. Absolutely beautiful country. People were wonderful. You have such a treasure! My photos are on my website, if anyone would like to see them. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, August 16, 2007 10:57 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access Front-End via Web Enabled You won't like the answer: ASP.Net Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Julie Reardon-Taylor Sent: Thursday, August 16, 2007 7:20 AM To: accessd at databaseadvisors.com Subject: [AccessD] Access Front-End via Web Enabled Looking for some opinions on what people are using for a web-enabled access database. I have used replication for some applications, but would now like to move the front-end to a browser so that the input can be done via a web page over a wireless connection. Have toyed with data access pages, but not sure if that is a good solution. This application has three subform levels and the scripting may be an issue in DAP. Did I read a posting on AccessD at some point that DAP are going to be out in the next version of Access? What are other people using as forms via the www? Julie Reardon PRO-SOFT OF NY, INC. 44 Public Square Suite #5 Watertown, NY 13601 Phone: 315.785.0319 Fax: 315.785.0323 www.pro-soft.net NYS IT Services Contract CMT026A NYS Certified Woman-Owned Business _________________________________________________________________ Learn.Laugh.Share. Reallivemoms is right place! http://www.reallivemoms.com?ocid=TXT_TAGHM&loc=us -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From prosoft6 at hotmail.com Thu Aug 16 10:14:46 2007 From: prosoft6 at hotmail.com (Julie Taylor) Date: Thu, 16 Aug 2007 11:14:46 -0400 Subject: [AccessD] Access Front-End via Web Enabled In-Reply-To: <000901c7e017$463f6d60$048e01c7@SusanOne> References: <000901c7e017$463f6d60$048e01c7@SusanOne> Message-ID: Thanks Susan. Would you recommend asp.net as well? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Thursday, August 16, 2007 11:08 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access Front-End via Web Enabled This application has three subform levels and the scripting may be an issue in DAP. ========I think DAP would be a bad idea for this kind of complexity. Susan H. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Thu Aug 16 10:16:13 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 16 Aug 2007 08:16:13 -0700 Subject: [AccessD] Access Front-End via Web Enabled In-Reply-To: <001201c7e017$75ab03c0$9402a8c0@hpnotebook> References: <001201c7e017$75ab03c0$9402a8c0@hpnotebook> Message-ID: I haven't worked with it at all in several years because virtually all our development is WinForms using VB.Net. I never worked with ASP, so I don't know how different ASP.Net is. There are lots of books on it, which should help. The biggie is getting used to the .Net object model where EVERYTHING is an object and there are multiple ways to do something, some of them more right than others. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Julie Taylor Sent: Thursday, August 16, 2007 8:10 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access Front-End via Web Enabled Hi Charlotte, Thank you for answering me. Was it difficult to get into? Is the transition from Access a difficult one? By the way, for all of you members in Italy..........I was there this summer. Absolutely beautiful country. People were wonderful. You have such a treasure! My photos are on my website, if anyone would like to see them. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, August 16, 2007 10:57 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access Front-End via Web Enabled You won't like the answer: ASP.Net Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Julie Reardon-Taylor Sent: Thursday, August 16, 2007 7:20 AM To: accessd at databaseadvisors.com Subject: [AccessD] Access Front-End via Web Enabled Looking for some opinions on what people are using for a web-enabled access database. I have used replication for some applications, but would now like to move the front-end to a browser so that the input can be done via a web page over a wireless connection. Have toyed with data access pages, but not sure if that is a good solution. This application has three subform levels and the scripting may be an issue in DAP. Did I read a posting on AccessD at some point that DAP are going to be out in the next version of Access? What are other people using as forms via the www? Julie Reardon PRO-SOFT OF NY, INC. 44 Public Square Suite #5 Watertown, NY 13601 Phone: 315.785.0319 Fax: 315.785.0323 www.pro-soft.net NYS IT Services Contract CMT026A NYS Certified Woman-Owned Business _________________________________________________________________ Learn.Laugh.Share. Reallivemoms is right place! http://www.reallivemoms.com?ocid=TXT_TAGHM&loc=us -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at gmail.com Thu Aug 16 10:18:54 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Thu, 16 Aug 2007 11:18:54 -0400 Subject: [AccessD] Access Front-End via Web Enabled In-Reply-To: References: <000901c7e017$463f6d60$048e01c7@SusanOne> Message-ID: <000a01c7e018$c31f16e0$048e01c7@SusanOne> I can't, but only because I have no experience with it -- guess we could learn together???? ;) Susan H. Thanks Susan. Would you recommend asp.net as well? From markamatte at hotmail.com Thu Aug 16 10:25:57 2007 From: markamatte at hotmail.com (Mark A Matte) Date: Thu, 16 Aug 2007 15:25:57 +0000 Subject: [AccessD] SQL Speed In-Reply-To: <000201c7df88$aa244b00$af15c048@fredxp> Message-ID: Thanks Fred, But I need to do take the results of each statement and send them individually somewhere(either email or temp table)... ...and can an SQL statement be that long? Thanks, Mark A. Matte >From: "Fred Hooper" >Reply-To: Access Developers discussion and problem >solving >To: "'Access Developers discussion and problem >solving'" >Subject: Re: [AccessD] SQL Speed >Date: Wed, 15 Aug 2007 18:07:26 -0400 > >Hi Mark, > >Is there any chance you could string those 10k runs together with union >all's? If so, you could run all of them at once with a pass-though query, >which would be *much* faster than 10k separate runs. > >Fred > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte >Sent: Wednesday, August 15, 2007 9:47 AM >To: accessd at databaseadvisors.com >Subject: Re: [AccessD] SQL Speed > >I'm not returning 4K rows...the table I'm running these SQL statements >againts has 4K rows... > >In one table I have 10K SQL statements(1 per row). The SQL statements are >all filtering on indexed currency and integer fields. I pullin all 10K as >a > >recordset....and loop through...for each row, I execute that SQL againts a >table with about 4K rows...and take the results (typically between 1 and 20 >rows) and concatenated a Char4 and a Currency field from each of the >results > >into 1 long string (this will later be the body of an email). > >So...I run 10K SQL statements, one right after the other, against a table >with about 4K rows, returning between 1 and 20 records per SQL statement. > >To run these 10K and store the results it takes just less than 2 >Minutes...if this is slow...please share how long (average) you would >expect > >it to take 10K queries to run? > >There is more detail in the emails below... > > >From: "Christopher Hawkins" > >Reply-To: Access Developers discussion and problem > >solving > >To: > >Subject: Re: [AccessD] SQL Speed > >Date: Tue, 14 Aug 2007 20:08:09 -0600 > > > >Hi, Mark. I think I missed this topic the first time it came up. > > > >This is a hard question to answer, mainly because you don't mention what > >type of data is contained in the 4K rows you're querying, and how many > >fields are involved. You also mention that the results will be > >"concatenated", which seems like an odd thing to do. I would expect you >to > > >run a sum or a count or something, not a concatenation of 4K rows. Can >you > > >provide more detail? > > > >Off the cuff, 2 minutes sounds slow to return 4K rows of the kind of data >I > > >tend to work with, but like I said, I'm not exactly clear on what you're > >doing with those rows. > > > >Can you show us the actual SQL? > > > >-C- > > > >---------------------------------------- > > > >From: "Mark A Matte" > >Sent: Tuesday, August 14, 2007 3:12 AM > >To: accessd at databaseadvisors.com > >Subject: Re: [AccessD] SQL Speed > > > >Hello All, > > > >I haven't received any responses after the email below. I am specifically > >curious about the realistic time to run 10K sql statements (see below). > >Access vs. SQL server? > > > >Any feedback is greatly appreciated. > > > >Thanks, > > > >Mark A. Matte > > > > >From: "Mark A Matte" > > >Reply-To: Access Developers discussion and problem > > >solving > > >To: accessd at databaseadvisors.com > > >Subject: Re: [AccessD] SQL Speed > > >Date: Thu, 09 Aug 2007 17:27:51 +0000 > > > > > >Thanks to All for your responses...(everything discussed below is > >currently > > >in A2K) > > > > > >I'm at the beginning of this and appreciate any ideas...This program >has > > >been running 24/7 for the last 3 years...but only runs 1 SQL statement. > >It > > >runs the statement, loops through the results and concatenates the > >results, > > >and then emails the results (for these tests we are going to forget >about > > >the email part and just store the results in a separate table). > > > > > >Last night I put a loop on this and ran it 10K times. It took just >under > >2 > > >minutes. To make it more realistic, (the 10k SQL statements will all be > > >different, but very similar) I removed the SQL from the code and placed > >it > > >in a memo field in another table (tblSQL). Next, I modified the code so > > >now > > >it first pulls all records form tblSQL (I added 10k rows...but all the > >same > > >SQL statement)...then for each of these records...it does the stuff I > > >outlined above. > > > > > >Again, it ran in just under 2 minutes. I need this to be as fast as > > >possible, and I don't know what a realistic time is. I apparently can >do > > >10K in less than 2 minutes, but is this good, bad, average? > > > > > >Any thoughts/ideas? > > > > > >Thanks, > > > > > >Mark A. Matte > > > > > > > > > >From: Jim Lawrence > > > >Reply-To: Access Developers discussion and problem > > > >solving > > > >To: "'Access Developers discussion and problem > > > >solving'" > > > >Subject: Re: [AccessD] SQL Speed > > > >Date: Wed, 08 Aug 2007 22:15:43 -0700 > > > > > > > >Well, you have probably already thought of this, but any queries that > >can > > > >run on the SQL server as pre-compiled stored procedures will give > > >superior > > > >performance. > > > > > > > >Jim > > > > > > > >-----Original Message----- > > > >From: accessd-bounces at databaseadvisors.com > > > >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A >Matte > > > >Sent: Wednesday, August 08, 2007 1:57 PM > > > >To: accessd at databaseadvisors.com > > > >Subject: [AccessD] SQL Speed > > > > > > > >Hello All, > > > > > > > >I am involved in a project that will be web based. The database will > > > >either > > > > > > > >be access or SQL Server. > > > > > > > >The question is: I need to run a bunch (maybe 10K) of SQL statements > > > >againts a single table...or flat file, whatever is best, containing > >about > > > >4K > > > > > > > >rows. The results of each will be appended to a second table, or > >emailed > > > >instantly (ahh...idea...good place for a JC style Class). The SQL > > > >statements themselves will be stored in a table. > > > > > > > >Does anyone have any ideas/suggestions about approach? I will need >ALL > > >of > > > >the SQLs to run in less than 5 minutes. I know 1 runs in a fraction >of > >a > > > >second...I just don't know what that fraction is to calculate time > > >needed. > > > > > > > >Being there are so few rows involved...but so many SQL >statements...and > > > >speed is an issue...will there be a signicant advantage using SQL > >Server > > >or > > > >Access? > > > > > > > >I'm thinking of having the SQLs in a table and looping through and > > > >executing > > > > > > > >each...I just don't know if this is the best approach? > > > > > > > >Thanks, > > > > > > > >Mark A. Matte > > > > > >_________________________________________________________________ >Puzzles, trivia teasers, word scrambles and more. Play for your chance to >win! http://club.live.com/home.aspx?icid=CLUB_hotmailtextlink > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Booking a flight? Know when to buy with airfare predictions on MSN Travel. http://travel.msn.com/Articles/aboutfarecast.aspx&ocid=T001MSN25A07001 From DWUTKA at Marlow.com Thu Aug 16 10:51:42 2007 From: DWUTKA at Marlow.com (Drew Wutka) Date: Thu, 16 Aug 2007 10:51:42 -0500 Subject: [AccessD] Access Front-End via Web Enabled In-Reply-To: Message-ID: I can answer that, the difference between ASP.Net and ASP is like the difference between VBScript and VB.Net. I've used all 4, though I tend to use VB 6 and ASP normally. ASP.Net uses internal code to produce effects that are not native to a web application. For example, in ASP.Net, you get events that the web server really isn't aware of. Old ASP has a few objects, the biggies being Server (used to do things with the server, such as creating an object), Response (object used to send data back to the web user) and Request (object used to see what the web user is sending). So for an ASP application to retrieve data from a database based on criteria in a combobox, the asp page uses HTML to 'submit' the combobox data, which is read through the 'request' object, then the 'server' object is used to read the database and retrieve the necessary data, and the 'response' object is used to return the data as a web page. With ASP.Net, you can have an OnClick (not sure if that's the right event, don't use ASP.Net on a regular basis) that 'appears' to do all the work just like an Access form does it, but it is really doing a lot of the work for you internally using a combination of client side and server side scripting. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, August 16, 2007 10:16 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access Front-End via Web Enabled I haven't worked with it at all in several years because virtually all our development is WinForms using VB.Net. I never worked with ASP, so I don't know how different ASP.Net is. There are lots of books on it, which should help. The biggie is getting used to the .Net object model where EVERYTHING is an object and there are multiple ways to do something, some of them more right than others. Charlotte Foust The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI BusinessSensitve material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. From rockysmolin at bchacc.com Thu Aug 16 10:52:08 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Thu, 16 Aug 2007 08:52:08 -0700 Subject: [AccessD] Access Front-End via Web Enabled In-Reply-To: Message-ID: <004701c7e01d$673f17d0$0301a8c0@HAL9005> At the risk of running afoul of a moderator: what's the difference between ASP and PHP in terms of when you would use each? (I'm thinking I should learn one of these.) TIA Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, August 16, 2007 7:57 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access Front-End via Web Enabled You won't like the answer: ASP.Net Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Julie Reardon-Taylor Sent: Thursday, August 16, 2007 7:20 AM To: accessd at databaseadvisors.com Subject: [AccessD] Access Front-End via Web Enabled Looking for some opinions on what people are using for a web-enabled access database. I have used replication for some applications, but would now like to move the front-end to a browser so that the input can be done via a web page over a wireless connection. Have toyed with data access pages, but not sure if that is a good solution. This application has three subform levels and the scripting may be an issue in DAP. Did I read a posting on AccessD at some point that DAP are going to be out in the next version of Access? What are other people using as forms via the www? Julie Reardon PRO-SOFT OF NY, INC. 44 Public Square Suite #5 Watertown, NY 13601 Phone: 315.785.0319 Fax: 315.785.0323 www.pro-soft.net NYS IT Services Contract CMT026A NYS Certified Woman-Owned Business _________________________________________________________________ Learn.Laugh.Share. Reallivemoms is right place! http://www.reallivemoms.com?ocid=TXT_TAGHM&loc=us -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.19/955 - Release Date: 8/15/2007 4:55 PM From ebarro at verizon.net Thu Aug 16 10:54:51 2007 From: ebarro at verizon.net (Eric Barro) Date: Thu, 16 Aug 2007 08:54:51 -0700 Subject: [AccessD] Access Front-End via Web Enabled In-Reply-To: Message-ID: <0JMV00AY6IVCVTP0@vms046.mailsrvcs.net> You can pretty much use your WinForms code (classes and modules) in ASP.NET with some tweaks to allow for web-specific features. 1. Session variables - functions pretty much like global variables. Web-based apps are stateless so you will need a way to track each user via their SessionID and other Session variables you define. 2. Passing values from one page to another - Session variables take up server memory and resources so this is not a recommended way for passing values. You use the Request object to read the querystring (that long line of gobblygook you see on the URL) or read the form values that the server keeps track of. 3. Disconnected recordsets - there's no such thing as bound forms in a web-based app. You will need to learn the tricks and intricacies of disconnected recordsets and how to best code CRUD (Create, Retrieve, Update, Delete) operations. Those are some of the "little things" you have to adjust to when transitioning to or considering .NET development. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, August 16, 2007 8:16 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access Front-End via Web Enabled I haven't worked with it at all in several years because virtually all our development is WinForms using VB.Net. I never worked with ASP, so I don't know how different ASP.Net is. There are lots of books on it, which should help. The biggie is getting used to the .Net object model where EVERYTHING is an object and there are multiple ways to do something, some of them more right than others. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Julie Taylor Sent: Thursday, August 16, 2007 8:10 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access Front-End via Web Enabled Hi Charlotte, Thank you for answering me. Was it difficult to get into? Is the transition from Access a difficult one? By the way, for all of you members in Italy..........I was there this summer. Absolutely beautiful country. People were wonderful. You have such a treasure! My photos are on my website, if anyone would like to see them. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, August 16, 2007 10:57 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access Front-End via Web Enabled You won't like the answer: ASP.Net Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Julie Reardon-Taylor Sent: Thursday, August 16, 2007 7:20 AM To: accessd at databaseadvisors.com Subject: [AccessD] Access Front-End via Web Enabled Looking for some opinions on what people are using for a web-enabled access database. I have used replication for some applications, but would now like to move the front-end to a browser so that the input can be done via a web page over a wireless connection. Have toyed with data access pages, but not sure if that is a good solution. This application has three subform levels and the scripting may be an issue in DAP. Did I read a posting on AccessD at some point that DAP are going to be out in the next version of Access? What are other people using as forms via the www? Julie Reardon PRO-SOFT OF NY, INC. 44 Public Square Suite #5 Watertown, NY 13601 Phone: 315.785.0319 Fax: 315.785.0323 www.pro-soft.net NYS IT Services Contract CMT026A NYS Certified Woman-Owned Business From ebarro at verizon.net Thu Aug 16 11:12:02 2007 From: ebarro at verizon.net (Eric Barro) Date: Thu, 16 Aug 2007 09:12:02 -0700 Subject: [AccessD] Access Front-End via Web Enabled In-Reply-To: <004701c7e01d$673f17d0$0301a8c0@HAL9005> Message-ID: <0JMV00JEQJNZEDW2@vms042.mailsrvcs.net> The main difference is the platform it runs on. ASP is a Microsoft-centric technology that utilizes VB or VBScript as its underlying scripting technology. PHP is open source and will run on either a Microsoft server OS or a Unix server. Access of course is Microsoft-centric and you can easily port your VBA knowledge and event-driven savvy to ASP/ASP.NET so I would assume (since I haven't used PHP at all) that the learning curve would be easier going the Microsoft way. Both are server-based technologies so you'd best polish up on unbound forms concepts. There...we no longer have to worry about moderators since I've slipped in that tidbit on Access. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Thursday, August 16, 2007 8:52 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access Front-End via Web Enabled At the risk of running afoul of a moderator: what's the difference between ASP and PHP in terms of when you would use each? (I'm thinking I should learn one of these.) TIA Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, August 16, 2007 7:57 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access Front-End via Web Enabled You won't like the answer: ASP.Net Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Julie Reardon-Taylor Sent: Thursday, August 16, 2007 7:20 AM To: accessd at databaseadvisors.com Subject: [AccessD] Access Front-End via Web Enabled Looking for some opinions on what people are using for a web-enabled access database. I have used replication for some applications, but would now like to move the front-end to a browser so that the input can be done via a web page over a wireless connection. Have toyed with data access pages, but not sure if that is a good solution. This application has three subform levels and the scripting may be an issue in DAP. Did I read a posting on AccessD at some point that DAP are going to be out in the next version of Access? What are other people using as forms via the www? Julie Reardon PRO-SOFT OF NY, INC. 44 Public Square Suite #5 Watertown, NY 13601 Phone: 315.785.0319 Fax: 315.785.0323 www.pro-soft.net NYS IT Services Contract CMT026A NYS Certified Woman-Owned Business From DWUTKA at Marlow.com Thu Aug 16 11:19:43 2007 From: DWUTKA at Marlow.com (Drew Wutka) Date: Thu, 16 Aug 2007 11:19:43 -0500 Subject: [AccessD] Access Front-End via Web Enabled In-Reply-To: <004701c7e01d$673f17d0$0301a8c0@HAL9005> Message-ID: VB vs. C. ASP can be written in VBScript or Javascript, while PHP is structured more like C. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Thursday, August 16, 2007 10:52 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access Front-End via Web Enabled At the risk of running afoul of a moderator: what's the difference between ASP and PHP in terms of when you would use each? (I'm thinking I should learn one of these.) TIA Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, August 16, 2007 7:57 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access Front-End via Web Enabled You won't like the answer: ASP.Net Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Julie Reardon-Taylor Sent: Thursday, August 16, 2007 7:20 AM To: accessd at databaseadvisors.com Subject: [AccessD] Access Front-End via Web Enabled Looking for some opinions on what people are using for a web-enabled access database. I have used replication for some applications, but would now like to move the front-end to a browser so that the input can be done via a web page over a wireless connection. Have toyed with data access pages, but not sure if that is a good solution. This application has three subform levels and the scripting may be an issue in DAP. Did I read a posting on AccessD at some point that DAP are going to be out in the next version of Access? What are other people using as forms via the www? Julie Reardon PRO-SOFT OF NY, INC. 44 Public Square Suite #5 Watertown, NY 13601 Phone: 315.785.0319 Fax: 315.785.0323 www.pro-soft.net NYS IT Services Contract CMT026A NYS Certified Woman-Owned Business _________________________________________________________________ Learn.Laugh.Share. Reallivemoms is right place! http://www.reallivemoms.com?ocid=TXT_TAGHM&loc=us -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.19/955 - Release Date: 8/15/2007 4:55 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI BusinessSensitve material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. From markamatte at hotmail.com Thu Aug 16 12:12:49 2007 From: markamatte at hotmail.com (Mark A Matte) Date: Thu, 16 Aug 2007 17:12:49 +0000 Subject: [AccessD] Moving from Access to web??? In-Reply-To: Message-ID: Hello All, Since we're on the topic of the web...my most recent post was related to SQL speed...and everything so far has been built in access. In making this service available to online...I really don't know how to do this. Currently VBA is doing all of the work. Looping through recordsets and running queries. I use a form timer to launch it. If I leave it in Access...does this mean the MDB is always open on the hosting server? If I put it in SQL Server...what does the looping through results? I'm just confused again...lol In a nutshell... I run 10K queries against 4K records...and for each query I concantenate the results...and email them out. I can create the webpage for people to sign up...but I need suggestions on what to use to 'do' the stuff that VBA is currently doing behind the scenes? Thanks Again, Mark A. Matte _________________________________________________________________ Tease your brain--play Clink! Win cool prizes! http://club.live.com/clink.aspx?icid=clink_hotmailtextlink2 From cjeris at fas.harvard.edu Thu Aug 16 12:24:23 2007 From: cjeris at fas.harvard.edu (Christopher Jeris) Date: Thu, 16 Aug 2007 13:24:23 -0400 Subject: [AccessD] Setting listbox selection Message-ID: <46C48847.601@fas.harvard.edu> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi everyone, Some behavior of the .Selected attribute of the ListBox control is baffling me. Specifically, setting the .Selected attribute of a single-select listbox element, when that element is not in the currently viewable region of a scrollable listbox, does not appear to work. Here's a test case on Access 2002 SP3. Create a form containing a single listbox List0, with Row Source Type = Value List Row Source = 0;1;2;3;4;5;6;7;8;9 Size the listbox so that not all the rows are visible (there is a scroll bar). and a single command button Command2, with the following code: Private Sub EraseSelection(box As ListBox) Dim i As Long For i = 0 To box.ListCount - 1 box.Selected(i) = False Next i End Sub Private Sub Command2_Click() EraseSelection Me!List0 If Me!List0.ItemsSelected.Count > 0 Then MsgBox Me!List0.ItemsSelected(0) End If End Sub To test: Select an element in the listbox. Click Command2. The selection disappears. Select an element in the listbox. Scroll the listbox so that the highlighted row is ENTIRELY beyond the viewable region (the problem does not occur if the highlight is partially visible). Click Command2. I get two MsgBoxes; the first one gives the highlighted row; the second one gives -1. In other words, setting the selected item of a listbox using the .Selected property may silently fail, depending entirely on a fact (the view region of the listbox) which I know no way to find out in code! What's going on here, and what should I be doing instead? thanks much, Chris Jeris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGxIhG5ICCNV0oGWARArGOAJ0eBHDrdgKvHbAItVYyWPdkfEQ49gCfX+N7 KFOnbvPT9yFOZKAOunudvWU= =E+V2 -----END PGP SIGNATURE----- From robert at webedb.com Thu Aug 16 12:56:05 2007 From: robert at webedb.com (Robert L. Stewart) Date: Thu, 16 Aug 2007 12:56:05 -0500 Subject: [AccessD] Access Front-End via Web Enabled In-Reply-To: References: Message-ID: <200708161800.l7GI0tDg018070@databaseadvisors.com> Julie, The best way of handling it is .Net. ADPs were never very good for anything and just an experiment on the MS side because they never did much with it. I don't remember seeing it in 2007. Robert At 12:00 PM 8/16/2007, you wrote: >Date: Thu, 16 Aug 2007 10:20:21 -0400 >From: "Julie Reardon-Taylor" >Subject: [AccessD] Access Front-End via Web Enabled >To: accessd at databaseadvisors.com >Message-ID: >Content-Type: text/plain; format=flowed > >Looking for some opinions on what people are using for a web-enabled access >database. I have used replication for some applications, but would now like >to move the front-end to a browser so that the input can be done via a web >page over a wireless connection. > >Have toyed with data access pages, but not sure if that is a good solution. > >This application has three subform levels and the scripting may be an issue >in DAP. > >Did I read a posting on AccessD at some point that DAP are going to be out >in the next version of Access? > >What are other people using as forms via the www? > > > >Julie Reardon >PRO-SOFT OF NY, INC. >44 Public Square Suite #5 >Watertown, NY 13601 >Phone: 315.785.0319 >Fax: 315.785.0323 >www.pro-soft.net >NYS IT Services Contract CMT026A >NYS Certified Woman-Owned Business From ebarro at verizon.net Thu Aug 16 13:04:18 2007 From: ebarro at verizon.net (Eric Barro) Date: Thu, 16 Aug 2007 11:04:18 -0700 Subject: [AccessD] Moving from Access to web??? In-Reply-To: Message-ID: <0JMV00BGJOV46VV5@vms046.mailsrvcs.net> Mark, If you use SQL server you can create a stored procedure that does the bulk of the work and schedule a job if you want it to run at certain intervals or have a button or trigger on the web page if you want to run it on demand. String concatenation is not one of VB's strengths and in fact it will be the bottleneck so you might want to consider VB.NET with its StringBuilder class to do all that hard work for that part. When you transfer the process to a server-based app you will have to contend with dealing with a mail server and you will experience timeouts when you use the CDO mail components for large volumes of mail as opposed to using Outlook automation to process the emails. Eric -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Thursday, August 16, 2007 10:13 AM To: accessd at databaseadvisors.com Subject: [AccessD] Moving from Access to web??? Hello All, Since we're on the topic of the web...my most recent post was related to SQL speed...and everything so far has been built in access. In making this service available to online...I really don't know how to do this. Currently VBA is doing all of the work. Looping through recordsets and running queries. I use a form timer to launch it. If I leave it in Access...does this mean the MDB is always open on the hosting server? If I put it in SQL Server...what does the looping through results? I'm just confused again...lol In a nutshell... I run 10K queries against 4K records...and for each query I concantenate the results...and email them out. I can create the webpage for people to sign up...but I need suggestions on what to use to 'do' the stuff that VBA is currently doing behind the scenes? Thanks Again, Mark A. Matte From robert at webedb.com Thu Aug 16 13:03:35 2007 From: robert at webedb.com (Robert L. Stewart) Date: Thu, 16 Aug 2007 13:03:35 -0500 Subject: [AccessD] Access Front-End via Web Enabled In-Reply-To: References: Message-ID: <200708161805.l7GI5uwZ019850@databaseadvisors.com> Rocky, It is like MS Sql vs. MySql. They both do the same thing. If you want to go the non-MS way, the dark side, you use PHP, otherwise you stay in the light and use ASP. :-) For those of you wanting to use .Net and have much of the functionality that Access has, take a look at Codesmith Tools and the .NetTiers template for it. You can also look at the Enterprise Library, which .NetTiers uses as it's base. I can build a WinForms form in less than 10 minutes using these tools. ASP.Net is a bit longer. But, it is a matter of getting accustomed to using it. BTW, it generates C# code. But, after compiling it, you can use the dlls in VB. Robert At 12:00 PM 8/16/2007, you wrote: >Date: Thu, 16 Aug 2007 08:52:08 -0700 >From: "Rocky Smolin at Beach Access Software" >Subject: Re: [AccessD] Access Front-End via Web Enabled >To: "'Access Developers discussion and problem solving'" > >Message-ID: <004701c7e01d$673f17d0$0301a8c0 at HAL9005> >Content-Type: text/plain; charset="US-ASCII" > >At the risk of running afoul of a moderator: what's the difference between >ASP and PHP in terms of when you would use each? (I'm thinking I should >learn one of these.) > >TIA > >Rocky > From cfoust at infostatsystems.com Thu Aug 16 13:05:21 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 16 Aug 2007 11:05:21 -0700 Subject: [AccessD] Setting listbox selection In-Reply-To: <46C48847.601@fas.harvard.edu> References: <46C48847.601@fas.harvard.edu> Message-ID: That won't give you what you want, as you've discovered. Here's a routine I used on a pick list form that built a string from the selections: '****** Begin Code Private Function BuildListString(ByRef lst As ListBox, _ Optional blnSelectedOnly As Boolean = False, _ Optional blnAll As Boolean = True) As String 'created 12/4/2001 CF 'accepts a listbox control ' modified 7/2/2002 CF - Added blnAll argument and modified to allow creation of ' list of unselected items Dim strList As String 'holds return value of function Dim intCnt As Integer 'used for looping through entire list Dim varItem As Variant 'used for looping through selected items only On Error GoTo Proc_Err 'loop through the listbox items and create a string If blnSelectedOnly Then 'add only selected items to the list For Each varItem In lst.ItemsSelected strList = strList & "'" & lst.ItemData(varItem) & "', " Next varItem 'In lst.ItemsSelected If strList <> vbNullString Then strList = Left$(strList, Len(strList) - 2) End If 'strList <> vbNullString ElseIf blnAll Then For intCnt = 0 To lst.ListCount - 1 'add all items to the list strList = strList & "'" & lst.ItemData(intCnt) & "'" If intCnt < lst.ListCount - 1 Then strList = strList & ", " End If 'intCnt < lst.ListCount - 1 Next intCnt '= 0 To lst.ListCount - 1 Else For intCnt = 0 To lst.ListCount - 1 'only add unselected items to the list If Not lst.Selected(intCnt) Then strList = strList & "'" & lst.ItemData(intCnt) & "'" If intCnt < lst.ListCount - 1 Then strList = strList & ", " End If 'intCnt < lst.ListCount - 1 End If Next intCnt '= 0 To lst.ListCount - 1 End If 'blnSelectedOnly Proc_exit: On Error Resume Next BuildListString = strList Exit Function Proc_Err: MsgBox "Error: " & Err.Description, vbExclamation, Me.Name & ": BuildListString" Resume Proc_exit End Function 'BuildListString(ByRef lst As ListBox) As String '***** End Code Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Christopher Jeris Sent: Thursday, August 16, 2007 10:24 AM To: Access Developers discussion and problem solving Subject: [AccessD] Setting listbox selection -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi everyone, Some behavior of the .Selected attribute of the ListBox control is baffling me. Specifically, setting the .Selected attribute of a single-select listbox element, when that element is not in the currently viewable region of a scrollable listbox, does not appear to work. Here's a test case on Access 2002 SP3. Create a form containing a single listbox List0, with Row Source Type = Value List Row Source = 0;1;2;3;4;5;6;7;8;9 Size the listbox so that not all the rows are visible (there is a scroll bar). and a single command button Command2, with the following code: Private Sub EraseSelection(box As ListBox) Dim i As Long For i = 0 To box.ListCount - 1 box.Selected(i) = False Next i End Sub Private Sub Command2_Click() EraseSelection Me!List0 If Me!List0.ItemsSelected.Count > 0 Then MsgBox Me!List0.ItemsSelected(0) End If End Sub To test: Select an element in the listbox. Click Command2. The selection disappears. Select an element in the listbox. Scroll the listbox so that the highlighted row is ENTIRELY beyond the viewable region (the problem does not occur if the highlight is partially visible). Click Command2. I get two MsgBoxes; the first one gives the highlighted row; the second one gives -1. In other words, setting the selected item of a listbox using the .Selected property may silently fail, depending entirely on a fact (the view region of the listbox) which I know no way to find out in code! What's going on here, and what should I be doing instead? thanks much, Chris Jeris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGxIhG5ICCNV0oGWARArGOAJ0eBHDrdgKvHbAItVYyWPdkfEQ49gCfX+N7 KFOnbvPT9yFOZKAOunudvWU= =E+V2 -----END PGP SIGNATURE----- -- 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 16 13:07:07 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 16 Aug 2007 11:07:07 -0700 Subject: [AccessD] Access Front-End via Web Enabled In-Reply-To: <200708161800.l7GI0tDg018070@databaseadvisors.com> References: <200708161800.l7GI0tDg018070@databaseadvisors.com> Message-ID: I hope you're running for the hills, Robert! Both the DAP fans and the ADP fans are likely to be after your scalp! LOL Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Robert L. Stewart Sent: Thursday, August 16, 2007 10:56 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Access Front-End via Web Enabled Julie, The best way of handling it is .Net. ADPs were never very good for anything and just an experiment on the MS side because they never did much with it. I don't remember seeing it in 2007. Robert At 12:00 PM 8/16/2007, you wrote: >Date: Thu, 16 Aug 2007 10:20:21 -0400 >From: "Julie Reardon-Taylor" >Subject: [AccessD] Access Front-End via Web Enabled >To: accessd at databaseadvisors.com >Message-ID: >Content-Type: text/plain; format=flowed > >Looking for some opinions on what people are using for a web-enabled >access database. I have used replication for some applications, but >would now like to move the front-end to a browser so that the input can >be done via a web page over a wireless connection. > >Have toyed with data access pages, but not sure if that is a good solution. > >This application has three subform levels and the scripting may be an >issue in DAP. > >Did I read a posting on AccessD at some point that DAP are going to be >out in the next version of Access? > >What are other people using as forms via the www? > > > >Julie Reardon >PRO-SOFT OF NY, INC. >44 Public Square Suite #5 >Watertown, NY 13601 >Phone: 315.785.0319 >Fax: 315.785.0323 >www.pro-soft.net >NYS IT Services Contract CMT026A >NYS Certified Woman-Owned Business -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From spike at tenbus.co.uk Thu Aug 16 13:30:03 2007 From: spike at tenbus.co.uk (Webadmin - Tenbus) Date: Thu, 16 Aug 2007 19:30:03 +0100 Subject: [AccessD] Access Front-End via Web Enabled In-Reply-To: <200708161805.l7GI5uwZ019850@databaseadvisors.com> References: <200708161805.l7GI5uwZ019850@databaseadvisors.com> Message-ID: <46C497AB.8050001@tenbus.co.uk> Looks like I chose the dark side ;-) When I wanted to develop dynamic website, I went for the PHP/MySQL option. There were two reasons: my hosting company offered these pre-installed and they are free ;-) Being open-source, there is an extensive amount of free help available on the 'net. I'm not a programer but found the migration from Access/VBA to MySql/PHP fairly painless. Regards Chris Foote Robert L. Stewart wrote: > Rocky, > > It is like MS Sql vs. MySql. They both do the same thing. > If you want to go the non-MS way, the dark side, you > use PHP, otherwise you stay in the light and use ASP. :-) > > For those of you wanting to use .Net and have much of the > functionality that Access has, take a look at Codesmith > Tools and the .NetTiers template for it. You can also > look at the Enterprise Library, which .NetTiers uses as > it's base. > > I can build a WinForms form in less than 10 minutes using > these tools. ASP.Net is a bit longer. But, it is a matter > of getting accustomed to using it. BTW, it generates C# > code. But, after compiling it, you can use the dlls in VB. > > Robert > > At 12:00 PM 8/16/2007, you wrote: > >> Date: Thu, 16 Aug 2007 08:52:08 -0700 >> From: "Rocky Smolin at Beach Access Software" >> Subject: Re: [AccessD] Access Front-End via Web Enabled >> To: "'Access Developers discussion and problem solving'" >> >> Message-ID: <004701c7e01d$673f17d0$0301a8c0 at HAL9005> >> Content-Type: text/plain; charset="US-ASCII" >> >> At the risk of running afoul of a moderator: what's the difference between >> ASP and PHP in terms of when you would use each? (I'm thinking I should >> learn one of these.) >> >> TIA >> >> Rocky >> >> > > > From cjeris at fas.harvard.edu Thu Aug 16 13:37:46 2007 From: cjeris at fas.harvard.edu (Christopher Jeris) Date: Thu, 16 Aug 2007 14:37:46 -0400 Subject: [AccessD] Setting listbox selection In-Reply-To: References: <46C48847.601@fas.harvard.edu> Message-ID: <46C4997A.4060600@fas.harvard.edu> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Charlotte Foust wrote: > That won't give you what you want, as you've discovered. Here's a > routine I used on a pick list form that built a string from the > selections: > '****** Begin Code > Private Function BuildListString(ByRef lst As ListBox, _ > Optional blnSelectedOnly As Boolean = > False, _ > Optional blnAll As Boolean = True) As > String > [...] That works for reading values from the listbox control, but my problem is that writing values _to_ the listbox control doesn't seem to do what it should. peace, Chris Jeris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGxJl65ICCNV0oGWARAmezAJ91zS2MEUCLT4XZTdo9c0MEdyi3rQCeIEiu 8fS2hb36nnQh+VQ/PIO1Bnw= =9fH6 -----END PGP SIGNATURE----- From rockysmolin at bchacc.com Thu Aug 16 13:47:00 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Thu, 16 Aug 2007 11:47:00 -0700 Subject: [AccessD] Access Front-End via Web Enabled In-Reply-To: <46C497AB.8050001@tenbus.co.uk> Message-ID: <009101c7e035$d489aef0$0301a8c0@HAL9005> Did you already know C ? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Webadmin - Tenbus Sent: Thursday, August 16, 2007 11:30 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access Front-End via Web Enabled Looks like I chose the dark side ;-) When I wanted to develop dynamic website, I went for the PHP/MySQL option. There were two reasons: my hosting company offered these pre-installed and they are free ;-) Being open-source, there is an extensive amount of free help available on the 'net. I'm not a programer but found the migration from Access/VBA to MySql/PHP fairly painless. Regards Chris Foote Robert L. Stewart wrote: > Rocky, > > It is like MS Sql vs. MySql. They both do the same thing. > If you want to go the non-MS way, the dark side, you use PHP, > otherwise you stay in the light and use ASP. :-) > > For those of you wanting to use .Net and have much of the > functionality that Access has, take a look at Codesmith Tools and the > .NetTiers template for it. You can also look at the Enterprise > Library, which .NetTiers uses as it's base. > > I can build a WinForms form in less than 10 minutes using these tools. > ASP.Net is a bit longer. But, it is a matter of getting accustomed to > using it. BTW, it generates C# code. But, after compiling it, you can > use the dlls in VB. > > Robert > > At 12:00 PM 8/16/2007, you wrote: > >> Date: Thu, 16 Aug 2007 08:52:08 -0700 >> From: "Rocky Smolin at Beach Access Software" >> >> Subject: Re: [AccessD] Access Front-End via Web Enabled >> To: "'Access Developers discussion and problem solving'" >> >> Message-ID: <004701c7e01d$673f17d0$0301a8c0 at HAL9005> >> Content-Type: text/plain; charset="US-ASCII" >> >> At the risk of running afoul of a moderator: what's the difference >> between ASP and PHP in terms of when you would use each? (I'm >> thinking I should learn one of these.) >> >> TIA >> >> Rocky >> >> > > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.19/955 - Release Date: 8/15/2007 4:55 PM From prosoft6 at hotmail.com Thu Aug 16 14:15:59 2007 From: prosoft6 at hotmail.com (Julie Taylor) Date: Thu, 16 Aug 2007 15:15:59 -0400 Subject: [AccessD] Access Front-End via Web Enabled In-Reply-To: <46C497AB.8050001@tenbus.co.uk> References: <200708161805.l7GI5uwZ019850@databaseadvisors.com> <46C497AB.8050001@tenbus.co.uk> Message-ID: Great discussion! Please tell me more......if anyone else wants to chime in. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Webadmin - Tenbus Sent: Thursday, August 16, 2007 2:30 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access Front-End via Web Enabled Looks like I chose the dark side ;-) When I wanted to develop dynamic website, I went for the PHP/MySQL option. There were two reasons: my hosting company offered these pre-installed and they are free ;-) Being open-source, there is an extensive amount of free help available on the 'net. I'm not a programer but found the migration from Access/VBA to MySql/PHP fairly painless. Regards Chris Foote Robert L. Stewart wrote: > Rocky, > > It is like MS Sql vs. MySql. They both do the same thing. > If you want to go the non-MS way, the dark side, you > use PHP, otherwise you stay in the light and use ASP. :-) > > For those of you wanting to use .Net and have much of the > functionality that Access has, take a look at Codesmith > Tools and the .NetTiers template for it. You can also > look at the Enterprise Library, which .NetTiers uses as > it's base. > > I can build a WinForms form in less than 10 minutes using > these tools. ASP.Net is a bit longer. But, it is a matter > of getting accustomed to using it. BTW, it generates C# > code. But, after compiling it, you can use the dlls in VB. > > Robert > > At 12:00 PM 8/16/2007, you wrote: > >> Date: Thu, 16 Aug 2007 08:52:08 -0700 >> From: "Rocky Smolin at Beach Access Software" >> Subject: Re: [AccessD] Access Front-End via Web Enabled >> To: "'Access Developers discussion and problem solving'" >> >> Message-ID: <004701c7e01d$673f17d0$0301a8c0 at HAL9005> >> Content-Type: text/plain; charset="US-ASCII" >> >> At the risk of running afoul of a moderator: what's the difference between >> ASP and PHP in terms of when you would use each? (I'm thinking I should >> learn one of these.) >> >> TIA >> >> Rocky >> >> > > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From adtp at airtelbroadband.in Thu Aug 16 14:42:33 2007 From: adtp at airtelbroadband.in (A.D.TEJPAL) Date: Fri, 17 Aug 2007 01:12:33 +0530 Subject: [AccessD] Setting listbox selection References: <46C48847.601@fas.harvard.edu> Message-ID: <013401c7e03d$bb31abd0$6757a27a@pcadt> Chris, There is an interesting solution to your reported problem in clearing a single-select list box. In your existing code, just insert the following as the first statement in click event of command button. Me.List0.Requery In fact the task can be made drastically simpler by using the following sample code in click event of the command button. It uses only two statements and does away with the need for a subroutine looping through all the rows of a list box. ====================== Private Sub CmdClear_Click() Me.List0.Requery Me.List0 = Null End Sub ====================== Best wishes, A.D.Tejpal -------------- ----- Original Message ----- From: Christopher Jeris To: Access Developers discussion and problem solving Sent: Thursday, August 16, 2007 22:54 Subject: [AccessD] Setting listbox selection -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi everyone, Some behavior of the .Selected attribute of the ListBox control is baffling me. Specifically, setting the .Selected attribute of a single-select listbox element, when that element is not in the currently viewable region of a scrollable listbox, does not appear to work. Here's a test case on Access 2002 SP3. Create a form containing a single listbox List0, with Row Source Type = Value List Row Source = 0;1;2;3;4;5;6;7;8;9 Size the listbox so that not all the rows are visible (there is a scroll bar). and a single command button Command2, with the following code: Private Sub EraseSelection(box As ListBox) Dim i As Long For i = 0 To box.ListCount - 1 box.Selected(i) = False Next i End Sub Private Sub Command2_Click() EraseSelection Me!List0 If Me!List0.ItemsSelected.Count > 0 Then MsgBox Me!List0.ItemsSelected(0) End If End Sub To test: Select an element in the listbox. Click Command2. The selection disappears. Select an element in the listbox. Scroll the listbox so that the highlighted row is ENTIRELY beyond the viewable region (the problem does not occur if the highlight is partially visible). Click Command2. I get two MsgBoxes; the first one gives the highlighted row; the second one gives -1. In other words, setting the selected item of a listbox using the .Selected property may silently fail, depending entirely on a fact (the view region of the listbox) which I know no way to find out in code! What's going on here, and what should I be doing instead? thanks much, Chris Jeris From miscellany at mvps.org Thu Aug 16 15:59:09 2007 From: miscellany at mvps.org (Steve Schapel) Date: Fri, 17 Aug 2007 08:59:09 +1200 Subject: [AccessD] Access Front-End via Web Enabled In-Reply-To: References: Message-ID: <46C4BA9D.9020703@mvps.org> Julie, Just to throw a couple other ideas into the ring. Probably wouldn't attract a lot of support from the mainstreamers, but I think merit serious consideration. 1. Export your database to SharePoint. Would require moving your application to Access 2007, and would require a learning curve, for example replacing Referential Integrity with Workflows and so forth. Of course, this technology is still very much in its infancy, and some limitations at the moment, but it is without doubt the way of the future. If you're talking about needing to invest time and effort into learning new technology anyway, then have a look. And if you're used to the Replication idea, then Access/SharePoint offline data synchronisation is already pretty nice. 2. Depending on the number of concurrent users you are talking about here. But if the goal is to provide the users with remote operation, a solution with the least amount of work could be Terminal Server. You wouldn't need to change your existing application much at all. Or you could look at WinConnect http://www.thinsoftinc.com/product_thin_client_winconnect_server_xp.aspx, which I am using with very good results. Regards Steve Julie Reardon-Taylor wrote: > Looking for some opinions on what people are using for a web-enabled access > database. I have used replication for some applications, but would now like > to move the front-end to a browser so that the input can be done via a web > page over a wireless connection. > > Have toyed with data access pages, but not sure if that is a good solution. > > This application has three subform levels and the scripting may be an issue > in DAP. > > Did I read a posting on AccessD at some point that DAP are going to be out > in the next version of Access? > > What are other people using as forms via the www? From jwcolby at colbyconsulting.com Thu Aug 16 16:17:00 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 16 Aug 2007 17:17:00 -0400 Subject: [AccessD] Can't delete records from this table Message-ID: <20070816211704.20407BE65@smtp-auth.no-ip.com> I have a table where if I create a simple query - join tblX to tblY on PKID, turn into delete * - it gives me the message "can't delete records from this table". Yet if I turn it back into a select query I can highlight records and delete them. Any ideas why? John W. Colby Colby Consulting www.ColbyConsulting.com From Chester_Kaup at kindermorgan.com Thu Aug 16 16:24:38 2007 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Thu, 16 Aug 2007 16:24:38 -0500 Subject: [AccessD] Can't delete records from this table In-Reply-To: <20070816211704.20407BE65@smtp-auth.no-ip.com> References: <20070816211704.20407BE65@smtp-auth.no-ip.com> Message-ID: Do you have in the query properties unique records set to YES? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Thursday, August 16, 2007 4:17 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Can't delete records from this table I have a table where if I create a simple query - join tblX to tblY on PKID, turn into delete * - it gives me the message "can't delete records from this table". Yet if I turn it back into a select query I can highlight records and delete them. Any ideas why? John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Thu Aug 16 16:41:01 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 16 Aug 2007 17:41:01 -0400 Subject: [AccessD] Can't delete records from this table In-Reply-To: Message-ID: <20070816214104.0A3EEBDB2@smtp-auth.no-ip.com> Nope. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Thursday, August 16, 2007 5:25 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Can't delete records from this table Do you have in the query properties unique records set to YES? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Thursday, August 16, 2007 4:17 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Can't delete records from this table I have a table where if I create a simple query - join tblX to tblY on PKID, turn into delete * - it gives me the message "can't delete records from this table". Yet if I turn it back into a select query I can highlight records and delete them. Any ideas why? John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Thu Aug 16 16:47:40 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 16 Aug 2007 14:47:40 -0700 Subject: [AccessD] Setting listbox selection In-Reply-To: <46C4997A.4060600@fas.harvard.edu> References: <46C48847.601@fas.harvard.edu> <46C4997A.4060600@fas.harvard.edu> Message-ID: Sorry, I misunderstood your problem. But listboxes are selection controls, not value display controls, in all versions up to 2007, which I can't speak for. Is this for one of those horrible 2007 multivalue fields, by any chance? Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Christopher Jeris Sent: Thursday, August 16, 2007 11:38 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Setting listbox selection -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Charlotte Foust wrote: > That won't give you what you want, as you've discovered. Here's a > routine I used on a pick list form that built a string from the > selections: > '****** Begin Code > Private Function BuildListString(ByRef lst As ListBox, _ > Optional blnSelectedOnly As Boolean = > False, _ > Optional blnAll As Boolean = True) As > String [...] That works for reading values from the listbox control, but my problem is that writing values _to_ the listbox control doesn't seem to do what it should. peace, Chris Jeris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGxJl65ICCNV0oGWARAmezAJ91zS2MEUCLT4XZTdo9c0MEdyi3rQCeIEiu 8fS2hb36nnQh+VQ/PIO1Bnw= =9fH6 -----END PGP SIGNATURE----- -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Chester_Kaup at kindermorgan.com Thu Aug 16 16:54:09 2007 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Thu, 16 Aug 2007 16:54:09 -0500 Subject: [AccessD] Can't delete records from this table In-Reply-To: <20070816214104.0A3EEBDB2@smtp-auth.no-ip.com> References: <20070816214104.0A3EEBDB2@smtp-auth.no-ip.com> Message-ID: You might want to change it to YES and run the delete query. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Thursday, August 16, 2007 4:41 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Can't delete records from this table Nope. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Thursday, August 16, 2007 5:25 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Can't delete records from this table Do you have in the query properties unique records set to YES? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Thursday, August 16, 2007 4:17 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Can't delete records from this table I have a table where if I create a simple query - join tblX to tblY on PKID, turn into delete * - it gives me the message "can't delete records from this table". Yet if I turn it back into a select query I can highlight records and delete them. Any ideas why? John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From fahooper at trapo.com Thu Aug 16 17:35:49 2007 From: fahooper at trapo.com (Fred Hooper) Date: Thu, 16 Aug 2007 18:35:49 -0400 Subject: [AccessD] SQL Speed In-Reply-To: Message-ID: <001f01c7e055$cbf9dba0$af15c048@fredxp> Hi Mark, I don't know how long an SQL statement can be, but I've written some very long ones - at least 5k characters. When you find out the limit you could just use a loop and maybe have to run 2 or 3 (or 50) queries - still much better than 10k. You could adapt Gustav's "sort with union all" idea by placing "select n as ID_no" as the first field and separate the results later using that #. If they have different numbers of fields, then place dummy fields where needed. The results get into the temp table by having another query that uses the pass-through query as its source. I suggested this because of my experience: I was placing information on all of the tables/fields in an SQL Server database (about 13k fields) into an Access table so I could more easily learn the database. First, I tried a direct SQL statement against the database. It ran a couple of seconds in Query Analyzer. When I used it as a recordset to fill the table, I killed it in a few minutes - but it was going to run at least an hour. The pass-through query fills the table (through another query) in 2-3 seconds. Also, why not concatenate the fields in SQL? Fred -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Thursday, August 16, 2007 11:26 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] SQL Speed Thanks Fred, But I need to do take the results of each statement and send them individually somewhere(either email or temp table)... ...and can an SQL statement be that long? Thanks, Mark A. Matte >From: "Fred Hooper" >Reply-To: Access Developers discussion and problem >solving >To: "'Access Developers discussion and problem >solving'" >Subject: Re: [AccessD] SQL Speed >Date: Wed, 15 Aug 2007 18:07:26 -0400 > >Hi Mark, > >Is there any chance you could string those 10k runs together with union >all's? If so, you could run all of them at once with a pass-though query, >which would be *much* faster than 10k separate runs. > >Fred > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte >Sent: Wednesday, August 15, 2007 9:47 AM >To: accessd at databaseadvisors.com >Subject: Re: [AccessD] SQL Speed > >I'm not returning 4K rows...the table I'm running these SQL statements >againts has 4K rows... > >In one table I have 10K SQL statements(1 per row). The SQL statements are >all filtering on indexed currency and integer fields. I pullin all 10K as >a > >recordset....and loop through...for each row, I execute that SQL againts a >table with about 4K rows...and take the results (typically between 1 and 20 >rows) and concatenated a Char4 and a Currency field from each of the >results > >into 1 long string (this will later be the body of an email). > >So...I run 10K SQL statements, one right after the other, against a table >with about 4K rows, returning between 1 and 20 records per SQL statement. > >To run these 10K and store the results it takes just less than 2 >Minutes...if this is slow...please share how long (average) you would >expect > >it to take 10K queries to run? > >There is more detail in the emails below... > > >From: "Christopher Hawkins" > >Reply-To: Access Developers discussion and problem > >solving > >To: > >Subject: Re: [AccessD] SQL Speed > >Date: Tue, 14 Aug 2007 20:08:09 -0600 > > > >Hi, Mark. I think I missed this topic the first time it came up. > > > >This is a hard question to answer, mainly because you don't mention what > >type of data is contained in the 4K rows you're querying, and how many > >fields are involved. You also mention that the results will be > >"concatenated", which seems like an odd thing to do. I would expect you >to > > >run a sum or a count or something, not a concatenation of 4K rows. Can >you > > >provide more detail? > > > >Off the cuff, 2 minutes sounds slow to return 4K rows of the kind of data >I > > >tend to work with, but like I said, I'm not exactly clear on what you're > >doing with those rows. > > > >Can you show us the actual SQL? > > > >-C- > > > >---------------------------------------- > > > >From: "Mark A Matte" > >Sent: Tuesday, August 14, 2007 3:12 AM > >To: accessd at databaseadvisors.com > >Subject: Re: [AccessD] SQL Speed > > > >Hello All, > > > >I haven't received any responses after the email below. I am specifically > >curious about the realistic time to run 10K sql statements (see below). > >Access vs. SQL server? > > > >Any feedback is greatly appreciated. > > > >Thanks, > > > >Mark A. Matte > > > > >From: "Mark A Matte" > > >Reply-To: Access Developers discussion and problem > > >solving > > >To: accessd at databaseadvisors.com > > >Subject: Re: [AccessD] SQL Speed > > >Date: Thu, 09 Aug 2007 17:27:51 +0000 > > > > > >Thanks to All for your responses...(everything discussed below is > >currently > > >in A2K) > > > > > >I'm at the beginning of this and appreciate any ideas...This program >has > > >been running 24/7 for the last 3 years...but only runs 1 SQL statement. > >It > > >runs the statement, loops through the results and concatenates the > >results, > > >and then emails the results (for these tests we are going to forget >about > > >the email part and just store the results in a separate table). > > > > > >Last night I put a loop on this and ran it 10K times. It took just >under > >2 > > >minutes. To make it more realistic, (the 10k SQL statements will all be > > >different, but very similar) I removed the SQL from the code and placed > >it > > >in a memo field in another table (tblSQL). Next, I modified the code so > > >now > > >it first pulls all records form tblSQL (I added 10k rows...but all the > >same > > >SQL statement)...then for each of these records...it does the stuff I > > >outlined above. > > > > > >Again, it ran in just under 2 minutes. I need this to be as fast as > > >possible, and I don't know what a realistic time is. I apparently can >do > > >10K in less than 2 minutes, but is this good, bad, average? > > > > > >Any thoughts/ideas? > > > > > >Thanks, > > > > > >Mark A. Matte > > > > > > > > > >From: Jim Lawrence > > > >Reply-To: Access Developers discussion and problem > > > >solving > > > >To: "'Access Developers discussion and problem > > > >solving'" > > > >Subject: Re: [AccessD] SQL Speed > > > >Date: Wed, 08 Aug 2007 22:15:43 -0700 > > > > > > > >Well, you have probably already thought of this, but any queries that > >can > > > >run on the SQL server as pre-compiled stored procedures will give > > >superior > > > >performance. > > > > > > > >Jim > > > > > > > >-----Original Message----- > > > >From: accessd-bounces at databaseadvisors.com > > > >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A >Matte > > > >Sent: Wednesday, August 08, 2007 1:57 PM > > > >To: accessd at databaseadvisors.com > > > >Subject: [AccessD] SQL Speed > > > > > > > >Hello All, > > > > > > > >I am involved in a project that will be web based. The database will > > > >either > > > > > > > >be access or SQL Server. > > > > > > > >The question is: I need to run a bunch (maybe 10K) of SQL statements > > > >againts a single table...or flat file, whatever is best, containing > >about > > > >4K > > > > > > > >rows. The results of each will be appended to a second table, or > >emailed > > > >instantly (ahh...idea...good place for a JC style Class). The SQL > > > >statements themselves will be stored in a table. > > > > > > > >Does anyone have any ideas/suggestions about approach? I will need >ALL > > >of > > > >the SQLs to run in less than 5 minutes. I know 1 runs in a fraction >of > >a > > > >second...I just don't know what that fraction is to calculate time > > >needed. > > > > > > > >Being there are so few rows involved...but so many SQL >statements...and > > > >speed is an issue...will there be a signicant advantage using SQL > >Server > > >or > > > >Access? > > > > > > > >I'm thinking of having the SQLs in a table and looping through and > > > >executing > > > > > > > >each...I just don't know if this is the best approach? > > > > > > > >Thanks, > > > > > > > >Mark A. Matte > > > > > >_________________________________________________________________ >Puzzles, trivia teasers, word scrambles and more. Play for your chance to >win! http://club.live.com/home.aspx?icid=CLUB_hotmailtextlink > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Booking a flight? Know when to buy with airfare predictions on MSN Travel. http://travel.msn.com/Articles/aboutfarecast.aspx&ocid=T001MSN25A07001 -- 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 17 01:27:02 2007 From: andy at minstersystems.co.uk (Andy Lacey) Date: Fri, 17 Aug 2007 07:27:02 +0100 Subject: [AccessD] Access Front-End via Web Enabled In-Reply-To: <004701c7e01d$673f17d0$0301a8c0@HAL9005> Message-ID: <005201c7e097$a0301e20$e41e0c54@minster33c3r25> You misjudge us Rocky. AFAIC this is totally and utterly on-topic. There must be loads of developers out there (I'm one) who will one day need to web-enable an Access app, so pointers on which way to turn are invaluable. -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Rocky Smolin at Beach Access Software > Sent: 16 August 2007 16:52 > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Access Front-End via Web Enabled > > > At the risk of running afoul of a moderator: what's the > difference between ASP and PHP in terms of when you would use > each? (I'm thinking I should learn one of these.) > > TIA > > Rocky > > > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Charlotte Foust > Sent: Thursday, August 16, 2007 7:57 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Access Front-End via Web Enabled > > You won't like the answer: ASP.Net > > Charlotte Foust > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Julie Reardon-Taylor > Sent: Thursday, August 16, 2007 7:20 AM > To: accessd at databaseadvisors.com > Subject: [AccessD] Access Front-End via Web Enabled > > Looking for some opinions on what people are using for a > web-enabled access database. I have used replication for > some applications, but would now like to move the front-end > to a browser so that the input can be done via a web page > over a wireless connection. > > Have toyed with data access pages, but not sure if that is a > good solution. > > This application has three subform levels and the scripting > may be an issue in DAP. > > Did I read a posting on AccessD at some point that DAP are > going to be out in the next version of Access? > > What are other people using as forms via the www? > > > > Julie Reardon > PRO-SOFT OF NY, INC. > 44 Public Square Suite #5 > Watertown, NY 13601 > Phone: 315.785.0319 > Fax: 315.785.0323 > www.pro-soft.net > NYS IT Services Contract CMT026A > NYS Certified Woman-Owned Business > > _________________________________________________________________ > Learn.Laugh.Share. Reallivemoms is right place! > http://www.reallivemoms.com?ocid=TXT_TAGHM&loc=us > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.476 / Virus Database: 269.11.19/955 - Release > Date: 8/15/2007 4:55 PM > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From adtp at airtelbroadband.in Fri Aug 17 09:35:30 2007 From: adtp at airtelbroadband.in (A.D.TEJPAL) Date: Fri, 17 Aug 2007 20:05:30 +0530 Subject: [AccessD] Can't delete records from this table References: <20070816211704.20407BE65@smtp-auth.no-ip.com> Message-ID: <004001c7e0dc$0f7e9790$6a57a27a@pcadt> John, It can be regarded as a case of optical illusion. When you open it as a select query (inner join on one to many relation) and delete the selected records manually, the records in the second table (the one on many side of the join) are the only ones that are getting deleted. However, inner join between the tables forces the query to display no output. Even if it is a LEFT join, the output will appear temporarily lost. On closing & re-opening the query, all records from first table will get displayed, showing null values in fields pertaining to second table. Delete query involving inner or outer join will also perform the above job successfully, if the qualifying table's name is changed to that on many side of the join. If it happens to be a one to one join on primary keys, either of the two tables, or both can be specified in the delete query and it will perform smoothly. Manual deletion via select query involving one to one join affects both tables. Equivalent delete query specifying both tables would be: ================================= DELETE T_A.*, T_B.* FROM T_A INNER JOIN T_B ON T_A.ClientID = T_B.ClientID; ================================= Note (one to one relationship): (a) T_A & T_B are the table names. ClientID is PK field on both. (b) With inner join, only the records where PK values are common to both tables, will get deleted. (c) If it is desired to delete all records in both tables, the join should be changed to LEFT or RIGHT type depending upon which table has extra records. Best wishes, A.D.Tejpal --------------- ----- Original Message ----- From: jwcolby To: 'Access Developers discussion and problem solving' Sent: Friday, August 17, 2007 02:47 Subject: [AccessD] Can't delete records from this table I have a table where if I create a simple query - join tblX to tblY on PKID, turn into delete * - it gives me the message "can't delete records from this table". Yet if I turn it back into a select query I can highlight records and delete them. Any ideas why? John W. Colby Colby Consulting www.ColbyConsulting.com From markamatte at hotmail.com Fri Aug 17 09:58:13 2007 From: markamatte at hotmail.com (Mark A Matte) Date: Fri, 17 Aug 2007 14:58:13 +0000 Subject: [AccessD] SQL Speed In-Reply-To: <001f01c7e055$cbf9dba0$af15c048@fredxp> Message-ID: Thanks Fred, Making a union with my 10k SQLs would put me almost to 4million characters. As for the concatenation ...its not just the fields... it will concatenate 2 fields from every record returned from each SQL statement: ID VALUE aa -15 bb 18.5 cc -21.2 ee 16 Lets say these records are returned from 1 SQL...I then need the ID and Value from each of these records stored as a string: aa -15: bb 18.5: cc -21.2: ee 16 ...or something similar. and then do it again for the other 9999 SQLs. Thanks, Mark A. Matte >From: "Fred Hooper" >Reply-To: Access Developers discussion and problem >solving >To: "'Access Developers discussion and problem >solving'" >Subject: Re: [AccessD] SQL Speed >Date: Thu, 16 Aug 2007 18:35:49 -0400 > >Hi Mark, > >I don't know how long an SQL statement can be, but I've written some very >long ones - at least 5k characters. When you find out the limit you could >just use a loop and maybe have to run 2 or 3 (or 50) queries - still much >better than 10k. > >You could adapt Gustav's "sort with union all" idea by placing "select n as >ID_no" as the first field and separate the results later using that #. If >they have different numbers of fields, then place dummy fields where >needed. > >The results get into the temp table by having another query that uses the >pass-through query as its source. > >I suggested this because of my experience: I was placing information on all >of the tables/fields in an SQL Server database (about 13k fields) into an >Access table so I could more easily learn the database. First, I tried a >direct SQL statement against the database. It ran a couple of seconds in >Query Analyzer. When I used it as a recordset to fill the table, I killed >it >in a few minutes - but it was going to run at least an hour. The >pass-through query fills the table (through another query) in 2-3 seconds. > >Also, why not concatenate the fields in SQL? > >Fred > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte >Sent: Thursday, August 16, 2007 11:26 AM >To: accessd at databaseadvisors.com >Subject: Re: [AccessD] SQL Speed > >Thanks Fred, > >But I need to do take the results of each statement and send them >individually somewhere(either email or temp table)... > > >...and can an SQL statement be that long? > >Thanks, > >Mark A. Matte > > > >From: "Fred Hooper" > >Reply-To: Access Developers discussion and problem > >solving > >To: "'Access Developers discussion and problem > >solving'" > >Subject: Re: [AccessD] SQL Speed > >Date: Wed, 15 Aug 2007 18:07:26 -0400 > > > >Hi Mark, > > > >Is there any chance you could string those 10k runs together with union > >all's? If so, you could run all of them at once with a pass-though query, > >which would be *much* faster than 10k separate runs. > > > >Fred > > > >-----Original Message----- > >From: accessd-bounces at databaseadvisors.com > >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte > >Sent: Wednesday, August 15, 2007 9:47 AM > >To: accessd at databaseadvisors.com > >Subject: Re: [AccessD] SQL Speed > > > >I'm not returning 4K rows...the table I'm running these SQL statements > >againts has 4K rows... > > > >In one table I have 10K SQL statements(1 per row). The SQL statements >are > >all filtering on indexed currency and integer fields. I pullin all 10K >as > >a > > > >recordset....and loop through...for each row, I execute that SQL againts >a > >table with about 4K rows...and take the results (typically between 1 and >20 > >rows) and concatenated a Char4 and a Currency field from each of the > >results > > > >into 1 long string (this will later be the body of an email). > > > >So...I run 10K SQL statements, one right after the other, against a table > >with about 4K rows, returning between 1 and 20 records per SQL statement. > > > >To run these 10K and store the results it takes just less than 2 > >Minutes...if this is slow...please share how long (average) you would > >expect > > > >it to take 10K queries to run? > > > >There is more detail in the emails below... > > > > >From: "Christopher Hawkins" > > >Reply-To: Access Developers discussion and problem > > >solving > > >To: > > >Subject: Re: [AccessD] SQL Speed > > >Date: Tue, 14 Aug 2007 20:08:09 -0600 > > > > > >Hi, Mark. I think I missed this topic the first time it came up. > > > > > >This is a hard question to answer, mainly because you don't mention >what > > >type of data is contained in the 4K rows you're querying, and how many > > >fields are involved. You also mention that the results will be > > >"concatenated", which seems like an odd thing to do. I would expect >you > >to > > > > >run a sum or a count or something, not a concatenation of 4K rows. Can > >you > > > > >provide more detail? > > > > > >Off the cuff, 2 minutes sounds slow to return 4K rows of the kind of >data > > >I > > > > >tend to work with, but like I said, I'm not exactly clear on what >you're > > >doing with those rows. > > > > > >Can you show us the actual SQL? > > > > > >-C- > > > > > >---------------------------------------- > > > > > >From: "Mark A Matte" > > >Sent: Tuesday, August 14, 2007 3:12 AM > > >To: accessd at databaseadvisors.com > > >Subject: Re: [AccessD] SQL Speed > > > > > >Hello All, > > > > > >I haven't received any responses after the email below. I am >specifically > > >curious about the realistic time to run 10K sql statements (see below). > > >Access vs. SQL server? > > > > > >Any feedback is greatly appreciated. > > > > > >Thanks, > > > > > >Mark A. Matte > > > > > > >From: "Mark A Matte" > > > >Reply-To: Access Developers discussion and problem > > > >solving > > > >To: accessd at databaseadvisors.com > > > >Subject: Re: [AccessD] SQL Speed > > > >Date: Thu, 09 Aug 2007 17:27:51 +0000 > > > > > > > >Thanks to All for your responses...(everything discussed below is > > >currently > > > >in A2K) > > > > > > > >I'm at the beginning of this and appreciate any ideas...This program > >has > > > >been running 24/7 for the last 3 years...but only runs 1 SQL >statement. > > >It > > > >runs the statement, loops through the results and concatenates the > > >results, > > > >and then emails the results (for these tests we are going to forget > >about > > > >the email part and just store the results in a separate table). > > > > > > > >Last night I put a loop on this and ran it 10K times. It took just > >under > > >2 > > > >minutes. To make it more realistic, (the 10k SQL statements will all >be > > > >different, but very similar) I removed the SQL from the code and >placed > > >it > > > >in a memo field in another table (tblSQL). Next, I modified the code >so > > > >now > > > >it first pulls all records form tblSQL (I added 10k rows...but all >the > > >same > > > >SQL statement)...then for each of these records...it does the stuff I > > > >outlined above. > > > > > > > >Again, it ran in just under 2 minutes. I need this to be as fast as > > > >possible, and I don't know what a realistic time is. I apparently can > >do > > > >10K in less than 2 minutes, but is this good, bad, average? > > > > > > > >Any thoughts/ideas? > > > > > > > >Thanks, > > > > > > > >Mark A. Matte > > > > > > > > > > > > >From: Jim Lawrence > > > > >Reply-To: Access Developers discussion and problem > > > > >solving > > > > >To: "'Access Developers discussion and problem > > > > >solving'" > > > > >Subject: Re: [AccessD] SQL Speed > > > > >Date: Wed, 08 Aug 2007 22:15:43 -0700 > > > > > > > > > >Well, you have probably already thought of this, but any queries >that > > >can > > > > >run on the SQL server as pre-compiled stored procedures will give > > > >superior > > > > >performance. > > > > > > > > > >Jim > > > > > > > > > >-----Original Message----- > > > > >From: accessd-bounces at databaseadvisors.com > > > > >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A > >Matte > > > > >Sent: Wednesday, August 08, 2007 1:57 PM > > > > >To: accessd at databaseadvisors.com > > > > >Subject: [AccessD] SQL Speed > > > > > > > > > >Hello All, > > > > > > > > > >I am involved in a project that will be web based. The database >will > > > > >either > > > > > > > > > >be access or SQL Server. > > > > > > > > > >The question is: I need to run a bunch (maybe 10K) of SQL >statements > > > > >againts a single table...or flat file, whatever is best, containing > > >about > > > > >4K > > > > > > > > > >rows. The results of each will be appended to a second table, or > > >emailed > > > > >instantly (ahh...idea...good place for a JC style Class). The SQL > > > > >statements themselves will be stored in a table. > > > > > > > > > >Does anyone have any ideas/suggestions about approach? I will need > >ALL > > > >of > > > > >the SQLs to run in less than 5 minutes. I know 1 runs in a fraction > >of > > >a > > > > >second...I just don't know what that fraction is to calculate time > > > >needed. > > > > > > > > > >Being there are so few rows involved...but so many SQL > >statements...and > > > > >speed is an issue...will there be a signicant advantage using SQL > > >Server > > > >or > > > > >Access? > > > > > > > > > >I'm thinking of having the SQLs in a table and looping through and > > > > >executing > > > > > > > > > >each...I just don't know if this is the best approach? > > > > > > > > > >Thanks, > > > > > > > > > >Mark A. Matte > > > > > > > > >_________________________________________________________________ > >Puzzles, trivia teasers, word scrambles and more. Play for your chance to > >win! http://club.live.com/home.aspx?icid=CLUB_hotmailtextlink > > > >-- > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > > > > > >-- > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > >_________________________________________________________________ >Booking a flight? Know when to buy with airfare predictions on MSN Travel. >http://travel.msn.com/Articles/aboutfarecast.aspx&ocid=T001MSN25A07001 > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Now you can see trouble?before he arrives http://newlivehotmail.com/?ocid=TXT_TAGHM_migration_HM_viral_protection_0507 From jwcolby at colbyconsulting.com Fri Aug 17 10:10:16 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 17 Aug 2007 11:10:16 -0400 Subject: [AccessD] Can't delete records from this table In-Reply-To: <004001c7e0dc$0f7e9790$6a57a27a@pcadt> Message-ID: <20070817151018.3A645BE54@smtp-auth.no-ip.com> A.D. What is interesting (and I didn't notice it immediately) is that the records on the one side was also deleted which is NOT supposed to happen. The situation is as follows: TABLES: xlsWP - with a field _IDCLM to hold the PK in the claim table tblClaim - CLM_ID is the PK. tblClaimLTD - CLMLTD_ID is the PK. 1-1 with tblClaim, with the relationship established in the BE. I designed the query such that the join was between xlsWP._IDCLM and tblClaimLTD.CLMLTD_ID (the PK in tblClaimLTD), select * from tblClaimLTD, then turn that into a delete query. Thus NO FIELDS from xlsWP are visible when it is a select, it is just used for the join to select records in tblClaimLTD. When turned into a DELETE this SHOULD function correctly, no? But NO, it complains and refuses to do the delete. Anyway, if I turn it back into a select I can view the data in tblLTD and I can select the records (manually) and delete them and they do delete, however... The records in xlsWP ALSO DELETE which they should not!!! I have built a workaround where I pull xlsWP, joined xlsPW._IDCLM to tblClaim.CLM_ID, then join tblClaim to tblClaimLTD. Select * from tblLTD. Turn THAT into a delete query and voila, the delete works without complaint, ONLY the records in tblClaimLTD are deleted and I am happy. Now, WHY do I need to "go through" tblClaim? The PK in tblClaim is 1-1 with tblClaimLTD. The inner join between xlsWP and tblClaimLTD should function the same as xlsWP and tblClaimLTD. The mysteries of Access!!! John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of A.D.TEJPAL Sent: Friday, August 17, 2007 10:36 AM To: Access Developers discussion and problem solving Cc: A.D.TEJPAL Subject: Re: [AccessD] Can't delete records from this table John, It can be regarded as a case of optical illusion. When you open it as a select query (inner join on one to many relation) and delete the selected records manually, the records in the second table (the one on many side of the join) are the only ones that are getting deleted. However, inner join between the tables forces the query to display no output. Even if it is a LEFT join, the output will appear temporarily lost. On closing & re-opening the query, all records from first table will get displayed, showing null values in fields pertaining to second table. Delete query involving inner or outer join will also perform the above job successfully, if the qualifying table's name is changed to that on many side of the join. If it happens to be a one to one join on primary keys, either of the two tables, or both can be specified in the delete query and it will perform smoothly. Manual deletion via select query involving one to one join affects both tables. Equivalent delete query specifying both tables would be: ================================= DELETE T_A.*, T_B.* FROM T_A INNER JOIN T_B ON T_A.ClientID = T_B.ClientID; ================================= Note (one to one relationship): (a) T_A & T_B are the table names. ClientID is PK field on both. (b) With inner join, only the records where PK values are common to both tables, will get deleted. (c) If it is desired to delete all records in both tables, the join should be changed to LEFT or RIGHT type depending upon which table has extra records. Best wishes, A.D.Tejpal --------------- ----- Original Message ----- From: jwcolby To: 'Access Developers discussion and problem solving' Sent: Friday, August 17, 2007 02:47 Subject: [AccessD] Can't delete records from this table I have a table where if I create a simple query - join tblX to tblY on PKID, turn into delete * - it gives me the message "can't delete records from this table". Yet if I turn it back into a select query I can highlight records and delete them. Any ideas why? John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From prosoft6 at hotmail.com Fri Aug 17 13:26:08 2007 From: prosoft6 at hotmail.com (Julie Taylor) Date: Fri, 17 Aug 2007 14:26:08 -0400 Subject: [AccessD] Access Front-End via Web Enabled In-Reply-To: <46C4BA9D.9020703@mvps.org> References: <46C4BA9D.9020703@mvps.org> Message-ID: Hi Steve, Thank you for that suggestions. We are just now setting up one of our customers with Sharepoint, and have developed an initial Intranet site for them. Seems pretty painless. I think that your idea about using Sharepoint is a good one. My only fear is that I will learn to develop in Sharepoint, and then it will go away. It takes some time to develop the right skill set in an application to the point where I can use it in my business. If I spend that time with Sharepoint, and then it is no longer around, it will be lost time. Thank you for the other suggestions as well. We are working with several apps that we have written for pda's and tablet pc's. It just seems that to be able to go to a website via a wireless connection is so much simpler than having to connect to a server and replicate the data. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Schapel Sent: Thursday, August 16, 2007 4:59 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access Front-End via Web Enabled Julie, Just to throw a couple other ideas into the ring. Probably wouldn't attract a lot of support from the mainstreamers, but I think merit serious consideration. 1. Export your database to SharePoint. Would require moving your application to Access 2007, and would require a learning curve, for example replacing Referential Integrity with Workflows and so forth. Of course, this technology is still very much in its infancy, and some limitations at the moment, but it is without doubt the way of the future. If you're talking about needing to invest time and effort into learning new technology anyway, then have a look. And if you're used to the Replication idea, then Access/SharePoint offline data synchronisation is already pretty nice. 2. Depending on the number of concurrent users you are talking about here. But if the goal is to provide the users with remote operation, a solution with the least amount of work could be Terminal Server. You wouldn't need to change your existing application much at all. Or you could look at WinConnect http://www.thinsoftinc.com/product_thin_client_winconnect_server_xp.aspx, which I am using with very good results. Regards Steve Julie Reardon-Taylor wrote: > Looking for some opinions on what people are using for a web-enabled access > database. I have used replication for some applications, but would now like > to move the front-end to a browser so that the input can be done via a web > page over a wireless connection. > > Have toyed with data access pages, but not sure if that is a good solution. > > This application has three subform levels and the scripting may be an issue > in DAP. > > Did I read a posting on AccessD at some point that DAP are going to be out > in the next version of Access? > > What are other people using as forms via the www? -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ebarro at verizon.net Fri Aug 17 14:51:36 2007 From: ebarro at verizon.net (Eric Barro) Date: Fri, 17 Aug 2007 12:51:36 -0700 Subject: [AccessD] Access Front-End via Web Enabled In-Reply-To: Message-ID: <0JMX00DWJOIBIZC1@vms046.mailsrvcs.net> Julie, Sharepoint will never go away. Microsoft has made sure of that by integrating MS Office apps tightly with the platform. Eric -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Julie Taylor Sent: Friday, August 17, 2007 11:26 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access Front-End via Web Enabled Hi Steve, Thank you for that suggestions. We are just now setting up one of our customers with Sharepoint, and have developed an initial Intranet site for them. Seems pretty painless. I think that your idea about using Sharepoint is a good one. My only fear is that I will learn to develop in Sharepoint, and then it will go away. It takes some time to develop the right skill set in an application to the point where I can use it in my business. If I spend that time with Sharepoint, and then it is no longer around, it will be lost time. Thank you for the other suggestions as well. We are working with several apps that we have written for pda's and tablet pc's. It just seems that to be able to go to a website via a wireless connection is so much simpler than having to connect to a server and replicate the data. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Schapel Sent: Thursday, August 16, 2007 4:59 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access Front-End via Web Enabled Julie, Just to throw a couple other ideas into the ring. Probably wouldn't attract a lot of support from the mainstreamers, but I think merit serious consideration. 1. Export your database to SharePoint. Would require moving your application to Access 2007, and would require a learning curve, for example replacing Referential Integrity with Workflows and so forth. Of course, this technology is still very much in its infancy, and some limitations at the moment, but it is without doubt the way of the future. If you're talking about needing to invest time and effort into learning new technology anyway, then have a look. And if you're used to the Replication idea, then Access/SharePoint offline data synchronisation is already pretty nice. 2. Depending on the number of concurrent users you are talking about here. But if the goal is to provide the users with remote operation, a solution with the least amount of work could be Terminal Server. You wouldn't need to change your existing application much at all. Or you could look at WinConnect http://www.thinsoftinc.com/product_thin_client_winconnect_server_xp.aspx, which I am using with very good results. Regards Steve Julie Reardon-Taylor wrote: > Looking for some opinions on what people are using for a web-enabled access > database. I have used replication for some applications, but would > now like > to move the front-end to a browser so that the input can be done via a > web > page over a wireless connection. > > Have toyed with data access pages, but not sure if that is a good solution. > > This application has three subform levels and the scripting may be an issue > in DAP. > > Did I read a posting on AccessD at some point that DAP are going to be > out > in the next version of Access? > > What are other people using as forms via the www? From miscellany at mvps.org Fri Aug 17 16:02:52 2007 From: miscellany at mvps.org (Steve Schapel) Date: Sat, 18 Aug 2007 09:02:52 +1200 Subject: [AccessD] Access Front-End via Web Enabled In-Reply-To: <0JMX00DWJOIBIZC1@vms046.mailsrvcs.net> References: <0JMX00DWJOIBIZC1@vms046.mailsrvcs.net> Message-ID: <46C60CFC.2090705@mvps.org> "Never" is a big word, Eric! :-) But I agree with the sentiment... SharePoint is definitely a technology on the rise, likely with a long and strong future. Regards Steve Eric Barro wrote: > Sharepoint will never go away. Microsoft has made sure of that by > integrating MS Office apps tightly with the platform. From carbonnb at gmail.com Fri Aug 17 16:06:46 2007 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Fri, 17 Aug 2007 17:06:46 -0400 Subject: [AccessD] Missing Issues Query Message-ID: Good Day folks, HELP!!! It's been so long since I've done anything in Access that I can't even begin to think of how to create this query. What I'm looking for is similar to a "Missing Check" report in Quickbooks, you know one that lists all of the check numbers that aren't there. What I have is a DB for all my National Geographic Magazines (and eventually all my other assorted magazines) and I'm trying to create a query (and eventually a report) that lists all the issues that are missing. Right now, what I have is a table: iss_ID iss_Magazine_FK iss_Volume iss_Number iss_Date iss_Magazine_FK is a FK to the name of the Magazine held in another table (currently it is only holding a value of 1 since I only have 1 Magazine available to choose from) iss_Volume is an integer that holds the Volume number (1-212) iss_Number is an integer that holds the Issue Number (1-6) iss_Date is a date/time that holds the date of the issue How do I even begin to start to write this query? -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" From fahooper at trapo.com Fri Aug 17 16:18:13 2007 From: fahooper at trapo.com (Fred Hooper) Date: Fri, 17 Aug 2007 17:18:13 -0400 Subject: [AccessD] SQL Speed In-Reply-To: Message-ID: <005e01c7e114$1f125880$af15c048@fredxp> Hi Mark, I've run SQL on SQL Server & Oracle that's *much* longer, so that's not a limitation. You could use VBA to create a view in SQL Server that holds your 10K SQL statements, union all'd together, then there'd be no size limit. For concatenation, how about something like (for SQL Server): select table.ID + ': ' + table.VALUE as zero, table_1.ID + ': " + table_1.VALUE as one, table_2.ID + ': " + table_2.VALUE as two table_3.ID + ': " + table_3.VALUE as three, from table where ID = 'aa' inner join (select sql_run, ID + ': ' + VALUE from table where ID = 'bb') as table_1 on table.sql_run = table_1.sql_run inner join (select sql_run, ID + ': ' + VALUE from table where ID = 'cc') as table_2 on table.sql_run = table_2.sql_run inner join (select sql_run, ID + ': ' + VALUE from table where ID = 'ee') as table_3 on table.sql_run = table_3.sql_run Note: sql_run is the number of one of your 10K queries. Please see the column I've added to your example below. This code concatenates your records into a single row by aliasing the same source. If you don't always have the same number of fields in the output you'd have to use a "left outer" join in place of the "inner", and handle the resulting nulls in the select clause. With 10K SQL statements * 5 values per statement this should run very quickly even with outer joins. You *could* write this code in Access, but you'd have to be careful when saving and reusing it since the parser converts the parentheses in the sub queries to square brackets and appends a period - which doesn't work nicely if you later modify the code. You'd be better off to create another SQL Server view that uses the first as a source. It holds the above code (e.g. table <-- 10kView). Then, you call the results of the second view in a pass-through query to get it into Access quickly, and use a regular query (with the pass-through as its source) to place the results in an Access table. I'm guessing a few seconds run time for the whole thing -- after you have the first view created. Fred -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Friday, August 17, 2007 10:58 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] SQL Speed Thanks Fred, Making a union with my 10k SQLs would put me almost to 4million characters. As for the concatenation ...its not just the fields... it will concatenate 2 fields from every record returned from each SQL statement: sql_run ID VALUE 1 aa -15 1 bb 18.5 1 cc -21.2 1 ee 16 Lets say these records are returned from 1 SQL...I then need the ID and Value from each of these records stored as a string: aa -15: bb 18.5: cc -21.2: ee 16 ...or something similar. and then do it again for the other 9999 SQLs. Thanks, Mark A. Matte >From: "Fred Hooper" >Reply-To: Access Developers discussion and problem >solving >To: "'Access Developers discussion and problem >solving'" >Subject: Re: [AccessD] SQL Speed >Date: Thu, 16 Aug 2007 18:35:49 -0400 > >Hi Mark, > >I don't know how long an SQL statement can be, but I've written some very >long ones - at least 5k characters. When you find out the limit you could >just use a loop and maybe have to run 2 or 3 (or 50) queries - still much >better than 10k. > >You could adapt Gustav's "sort with union all" idea by placing "select n as >ID_no" as the first field and separate the results later using that #. If >they have different numbers of fields, then place dummy fields where >needed. > >The results get into the temp table by having another query that uses the >pass-through query as its source. > >I suggested this because of my experience: I was placing information on all >of the tables/fields in an SQL Server database (about 13k fields) into an >Access table so I could more easily learn the database. First, I tried a >direct SQL statement against the database. It ran a couple of seconds in >Query Analyzer. When I used it as a recordset to fill the table, I killed >it >in a few minutes - but it was going to run at least an hour. The >pass-through query fills the table (through another query) in 2-3 seconds. > >Also, why not concatenate the fields in SQL? > >Fred > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte >Sent: Thursday, August 16, 2007 11:26 AM >To: accessd at databaseadvisors.com >Subject: Re: [AccessD] SQL Speed > >Thanks Fred, > >But I need to do take the results of each statement and send them >individually somewhere(either email or temp table)... > > >...and can an SQL statement be that long? > >Thanks, > >Mark A. Matte > > > >From: "Fred Hooper" > >Reply-To: Access Developers discussion and problem > >solving > >To: "'Access Developers discussion and problem > >solving'" > >Subject: Re: [AccessD] SQL Speed > >Date: Wed, 15 Aug 2007 18:07:26 -0400 > > > >Hi Mark, > > > >Is there any chance you could string those 10k runs together with union > >all's? If so, you could run all of them at once with a pass-though query, > >which would be *much* faster than 10k separate runs. > > > >Fred > > > >-----Original Message----- > >From: accessd-bounces at databaseadvisors.com > >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte > >Sent: Wednesday, August 15, 2007 9:47 AM > >To: accessd at databaseadvisors.com > >Subject: Re: [AccessD] SQL Speed > > > >I'm not returning 4K rows...the table I'm running these SQL statements > >againts has 4K rows... > > > >In one table I have 10K SQL statements(1 per row). The SQL statements >are > >all filtering on indexed currency and integer fields. I pullin all 10K >as > >a > > > >recordset....and loop through...for each row, I execute that SQL againts >a > >table with about 4K rows...and take the results (typically between 1 and >20 > >rows) and concatenated a Char4 and a Currency field from each of the > >results > > > >into 1 long string (this will later be the body of an email). > > > >So...I run 10K SQL statements, one right after the other, against a table > >with about 4K rows, returning between 1 and 20 records per SQL statement. > > > >To run these 10K and store the results it takes just less than 2 > >Minutes...if this is slow...please share how long (average) you would > >expect > > > >it to take 10K queries to run? > > > >There is more detail in the emails below... > > > > >From: "Christopher Hawkins" > > >Reply-To: Access Developers discussion and problem > > >solving > > >To: > > >Subject: Re: [AccessD] SQL Speed > > >Date: Tue, 14 Aug 2007 20:08:09 -0600 > > > > > >Hi, Mark. I think I missed this topic the first time it came up. > > > > > >This is a hard question to answer, mainly because you don't mention >what > > >type of data is contained in the 4K rows you're querying, and how many > > >fields are involved. You also mention that the results will be > > >"concatenated", which seems like an odd thing to do. I would expect >you > >to > > > > >run a sum or a count or something, not a concatenation of 4K rows. Can > >you > > > > >provide more detail? > > > > > >Off the cuff, 2 minutes sounds slow to return 4K rows of the kind of >data > > >I > > > > >tend to work with, but like I said, I'm not exactly clear on what >you're > > >doing with those rows. > > > > > >Can you show us the actual SQL? > > > > > >-C- > > > > > >---------------------------------------- > > > > > >From: "Mark A Matte" > > >Sent: Tuesday, August 14, 2007 3:12 AM > > >To: accessd at databaseadvisors.com > > >Subject: Re: [AccessD] SQL Speed > > > > > >Hello All, > > > > > >I haven't received any responses after the email below. I am >specifically > > >curious about the realistic time to run 10K sql statements (see below). > > >Access vs. SQL server? > > > > > >Any feedback is greatly appreciated. > > > > > >Thanks, > > > > > >Mark A. Matte > > > > > > >From: "Mark A Matte" > > > >Reply-To: Access Developers discussion and problem > > > >solving > > > >To: accessd at databaseadvisors.com > > > >Subject: Re: [AccessD] SQL Speed > > > >Date: Thu, 09 Aug 2007 17:27:51 +0000 > > > > > > > >Thanks to All for your responses...(everything discussed below is > > >currently > > > >in A2K) > > > > > > > >I'm at the beginning of this and appreciate any ideas...This program > >has > > > >been running 24/7 for the last 3 years...but only runs 1 SQL >statement. > > >It > > > >runs the statement, loops through the results and concatenates the > > >results, > > > >and then emails the results (for these tests we are going to forget > >about > > > >the email part and just store the results in a separate table). > > > > > > > >Last night I put a loop on this and ran it 10K times. It took just > >under > > >2 > > > >minutes. To make it more realistic, (the 10k SQL statements will all >be > > > >different, but very similar) I removed the SQL from the code and >placed > > >it > > > >in a memo field in another table (tblSQL). Next, I modified the code >so > > > >now > > > >it first pulls all records form tblSQL (I added 10k rows...but all >the > > >same > > > >SQL statement)...then for each of these records...it does the stuff I > > > >outlined above. > > > > > > > >Again, it ran in just under 2 minutes. I need this to be as fast as > > > >possible, and I don't know what a realistic time is. I apparently can > >do > > > >10K in less than 2 minutes, but is this good, bad, average? > > > > > > > >Any thoughts/ideas? > > > > > > > >Thanks, > > > > > > > >Mark A. Matte > > > > > > > > > > > > >From: Jim Lawrence > > > > >Reply-To: Access Developers discussion and problem > > > > >solving > > > > >To: "'Access Developers discussion and problem > > > > >solving'" > > > > >Subject: Re: [AccessD] SQL Speed > > > > >Date: Wed, 08 Aug 2007 22:15:43 -0700 > > > > > > > > > >Well, you have probably already thought of this, but any queries >that > > >can > > > > >run on the SQL server as pre-compiled stored procedures will give > > > >superior > > > > >performance. > > > > > > > > > >Jim > > > > > > > > > >-----Original Message----- > > > > >From: accessd-bounces at databaseadvisors.com > > > > >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A > >Matte > > > > >Sent: Wednesday, August 08, 2007 1:57 PM > > > > >To: accessd at databaseadvisors.com > > > > >Subject: [AccessD] SQL Speed > > > > > > > > > >Hello All, > > > > > > > > > >I am involved in a project that will be web based. The database >will > > > > >either > > > > > > > > > >be access or SQL Server. > > > > > > > > > >The question is: I need to run a bunch (maybe 10K) of SQL >statements > > > > >againts a single table...or flat file, whatever is best, containing > > >about > > > > >4K > > > > > > > > > >rows. The results of each will be appended to a second table, or > > >emailed > > > > >instantly (ahh...idea...good place for a JC style Class). The SQL > > > > >statements themselves will be stored in a table. > > > > > > > > > >Does anyone have any ideas/suggestions about approach? I will need > >ALL > > > >of > > > > >the SQLs to run in less than 5 minutes. I know 1 runs in a fraction > >of > > >a > > > > >second...I just don't know what that fraction is to calculate time > > > >needed. > > > > > > > > > >Being there are so few rows involved...but so many SQL > >statements...and > > > > >speed is an issue...will there be a signicant advantage using SQL > > >Server > > > >or > > > > >Access? > > > > > > > > > >I'm thinking of having the SQLs in a table and looping through and > > > > >executing > > > > > > > > > >each...I just don't know if this is the best approach? > > > > > > > > > >Thanks, > > > > > > > > > >Mark A. Matte > > > > > > > > >_________________________________________________________________ > >Puzzles, trivia teasers, word scrambles and more. Play for your chance to > >win! http://club.live.com/home.aspx?icid=CLUB_hotmailtextlink > > > >-- > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > > > > > >-- > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > >_________________________________________________________________ >Booking a flight? Know when to buy with airfare predictions on MSN Travel. >http://travel.msn.com/Articles/aboutfarecast.aspx&ocid=T001MSN25A07001 > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Now you can see troublebefore he arrives http://newlivehotmail.com/?ocid=TXT_TAGHM_migration_HM_viral_protection_0507 From garykjos at gmail.com Fri Aug 17 17:12:18 2007 From: garykjos at gmail.com (Gary Kjos) Date: Fri, 17 Aug 2007 17:12:18 -0500 Subject: [AccessD] Missing Issues Query In-Reply-To: References: Message-ID: Well what you are after is a left join kind of a query from the table that has all the magazines go the table that has the missing ones with the join option to say "give me all the records" in the table with all the magazines. Then you do a condition on one of the table fields in the other table to test for "IS Null" and you will only get the ones that are missing. GK On 8/17/07, Bryan Carbonnell wrote: > Good Day folks, > > HELP!!! > > It's been so long since I've done anything in Access that I can't even > begin to think of how to create this query. > > What I'm looking for is similar to a "Missing Check" report in > Quickbooks, you know one that lists all of the check numbers that > aren't there. > > What I have is a DB for all my National Geographic Magazines (and > eventually all my other assorted magazines) and I'm trying to create a > query (and eventually a report) that lists all the issues that are > missing. > > Right now, what I have is a table: > iss_ID > iss_Magazine_FK > iss_Volume > iss_Number > iss_Date > > iss_Magazine_FK is a FK to the name of the Magazine held in another > table (currently it is only holding a value of 1 since I only have 1 > Magazine available to choose from) > iss_Volume is an integer that holds the Volume number (1-212) > iss_Number is an integer that holds the Issue Number (1-6) > iss_Date is a date/time that holds the date of the issue > > How do I even begin to start to write this query? > > -- > Bryan Carbonnell - carbonnb at gmail.com > Life's journey is not to arrive at the grave safely in a well > preserved body, but rather to skid in sideways, totally worn out, > shouting "What a great ride!" > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Gary Kjos garykjos at gmail.com From carbonnb at gmail.com Fri Aug 17 20:46:39 2007 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Fri, 17 Aug 2007 21:46:39 -0400 Subject: [AccessD] Missing Issues Query In-Reply-To: References: Message-ID: On 8/17/07, Gary Kjos wrote: > Well what you are after is a left join kind of a query from the table > that has all the magazines go the table that has the missing ones with > the join option to say "give me all the records" in the table with all > the magazines. Then you do a condition on one of the table fields in > the other table to test for "IS Null" and you will only get the ones > that are missing. Maybe I'm missing what you are saying Gary, but I've only got 1 table, and that is the table with the issues of the magazine that I have. I don't have table with a full list of potential issues. -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" From adtp at airtelbroadband.in Sat Aug 18 00:42:06 2007 From: adtp at airtelbroadband.in (A.D.TEJPAL) Date: Sat, 18 Aug 2007 11:12:06 +0530 Subject: [AccessD] Missing Issues Query References: Message-ID: <00e501c7e15a$b9982290$b357a27a@pcadt> Bryan, My sample db named TrackMissingAndDuplicates might be of interest to you. It is available at Rogers Access Library (other developers library). Link - http://www.rogersaccesslibrary.com/OtherLibraries.asp#Tejpal,A.D. Best wishes, A.D.Tejpal --------------- ----- Original Message ----- From: Bryan Carbonnell To: Access Developers discussion and problem solving Sent: Saturday, August 18, 2007 02:36 Subject: [AccessD] Missing Issues Query Good Day folks, HELP!!! It's been so long since I've done anything in Access that I can't even begin to think of how to create this query. What I'm looking for is similar to a "Missing Check" report in Quickbooks, you know one that lists all of the check numbers that aren't there. What I have is a DB for all my National Geographic Magazines (and eventually all my other assorted magazines) and I'm trying to create a query (and eventually a report) that lists all the issues that are missing. Right now, what I have is a table: iss_ID iss_Magazine_FK iss_Volume iss_Number iss_Date iss_Magazine_FK is a FK to the name of the Magazine held in another table (currently it is only holding a value of 1 since I only have 1 Magazine available to choose from) iss_Volume is an integer that holds the Volume number (1-212) iss_Number is an integer that holds the Issue Number (1-6) iss_Date is a date/time that holds the date of the issue How do I even begin to start to write this query? -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" From rockysmolin at bchacc.com Sat Aug 18 06:38:10 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Sat, 18 Aug 2007 04:38:10 -0700 Subject: [AccessD] Names in tables - best practices Message-ID: <000901c7e18c$412e8fb0$0301a8c0@HAL9005> Dear List: I have a legacy app in which the client is considering making a big change. There are currently threes table which have names in them - employees of the user (a law firm), employees of the user's clients (many to many person to client), and foreign agents. There may be more in the future - vendors, for example. What we are considering is consolidating the three tables into a general 'Persons' table and adding a field for 'role' - containing a FK to a Role table so we can add more roles as time goes on. Is this a good idea? The roles don't really overlap. And there are fields which are unique to each of the three tables. Right now I don't think there are any duplicated names among the three tables. So one role per name should suffice. Any opinion welcome. MTIA Rocky From rockysmolin at bchacc.com Sat Aug 18 06:43:10 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Sat, 18 Aug 2007 04:43:10 -0700 Subject: [AccessD] Missing Issues Query In-Reply-To: <00e501c7e15a$b9982290$b357a27a@pcadt> Message-ID: <000e01c7e18c$f3dd8300$0301a8c0@HAL9005> Bryan: I usually do something like this with a bit of code. I find it much easier than trying to fashion a query. You could start with a query to retrieve all the magazines in sequence using volume and sequence. Then just loop through the recordset comparing the current to the previous to see if it's in sequence. Make a temp table of all the missing one and use the temp table as the basis for the report. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of A.D.TEJPAL Sent: Friday, August 17, 2007 10:42 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Missing Issues Query Bryan, My sample db named TrackMissingAndDuplicates might be of interest to you. It is available at Rogers Access Library (other developers library). Link - http://www.rogersaccesslibrary.com/OtherLibraries.asp#Tejpal,A.D. Best wishes, A.D.Tejpal --------------- ----- Original Message ----- From: Bryan Carbonnell To: Access Developers discussion and problem solving Sent: Saturday, August 18, 2007 02:36 Subject: [AccessD] Missing Issues Query Good Day folks, HELP!!! It's been so long since I've done anything in Access that I can't even begin to think of how to create this query. What I'm looking for is similar to a "Missing Check" report in Quickbooks, you know one that lists all of the check numbers that aren't there. What I have is a DB for all my National Geographic Magazines (and eventually all my other assorted magazines) and I'm trying to create a query (and eventually a report) that lists all the issues that are missing. Right now, what I have is a table: iss_ID iss_Magazine_FK iss_Volume iss_Number iss_Date iss_Magazine_FK is a FK to the name of the Magazine held in another table (currently it is only holding a value of 1 since I only have 1 Magazine available to choose from) iss_Volume is an integer that holds the Volume number (1-212) iss_Number is an integer that holds the Issue Number (1-6) iss_Date is a date/time that holds the date of the issue How do I even begin to start to write this query? -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.484 / Virus Database: 269.12.0/959 - Release Date: 8/17/2007 5:43 PM From tinanfields at torchlake.com Sat Aug 18 07:03:37 2007 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Sat, 18 Aug 2007 08:03:37 -0400 Subject: [AccessD] Missing Issues Query In-Reply-To: References: Message-ID: <46C6E019.3000806@torchlake.com> Hi Bryan, If I understand your problem correctly, you have entries only for those issues you possess - there are no blank issue entries. So, you will be looking for a skip in the issue numbers or in the dates. Aside from writing something that meanders through all the dates or some combination of volume-issue-date to see where the pattern breaks, would it work for you to use a temporary date table with the dates that SHOULD all be there and use that table with your issues table and do the outer join trick against it? That would give you the dates that are missing and you could fill in the appropriate volume and issue numbers by inspection. Hope that helps a little. Tina Bryan Carbonnell wrote: > On 8/17/07, Gary Kjos wrote: > >> Well what you are after is a left join kind of a query from the table >> that has all the magazines go the table that has the missing ones with >> the join option to say "give me all the records" in the table with all >> the magazines. Then you do a condition on one of the table fields in >> the other table to test for "IS Null" and you will only get the ones >> that are missing. >> > > Maybe I'm missing what you are saying Gary, but I've only got 1 table, > and that is the table with the issues of the magazine that I have. I > don't have table with a full list of potential issues. > > From ssharkins at gmail.com Sat Aug 18 08:28:57 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Sat, 18 Aug 2007 09:28:57 -0400 Subject: [AccessD] Names in tables - best practices In-Reply-To: <000901c7e18c$412e8fb0$0301a8c0@HAL9005> References: <000901c7e18c$412e8fb0$0301a8c0@HAL9005> Message-ID: <002701c7e19b$bf655c60$048e01c7@SusanOne> Is this a good idea? The roles don't really overlap. And there are fields which are unique to each of the three tables. Right now I don't think there are any duplicated names among the three tables. So one role per name should suffice. =====It's what I'd do. Remember though, as long as the tables are similar in structure, you can use the UNION operator to combine them if you. Susan H. From ssharkins at gmail.com Sat Aug 18 08:28:57 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Sat, 18 Aug 2007 09:28:57 -0400 Subject: [AccessD] Missing Issues Query In-Reply-To: <46C6E019.3000806@torchlake.com> References: <46C6E019.3000806@torchlake.com> Message-ID: <002b01c7e19b$c10db530$048e01c7@SusanOne> Seems like if they're in consecutive order, you could use an expression to compare... Gustav, if you see this, didn't we write about this? We used a form to find missing values -- might be exactly what Bryan needs. If I can find it, I'll send the article and example database to you Bryan. Also, I know I've done this in reports -- finding holes in sequential numbers. Susan H. Hi Bryan, If I understand your problem correctly, you have entries only for those issues you possess - there are no blank issue entries. So, you will be looking for a skip in the issue numbers or in the dates. Aside from writing something that meanders through all the dates or some combination of volume-issue-date to see where the pattern breaks, would it work for you to use a temporary date table with the dates that SHOULD all be there and use that table with your issues table and do the outer join trick against it? That would give you the dates that are missing and you could fill in the appropriate volume and issue numbers by inspection. Hope that helps a little. Tina Bryan Carbonnell wrote: > On 8/17/07, Gary Kjos wrote: > >> Well what you are after is a left join kind of a query from the table >> that has all the magazines go the table that has the missing ones >> with the join option to say "give me all the records" in the table >> with all the magazines. Then you do a condition on one of the table >> fields in the other table to test for "IS Null" and you will only get >> the ones that are missing. >> > > Maybe I'm missing what you are saying Gary, but I've only got 1 table, > and that is the table with the issues of the magazine that I have. I > don't have table with a full list of potential issues. > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.484 / Virus Database: 269.12.0/957 - Release Date: 8/16/2007 1:46 PM From garykjos at gmail.com Sat Aug 18 15:50:44 2007 From: garykjos at gmail.com (Gary Kjos) Date: Sat, 18 Aug 2007 15:50:44 -0500 Subject: [AccessD] Missing Issues Query In-Reply-To: References: Message-ID: OOps. Guess I didn't read your question very well. How about if you make a working table with all the volume numbers for each magazine then. Then do what I said before. GK On 8/17/07, Bryan Carbonnell wrote: > On 8/17/07, Gary Kjos wrote: > > Well what you are after is a left join kind of a query from the table > > that has all the magazines go the table that has the missing ones with > > the join option to say "give me all the records" in the table with all > > the magazines. Then you do a condition on one of the table fields in > > the other table to test for "IS Null" and you will only get the ones > > that are missing. > > Maybe I'm missing what you are saying Gary, but I've only got 1 table, > and that is the table with the issues of the magazine that I have. I > don't have table with a full list of potential issues. > > -- > Bryan Carbonnell - carbonnb at gmail.com > Life's journey is not to arrive at the grave safely in a well > preserved body, but rather to skid in sideways, totally worn out, > shouting "What a great ride!" > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Gary Kjos garykjos at gmail.com From ssharkins at gmail.com Sat Aug 18 16:15:49 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Sat, 18 Aug 2007 17:15:49 -0400 Subject: [AccessD] Missing Issues Query In-Reply-To: References: Message-ID: <006301c7e1dc$f464cd10$048e01c7@SusanOne> Bryan, I sent you and article and demo mdb off line. Let me know if you don't get it because I'm not sure if I have your correct e-mail address. Susan H. Maybe I'm missing what you are saying Gary, but I've only got 1 table, and that is the table with the issues of the magazine that I have. I don't have table with a full list of potential issues. From rockysmolin at bchacc.com Sat Aug 18 16:56:23 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Sat, 18 Aug 2007 14:56:23 -0700 Subject: [AccessD] Sending Email Through Outlook Message-ID: <007901c7e1e2$9e3af170$0301a8c0@HAL9005> Dear List: Re: automated sending of email from Access - The SMTP approach ran into a problem with the client's server. Their tech support doesn't seem to know what the problem is. So he's' considering using Outlook again but there's the problem of that nag message from Outlook asking if you want to let the program send email and how long to allow it. Click Yes solves the problem but the end user would have to have Click Yes and have it running to be sure that the emails would go out automatically. Is there any way around this problem. He'd like to use Outlook. Can that message be manipulated programmatically? Turned off temporarily then turned back on again? MTIA Rocky From carbonnb at gmail.com Sat Aug 18 18:33:41 2007 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Sat, 18 Aug 2007 19:33:41 -0400 Subject: [AccessD] Missing Issues Query In-Reply-To: References: Message-ID: On 8/18/07, Gary Kjos wrote: > OOps. Guess I didn't read your question very well. How about if you > make a working table with all the volume numbers for each magazine > then. Then do what I said before. That's what I ended up doing at 1:30 this morning. -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" From carbonnb at gmail.com Sat Aug 18 18:34:33 2007 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Sat, 18 Aug 2007 19:34:33 -0400 Subject: [AccessD] Missing Issues Query In-Reply-To: <006301c7e1dc$f464cd10$048e01c7@SusanOne> References: <006301c7e1dc$f464cd10$048e01c7@SusanOne> Message-ID: On 8/18/07, Susan Harkins wrote: > Bryan, I sent you and article and demo mdb off line. Let me know if you > don't get it because I'm not sure if I have your correct e-mail address. Got it. Will have a look and see what's what. Thanks -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" From dwaters at usinternet.com Sat Aug 18 22:44:25 2007 From: dwaters at usinternet.com (Dan Waters) Date: Sat, 18 Aug 2007 22:44:25 -0500 Subject: [AccessD] Sending Email Through Outlook In-Reply-To: <007901c7e1e2$9e3af170$0301a8c0@HAL9005> References: <007901c7e1e2$9e3af170$0301a8c0@HAL9005> Message-ID: <003e01c7e213$3d98f980$0200a8c0@danwaters> Hi Rocky, One of my customers uses Outlook this way. Their Exchange administrators deactivated the nag message using (I believe) Exchange administrator functionality. Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Saturday, August 18, 2007 4:56 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Sending Email Through Outlook Dear List: Re: automated sending of email from Access - The SMTP approach ran into a problem with the client's server. Their tech support doesn't seem to know what the problem is. So he's' considering using Outlook again but there's the problem of that nag message from Outlook asking if you want to let the program send email and how long to allow it. Click Yes solves the problem but the end user would have to have Click Yes and have it running to be sure that the emails would go out automatically. Is there any way around this problem. He'd like to use Outlook. Can that message be manipulated programmatically? Turned off temporarily then turned back on again? MTIA Rocky -- 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 19 10:17:51 2007 From: accessd at shaw.ca (Jim Lawrence) Date: Sun, 19 Aug 2007 08:17:51 -0700 Subject: [AccessD] Access Front-End via Web Enabled In-Reply-To: Message-ID: <57A23C48A7794CC3A61CD8F82C89DFFA@creativesystemdesigns.com> Hi Charlotte: I have some knowledge with and it is amazing how far someone can get with just a little knowledge. I have a couple sites that look good...and the code is getting better. As an aside: I believe that all/most applications will be running off the web in a few years. We have to look no further than the battles between Google and Microsoft to see the front-lines. On the other hand MS makes some of the best web development tools out there. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, August 16, 2007 8:16 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access Front-End via Web Enabled I haven't worked with it at all in several years because virtually all our development is WinForms using VB.Net. I never worked with ASP, so I don't know how different ASP.Net is. There are lots of books on it, which should help. The biggie is getting used to the .Net object model where EVERYTHING is an object and there are multiple ways to do something, some of them more right than others. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Julie Taylor Sent: Thursday, August 16, 2007 8:10 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access Front-End via Web Enabled Hi Charlotte, Thank you for answering me. Was it difficult to get into? Is the transition from Access a difficult one? By the way, for all of you members in Italy..........I was there this summer. Absolutely beautiful country. People were wonderful. You have such a treasure! My photos are on my website, if anyone would like to see them. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, August 16, 2007 10:57 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access Front-End via Web Enabled You won't like the answer: ASP.Net Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Julie Reardon-Taylor Sent: Thursday, August 16, 2007 7:20 AM To: accessd at databaseadvisors.com Subject: [AccessD] Access Front-End via Web Enabled Looking for some opinions on what people are using for a web-enabled access database. I have used replication for some applications, but would now like to move the front-end to a browser so that the input can be done via a web page over a wireless connection. Have toyed with data access pages, but not sure if that is a good solution. This application has three subform levels and the scripting may be an issue in DAP. Did I read a posting on AccessD at some point that DAP are going to be out in the next version of Access? What are other people using as forms via the www? Julie Reardon PRO-SOFT OF NY, INC. 44 Public Square Suite #5 Watertown, NY 13601 Phone: 315.785.0319 Fax: 315.785.0323 www.pro-soft.net NYS IT Services Contract CMT026A NYS Certified Woman-Owned Business _________________________________________________________________ Learn.Laugh.Share. Reallivemoms is right place! http://www.reallivemoms.com?ocid=TXT_TAGHM&loc=us -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Sun Aug 19 11:00:24 2007 From: accessd at shaw.ca (Jim Lawrence) Date: Sun, 19 Aug 2007 09:00:24 -0700 Subject: [AccessD] Access Front-End via Web Enabled In-Reply-To: <004701c7e01d$673f17d0$0301a8c0@HAL9005> Message-ID: <045AEF0244B8420E943E27EC6A23D218@creativesystemdesigns.com> Hi Rocky: Undoubtedly, late for this thread but they are both languages for building web based applications. ASP was created by Microsoft and has much of the syntax of VBA so it is very easy to learn for all us access users... ASP.Net is ASP's next generation and is much more powerful application with an extensive. PHP is an open-source web application development tool. It is extensive in its features (it reminds me of old FoxPro with 5 to 10 ways to do anything) and is now the most used web application development tool out there. It runs happily on both Windows and Linux servers/stations PHP is also not difficult to learn but to really master can take a long time. There is a huge supply of template applications for PHP out there. Microsoft has provided an excellent development interface and there are a host of sample applications which can be used as templates for your own designs. To develop in either of these applications you have to have IIS or Apache (I do not know whether Apache and ASP.net play together) running on your development station/server. It is then easy to install ASP.Net on that station/server but if you have not installed PHP before you are really going to have to read that installation guide. I have both running off my development server and have applications that use pages created with both. I like working with ASP.Net as it is accompanied with an excellent Visual Application Development tool and is almost as user friendly as Access. But like Access to really use it you have to be willing to get down and dirty. I could prattle on for a while but I believe the covers the high-lights. HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Thursday, August 16, 2007 8:52 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access Front-End via Web Enabled At the risk of running afoul of a moderator: what's the difference between ASP and PHP in terms of when you would use each? (I'm thinking I should learn one of these.) TIA Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, August 16, 2007 7:57 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access Front-End via Web Enabled You won't like the answer: ASP.Net Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Julie Reardon-Taylor Sent: Thursday, August 16, 2007 7:20 AM To: accessd at databaseadvisors.com Subject: [AccessD] Access Front-End via Web Enabled Looking for some opinions on what people are using for a web-enabled access database. I have used replication for some applications, but would now like to move the front-end to a browser so that the input can be done via a web page over a wireless connection. Have toyed with data access pages, but not sure if that is a good solution. This application has three subform levels and the scripting may be an issue in DAP. Did I read a posting on AccessD at some point that DAP are going to be out in the next version of Access? What are other people using as forms via the www? Julie Reardon PRO-SOFT OF NY, INC. 44 Public Square Suite #5 Watertown, NY 13601 Phone: 315.785.0319 Fax: 315.785.0323 www.pro-soft.net NYS IT Services Contract CMT026A NYS Certified Woman-Owned Business _________________________________________________________________ Learn.Laugh.Share. Reallivemoms is right place! http://www.reallivemoms.com?ocid=TXT_TAGHM&loc=us -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.19/955 - Release Date: 8/15/2007 4:55 PM -- 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 19 11:12:40 2007 From: accessd at shaw.ca (Jim Lawrence) Date: Sun, 19 Aug 2007 09:12:40 -0700 Subject: [AccessD] Can't delete records from this table In-Reply-To: <20070816211704.20407BE65@smtp-auth.no-ip.com> Message-ID: Hi John: You can not delete on 2 or more tables simultaneously, in a single sequel statement just like you can not add to 2 or more tables... without coding that is.... or using cascading deletes... forget I said that! Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Thursday, August 16, 2007 2:17 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Can't delete records from this table I have a table where if I create a simple query - join tblX to tblY on PKID, turn into delete * - it gives me the message "can't delete records from this table". Yet if I turn it back into a select query I can highlight records and delete them. Any ideas why? John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From markamatte at hotmail.com Mon Aug 20 09:20:17 2007 From: markamatte at hotmail.com (Mark A Matte) Date: Mon, 20 Aug 2007 14:20:17 +0000 Subject: [AccessD] SQL Speed In-Reply-To: <005e01c7e114$1f125880$af15c048@fredxp> Message-ID: Thanks Fred, as for the concatenation...I will never know what the values will be...so I can't include them in the solution. Mark >From: "Fred Hooper" >Reply-To: Access Developers discussion and problem >solving >To: "'Access Developers discussion and problem >solving'" >Subject: Re: [AccessD] SQL Speed >Date: Fri, 17 Aug 2007 17:18:13 -0400 > >Hi Mark, > >I've run SQL on SQL Server & Oracle that's *much* longer, so that's not a >limitation. You could use VBA to create a view in SQL Server that holds >your >10K SQL statements, union all'd together, then there'd be no size limit. > >For concatenation, how about something like (for SQL Server): > >select table.ID + ': ' + table.VALUE as zero, > table_1.ID + ': " + table_1.VALUE as one, > table_2.ID + ': " + table_2.VALUE as two > table_3.ID + ': " + table_3.VALUE as three, >from table where ID = 'aa' >inner join (select sql_run, ID + ': ' + VALUE > from table > where ID = 'bb') as table_1 > on table.sql_run = table_1.sql_run >inner join (select sql_run, ID + ': ' + VALUE > from table > where ID = 'cc') as table_2 > on table.sql_run = table_2.sql_run >inner join (select sql_run, ID + ': ' + VALUE > from table > where ID = 'ee') as table_3 > on table.sql_run = table_3.sql_run > >Note: sql_run is the number of one of your 10K queries. Please see the >column I've added to your example below. > >This code concatenates your records into a single row by aliasing the same >source. If you don't always have the same number of fields in the output >you'd have to use a "left outer" join in place of the "inner", and handle >the resulting nulls in the select clause. With 10K SQL statements * 5 >values >per statement this should run very quickly even with outer joins. > >You *could* write this code in Access, but you'd have to be careful when >saving and reusing it since the parser converts the parentheses in the sub >queries to square brackets and appends a period - which doesn't work nicely >if you later modify the code. > >You'd be better off to create another SQL Server view that uses the first >as >a source. It holds the above code (e.g. table <-- 10kView). Then, you call >the results of the second view in a pass-through query to get it into >Access >quickly, and use a regular query (with the pass-through as its source) to >place the results in an Access table. > >I'm guessing a few seconds run time for the whole thing -- after you have >the first view created. > >Fred > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte >Sent: Friday, August 17, 2007 10:58 AM >To: accessd at databaseadvisors.com >Subject: Re: [AccessD] SQL Speed > >Thanks Fred, > >Making a union with my 10k SQLs would put me almost to 4million characters. > >As for the concatenation ...its not just the fields... it will concatenate >2 > >fields from every record returned from each SQL statement: > >sql_run ID VALUE > 1 aa -15 > 1 bb 18.5 > 1 cc -21.2 > 1 ee 16 > >Lets say these records are returned from 1 SQL...I then need the ID and >Value from each of these records stored as a string: > >aa -15: bb 18.5: cc -21.2: ee 16 > >...or something similar. and then do it again for the other 9999 SQLs. > >Thanks, > >Mark A. Matte > > > > > > >From: "Fred Hooper" > >Reply-To: Access Developers discussion and problem > >solving > >To: "'Access Developers discussion and problem > >solving'" > >Subject: Re: [AccessD] SQL Speed > >Date: Thu, 16 Aug 2007 18:35:49 -0400 > > > >Hi Mark, > > > >I don't know how long an SQL statement can be, but I've written some very > >long ones - at least 5k characters. When you find out the limit you could > >just use a loop and maybe have to run 2 or 3 (or 50) queries - still much > >better than 10k. > > > >You could adapt Gustav's "sort with union all" idea by placing "select n >as > >ID_no" as the first field and separate the results later using that #. If > >they have different numbers of fields, then place dummy fields where > >needed. > > > >The results get into the temp table by having another query that uses the > >pass-through query as its source. > > > >I suggested this because of my experience: I was placing information on >all > >of the tables/fields in an SQL Server database (about 13k fields) into an > >Access table so I could more easily learn the database. First, I tried a > >direct SQL statement against the database. It ran a couple of seconds in > >Query Analyzer. When I used it as a recordset to fill the table, I killed > >it > >in a few minutes - but it was going to run at least an hour. The > >pass-through query fills the table (through another query) in 2-3 >seconds. > > > >Also, why not concatenate the fields in SQL? > > > >Fred > > > >-----Original Message----- > >From: accessd-bounces at databaseadvisors.com > >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte > >Sent: Thursday, August 16, 2007 11:26 AM > >To: accessd at databaseadvisors.com > >Subject: Re: [AccessD] SQL Speed > > > >Thanks Fred, > > > >But I need to do take the results of each statement and send them > >individually somewhere(either email or temp table)... > > > > > >...and can an SQL statement be that long? > > > >Thanks, > > > >Mark A. Matte > > > > > > >From: "Fred Hooper" > > >Reply-To: Access Developers discussion and problem > > >solving > > >To: "'Access Developers discussion and problem > > >solving'" > > >Subject: Re: [AccessD] SQL Speed > > >Date: Wed, 15 Aug 2007 18:07:26 -0400 > > > > > >Hi Mark, > > > > > >Is there any chance you could string those 10k runs together with union > > >all's? If so, you could run all of them at once with a pass-though >query, > > >which would be *much* faster than 10k separate runs. > > > > > >Fred > > > > > >-----Original Message----- > > >From: accessd-bounces at databaseadvisors.com > > >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte > > >Sent: Wednesday, August 15, 2007 9:47 AM > > >To: accessd at databaseadvisors.com > > >Subject: Re: [AccessD] SQL Speed > > > > > >I'm not returning 4K rows...the table I'm running these SQL statements > > >againts has 4K rows... > > > > > >In one table I have 10K SQL statements(1 per row). The SQL statements > >are > > >all filtering on indexed currency and integer fields. I pullin all 10K > >as > > >a > > > > > >recordset....and loop through...for each row, I execute that SQL >againts > >a > > >table with about 4K rows...and take the results (typically between 1 >and > >20 > > >rows) and concatenated a Char4 and a Currency field from each of the > > >results > > > > > >into 1 long string (this will later be the body of an email). > > > > > >So...I run 10K SQL statements, one right after the other, against a >table > > >with about 4K rows, returning between 1 and 20 records per SQL >statement. > > > > > >To run these 10K and store the results it takes just less than 2 > > >Minutes...if this is slow...please share how long (average) you would > > >expect > > > > > >it to take 10K queries to run? > > > > > >There is more detail in the emails below... > > > > > > >From: "Christopher Hawkins" > > > >Reply-To: Access Developers discussion and problem > > > >solving > > > >To: > > > >Subject: Re: [AccessD] SQL Speed > > > >Date: Tue, 14 Aug 2007 20:08:09 -0600 > > > > > > > >Hi, Mark. I think I missed this topic the first time it came up. > > > > > > > >This is a hard question to answer, mainly because you don't mention > >what > > > >type of data is contained in the 4K rows you're querying, and how >many > > > >fields are involved. You also mention that the results will be > > > >"concatenated", which seems like an odd thing to do. I would expect > >you > > >to > > > > > > >run a sum or a count or something, not a concatenation of 4K rows. >Can > > >you > > > > > > >provide more detail? > > > > > > > >Off the cuff, 2 minutes sounds slow to return 4K rows of the kind of > >data > > > > >I > > > > > > >tend to work with, but like I said, I'm not exactly clear on what > >you're > > > >doing with those rows. > > > > > > > >Can you show us the actual SQL? > > > > > > > >-C- > > > > > > > >---------------------------------------- > > > > > > > >From: "Mark A Matte" > > > >Sent: Tuesday, August 14, 2007 3:12 AM > > > >To: accessd at databaseadvisors.com > > > >Subject: Re: [AccessD] SQL Speed > > > > > > > >Hello All, > > > > > > > >I haven't received any responses after the email below. I am > >specifically > > > >curious about the realistic time to run 10K sql statements (see >below). > > > >Access vs. SQL server? > > > > > > > >Any feedback is greatly appreciated. > > > > > > > >Thanks, > > > > > > > >Mark A. Matte > > > > > > > > >From: "Mark A Matte" > > > > >Reply-To: Access Developers discussion and problem > > > > >solving > > > > >To: accessd at databaseadvisors.com > > > > >Subject: Re: [AccessD] SQL Speed > > > > >Date: Thu, 09 Aug 2007 17:27:51 +0000 > > > > > > > > > >Thanks to All for your responses...(everything discussed below is > > > >currently > > > > >in A2K) > > > > > > > > > >I'm at the beginning of this and appreciate any ideas...This >program > > >has > > > > >been running 24/7 for the last 3 years...but only runs 1 SQL > >statement. > > > >It > > > > >runs the statement, loops through the results and concatenates the > > > >results, > > > > >and then emails the results (for these tests we are going to forget > > >about > > > > >the email part and just store the results in a separate table). > > > > > > > > > >Last night I put a loop on this and ran it 10K times. It took just > > >under > > > >2 > > > > >minutes. To make it more realistic, (the 10k SQL statements will >all > >be > > > > >different, but very similar) I removed the SQL from the code and > >placed > > > >it > > > > >in a memo field in another table (tblSQL). Next, I modified the >code > >so > > > > >now > > > > >it first pulls all records form tblSQL (I added 10k rows...but all > >the > > > >same > > > > >SQL statement)...then for each of these records...it does the stuff >I > > > > >outlined above. > > > > > > > > > >Again, it ran in just under 2 minutes. I need this to be as fast as > > > > >possible, and I don't know what a realistic time is. I apparently >can > > >do > > > > >10K in less than 2 minutes, but is this good, bad, average? > > > > > > > > > >Any thoughts/ideas? > > > > > > > > > >Thanks, > > > > > > > > > >Mark A. Matte > > > > > > > > > > > > > > > >From: Jim Lawrence > > > > > >Reply-To: Access Developers discussion and problem > > > > > >solving > > > > > >To: "'Access Developers discussion and problem > > > > > >solving'" > > > > > >Subject: Re: [AccessD] SQL Speed > > > > > >Date: Wed, 08 Aug 2007 22:15:43 -0700 > > > > > > > > > > > >Well, you have probably already thought of this, but any queries > >that > > > >can > > > > > >run on the SQL server as pre-compiled stored procedures will give > > > > >superior > > > > > >performance. > > > > > > > > > > > >Jim > > > > > > > > > > > >-----Original Message----- > > > > > >From: accessd-bounces at databaseadvisors.com > > > > > >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A > > >Matte > > > > > >Sent: Wednesday, August 08, 2007 1:57 PM > > > > > >To: accessd at databaseadvisors.com > > > > > >Subject: [AccessD] SQL Speed > > > > > > > > > > > >Hello All, > > > > > > > > > > > >I am involved in a project that will be web based. The database > >will > > > > > >either > > > > > > > > > > > >be access or SQL Server. > > > > > > > > > > > >The question is: I need to run a bunch (maybe 10K) of SQL > >statements > > > > > >againts a single table...or flat file, whatever is best, >containing > > > >about > > > > > >4K > > > > > > > > > > > >rows. The results of each will be appended to a second table, or > > > >emailed > > > > > >instantly (ahh...idea...good place for a JC style Class). The SQL > > > > > >statements themselves will be stored in a table. > > > > > > > > > > > >Does anyone have any ideas/suggestions about approach? I will >need > > >ALL > > > > >of > > > > > >the SQLs to run in less than 5 minutes. I know 1 runs in a >fraction > > >of > > > >a > > > > > >second...I just don't know what that fraction is to calculate >time > > > > >needed. > > > > > > > > > > > >Being there are so few rows involved...but so many SQL > > >statements...and > > > > > >speed is an issue...will there be a signicant advantage using SQL > > > >Server > > > > >or > > > > > >Access? > > > > > > > > > > > >I'm thinking of having the SQLs in a table and looping through >and > > > > > >executing > > > > > > > > > > > >each...I just don't know if this is the best approach? > > > > > > > > > > > >Thanks, > > > > > > > > > > > >Mark A. Matte > > > > > > > > > > > >_________________________________________________________________ > > >Puzzles, trivia teasers, word scrambles and more. Play for your chance >to > > >win! http://club.live.com/home.aspx?icid=CLUB_hotmailtextlink > > > > > >-- > > >AccessD mailing list > > >AccessD at databaseadvisors.com > > >http://databaseadvisors.com/mailman/listinfo/accessd > > >Website: http://www.databaseadvisors.com > > > > > > > > >-- > > >AccessD mailing list > > >AccessD at databaseadvisors.com > > >http://databaseadvisors.com/mailman/listinfo/accessd > > >Website: http://www.databaseadvisors.com > > > >_________________________________________________________________ > >Booking a flight? Know when to buy with airfare predictions on MSN >Travel. > >http://travel.msn.com/Articles/aboutfarecast.aspx&ocid=T001MSN25A07001 > > > >-- > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > > > > > >-- > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > >_________________________________________________________________ >Now you can see troublebefore he arrives >http://newlivehotmail.com/?ocid=TXT_TAGHM_migration_HM_viral_protection_0507 > > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ See what you?re getting into?before you go there http://newlivehotmail.com/?ocid=TXT_TAGHM_migration_HM_viral_preview_0507 From Gustav at cactus.dk Mon Aug 20 09:30:48 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 20 Aug 2007 16:30:48 +0200 Subject: [AccessD] Missing Issues Query Message-ID: Hi Susan That was only to find the lowest "free" number, not all numbers. I vote for Rocky's suggestion; browsing the list in code is probably the simplest and fastest method. DAO is very fast for such operations. /gustav >>> ssharkins at gmail.com 18-08-2007 15:28 >>> Seems like if they're in consecutive order, you could use an expression to compare... Gustav, if you see this, didn't we write about this? We used a form to find missing values -- might be exactly what Bryan needs. If I can find it, I'll send the article and example database to you Bryan. Also, I know I've done this in reports -- finding holes in sequential numbers. Susan H. Hi Bryan, If I understand your problem correctly, you have entries only for those issues you possess - there are no blank issue entries. So, you will be looking for a skip in the issue numbers or in the dates. Aside from writing something that meanders through all the dates or some combination of volume-issue-date to see where the pattern breaks, would it work for you to use a temporary date table with the dates that SHOULD all be there and use that table with your issues table and do the outer join trick against it? That would give you the dates that are missing and you could fill in the appropriate volume and issue numbers by inspection. Hope that helps a little. Tina Bryan Carbonnell wrote: > On 8/17/07, Gary Kjos wrote: > >> Well what you are after is a left join kind of a query from the table >> that has all the magazines go the table that has the missing ones >> with the join option to say "give me all the records" in the table >> with all the magazines. Then you do a condition on one of the table >> fields in the other table to test for "IS Null" and you will only get >> the ones that are missing. >> > > Maybe I'm missing what you are saying Gary, but I've only got 1 table, > and that is the table with the issues of the magazine that I have. I > don't have table with a full list of potential issues. From ssharkins at gmail.com Mon Aug 20 09:43:38 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Mon, 20 Aug 2007 10:43:38 -0400 Subject: [AccessD] Missing Issues Query In-Reply-To: References: Message-ID: <008f01c7e338$85634e20$048e01c7@SusanOne> Well, it sounds like a good article topic. ;) Susan H. Hi Susan That was only to find the lowest "free" number, not all numbers. I vote for Rocky's suggestion; browsing the list in code is probably the simplest and fastest method. DAO is very fast for such operations. /gustav >>> ssharkins at gmail.com 18-08-2007 15:28 >>> Seems like if they're in consecutive order, you could use an expression to compare... Gustav, if you see this, didn't we write about this? We used a form to find missing values -- might be exactly what Bryan needs. If I can find it, I'll send the article and example database to you Bryan. Also, I know I've done this in reports -- finding holes in sequential numbers. Susan H. Hi Bryan, If I understand your problem correctly, you have entries only for those issues you possess - there are no blank issue entries. So, you will be looking for a skip in the issue numbers or in the dates. Aside from writing something that meanders through all the dates or some combination of volume-issue-date to see where the pattern breaks, would it work for you to use a temporary date table with the dates that SHOULD all be there and use that table with your issues table and do the outer join trick against it? That would give you the dates that are missing and you could fill in the appropriate volume and issue numbers by inspection. Hope that helps a little. Tina Bryan Carbonnell wrote: > On 8/17/07, Gary Kjos wrote: > >> Well what you are after is a left join kind of a query from the table >> that has all the magazines go the table that has the missing ones >> with the join option to say "give me all the records" in the table >> with all the magazines. Then you do a condition on one of the table >> fields in the other table to test for "IS Null" and you will only get >> the ones that are missing. >> > > Maybe I'm missing what you are saying Gary, but I've only got 1 table, > and that is the table with the issues of the magazine that I have. I > don't have table with a full list of potential issues. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.484 / Virus Database: 269.12.0/961 - Release Date: 8/19/2007 7:27 AM From garykjos at gmail.com Mon Aug 20 09:54:30 2007 From: garykjos at gmail.com (Gary Kjos) Date: Mon, 20 Aug 2007 09:54:30 -0500 Subject: [AccessD] OT: Pics from JC Conference In-Reply-To: <280045EB324E42F4BE5D635271F12C80@creativesystemdesigns.com> References: <280045EB324E42F4BE5D635271F12C80@creativesystemdesigns.com> Message-ID: From: Jim Lawrence Date: Aug 19, 2007 10:10 AM Subject: OT: Pics from JC Conference To: Gary Kjos Hi Gary and all: Not a thing has come back to me yet.... As soon as it does I will post it. I am not even sure of all the individuals that went. GENERAL CALL: Anyone that when to the first JC Smokey Mountain Conference and have photos, documents, files, demos etc. please contact me off-line! :-) Jim -----Original Message----- From: Gary Kjos [mailto:garykjos at gmail.com] Sent: Wednesday, August 15, 2007 7:24 AM To: Jim Lawrence Subject: Fwd: [AccessD] OT: Pics from JC Conference Hi Jim, Any update on this? GK ---------- Forwarded message ---------- From: Mark A Matte Date: Aug 14, 2007 12:00 PM Subject: Re: [AccessD] OT: Pics from JC Conference To: accessd at databaseadvisors.com Still just curious if the pics from the JC Smokey Mnt conference are on the site somewhere? Thanks, Mark A. Matte -- Gary Kjos garykjos at gmail.com From markamatte at hotmail.com Mon Aug 20 10:16:32 2007 From: markamatte at hotmail.com (Mark A Matte) Date: Mon, 20 Aug 2007 15:16:32 +0000 Subject: [AccessD] OT: Pics from JC Conference In-Reply-To: Message-ID: I sent a zip file to Jim...what email Should I send it to? Thanks, Mark A. Matte >From: "Gary Kjos" >Reply-To: Access Developers discussion and problem >solving >To: "Access Developers discussion and problem >solving" >Subject: [AccessD] OT: Pics from JC Conference >Date: Mon, 20 Aug 2007 09:54:30 -0500 > >From: Jim Lawrence >Date: Aug 19, 2007 10:10 AM >Subject: OT: Pics from JC Conference >To: Gary Kjos > > >Hi Gary and all: > >Not a thing has come back to me yet.... As soon as it does I will post it. >I >am not even sure of all the individuals that went. > >GENERAL CALL: > >Anyone that when to the first JC Smokey Mountain Conference and have >photos, >documents, files, demos etc. please contact me off-line! :-) > >Jim > >-----Original Message----- >From: Gary Kjos [mailto:garykjos at gmail.com] >Sent: Wednesday, August 15, 2007 7:24 AM >To: Jim Lawrence >Subject: Fwd: [AccessD] OT: Pics from JC Conference > >Hi Jim, > >Any update on this? > >GK > >---------- Forwarded message ---------- >From: Mark A Matte >Date: Aug 14, 2007 12:00 PM >Subject: Re: [AccessD] OT: Pics from JC Conference >To: accessd at databaseadvisors.com > > >Still just curious if the pics from the JC Smokey Mnt conference are on the >site >somewhere? > >Thanks, > >Mark A. Matte > > > >-- >Gary Kjos >garykjos at gmail.com >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ More photos, more messages, more storage?get 2GB with Windows Live Hotmail. http://imagine-windowslive.com/hotmail/?locale=en-us&ocid=TXT_TAGHM_migration_HM_mini_2G_0507 From cfoust at infostatsystems.com Mon Aug 20 10:22:46 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 20 Aug 2007 08:22:46 -0700 Subject: [AccessD] Names in tables - best practices In-Reply-To: <000901c7e18c$412e8fb0$0301a8c0@HAL9005> References: <000901c7e18c$412e8fb0$0301a8c0@HAL9005> Message-ID: Definitely combine the tables. Maintenance is much simpler. If some of the data collected is radically different for different roles, put the common fields in the persons table and use one-to-one joins to tables containing the unique data collected for that particular role. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Saturday, August 18, 2007 4:38 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Names in tables - best practices Dear List: I have a legacy app in which the client is considering making a big change. There are currently threes table which have names in them - employees of the user (a law firm), employees of the user's clients (many to many person to client), and foreign agents. There may be more in the future - vendors, for example. What we are considering is consolidating the three tables into a general 'Persons' table and adding a field for 'role' - containing a FK to a Role table so we can add more roles as time goes on. Is this a good idea? The roles don't really overlap. And there are fields which are unique to each of the three tables. Right now I don't think there are any duplicated names among the three tables. So one role per name should suffice. Any opinion welcome. MTIA Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From garykjos at gmail.com Mon Aug 20 10:54:05 2007 From: garykjos at gmail.com (Gary Kjos) Date: Mon, 20 Aug 2007 10:54:05 -0500 Subject: [AccessD] OT: Pics from JC Conference In-Reply-To: References: Message-ID: The message from him that I forwarded to the list appears to have come from accessd at shaw.ca Is that right Jim? GK On 8/20/07, Mark A Matte wrote: > I sent a zip file to Jim...what email Should I send it to? > > > Thanks, > > Mark A. Matte > > > >From: "Gary Kjos" > >Reply-To: Access Developers discussion and problem > >solving > >To: "Access Developers discussion and problem > >solving" > >Subject: [AccessD] OT: Pics from JC Conference > >Date: Mon, 20 Aug 2007 09:54:30 -0500 > > > >From: Jim Lawrence > >Date: Aug 19, 2007 10:10 AM > >Subject: OT: Pics from JC Conference > >To: Gary Kjos > > > > > >Hi Gary and all: > > > >Not a thing has come back to me yet.... As soon as it does I will post it. > >I > >am not even sure of all the individuals that went. > > > >GENERAL CALL: > > > >Anyone that when to the first JC Smokey Mountain Conference and have > >photos, > >documents, files, demos etc. please contact me off-line! :-) > > > >Jim > > > >-----Original Message----- > >From: Gary Kjos [mailto:garykjos at gmail.com] > >Sent: Wednesday, August 15, 2007 7:24 AM > >To: Jim Lawrence > >Subject: Fwd: [AccessD] OT: Pics from JC Conference > > > >Hi Jim, > > > >Any update on this? > > > >GK > > > >---------- Forwarded message ---------- > >From: Mark A Matte > >Date: Aug 14, 2007 12:00 PM > >Subject: Re: [AccessD] OT: Pics from JC Conference > >To: accessd at databaseadvisors.com > > > > > >Still just curious if the pics from the JC Smokey Mnt conference are on the > >site > >somewhere? > > > >Thanks, > > > >Mark A. Matte > > > > > > > >-- > >Gary Kjos > >garykjos at gmail.com > >-- > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > > _________________________________________________________________ > More photos, more messages, more storage?get 2GB with Windows Live Hotmail. > http://imagine-windowslive.com/hotmail/?locale=en-us&ocid=TXT_TAGHM_migration_HM_mini_2G_0507 > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- Gary Kjos garykjos at gmail.com From rockysmolin at bchacc.com Mon Aug 20 14:04:31 2007 From: rockysmolin at bchacc.com (rockysmolin at bchacc.com) Date: Mon, 20 Aug 2007 15:04:31 -0400 Subject: [AccessD] Names in tables - best practices Message-ID: <380-22007812019431526@M2W030.mail2web.com> Thanks for that, Charlotte. I thought it would be better not tocombine them at this point, but I see what you're saying and the bet is that upfront cost of redesigning the db wil probably be offset by simplicity of maintenance? Original Message: ----------------- From: Charlotte Foust cfoust at infostatsystems.com Date: Mon, 20 Aug 2007 08:22:46 -0700 To: accessd at databaseadvisors.com Subject: Re: [AccessD] Names in tables - best practices Definitely combine the tables. Maintenance is much simpler. If some of the data collected is radically different for different roles, put the common fields in the persons table and use one-to-one joins to tables containing the unique data collected for that particular role. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Saturday, August 18, 2007 4:38 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Names in tables - best practices Dear List: I have a legacy app in which the client is considering making a big change. There are currently threes table which have names in them - employees of the user (a law firm), employees of the user's clients (many to many person to client), and foreign agents. There may be more in the future - vendors, for example. What we are considering is consolidating the three tables into a general 'Persons' table and adding a field for 'role' - containing a FK to a Role table so we can add more roles as time goes on. Is this a good idea? The roles don't really overlap. And there are fields which are unique to each of the three tables. Right now I don't think there are any duplicated names among the three tables. So one role per name should suffice. Any opinion welcome. MTIA Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------------------------------------------------------------- mail2web.com ? Enhanced email for the mobile individual based on Microsoft? Exchange - http://link.mail2web.com/Personal/EnhancedEmail From cfoust at infostatsystems.com Mon Aug 20 15:04:46 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 20 Aug 2007 13:04:46 -0700 Subject: [AccessD] Names in tables - best practices In-Reply-To: <380-22007812019431526@M2W030.mail2web.com> References: <380-22007812019431526@M2W030.mail2web.com> Message-ID: That's my experience. However, what are you going to do about the same person having multiple roles? (Never happen, right? HAH) That might better be covered by having a persons table holding the minimal basic info on the person and a join table (something like PersonRole) with the person ID and the Role ID. That would allow you to have the same person hold multiple roles but would eliminate having to maintain multiple records for that person. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of rockysmolin at bchacc.com Sent: Monday, August 20, 2007 12:05 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Names in tables - best practices Thanks for that, Charlotte. I thought it would be better not tocombine them at this point, but I see what you're saying and the bet is that upfront cost of redesigning the db wil probably be offset by simplicity of maintenance? Original Message: ----------------- From: Charlotte Foust cfoust at infostatsystems.com Date: Mon, 20 Aug 2007 08:22:46 -0700 To: accessd at databaseadvisors.com Subject: Re: [AccessD] Names in tables - best practices Definitely combine the tables. Maintenance is much simpler. If some of the data collected is radically different for different roles, put the common fields in the persons table and use one-to-one joins to tables containing the unique data collected for that particular role. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Saturday, August 18, 2007 4:38 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Names in tables - best practices Dear List: I have a legacy app in which the client is considering making a big change. There are currently threes table which have names in them - employees of the user (a law firm), employees of the user's clients (many to many person to client), and foreign agents. There may be more in the future - vendors, for example. What we are considering is consolidating the three tables into a general 'Persons' table and adding a field for 'role' - containing a FK to a Role table so we can add more roles as time goes on. Is this a good idea? The roles don't really overlap. And there are fields which are unique to each of the three tables. Right now I don't think there are any duplicated names among the three tables. So one role per name should suffice. Any opinion welcome. MTIA Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------------------------------------------------------------- mail2web.com - Enhanced email for the mobile individual based on Microsoft(r) Exchange - http://link.mail2web.com/Personal/EnhancedEmail -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From fahooper at trapo.com Mon Aug 20 15:23:01 2007 From: fahooper at trapo.com (Fred Hooper) Date: Mon, 20 Aug 2007 16:23:01 -0400 Subject: [AccessD] SQL Speed In-Reply-To: Message-ID: <00a201c7e367$e7dfa9c0$af15c048@fredxp> The concatenation doesn't rely on the values, it relies on the aa, bb, ... If you don't know what *they* are in advance, then you'd have to construct the concatenation code guided by the result of a "select distinct" -- same solution, slightly more complex code to implement it -- that is VBA code to construct SQL code to create the needed view. Fred -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Monday, August 20, 2007 10:20 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] SQL Speed Thanks Fred, as for the concatenation...I will never know what the values will be...so I can't include them in the solution. Mark >From: "Fred Hooper" >Reply-To: Access Developers discussion and problem >solving >To: "'Access Developers discussion and problem >solving'" >Subject: Re: [AccessD] SQL Speed >Date: Fri, 17 Aug 2007 17:18:13 -0400 > >Hi Mark, > >I've run SQL on SQL Server & Oracle that's *much* longer, so that's not a >limitation. You could use VBA to create a view in SQL Server that holds >your >10K SQL statements, union all'd together, then there'd be no size limit. > >For concatenation, how about something like (for SQL Server): > >select table.ID + ': ' + table.VALUE as zero, > table_1.ID + ': " + table_1.VALUE as one, > table_2.ID + ': " + table_2.VALUE as two > table_3.ID + ': " + table_3.VALUE as three, >from table where ID = 'aa' >inner join (select sql_run, ID + ': ' + VALUE > from table > where ID = 'bb') as table_1 > on table.sql_run = table_1.sql_run >inner join (select sql_run, ID + ': ' + VALUE > from table > where ID = 'cc') as table_2 > on table.sql_run = table_2.sql_run >inner join (select sql_run, ID + ': ' + VALUE > from table > where ID = 'ee') as table_3 > on table.sql_run = table_3.sql_run > >Note: sql_run is the number of one of your 10K queries. Please see the >column I've added to your example below. > >This code concatenates your records into a single row by aliasing the same >source. If you don't always have the same number of fields in the output >you'd have to use a "left outer" join in place of the "inner", and handle >the resulting nulls in the select clause. With 10K SQL statements * 5 >values >per statement this should run very quickly even with outer joins. > >You *could* write this code in Access, but you'd have to be careful when >saving and reusing it since the parser converts the parentheses in the sub >queries to square brackets and appends a period - which doesn't work nicely >if you later modify the code. > >You'd be better off to create another SQL Server view that uses the first >as >a source. It holds the above code (e.g. table <-- 10kView). Then, you call >the results of the second view in a pass-through query to get it into >Access >quickly, and use a regular query (with the pass-through as its source) to >place the results in an Access table. > >I'm guessing a few seconds run time for the whole thing -- after you have >the first view created. > >Fred > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte >Sent: Friday, August 17, 2007 10:58 AM >To: accessd at databaseadvisors.com >Subject: Re: [AccessD] SQL Speed > >Thanks Fred, > >Making a union with my 10k SQLs would put me almost to 4million characters. > >As for the concatenation ...its not just the fields... it will concatenate >2 > >fields from every record returned from each SQL statement: > >sql_run ID VALUE > 1 aa -15 > 1 bb 18.5 > 1 cc -21.2 > 1 ee 16 > >Lets say these records are returned from 1 SQL...I then need the ID and >Value from each of these records stored as a string: > >aa -15: bb 18.5: cc -21.2: ee 16 > >...or something similar. and then do it again for the other 9999 SQLs. > >Thanks, > >Mark A. Matte > > > > > > >From: "Fred Hooper" > >Reply-To: Access Developers discussion and problem > >solving > >To: "'Access Developers discussion and problem > >solving'" > >Subject: Re: [AccessD] SQL Speed > >Date: Thu, 16 Aug 2007 18:35:49 -0400 > > > >Hi Mark, > > > >I don't know how long an SQL statement can be, but I've written some very > >long ones - at least 5k characters. When you find out the limit you could > >just use a loop and maybe have to run 2 or 3 (or 50) queries - still much > >better than 10k. > > > >You could adapt Gustav's "sort with union all" idea by placing "select n >as > >ID_no" as the first field and separate the results later using that #. If > >they have different numbers of fields, then place dummy fields where > >needed. > > > >The results get into the temp table by having another query that uses the > >pass-through query as its source. > > > >I suggested this because of my experience: I was placing information on >all > >of the tables/fields in an SQL Server database (about 13k fields) into an > >Access table so I could more easily learn the database. First, I tried a > >direct SQL statement against the database. It ran a couple of seconds in > >Query Analyzer. When I used it as a recordset to fill the table, I killed > >it > >in a few minutes - but it was going to run at least an hour. The > >pass-through query fills the table (through another query) in 2-3 >seconds. > > > >Also, why not concatenate the fields in SQL? > > > >Fred > > > >-----Original Message----- > >From: accessd-bounces at databaseadvisors.com > >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte > >Sent: Thursday, August 16, 2007 11:26 AM > >To: accessd at databaseadvisors.com > >Subject: Re: [AccessD] SQL Speed > > > >Thanks Fred, > > > >But I need to do take the results of each statement and send them > >individually somewhere(either email or temp table)... > > > > > >...and can an SQL statement be that long? > > > >Thanks, > > > >Mark A. Matte > > > > > > >From: "Fred Hooper" > > >Reply-To: Access Developers discussion and problem > > >solving > > >To: "'Access Developers discussion and problem > > >solving'" > > >Subject: Re: [AccessD] SQL Speed > > >Date: Wed, 15 Aug 2007 18:07:26 -0400 > > > > > >Hi Mark, > > > > > >Is there any chance you could string those 10k runs together with union > > >all's? If so, you could run all of them at once with a pass-though >query, > > >which would be *much* faster than 10k separate runs. > > > > > >Fred > > > > > >-----Original Message----- > > >From: accessd-bounces at databaseadvisors.com > > >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte > > >Sent: Wednesday, August 15, 2007 9:47 AM > > >To: accessd at databaseadvisors.com > > >Subject: Re: [AccessD] SQL Speed > > > > > >I'm not returning 4K rows...the table I'm running these SQL statements > > >againts has 4K rows... > > > > > >In one table I have 10K SQL statements(1 per row). The SQL statements > >are > > >all filtering on indexed currency and integer fields. I pullin all 10K > >as > > >a > > > > > >recordset....and loop through...for each row, I execute that SQL >againts > >a > > >table with about 4K rows...and take the results (typically between 1 >and > >20 > > >rows) and concatenated a Char4 and a Currency field from each of the > > >results > > > > > >into 1 long string (this will later be the body of an email). > > > > > >So...I run 10K SQL statements, one right after the other, against a >table > > >with about 4K rows, returning between 1 and 20 records per SQL >statement. > > > > > >To run these 10K and store the results it takes just less than 2 > > >Minutes...if this is slow...please share how long (average) you would > > >expect > > > > > >it to take 10K queries to run? > > > > > >There is more detail in the emails below... > > > > > > >From: "Christopher Hawkins" > > > >Reply-To: Access Developers discussion and problem > > > >solving > > > >To: > > > >Subject: Re: [AccessD] SQL Speed > > > >Date: Tue, 14 Aug 2007 20:08:09 -0600 > > > > > > > >Hi, Mark. I think I missed this topic the first time it came up. > > > > > > > >This is a hard question to answer, mainly because you don't mention > >what > > > >type of data is contained in the 4K rows you're querying, and how >many > > > >fields are involved. You also mention that the results will be > > > >"concatenated", which seems like an odd thing to do. I would expect > >you > > >to > > > > > > >run a sum or a count or something, not a concatenation of 4K rows. >Can > > >you > > > > > > >provide more detail? > > > > > > > >Off the cuff, 2 minutes sounds slow to return 4K rows of the kind of > >data > > > > >I > > > > > > >tend to work with, but like I said, I'm not exactly clear on what > >you're > > > >doing with those rows. > > > > > > > >Can you show us the actual SQL? > > > > > > > >-C- > > > > > > > >---------------------------------------- > > > > > > > >From: "Mark A Matte" > > > >Sent: Tuesday, August 14, 2007 3:12 AM > > > >To: accessd at databaseadvisors.com > > > >Subject: Re: [AccessD] SQL Speed > > > > > > > >Hello All, > > > > > > > >I haven't received any responses after the email below. I am > >specifically > > > >curious about the realistic time to run 10K sql statements (see >below). > > > >Access vs. SQL server? > > > > > > > >Any feedback is greatly appreciated. > > > > > > > >Thanks, > > > > > > > >Mark A. Matte > > > > > > > > >From: "Mark A Matte" > > > > >Reply-To: Access Developers discussion and problem > > > > >solving > > > > >To: accessd at databaseadvisors.com > > > > >Subject: Re: [AccessD] SQL Speed > > > > >Date: Thu, 09 Aug 2007 17:27:51 +0000 > > > > > > > > > >Thanks to All for your responses...(everything discussed below is > > > >currently > > > > >in A2K) > > > > > > > > > >I'm at the beginning of this and appreciate any ideas...This >program > > >has > > > > >been running 24/7 for the last 3 years...but only runs 1 SQL > >statement. > > > >It > > > > >runs the statement, loops through the results and concatenates the > > > >results, > > > > >and then emails the results (for these tests we are going to forget > > >about > > > > >the email part and just store the results in a separate table). > > > > > > > > > >Last night I put a loop on this and ran it 10K times. It took just > > >under > > > >2 > > > > >minutes. To make it more realistic, (the 10k SQL statements will >all > >be > > > > >different, but very similar) I removed the SQL from the code and > >placed > > > >it > > > > >in a memo field in another table (tblSQL). Next, I modified the >code > >so > > > > >now > > > > >it first pulls all records form tblSQL (I added 10k rows...but all > >the > > > >same > > > > >SQL statement)...then for each of these records...it does the stuff >I > > > > >outlined above. > > > > > > > > > >Again, it ran in just under 2 minutes. I need this to be as fast as > > > > >possible, and I don't know what a realistic time is. I apparently >can > > >do > > > > >10K in less than 2 minutes, but is this good, bad, average? > > > > > > > > > >Any thoughts/ideas? > > > > > > > > > >Thanks, > > > > > > > > > >Mark A. Matte > > > > > > > > > > > > > > > >From: Jim Lawrence > > > > > >Reply-To: Access Developers discussion and problem > > > > > >solving > > > > > >To: "'Access Developers discussion and problem > > > > > >solving'" > > > > > >Subject: Re: [AccessD] SQL Speed > > > > > >Date: Wed, 08 Aug 2007 22:15:43 -0700 > > > > > > > > > > > >Well, you have probably already thought of this, but any queries > >that > > > >can > > > > > >run on the SQL server as pre-compiled stored procedures will give > > > > >superior > > > > > >performance. > > > > > > > > > > > >Jim > > > > > > > > > > > >-----Original Message----- > > > > > >From: accessd-bounces at databaseadvisors.com > > > > > >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A > > >Matte > > > > > >Sent: Wednesday, August 08, 2007 1:57 PM > > > > > >To: accessd at databaseadvisors.com > > > > > >Subject: [AccessD] SQL Speed > > > > > > > > > > > >Hello All, > > > > > > > > > > > >I am involved in a project that will be web based. The database > >will > > > > > >either > > > > > > > > > > > >be access or SQL Server. > > > > > > > > > > > >The question is: I need to run a bunch (maybe 10K) of SQL > >statements > > > > > >againts a single table...or flat file, whatever is best, >containing > > > >about > > > > > >4K > > > > > > > > > > > >rows. The results of each will be appended to a second table, or > > > >emailed > > > > > >instantly (ahh...idea...good place for a JC style Class). The SQL > > > > > >statements themselves will be stored in a table. > > > > > > > > > > > >Does anyone have any ideas/suggestions about approach? I will >need > > >ALL > > > > >of > > > > > >the SQLs to run in less than 5 minutes. I know 1 runs in a >fraction > > >of > > > >a > > > > > >second...I just don't know what that fraction is to calculate >time > > > > >needed. > > > > > > > > > > > >Being there are so few rows involved...but so many SQL > > >statements...and > > > > > >speed is an issue...will there be a signicant advantage using SQL > > > >Server > > > > >or > > > > > >Access? > > > > > > > > > > > >I'm thinking of having the SQLs in a table and looping through >and > > > > > >executing > > > > > > > > > > > >each...I just don't know if this is the best approach? > > > > > > > > > > > >Thanks, > > > > > > > > > > > >Mark A. Matte > > > > > > > > > > > >_________________________________________________________________ > > >Puzzles, trivia teasers, word scrambles and more. Play for your chance >to > > >win! http://club.live.com/home.aspx?icid=CLUB_hotmailtextlink > > > > > >-- > > >AccessD mailing list > > >AccessD at databaseadvisors.com > > >http://databaseadvisors.com/mailman/listinfo/accessd > > >Website: http://www.databaseadvisors.com > > > > > > > > >-- > > >AccessD mailing list > > >AccessD at databaseadvisors.com > > >http://databaseadvisors.com/mailman/listinfo/accessd > > >Website: http://www.databaseadvisors.com > > > >_________________________________________________________________ > >Booking a flight? Know when to buy with airfare predictions on MSN >Travel. > >http://travel.msn.com/Articles/aboutfarecast.aspx&ocid=T001MSN25A07001 > > > >-- > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > > > > > >-- > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > >_________________________________________________________________ >Now you can see troublebefore he arrives >http://newlivehotmail.com/?ocid=TXT_TAGHM_migration_HM_viral_protection_050 7 > > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ See what youre getting intobefore you go there http://newlivehotmail.com/?ocid=TXT_TAGHM_migration_HM_viral_preview_0507 From DWUTKA at Marlow.com Mon Aug 20 15:42:26 2007 From: DWUTKA at Marlow.com (Drew Wutka) Date: Mon, 20 Aug 2007 15:42:26 -0500 Subject: [AccessD] Names in tables - best practices In-Reply-To: <380-22007812019431526@M2W030.mail2web.com> Message-ID: Just a thought Rocky, but you could get away without redesigning anything but the tables themselves. One of the handy features of Access is that tables and queries are functionally identical to the things that use them. So, if you rearranged the table structure, you can actually make queries named with the original table names, that display the data the old tables actually showed, and the rest of the system doesn't know the difference. For example, let's say you had tblEmployees and tblCustomers tblEmployees: FirstName LastName EmployeeNumber Etc. tblCustomers: FirstName LastName CustomerNumber If you join this data into tblPeople FirstName LastName IDNumber Employee (yes/no) Customer (yes/no) (this is just an example) If you then had this saved as 'tblEmployees' SELECT FirstName, LastName, IDNumber AS EmployeeNumber FROM tblPeople WHERE Employee=True And this saved as 'tblCustomers' SELECT FirstName, LastName, IDNumber AS EmployeeNumber FROM tblPeople WHERE Customer=True Even though your data structure would be totally different to you, the system would use the queries just like they used the tables. Granted, this is a band-aid approach, because a major structure change should have the system converted to use the advantages of the new structure, but as you can see, this would allow for future changes to utilize the new structure, and let's the current stuff keep chugging along. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of rockysmolin at bchacc.com Sent: Monday, August 20, 2007 2:05 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Names in tables - best practices Thanks for that, Charlotte. I thought it would be better not tocombine them at this point, but I see what you're saying and the bet is that upfront cost of redesigning the db wil probably be offset by simplicity of maintenance? Original Message: ----------------- From: Charlotte Foust cfoust at infostatsystems.com Date: Mon, 20 Aug 2007 08:22:46 -0700 To: accessd at databaseadvisors.com Subject: Re: [AccessD] Names in tables - best practices Definitely combine the tables. Maintenance is much simpler. If some of the data collected is radically different for different roles, put the common fields in the persons table and use one-to-one joins to tables containing the unique data collected for that particular role. Charlotte Foust The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI BusinessSensitve material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. From markamatte at hotmail.com Mon Aug 20 15:55:17 2007 From: markamatte at hotmail.com (Mark A Matte) Date: Mon, 20 Aug 2007 20:55:17 +0000 Subject: [AccessD] SQL Speed In-Reply-To: <00a201c7e367$e7dfa9c0$af15c048@fredxp> Message-ID: the aa, bb, ...are the values....sorry...ID may have been misrepresented...so I can't say where ID=x because I will never know what x is? Sorry for the confusion...mine especially, Thanks, Mark >From: "Fred Hooper" >Reply-To: Access Developers discussion and problem >solving >To: "'Access Developers discussion and problem >solving'" >Subject: Re: [AccessD] SQL Speed >Date: Mon, 20 Aug 2007 16:23:01 -0400 > >The concatenation doesn't rely on the values, it relies on the aa, bb, ... >If you don't know what *they* are in advance, then you'd have to construct >the concatenation code guided by the result of a "select distinct" -- same >solution, slightly more complex code to implement it -- that is VBA code to >construct SQL code to create the needed view. > >Fred > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte >Sent: Monday, August 20, 2007 10:20 AM >To: accessd at databaseadvisors.com >Subject: Re: [AccessD] SQL Speed > >Thanks Fred, > >as for the concatenation...I will never know what the values will be...so I >can't include them in the solution. > >Mark > > > >From: "Fred Hooper" > >Reply-To: Access Developers discussion and problem > >solving > >To: "'Access Developers discussion and problem > >solving'" > >Subject: Re: [AccessD] SQL Speed > >Date: Fri, 17 Aug 2007 17:18:13 -0400 > > > >Hi Mark, > > > >I've run SQL on SQL Server & Oracle that's *much* longer, so that's not a > >limitation. You could use VBA to create a view in SQL Server that holds > >your > >10K SQL statements, union all'd together, then there'd be no size limit. > > > >For concatenation, how about something like (for SQL Server): > > > >select table.ID + ': ' + table.VALUE as zero, > > table_1.ID + ': " + table_1.VALUE as one, > > table_2.ID + ': " + table_2.VALUE as two > > table_3.ID + ': " + table_3.VALUE as three, > >from table where ID = 'aa' > >inner join (select sql_run, ID + ': ' + VALUE > > from table > > where ID = 'bb') as table_1 > > on table.sql_run = table_1.sql_run > >inner join (select sql_run, ID + ': ' + VALUE > > from table > > where ID = 'cc') as table_2 > > on table.sql_run = table_2.sql_run > >inner join (select sql_run, ID + ': ' + VALUE > > from table > > where ID = 'ee') as table_3 > > on table.sql_run = table_3.sql_run > > > >Note: sql_run is the number of one of your 10K queries. Please see the > >column I've added to your example below. > > > >This code concatenates your records into a single row by aliasing the >same > >source. If you don't always have the same number of fields in the output > >you'd have to use a "left outer" join in place of the "inner", and handle > >the resulting nulls in the select clause. With 10K SQL statements * 5 > >values > >per statement this should run very quickly even with outer joins. > > > >You *could* write this code in Access, but you'd have to be careful when > >saving and reusing it since the parser converts the parentheses in the >sub > >queries to square brackets and appends a period - which doesn't work >nicely > >if you later modify the code. > > > >You'd be better off to create another SQL Server view that uses the first > >as > >a source. It holds the above code (e.g. table <-- 10kView). Then, you >call > >the results of the second view in a pass-through query to get it into > >Access > >quickly, and use a regular query (with the pass-through as its source) to > >place the results in an Access table. > > > >I'm guessing a few seconds run time for the whole thing -- after you have > >the first view created. > > > >Fred > > > >-----Original Message----- > >From: accessd-bounces at databaseadvisors.com > >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte > >Sent: Friday, August 17, 2007 10:58 AM > >To: accessd at databaseadvisors.com > >Subject: Re: [AccessD] SQL Speed > > > >Thanks Fred, > > > >Making a union with my 10k SQLs would put me almost to 4million >characters. > > > >As for the concatenation ...its not just the fields... it will >concatenate > >2 > > > >fields from every record returned from each SQL statement: > > > >sql_run ID VALUE > > 1 aa -15 > > 1 bb 18.5 > > 1 cc -21.2 > > 1 ee 16 > > > >Lets say these records are returned from 1 SQL...I then need the ID and > >Value from each of these records stored as a string: > > > >aa -15: bb 18.5: cc -21.2: ee 16 > > > >...or something similar. and then do it again for the other 9999 SQLs. > > > >Thanks, > > > >Mark A. Matte > > > > > > > > > > > > >From: "Fred Hooper" > > >Reply-To: Access Developers discussion and problem > > >solving > > >To: "'Access Developers discussion and problem > > >solving'" > > >Subject: Re: [AccessD] SQL Speed > > >Date: Thu, 16 Aug 2007 18:35:49 -0400 > > > > > >Hi Mark, > > > > > >I don't know how long an SQL statement can be, but I've written some >very > > >long ones - at least 5k characters. When you find out the limit you >could > > >just use a loop and maybe have to run 2 or 3 (or 50) queries - still >much > > >better than 10k. > > > > > >You could adapt Gustav's "sort with union all" idea by placing "select >n > >as > > >ID_no" as the first field and separate the results later using that #. >If > > >they have different numbers of fields, then place dummy fields where > > >needed. > > > > > >The results get into the temp table by having another query that uses >the > > >pass-through query as its source. > > > > > >I suggested this because of my experience: I was placing information on > >all > > >of the tables/fields in an SQL Server database (about 13k fields) into >an > > >Access table so I could more easily learn the database. First, I tried >a > > >direct SQL statement against the database. It ran a couple of seconds >in > > >Query Analyzer. When I used it as a recordset to fill the table, I >killed > > >it > > >in a few minutes - but it was going to run at least an hour. The > > >pass-through query fills the table (through another query) in 2-3 > >seconds. > > > > > >Also, why not concatenate the fields in SQL? > > > > > >Fred > > > > > >-----Original Message----- > > >From: accessd-bounces at databaseadvisors.com > > >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte > > >Sent: Thursday, August 16, 2007 11:26 AM > > >To: accessd at databaseadvisors.com > > >Subject: Re: [AccessD] SQL Speed > > > > > >Thanks Fred, > > > > > >But I need to do take the results of each statement and send them > > >individually somewhere(either email or temp table)... > > > > > > > > >...and can an SQL statement be that long? > > > > > >Thanks, > > > > > >Mark A. Matte > > > > > > > > > >From: "Fred Hooper" > > > >Reply-To: Access Developers discussion and problem > > > >solving > > > >To: "'Access Developers discussion and problem > > > >solving'" > > > >Subject: Re: [AccessD] SQL Speed > > > >Date: Wed, 15 Aug 2007 18:07:26 -0400 > > > > > > > >Hi Mark, > > > > > > > >Is there any chance you could string those 10k runs together with >union > > > >all's? If so, you could run all of them at once with a pass-though > >query, > > > >which would be *much* faster than 10k separate runs. > > > > > > > >Fred > > > > > > > >-----Original Message----- > > > >From: accessd-bounces at databaseadvisors.com > > > >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A >Matte > > > >Sent: Wednesday, August 15, 2007 9:47 AM > > > >To: accessd at databaseadvisors.com > > > >Subject: Re: [AccessD] SQL Speed > > > > > > > >I'm not returning 4K rows...the table I'm running these SQL >statements > > > >againts has 4K rows... > > > > > > > >In one table I have 10K SQL statements(1 per row). The SQL >statements > > >are > > > >all filtering on indexed currency and integer fields. I pullin all >10K > > >as > > > >a > > > > > > > >recordset....and loop through...for each row, I execute that SQL > >againts > > >a > > > >table with about 4K rows...and take the results (typically between 1 > >and > > >20 > > > >rows) and concatenated a Char4 and a Currency field from each of the > > > >results > > > > > > > >into 1 long string (this will later be the body of an email). > > > > > > > >So...I run 10K SQL statements, one right after the other, against a > >table > > > >with about 4K rows, returning between 1 and 20 records per SQL > >statement. > > > > > > > >To run these 10K and store the results it takes just less than 2 > > > >Minutes...if this is slow...please share how long (average) you would > > > >expect > > > > > > > >it to take 10K queries to run? > > > > > > > >There is more detail in the emails below... > > > > > > > > >From: "Christopher Hawkins" > > > > >Reply-To: Access Developers discussion and problem > > > > >solving > > > > >To: > > > > >Subject: Re: [AccessD] SQL Speed > > > > >Date: Tue, 14 Aug 2007 20:08:09 -0600 > > > > > > > > > >Hi, Mark. I think I missed this topic the first time it came up. > > > > > > > > > >This is a hard question to answer, mainly because you don't mention > > >what > > > > >type of data is contained in the 4K rows you're querying, and how > >many > > > > >fields are involved. You also mention that the results will be > > > > >"concatenated", which seems like an odd thing to do. I would >expect > > >you > > > >to > > > > > > > > >run a sum or a count or something, not a concatenation of 4K rows. > >Can > > > >you > > > > > > > > >provide more detail? > > > > > > > > > >Off the cuff, 2 minutes sounds slow to return 4K rows of the kind >of > > >data > > > > > > >I > > > > > > > > >tend to work with, but like I said, I'm not exactly clear on what > > >you're > > > > >doing with those rows. > > > > > > > > > >Can you show us the actual SQL? > > > > > > > > > >-C- > > > > > > > > > >---------------------------------------- > > > > > > > > > >From: "Mark A Matte" > > > > >Sent: Tuesday, August 14, 2007 3:12 AM > > > > >To: accessd at databaseadvisors.com > > > > >Subject: Re: [AccessD] SQL Speed > > > > > > > > > >Hello All, > > > > > > > > > >I haven't received any responses after the email below. I am > > >specifically > > > > >curious about the realistic time to run 10K sql statements (see > >below). > > > > >Access vs. SQL server? > > > > > > > > > >Any feedback is greatly appreciated. > > > > > > > > > >Thanks, > > > > > > > > > >Mark A. Matte > > > > > > > > > > >From: "Mark A Matte" > > > > > >Reply-To: Access Developers discussion and problem > > > > > >solving > > > > > >To: accessd at databaseadvisors.com > > > > > >Subject: Re: [AccessD] SQL Speed > > > > > >Date: Thu, 09 Aug 2007 17:27:51 +0000 > > > > > > > > > > > >Thanks to All for your responses...(everything discussed below is > > > > >currently > > > > > >in A2K) > > > > > > > > > > > >I'm at the beginning of this and appreciate any ideas...This > >program > > > >has > > > > > >been running 24/7 for the last 3 years...but only runs 1 SQL > > >statement. > > > > >It > > > > > >runs the statement, loops through the results and concatenates >the > > > > >results, > > > > > >and then emails the results (for these tests we are going to >forget > > > >about > > > > > >the email part and just store the results in a separate table). > > > > > > > > > > > >Last night I put a loop on this and ran it 10K times. It took >just > > > >under > > > > >2 > > > > > >minutes. To make it more realistic, (the 10k SQL statements will > >all > > >be > > > > > >different, but very similar) I removed the SQL from the code and > > >placed > > > > >it > > > > > >in a memo field in another table (tblSQL). Next, I modified the > >code > > >so > > > > > >now > > > > > >it first pulls all records form tblSQL (I added 10k rows...but >all > > >the > > > > >same > > > > > >SQL statement)...then for each of these records...it does the >stuff > > >I > > > > > >outlined above. > > > > > > > > > > > >Again, it ran in just under 2 minutes. I need this to be as fast >as > > > > > >possible, and I don't know what a realistic time is. I apparently > >can > > > >do > > > > > >10K in less than 2 minutes, but is this good, bad, average? > > > > > > > > > > > >Any thoughts/ideas? > > > > > > > > > > > >Thanks, > > > > > > > > > > > >Mark A. Matte > > > > > > > > > > > > > > > > > > >From: Jim Lawrence > > > > > > >Reply-To: Access Developers discussion and problem > > > > > > >solving > > > > > > >To: "'Access Developers discussion and problem > > > > > > >solving'" > > > > > > >Subject: Re: [AccessD] SQL Speed > > > > > > >Date: Wed, 08 Aug 2007 22:15:43 -0700 > > > > > > > > > > > > > >Well, you have probably already thought of this, but any >queries > > >that > > > > >can > > > > > > >run on the SQL server as pre-compiled stored procedures will >give > > > > > >superior > > > > > > >performance. > > > > > > > > > > > > > >Jim > > > > > > > > > > > > > >-----Original Message----- > > > > > > >From: accessd-bounces at databaseadvisors.com > > > > > > >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark >A > > > >Matte > > > > > > >Sent: Wednesday, August 08, 2007 1:57 PM > > > > > > >To: accessd at databaseadvisors.com > > > > > > >Subject: [AccessD] SQL Speed > > > > > > > > > > > > > >Hello All, > > > > > > > > > > > > > >I am involved in a project that will be web based. The database > > >will > > > > > > >either > > > > > > > > > > > > > >be access or SQL Server. > > > > > > > > > > > > > >The question is: I need to run a bunch (maybe 10K) of SQL > > >statements > > > > > > >againts a single table...or flat file, whatever is best, > >containing > > > > >about > > > > > > >4K > > > > > > > > > > > > > >rows. The results of each will be appended to a second table, >or > > > > >emailed > > > > > > >instantly (ahh...idea...good place for a JC style Class). The >SQL > > > > > > >statements themselves will be stored in a table. > > > > > > > > > > > > > >Does anyone have any ideas/suggestions about approach? I will > >need > > > >ALL > > > > > >of > > > > > > >the SQLs to run in less than 5 minutes. I know 1 runs in a > >fraction > > > >of > > > > >a > > > > > > >second...I just don't know what that fraction is to calculate > >time > > > > > >needed. > > > > > > > > > > > > > >Being there are so few rows involved...but so many SQL > > > >statements...and > > > > > > >speed is an issue...will there be a signicant advantage using >SQL > > > > >Server > > > > > >or > > > > > > >Access? > > > > > > > > > > > > > >I'm thinking of having the SQLs in a table and looping through > >and > > > > > > >executing > > > > > > > > > > > > > >each...I just don't know if this is the best approach? > > > > > > > > > > > > > >Thanks, > > > > > > > > > > > > > >Mark A. Matte > > > > > > > > > > > > > > >_________________________________________________________________ > > > >Puzzles, trivia teasers, word scrambles and more. Play for your >chance > >to > > > >win! http://club.live.com/home.aspx?icid=CLUB_hotmailtextlink > > > > > > > >-- > > > >AccessD mailing list > > > >AccessD at databaseadvisors.com > > > >http://databaseadvisors.com/mailman/listinfo/accessd > > > >Website: http://www.databaseadvisors.com > > > > > > > > > > > >-- > > > >AccessD mailing list > > > >AccessD at databaseadvisors.com > > > >http://databaseadvisors.com/mailman/listinfo/accessd > > > >Website: http://www.databaseadvisors.com > > > > > >_________________________________________________________________ > > >Booking a flight? Know when to buy with airfare predictions on MSN > >Travel. > > >http://travel.msn.com/Articles/aboutfarecast.aspx&ocid=T001MSN25A07001 > > > > > >-- > > >AccessD mailing list > > >AccessD at databaseadvisors.com > > >http://databaseadvisors.com/mailman/listinfo/accessd > > >Website: http://www.databaseadvisors.com > > > > > > > > >-- > > >AccessD mailing list > > >AccessD at databaseadvisors.com > > >http://databaseadvisors.com/mailman/listinfo/accessd > > >Website: http://www.databaseadvisors.com > > > >_________________________________________________________________ > >Now you can see troublebefore he arrives > >http://newlivehotmail.com/?ocid=TXT_TAGHM_migration_HM_viral_protection_050 >7 > > > > > > > >-- > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > >_________________________________________________________________ >See what youre getting intobefore you go there >http://newlivehotmail.com/?ocid=TXT_TAGHM_migration_HM_viral_preview_0507 > > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ A new home for Mom, no cleanup required. All starts here. http://www.reallivemoms.com?ocid=TXT_TAGHM&loc=us From accma at sympatico.ca Mon Aug 20 21:09:06 2007 From: accma at sympatico.ca (Annie Courchesne, CMA) Date: Mon, 20 Aug 2007 22:09:06 -0400 Subject: [AccessD] updated table statistics Message-ID: <003101c7e398$4749c6e0$6800a8c0@anniec> Hi everyone, I've read several time that in order updated table statistics, we should run all query after compacting. Anyone knows if it's only necessary to open and save or actually run it? If we need to actually run it, anyone has any idea on how to "updated table statistics" with a append query without actually adding any records to a table? Thanks! Annie Courchesne, CMA From accessd at shaw.ca Mon Aug 20 22:06:36 2007 From: accessd at shaw.ca (Jim Lawrence) Date: Mon, 20 Aug 2007 20:06:36 -0700 Subject: [AccessD] OT: Pics from JC Conference In-Reply-To: Message-ID: <05B41415BEB043B2A4F00303DE6028C6@creativesystemdesigns.com> Hi Gary: Unfortunately the zip file must have been filtered though I get zip files all the time. Try sending the information to: creativesystemsdesign at shaw.ca Regards Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary Kjos Sent: Monday, August 20, 2007 8:54 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Pics from JC Conference The message from him that I forwarded to the list appears to have come from accessd at shaw.ca Is that right Jim? GK On 8/20/07, Mark A Matte wrote: > I sent a zip file to Jim...what email Should I send it to? > > > Thanks, > > Mark A. Matte > > > >From: "Gary Kjos" > >Reply-To: Access Developers discussion and problem > >solving > >To: "Access Developers discussion and problem > >solving" > >Subject: [AccessD] OT: Pics from JC Conference > >Date: Mon, 20 Aug 2007 09:54:30 -0500 > > > >From: Jim Lawrence > >Date: Aug 19, 2007 10:10 AM > >Subject: OT: Pics from JC Conference > >To: Gary Kjos > > > > > >Hi Gary and all: > > > >Not a thing has come back to me yet.... As soon as it does I will post it. > >I > >am not even sure of all the individuals that went. > > > >GENERAL CALL: > > > >Anyone that when to the first JC Smokey Mountain Conference and have > >photos, > >documents, files, demos etc. please contact me off-line! :-) > > > >Jim > > > >-----Original Message----- > >From: Gary Kjos [mailto:garykjos at gmail.com] > >Sent: Wednesday, August 15, 2007 7:24 AM > >To: Jim Lawrence > >Subject: Fwd: [AccessD] OT: Pics from JC Conference > > > >Hi Jim, > > > >Any update on this? > > > >GK > > > >---------- Forwarded message ---------- > >From: Mark A Matte > >Date: Aug 14, 2007 12:00 PM > >Subject: Re: [AccessD] OT: Pics from JC Conference > >To: accessd at databaseadvisors.com > > > > > >Still just curious if the pics from the JC Smokey Mnt conference are on the > >site > >somewhere? > > > >Thanks, > > > >Mark A. Matte > > > > > > > >-- > >Gary Kjos > >garykjos at gmail.com > >-- > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > > _________________________________________________________________ > More photos, more messages, more storage-get 2GB with Windows Live Hotmail. > http://imagine-windowslive.com/hotmail/?locale=en-us&ocid=TXT_TAGHM_migratio n_HM_mini_2G_0507 > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- Gary Kjos garykjos at gmail.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Mon Aug 20 22:26:13 2007 From: rockysmolin at bchacc.com (rockysmolin at bchacc.com) Date: Mon, 20 Aug 2007 23:26:13 -0400 Subject: [AccessD] Names in tables - best practices Message-ID: <380-22007822132613885@M2W027.mail2web.com> I had planned to add a Roles table and have a RoleID FK in the Persons table. Limits the role to 1 so many-to-many would be more flexible. I'll have to ask the client for an executive decision. Rocky Original Message: ----------------- From: Charlotte Foust cfoust at infostatsystems.com Date: Mon, 20 Aug 2007 13:04:46 -0700 To: accessd at databaseadvisors.com Subject: Re: [AccessD] Names in tables - best practices That's my experience. However, what are you going to do about the same person having multiple roles? (Never happen, right? HAH) That might better be covered by having a persons table holding the minimal basic info on the person and a join table (something like PersonRole) with the person ID and the Role ID. That would allow you to have the same person hold multiple roles but would eliminate having to maintain multiple records for that person. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of rockysmolin at bchacc.com Sent: Monday, August 20, 2007 12:05 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Names in tables - best practices Thanks for that, Charlotte. I thought it would be better not tocombine them at this point, but I see what you're saying and the bet is that upfront cost of redesigning the db wil probably be offset by simplicity of maintenance? Original Message: ----------------- From: Charlotte Foust cfoust at infostatsystems.com Date: Mon, 20 Aug 2007 08:22:46 -0700 To: accessd at databaseadvisors.com Subject: Re: [AccessD] Names in tables - best practices Definitely combine the tables. Maintenance is much simpler. If some of the data collected is radically different for different roles, put the common fields in the persons table and use one-to-one joins to tables containing the unique data collected for that particular role. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Saturday, August 18, 2007 4:38 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Names in tables - best practices Dear List: I have a legacy app in which the client is considering making a big change. There are currently threes table which have names in them - employees of the user (a law firm), employees of the user's clients (many to many person to client), and foreign agents. There may be more in the future - vendors, for example. What we are considering is consolidating the three tables into a general 'Persons' table and adding a field for 'role' - containing a FK to a Role table so we can add more roles as time goes on. Is this a good idea? The roles don't really overlap. And there are fields which are unique to each of the three tables. Right now I don't think there are any duplicated names among the three tables. So one role per name should suffice. Any opinion welcome. MTIA Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------------------------------------------------------------- mail2web.com - Enhanced email for the mobile individual based on Microsoft(r) Exchange - http://link.mail2web.com/Personal/EnhancedEmail -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------------------------------------------------------------- mail2web LIVE ? Free email based on Microsoft? Exchange technology - http://link.mail2web.com/LIVE From rockysmolin at bchacc.com Mon Aug 20 22:29:41 2007 From: rockysmolin at bchacc.com (rockysmolin at bchacc.com) Date: Mon, 20 Aug 2007 23:29:41 -0400 Subject: [AccessD] Names in tables - best practices Message-ID: <380-2200782213294184@M2W026.mail2web.com> There's an awful lot of code, forms, reports, queries tied to the current structure. Lot of tweaking. But it's his dime. Rocky Original Message: ----------------- From: Drew Wutka DWUTKA at marlow.com Date: Mon, 20 Aug 2007 15:42:26 -0500 To: accessd at databaseadvisors.com Subject: Re: [AccessD] Names in tables - best practices Just a thought Rocky, but you could get away without redesigning anything but the tables themselves. One of the handy features of Access is that tables and queries are functionally identical to the things that use them. So, if you rearranged the table structure, you can actually make queries named with the original table names, that display the data the old tables actually showed, and the rest of the system doesn't know the difference. For example, let's say you had tblEmployees and tblCustomers tblEmployees: FirstName LastName EmployeeNumber Etc. tblCustomers: FirstName LastName CustomerNumber If you join this data into tblPeople FirstName LastName IDNumber Employee (yes/no) Customer (yes/no) (this is just an example) If you then had this saved as 'tblEmployees' SELECT FirstName, LastName, IDNumber AS EmployeeNumber FROM tblPeople WHERE Employee=True And this saved as 'tblCustomers' SELECT FirstName, LastName, IDNumber AS EmployeeNumber FROM tblPeople WHERE Customer=True Even though your data structure would be totally different to you, the system would use the queries just like they used the tables. Granted, this is a band-aid approach, because a major structure change should have the system converted to use the advantages of the new structure, but as you can see, this would allow for future changes to utilize the new structure, and let's the current stuff keep chugging along. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of rockysmolin at bchacc.com Sent: Monday, August 20, 2007 2:05 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Names in tables - best practices Thanks for that, Charlotte. I thought it would be better not tocombine them at this point, but I see what you're saying and the bet is that upfront cost of redesigning the db wil probably be offset by simplicity of maintenance? Original Message: ----------------- From: Charlotte Foust cfoust at infostatsystems.com Date: Mon, 20 Aug 2007 08:22:46 -0700 To: accessd at databaseadvisors.com Subject: Re: [AccessD] Names in tables - best practices Definitely combine the tables. Maintenance is much simpler. If some of the data collected is radically different for different roles, put the common fields in the persons table and use one-to-one joins to tables containing the unique data collected for that particular role. Charlotte Foust The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI BusinessSensitve material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------------------------------------------------------------- mail2web LIVE ? Free email based on Microsoft? Exchange technology - http://link.mail2web.com/LIVE From DWUTKA at Marlow.com Tue Aug 21 11:14:35 2007 From: DWUTKA at Marlow.com (Drew Wutka) Date: Tue, 21 Aug 2007 11:14:35 -0500 Subject: [AccessD] Names in tables - best practices In-Reply-To: <380-2200782213294184@M2W026.mail2web.com> Message-ID: But what I was saying is that you could change the table structure, and with creating queries to 'represent' the old tables, you wouldn't have to change ANYTHING as for as forms, reports, code and other queries. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of rockysmolin at bchacc.com Sent: Monday, August 20, 2007 10:30 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Names in tables - best practices There's an awful lot of code, forms, reports, queries tied to the current structure. Lot of tweaking. But it's his dime. Rocky Original Message: ----------------- From: Drew Wutka DWUTKA at marlow.com Date: Mon, 20 Aug 2007 15:42:26 -0500 To: accessd at databaseadvisors.com Subject: Re: [AccessD] Names in tables - best practices Just a thought Rocky, but you could get away without redesigning anything but the tables themselves. One of the handy features of Access is that tables and queries are functionally identical to the things that use them. So, if you rearranged the table structure, you can actually make queries named with the original table names, that display the data the old tables actually showed, and the rest of the system doesn't know the difference. For example, let's say you had tblEmployees and tblCustomers tblEmployees: FirstName LastName EmployeeNumber Etc. tblCustomers: FirstName LastName CustomerNumber If you join this data into tblPeople FirstName LastName IDNumber Employee (yes/no) Customer (yes/no) (this is just an example) If you then had this saved as 'tblEmployees' SELECT FirstName, LastName, IDNumber AS EmployeeNumber FROM tblPeople WHERE Employee=True And this saved as 'tblCustomers' SELECT FirstName, LastName, IDNumber AS EmployeeNumber FROM tblPeople WHERE Customer=True Even though your data structure would be totally different to you, the system would use the queries just like they used the tables. Granted, this is a band-aid approach, because a major structure change should have the system converted to use the advantages of the new structure, but as you can see, this would allow for future changes to utilize the new structure, and let's the current stuff keep chugging along. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of rockysmolin at bchacc.com Sent: Monday, August 20, 2007 2:05 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Names in tables - best practices Thanks for that, Charlotte. I thought it would be better not tocombine them at this point, but I see what you're saying and the bet is that upfront cost of redesigning the db wil probably be offset by simplicity of maintenance? Original Message: ----------------- From: Charlotte Foust cfoust at infostatsystems.com Date: Mon, 20 Aug 2007 08:22:46 -0700 To: accessd at databaseadvisors.com Subject: Re: [AccessD] Names in tables - best practices Definitely combine the tables. Maintenance is much simpler. If some of the data collected is radically different for different roles, put the common fields in the persons table and use one-to-one joins to tables containing the unique data collected for that particular role. Charlotte Foust The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI BusinessSensitve material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------------------------------------------------------------- mail2web LIVE - Free email based on Microsoft(r) Exchange technology - http://link.mail2web.com/LIVE -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI BusinessSensitve material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. From dw-murphy at cox.net Tue Aug 21 16:13:50 2007 From: dw-murphy at cox.net (Doug Murphy) Date: Tue, 21 Aug 2007 14:13:50 -0700 Subject: [AccessD] Query Criteria problem In-Reply-To: Message-ID: <000601c7e438$2ba6c640$0200a8c0@murphy3234aaf1> Folks, I have a query that uses the value of a text box on a form as the criteria for one of its fields. This has been working fine. I made some updates to the form used in the criteria and then updated the query criteria do to a change of a control name. Now I get an error when I try and run the query. The error message is "The Microsoft Jet database engine does not recognize '[Forms]![frmViewExistingOrder]![txtPumpSelect]' as a valid field name or expression.". Any idea on what is going on here. The query runs without the criteria. The criterial were constructed using the builder so the object spelling is correct. I have rebuilt the criteria string several times to make sure there isn't a spelling problem. Have also tested the criteria string in the Immediate window of the VBA IDE and it returns the correct value. I am at a loss. I do this all the time but for some reason this one isn't working. I have tried compact/repair and decompile, recompile, compact and it still errors. Tried to use EatBloat but couldn't get the new database to import the files. I must be missing something on the import, it says it imported. Not my day. Thanks for any assistance. Doug From ssharkins at gmail.com Tue Aug 21 16:20:07 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Tue, 21 Aug 2007 17:20:07 -0400 Subject: [AccessD] Query Criteria problem In-Reply-To: <000601c7e438$2ba6c640$0200a8c0@murphy3234aaf1> References: <000601c7e438$2ba6c640$0200a8c0@murphy3234aaf1> Message-ID: <004501c7e439$0d3081a0$048e01c7@SusanOne> Are you sure the form's open? Susan H. I am at a loss. I do this all the time but for some reason this one isn't working. I have tried compact/repair and decompile, recompile, compact and it still errors. Tried to use EatBloat but couldn't get the new database to import the files. I must be missing something on the import, it says it imported. Not my day. Thanks for any assistance. From dw-murphy at cox.net Tue Aug 21 16:25:56 2007 From: dw-murphy at cox.net (Doug Murphy) Date: Tue, 21 Aug 2007 14:25:56 -0700 Subject: [AccessD] Query Criteria problem In-Reply-To: <004501c7e439$0d3081a0$048e01c7@SusanOne> Message-ID: <000701c7e439$dc533d60$0200a8c0@murphy3234aaf1> Yes, it is open. I can put the criteria string in the Immediate window and get the control value so the string to get the value of the control on the form seems to be correct. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Tuesday, August 21, 2007 2:20 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Query Criteria problem Are you sure the form's open? Susan H. I am at a loss. I do this all the time but for some reason this one isn't working. I have tried compact/repair and decompile, recompile, compact and it still errors. Tried to use EatBloat but couldn't get the new database to import the files. I must be missing something on the import, it says it imported. Not my day. Thanks for any assistance. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From fuller.artful at gmail.com Tue Aug 21 16:32:02 2007 From: fuller.artful at gmail.com (Arthur Fuller) Date: Tue, 21 Aug 2007 17:32:02 -0400 Subject: [AccessD] Query Criteria problem In-Reply-To: <000601c7e438$2ba6c640$0200a8c0@murphy3234aaf1> References: <000601c7e438$2ba6c640$0200a8c0@murphy3234aaf1> Message-ID: <29f585dd0708211432o5bccef43xb55953919a13da28@mail.gmail.com> JC and I are on about this from time to time. My preferred approach is static functions, JC's is a class. Either way, free yourself from dependency on the form. Search the archive for "static functions" or "classes" and learn how to break free of dependence upon forms. A. On 8/21/07, Doug Murphy wrote: > > Folks, > > I have a query that uses the value of a text box on a form as the criteria > for one of its fields. This has been working fine. I made some updates > to > the form used in the criteria and then updated the query criteria do to a > change of a control name. Now I get an error when I try and run the > query. > The error message is "The Microsoft Jet database engine does not recognize > '[Forms]![frmViewExistingOrder]![txtPumpSelect]' as a valid field name or > expression.". Any idea on what is going on here. The query runs without > the criteria. The criterial were constructed using the builder so the > object spelling is correct. I have rebuilt the criteria string several > times to make sure there isn't a spelling problem. Have also tested the > criteria string in the Immediate window of the VBA IDE and it returns the > correct value. > > I am at a loss. I do this all the time but for some reason this one isn't > working. > > I have tried compact/repair and decompile, recompile, compact and it still > errors. Tried to use EatBloat but couldn't get the new database to import > the files. I must be missing something on the import, it says it > imported. > Not my day. > > Thanks for any assistance. > > Doug > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From ssharkins at gmail.com Tue Aug 21 16:35:14 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Tue, 21 Aug 2007 17:35:14 -0400 Subject: [AccessD] Query Criteria problem In-Reply-To: <000701c7e439$dc533d60$0200a8c0@murphy3234aaf1> References: <004501c7e439$0d3081a0$048e01c7@SusanOne> <000701c7e439$dc533d60$0200a8c0@murphy3234aaf1> Message-ID: <004601c7e43b$2aa6b400$048e01c7@SusanOne> That was my only guess. Sorry I'm not help. Susan H. Yes, it is open. I can put the criteria string in the Immediate window and get the control value so the string to get the value of the control on the form seems to be correct. Are you sure the form's open? Susan H. I am at a loss. I do this all the time but for some reason this one isn't working. I have tried compact/repair and decompile, recompile, compact and it still errors. Tried to use EatBloat but couldn't get the new database to import the files. I must be missing something on the import, it says it imported. Not my day. Thanks for any assistance. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.484 / Virus Database: 269.12.1/963 - Release Date: 8/20/2007 5:44 PM From ssharkins at gmail.com Tue Aug 21 16:39:28 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Tue, 21 Aug 2007 17:39:28 -0400 Subject: [AccessD] Query Criteria problem In-Reply-To: <29f585dd0708211432o5bccef43xb55953919a13da28@mail.gmail.com> References: <000601c7e438$2ba6c640$0200a8c0@murphy3234aaf1> <29f585dd0708211432o5bccef43xb55953919a13da28@mail.gmail.com> Message-ID: <004701c7e43b$c2a22c80$048e01c7@SusanOne> That doesn't really help him tonight Arthur! ;) Doug, I can't remember -- does the query run on its own and the form screws it up? Which object is really causing the problem - the query or the form? I had this happen with a form/subform once -- it was corrupted and I had to rebuild it from scratch. I hope you find a simpler solution. Susan H. JC and I are on about this from time to time. My preferred approach is static functions, JC's is a class. Either way, free yourself from dependency on the form. Search the archive for "static functions" or "classes" and learn how to break free of dependence upon forms. From dw-murphy at cox.net Tue Aug 21 16:46:16 2007 From: dw-murphy at cox.net (Doug Murphy) Date: Tue, 21 Aug 2007 14:46:16 -0700 Subject: [AccessD] Query Criteria problem In-Reply-To: <29f585dd0708211432o5bccef43xb55953919a13da28@mail.gmail.com> Message-ID: <000801c7e43c$b3938a30$0200a8c0@murphy3234aaf1> Hi Arthur, I use static functions where they make sense but in this case I should be, and have always been, able to just refer to the value of a control on an open form. If I use the static function I still have to set it when the form is updated to hold the value that is already on the form. I was looking for a reason why am am getting this error. I like to understand why things happen. If I can't figure this out I may go with your suggestion just to get this done, but I won't feel comfortable that the original problem is still lurking. Doug -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Tuesday, August 21, 2007 2:32 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Query Criteria problem JC and I are on about this from time to time. My preferred approach is static functions, JC's is a class. Either way, free yourself from dependency on the form. Search the archive for "static functions" or "classes" and learn how to break free of dependence upon forms. A. On 8/21/07, Doug Murphy wrote: > > Folks, > > I have a query that uses the value of a text box on a form as the > criteria for one of its fields. This has been working fine. I made > some updates to the form used in the criteria and then updated the > query criteria do to a change of a control name. Now I get an error > when I try and run the query. > The error message is "The Microsoft Jet database engine does not > recognize '[Forms]![frmViewExistingOrder]![txtPumpSelect]' as a valid > field name or expression.". Any idea on what is going on here. The > query runs without the criteria. The criterial were constructed using > the builder so the object spelling is correct. I have rebuilt the > criteria string several times to make sure there isn't a spelling > problem. Have also tested the criteria string in the Immediate window > of the VBA IDE and it returns the correct value. > > I am at a loss. I do this all the time but for some reason this one > isn't working. > > I have tried compact/repair and decompile, recompile, compact and it > still errors. Tried to use EatBloat but couldn't get the new database > to import the files. I must be missing something on the import, it > says it imported. > Not my day. > > Thanks for any assistance. > > Doug > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dw-murphy at cox.net Tue Aug 21 16:54:38 2007 From: dw-murphy at cox.net (Doug Murphy) Date: Tue, 21 Aug 2007 14:54:38 -0700 Subject: [AccessD] Query Criteria problem In-Reply-To: <004701c7e43b$c2a22c80$048e01c7@SusanOne> Message-ID: <000901c7e43d$de8effc0$0200a8c0@murphy3234aaf1> Hi Susan, The query just uses the value in one field on the form as its criteria. I tried rebuilding it and importing all the objects into a new database, but still get the same error message. To answer your question it appears, based on the error message that Jet can't resolve the form object, text box in this case, to get its value. The interesting thing is that what ever vba uses to get the value works in the Immediate window. Very frustrating. Doug -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Tuesday, August 21, 2007 2:39 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Query Criteria problem That doesn't really help him tonight Arthur! ;) Doug, I can't remember -- does the query run on its own and the form screws it up? Which object is really causing the problem - the query or the form? I had this happen with a form/subform once -- it was corrupted and I had to rebuild it from scratch. I hope you find a simpler solution. Susan H. JC and I are on about this from time to time. My preferred approach is static functions, JC's is a class. Either way, free yourself from dependency on the form. Search the archive for "static functions" or "classes" and learn how to break free of dependence upon forms. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at gmail.com Tue Aug 21 18:14:41 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Tue, 21 Aug 2007 19:14:41 -0400 Subject: [AccessD] Query Criteria problem In-Reply-To: <000901c7e43d$de8effc0$0200a8c0@murphy3234aaf1> References: <004701c7e43b$c2a22c80$048e01c7@SusanOne> <000901c7e43d$de8effc0$0200a8c0@murphy3234aaf1> Message-ID: <000f01c7e449$0f1ef0e0$048e01c7@SusanOne> Well, one last and totally off the wall, isn't a chance in he*l suggestion, try this: Delete the form reference in the query; compile and compact. Open the query and type in the reference yourself. If you get the same area, type in another reference -- open a completely different form and type in a reference to that form -- it will fail, but if the query isn't corrupted, you'll get a different error. At least you know whether something's corrupted. One final trick -- if you determine that its corruption and not the reference, open it in Excel. Be sure NOT to save anything, just use Excel to open it and then exit right away. I've seen this work, but only a few times and I can't give you any explanation as to how or why it worked. Good luck. Susan H. Hi Susan, The query just uses the value in one field on the form as its criteria. I tried rebuilding it and importing all the objects into a new database, but still get the same error message. To answer your question it appears, based on the error message that Jet can't resolve the form object, text box in this case, to get its value. The interesting thing is that what ever vba uses to get the value works in the Immediate window. Very frustrating. Doug -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Tuesday, August 21, 2007 2:39 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Query Criteria problem That doesn't really help him tonight Arthur! ;) Doug, I can't remember -- does the query run on its own and the form screws it up? Which object is really causing the problem - the query or the form? I had this happen with a form/subform once -- it was corrupted and I had to rebuild it from scratch. I hope you find a simpler solution. Susan H. JC and I are on about this from time to time. My preferred approach is static functions, JC's is a class. Either way, free yourself from dependency on the form. Search the archive for "static functions" or "classes" and learn how to break free of dependence upon forms. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.484 / Virus Database: 269.12.1/963 - Release Date: 8/20/2007 5:44 PM From dw-murphy at cox.net Tue Aug 21 19:23:36 2007 From: dw-murphy at cox.net (Doug Murphy) Date: Tue, 21 Aug 2007 17:23:36 -0700 Subject: [AccessD] Query Criteria problem In-Reply-To: <000f01c7e449$0f1ef0e0$048e01c7@SusanOne> Message-ID: <001001c7e452$ae675fd0$0200a8c0@murphy3234aaf1> Thanks Susan, For now I am going with Arthurs approach since it works and I need to get this done by tomorrow. It bothers me though that what should work isn't. I should be able to use a standard approach to developing forms and queries and have the same result all the time. When I get time I'll play with the queries some more. There has to be a reason why I get the errors. Doug -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Tuesday, August 21, 2007 4:15 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Query Criteria problem Well, one last and totally off the wall, isn't a chance in he*l suggestion, try this: Delete the form reference in the query; compile and compact. Open the query and type in the reference yourself. If you get the same area, type in another reference -- open a completely different form and type in a reference to that form -- it will fail, but if the query isn't corrupted, you'll get a different error. At least you know whether something's corrupted. One final trick -- if you determine that its corruption and not the reference, open it in Excel. Be sure NOT to save anything, just use Excel to open it and then exit right away. I've seen this work, but only a few times and I can't give you any explanation as to how or why it worked. Good luck. Susan H. Hi Susan, The query just uses the value in one field on the form as its criteria. I tried rebuilding it and importing all the objects into a new database, but still get the same error message. To answer your question it appears, based on the error message that Jet can't resolve the form object, text box in this case, to get its value. The interesting thing is that what ever vba uses to get the value works in the Immediate window. Very frustrating. Doug -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Tuesday, August 21, 2007 2:39 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Query Criteria problem That doesn't really help him tonight Arthur! ;) Doug, I can't remember -- does the query run on its own and the form screws it up? Which object is really causing the problem - the query or the form? I had this happen with a form/subform once -- it was corrupted and I had to rebuild it from scratch. I hope you find a simpler solution. Susan H. JC and I are on about this from time to time. My preferred approach is static functions, JC's is a class. Either way, free yourself from dependency on the form. Search the archive for "static functions" or "classes" and learn how to break free of dependence upon forms. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.484 / Virus Database: 269.12.1/963 - Release Date: 8/20/2007 5:44 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dwaters at usinternet.com Tue Aug 21 21:14:12 2007 From: dwaters at usinternet.com (Dan Waters) Date: Tue, 21 Aug 2007 21:14:12 -0500 Subject: [AccessD] Query Criteria problem In-Reply-To: <001001c7e452$ae675fd0$0200a8c0@murphy3234aaf1> References: <000f01c7e449$0f1ef0e0$048e01c7@SusanOne> <001001c7e452$ae675fd0$0200a8c0@murphy3234aaf1> Message-ID: <004901c7e462$21c70ed0$0200a8c0@danwaters> Doug, When you have time, try importing all the pieces you need to open this query into a new empty database. Then see if it works. Try a Compact/Repair after your initial attempt to run the query. If one of your pieces won't import, then that's the guilty one! BOL! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Murphy Sent: Tuesday, August 21, 2007 7:24 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Query Criteria problem Thanks Susan, For now I am going with Arthurs approach since it works and I need to get this done by tomorrow. It bothers me though that what should work isn't. I should be able to use a standard approach to developing forms and queries and have the same result all the time. When I get time I'll play with the queries some more. There has to be a reason why I get the errors. Doug -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Tuesday, August 21, 2007 4:15 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Query Criteria problem Well, one last and totally off the wall, isn't a chance in he*l suggestion, try this: Delete the form reference in the query; compile and compact. Open the query and type in the reference yourself. If you get the same area, type in another reference -- open a completely different form and type in a reference to that form -- it will fail, but if the query isn't corrupted, you'll get a different error. At least you know whether something's corrupted. One final trick -- if you determine that its corruption and not the reference, open it in Excel. Be sure NOT to save anything, just use Excel to open it and then exit right away. I've seen this work, but only a few times and I can't give you any explanation as to how or why it worked. Good luck. Susan H. Hi Susan, The query just uses the value in one field on the form as its criteria. I tried rebuilding it and importing all the objects into a new database, but still get the same error message. To answer your question it appears, based on the error message that Jet can't resolve the form object, text box in this case, to get its value. The interesting thing is that what ever vba uses to get the value works in the Immediate window. Very frustrating. Doug -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Tuesday, August 21, 2007 2:39 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Query Criteria problem That doesn't really help him tonight Arthur! ;) Doug, I can't remember -- does the query run on its own and the form screws it up? Which object is really causing the problem - the query or the form? I had this happen with a form/subform once -- it was corrupted and I had to rebuild it from scratch. I hope you find a simpler solution. Susan H. JC and I are on about this from time to time. My preferred approach is static functions, JC's is a class. Either way, free yourself from dependency on the form. Search the archive for "static functions" or "classes" and learn how to break free of dependence upon forms. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.484 / Virus Database: 269.12.1/963 - Release Date: 8/20/2007 5:44 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dw-murphy at cox.net Tue Aug 21 21:31:01 2007 From: dw-murphy at cox.net (Doug Murphy) Date: Tue, 21 Aug 2007 19:31:01 -0700 Subject: [AccessD] Query Criteria problem In-Reply-To: <004901c7e462$21c70ed0$0200a8c0@danwaters> Message-ID: <001a01c7e464$7af222e0$0200a8c0@murphy3234aaf1> Hi Dan, I have tried all the usuall stuff, import all objects into new db; compact/repair; decompile, compact/repair. All with the same result. I have hand typed the string in to pull the criteria off the form and used the builder. Both methodes gave the same result. The interesting thing is that if I check the dependencies for the form the two queries that are giving me problems show up as using the form for criteria. If I open the form and then use the criteria string from the problem query in the VBA IDE immediate window the correct value is returned so the string must be correct. Tried EatBloat too but couldn't get it to import into the new db. I am sure it is operator ignorance. I haven't used it before. In the name of expedience I used Arthur's static function approach to get on with the project. I'd still like to figure out why the original query won't work to give me some peace of mind that I understand what is going on. Thanks for your thoughts. Doug -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Tuesday, August 21, 2007 7:14 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Query Criteria problem Doug, When you have time, try importing all the pieces you need to open this query into a new empty database. Then see if it works. Try a Compact/Repair after your initial attempt to run the query. If one of your pieces won't import, then that's the guilty one! BOL! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Murphy Sent: Tuesday, August 21, 2007 7:24 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Query Criteria problem Thanks Susan, For now I am going with Arthurs approach since it works and I need to get this done by tomorrow. It bothers me though that what should work isn't. I should be able to use a standard approach to developing forms and queries and have the same result all the time. When I get time I'll play with the queries some more. There has to be a reason why I get the errors. Doug -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Tuesday, August 21, 2007 4:15 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Query Criteria problem Well, one last and totally off the wall, isn't a chance in he*l suggestion, try this: Delete the form reference in the query; compile and compact. Open the query and type in the reference yourself. If you get the same area, type in another reference -- open a completely different form and type in a reference to that form -- it will fail, but if the query isn't corrupted, you'll get a different error. At least you know whether something's corrupted. One final trick -- if you determine that its corruption and not the reference, open it in Excel. Be sure NOT to save anything, just use Excel to open it and then exit right away. I've seen this work, but only a few times and I can't give you any explanation as to how or why it worked. Good luck. Susan H. Hi Susan, The query just uses the value in one field on the form as its criteria. I tried rebuilding it and importing all the objects into a new database, but still get the same error message. To answer your question it appears, based on the error message that Jet can't resolve the form object, text box in this case, to get its value. The interesting thing is that what ever vba uses to get the value works in the Immediate window. Very frustrating. Doug -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Tuesday, August 21, 2007 2:39 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Query Criteria problem That doesn't really help him tonight Arthur! ;) Doug, I can't remember -- does the query run on its own and the form screws it up? Which object is really causing the problem - the query or the form? I had this happen with a form/subform once -- it was corrupted and I had to rebuild it from scratch. I hope you find a simpler solution. Susan H. JC and I are on about this from time to time. My preferred approach is static functions, JC's is a class. Either way, free yourself from dependency on the form. Search the archive for "static functions" or "classes" and learn how to break free of dependence upon forms. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.484 / Virus Database: 269.12.1/963 - Release Date: 8/20/2007 5:44 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From pcs at azizaz.com Tue Aug 21 21:58:09 2007 From: pcs at azizaz.com (pcs at azizaz.com) Date: Wed, 22 Aug 2007 12:58:09 +1000 (EST) Subject: [AccessD] ADO Message-ID: <20070822125809.DBC39643@dommail.onthenet.com.au> Hi, I am executing the ADO command: connection.Execute CommandText, RecordsAffected, Options In my code the command reads: cn.Execute strSP, lngRecordsAffected, adExecuteNoRecords the strSP is a name of a Stored Procedure held in a SQL2005 Db.... The executes and the SP runs fine - updating 5 records ...... I am expecting that ADO will return the numbers of records affected as per the ADO Helpt text, but it invariably returns the value of -1 ..... (sets the variable from value 0 to -1) The ADO 2.5 API Reference help text says: "RecordsAffected Optional. A Long variable to which the provider returns the number of records that the operation affected. " What am I doing wrong??? Regards Borge From adtp at airtelbroadband.in Wed Aug 22 01:55:47 2007 From: adtp at airtelbroadband.in (A.D.TEJPAL) Date: Wed, 22 Aug 2007 12:25:47 +0530 Subject: [AccessD] Query Criteria problem References: <000801c7e43c$b3938a30$0200a8c0@murphy3234aaf1> Message-ID: <00b601c7e489$a21731b0$dd58a27a@pcadt> Doug, Expressing reservation in use of static functions, you have stated: "If I use the static function I still have to set it when the form is updated to hold the value that is already on the form." This limitation can be overcome by pulling (instead of pushing) form's data into the function, as demonstrated in sample functions named Fn_CustID() and Fn_EmpID() given below. This ensures that always the latest value in form's control is returned whenever the function is called. There are certain other strong reasons to prefer use of such functions, since direct reference to form's controls (in query SQL) suffers from the following drawbacks: (a) For a query with parameters clause, a recordset can not be created directly via Currentdb.OpenRecordset method. Leads to Error 3061 (Too few parameters. Expected 1). (b) Action query with parameters clause can not be run directly via Currentdb.Execute method. Leads to Error 3061 (Too few parameters. Expected 1). A self contained note on the subject is placed below, for ready reference. Best wishes, A.D.Tejpal --------------- Queries using form based values (Use of functions in lieu of parameters) =========================== 1 - Use of parameters in queries suffers from following limitations: 1.1 - For a query with parameters clause, a recordset can not be created directly via Currentdb.OpenRecordset method. Leads to Error 3061 (Too few parameters. Expected 1). 1.2 - Action query with parameters clause can not be run directly via Currentdb.Execute method. Leads to Error 3061 (Too few parameters. Expected 1). 1.3 - Parameter clause can not be too long (there are reports of problems encountered on Windows Vista, if it is beyond 63 characters). An extract from a post (Jul-2007) by Allen Brown in one of the news groups, is placed below: "Paul Overway alerted me to this bug, which occurs only under Access 2000 - 2003 on Windows Vista. If a parameter name exceeds 63 characters, and your code refers to the parameter of the QueryDef by name, the code fails with Access Error 3000, reporting: Reserved Error -1038. There is no message for this error." 1.4 - Confusion in dealing with Null value, if data type has been explicitly declared as text - in parameters clause of the query. (This anamoly was brought up in one of Allen Browne's posts in July 2007). 2 - Suggested Universal Remedy: 2.1 - The limitations outlined above can be overcome by replacing form based parameters with user defined functions. 2.2 - As an illustration, functions Fn_CustID() returning text type, and Fn_EmpID() returning number type, are given below. These functions grab the values entered in relevant controls (TxtCustomerID and TxtEmployeeID respectively) on the target form (Form1). 2.3 - Use of functions in this manner greatly simplifies the SQL, at the same time getting rid of parameters clause. Sample select queries Q_CustSelect and Q_EmpSelect, based upon this approach, are given below. These have criteria clause based upon CustomerID and EmployeeID fields respectively. In both cases, if the target text box on the form is blank, all records get included. 2.4 - Sample append query Q_CustEmpAppend, using functions in lieu of form based parameters, as given below, can be run directly by using Currentdb.Execute method. A.D.Tejpal --------------- Q_CustSelect (Query Filtered as per CustomerID (text type field)) =================================== SELECT Orders.* FROM Orders WHERE (Fn_CustID() = "") Or (Orders.CustomerID=Fn_CustID()); =================================== Q_EmpSelect (Query Filtered as per EmployeeID (number type field)) =================================== SELECT Orders.* FROM Orders WHERE (Fn_EmpID() = 0) Or (Orders.EmployeeID=Fn_EmpID()); =================================== Q_CustEmpAppend =================================== INSERT INTO Orders ( CustomerID, EmployeeID ) VALUES (Fn_CustID(), Fn_EmpID()); =================================== Fn_CustID() =================================== Function Fn_CustID() As String On Error Resume Next Dim Rtv As String Rtv = Nz(Forms("Form1")("TxtCustomerID"), "") Fn_CustID = Rtv On Error GoTo 0 End Function =================================== Fn_EmpID() =================================== Function Fn_EmpID() As Long On Error Resume Next Dim Rtv As Long Rtv = Nz(Forms("Form1")("TxtEmployeeID"), 0) Fn_EmpID = Rtv On Error GoTo 0 End Function =================================== ----- Original Message ----- From: Doug Murphy To: 'Access Developers discussion and problem solving' Sent: Wednesday, August 22, 2007 03:16 Subject: Re: [AccessD] Query Criteria problem Hi Arthur, I use static functions where they make sense but in this case I should be, and have always been, able to just refer to the value of a control on an open form. If I use the static function I still have to set it when the form is updated to hold the value that is already on the form. I was looking for a reason why am am getting this error. I like to understand why things happen. If I can't figure this out I may go with your suggestion just to get this done, but I won't feel comfortable that the original problem is still lurking. Doug << SNIP >> From paul.hartland at fsmail.net Wed Aug 22 02:03:20 2007 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Wed, 22 Aug 2007 09:03:20 +0200 (CEST) Subject: [AccessD] =?utf-8?b?wqBBRE8=?= Message-ID: <7959148.720091187766200514.JavaMail.www@wwinf3101> Borge, Can't see anything your doing wrong, I have this (cut down) in VB6: Dim lngRecords as long Some Code Here dbConn.Execute strSQL, lngRecords, adExecuteNoRecords msgbox lngRecords Works fine, so without seeing all your code, or an example I am not too sure whats going on. Paul Message Received: Aug 22 2007, 03:59 AM From: pcs at azizaz.com To: "Access Developers discussion and problem solving" Cc: pcs at azizaz.com Subject: [AccessD] ADO Hi, I am executing the ADO command: connection.Execute CommandText, RecordsAffected, Options In my code the command reads: cn.Execute strSP, lngRecordsAffected, adExecuteNoRecords the strSP is a name of a Stored Procedure held in a SQL2005 Db.... The executes and the SP runs fine - updating 5 records ...... I am expecting that ADO will return the numbers of records affected as per the ADO Helpt text, but it invariably returns the value of -1 ..... (sets the variable from value 0 to -1) The ADO 2.5 API Reference help text says: "RecordsAffected Optional. A Long variable to which the provider returns the number of records that the operation affected. " What am I doing wrong??? Regards Borge -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com Paul Hartland paul.hartland at fsmail.net 07730 523179 From Gustav at cactus.dk Wed Aug 22 03:08:25 2007 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 22 Aug 2007 10:08:25 +0200 Subject: [AccessD] Query Criteria problem Message-ID: Hi Doug Specify [Forms]![frmViewExistingOrder]![txtPumpSelect] as a Parameter as well as the data type it is supposed to contain. /gustav >>> dw-murphy at cox.net 21-08-2007 23:13 >>> Folks, I have a query that uses the value of a text box on a form as the criteria for one of its fields. This has been working fine. I made some updates to the form used in the criteria and then updated the query criteria do to a change of a control name. Now I get an error when I try and run the query. The error message is "The Microsoft Jet database engine does not recognize '[Forms]![frmViewExistingOrder]![txtPumpSelect]' as a valid field name or expression.". Any idea on what is going on here. The query runs without the criteria. The criterial were constructed using the builder so the object spelling is correct. I have rebuilt the criteria string several times to make sure there isn't a spelling problem. Have also tested the criteria string in the Immediate window of the VBA IDE and it returns the correct value. I am at a loss. I do this all the time but for some reason this one isn't working. I have tried compact/repair and decompile, recompile, compact and it still errors. Tried to use EatBloat but couldn't get the new database to import the files. I must be missing something on the import, it says it imported. Not my day. Thanks for any assistance. Doug From ssharkins at gmail.com Wed Aug 22 08:52:52 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Wed, 22 Aug 2007 09:52:52 -0400 Subject: [AccessD] Freelance opportunities Message-ID: <009f01c7e4c3$c0bce8f0$048e01c7@SusanOne> http://www.authenticjobs.com/index.php ======I don't know much about this spot, but thought I'd post it -- looks good and very legit so far. Seems to be a lot of freelance technical posts. Susan H. From jwcolby at colbyconsulting.com Wed Aug 22 10:23:12 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 22 Aug 2007 11:23:12 -0400 Subject: [AccessD] Completely and totally off topic - please respond offline Message-ID: <20070822152313.C6194BE64@smtp-auth.no-ip.com> Folks, I am about to buy a telescope. I have always wanted one and now have a good location, and enough money to get a BASIC 8"-10" Dobsonian and a couple of lenses. If there are any list members into the hobby please respond OFF LINE. I am just looking for words of wisdom, experiences etc. Thanks. John W. Colby Colby Consulting www.ColbyConsulting.com From dwaters at usinternet.com Wed Aug 22 10:35:29 2007 From: dwaters at usinternet.com (Dan Waters) Date: Wed, 22 Aug 2007 10:35:29 -0500 Subject: [AccessD] Completely and totally off topic - please respond offline In-Reply-To: <20070822152313.C6194BE64@smtp-auth.no-ip.com> References: <20070822152313.C6194BE64@smtp-auth.no-ip.com> Message-ID: <001d01c7e4d2$11f32140$0200a8c0@danwaters> John, Are you going to be looking for Classes and Frameworks? I know we should be thinking of those as heavenly bodies! ;-) Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Wednesday, August 22, 2007 10:23 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Completely and totally off topic - please respond offline Folks, I am about to buy a telescope. I have always wanted one and now have a good location, and enough money to get a BASIC 8"-10" Dobsonian and a couple of lenses. If there are any list members into the hobby please respond OFF LINE. I am just looking for words of wisdom, experiences etc. Thanks. John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at gmail.com Wed Aug 22 10:43:25 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Wed, 22 Aug 2007 11:43:25 -0400 Subject: [AccessD] =?iso-8859-1?q?=A0ADO?= In-Reply-To: <7959148.720091187766200514.JavaMail.www@wwinf3101> References: <7959148.720091187766200514.JavaMail.www@wwinf3101> Message-ID: <003101c7e4d3$32f751d0$048e01c7@SusanOne> I looked around last night and didn't find anything either. I do remember a problem with the switch from DAO to ADO -- something about the recordset returning -1 when using a forward-only recordset -- I'd have to look it up, but I remember writing about it a long time ago and now I think the issue's well known. I'm wondering if it isn't some weird little nuance like that... Susan H. Borge, Can't see anything your doing wrong, I have this (cut down) in VB6: Dim lngRecords as long Some Code Here dbConn.Execute strSQL, lngRecords, adExecuteNoRecords msgbox lngRecords Works fine, so without seeing all your code, or an example I am not too sure whats going on. From paul.hartland at fsmail.net Wed Aug 22 10:53:02 2007 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Wed, 22 Aug 2007 17:53:02 +0200 (CEST) Subject: [AccessD] ADO (Borge) Message-ID: <18911477.623161187797982843.JavaMail.www@wwinf3107> Sorry, but lost the thread... Have you tried using something like: cn.CursorLocation = adUseClient Before your execute the query ? Paul Hartland paul.hartland at fsmail.net 07730 523179 From dw-murphy at cox.net Wed Aug 22 11:04:31 2007 From: dw-murphy at cox.net (Doug Murphy) Date: Wed, 22 Aug 2007 09:04:31 -0700 Subject: [AccessD] Query Criteria problem In-Reply-To: <00b601c7e489$a21731b0$dd58a27a@pcadt> Message-ID: <001901c7e4d6$204efc10$0200a8c0@murphy3234aaf1> A.D. Thank you for the information. I don't have any reservations with using static functions in queries and do it when required. I use form derived values for query criteria since it is easy to do and up to now it worked. Since I couldn't seem to understand why this isn't working in this case I went to the static functions and things are progressing nicely. I would still like to understand why using form values in a queries criteria does not work in this project. Actually it is just in a couple of queries. I am sure there is a reason, I just can't figure it out. I will keep your message in my archive for future reference. Thanks again. Doug -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of A.D.TEJPAL Sent: Tuesday, August 21, 2007 11:56 PM To: Access Developers discussion and problem solving Cc: A.D.TEJPAL Subject: Re: [AccessD] Query Criteria problem Doug, Expressing reservation in use of static functions, you have stated: "If I use the static function I still have to set it when the form is updated to hold the value that is already on the form." This limitation can be overcome by pulling (instead of pushing) form's data into the function, as demonstrated in sample functions named Fn_CustID() and Fn_EmpID() given below. This ensures that always the latest value in form's control is returned whenever the function is called. There are certain other strong reasons to prefer use of such functions, since direct reference to form's controls (in query SQL) suffers from the following drawbacks: (a) For a query with parameters clause, a recordset can not be created directly via Currentdb.OpenRecordset method. Leads to Error 3061 (Too few parameters. Expected 1). (b) Action query with parameters clause can not be run directly via Currentdb.Execute method. Leads to Error 3061 (Too few parameters. Expected 1). A self contained note on the subject is placed below, for ready reference. Best wishes, A.D.Tejpal --------------- Queries using form based values (Use of functions in lieu of parameters) =========================== 1 - Use of parameters in queries suffers from following limitations: 1.1 - For a query with parameters clause, a recordset can not be created directly via Currentdb.OpenRecordset method. Leads to Error 3061 (Too few parameters. Expected 1). 1.2 - Action query with parameters clause can not be run directly via Currentdb.Execute method. Leads to Error 3061 (Too few parameters. Expected 1). 1.3 - Parameter clause can not be too long (there are reports of problems encountered on Windows Vista, if it is beyond 63 characters). An extract from a post (Jul-2007) by Allen Brown in one of the news groups, is placed below: "Paul Overway alerted me to this bug, which occurs only under Access 2000 - 2003 on Windows Vista. If a parameter name exceeds 63 characters, and your code refers to the parameter of the QueryDef by name, the code fails with Access Error 3000, reporting: Reserved Error -1038. There is no message for this error." 1.4 - Confusion in dealing with Null value, if data type has been explicitly declared as text - in parameters clause of the query. (This anamoly was brought up in one of Allen Browne's posts in July 2007). 2 - Suggested Universal Remedy: 2.1 - The limitations outlined above can be overcome by replacing form based parameters with user defined functions. 2.2 - As an illustration, functions Fn_CustID() returning text type, and Fn_EmpID() returning number type, are given below. These functions grab the values entered in relevant controls (TxtCustomerID and TxtEmployeeID respectively) on the target form (Form1). 2.3 - Use of functions in this manner greatly simplifies the SQL, at the same time getting rid of parameters clause. Sample select queries Q_CustSelect and Q_EmpSelect, based upon this approach, are given below. These have criteria clause based upon CustomerID and EmployeeID fields respectively. In both cases, if the target text box on the form is blank, all records get included. 2.4 - Sample append query Q_CustEmpAppend, using functions in lieu of form based parameters, as given below, can be run directly by using Currentdb.Execute method. A.D.Tejpal --------------- Q_CustSelect (Query Filtered as per CustomerID (text type field)) =================================== SELECT Orders.* FROM Orders WHERE (Fn_CustID() = "") Or (Orders.CustomerID=Fn_CustID()); =================================== Q_EmpSelect (Query Filtered as per EmployeeID (number type field)) =================================== SELECT Orders.* FROM Orders WHERE (Fn_EmpID() = 0) Or (Orders.EmployeeID=Fn_EmpID()); =================================== Q_CustEmpAppend =================================== INSERT INTO Orders ( CustomerID, EmployeeID ) VALUES (Fn_CustID(), Fn_EmpID()); =================================== Fn_CustID() =================================== Function Fn_CustID() As String On Error Resume Next Dim Rtv As String Rtv = Nz(Forms("Form1")("TxtCustomerID"), "") Fn_CustID = Rtv On Error GoTo 0 End Function =================================== Fn_EmpID() =================================== Function Fn_EmpID() As Long On Error Resume Next Dim Rtv As Long Rtv = Nz(Forms("Form1")("TxtEmployeeID"), 0) Fn_EmpID = Rtv On Error GoTo 0 End Function =================================== ----- Original Message ----- From: Doug Murphy To: 'Access Developers discussion and problem solving' Sent: Wednesday, August 22, 2007 03:16 Subject: Re: [AccessD] Query Criteria problem Hi Arthur, I use static functions where they make sense but in this case I should be, and have always been, able to just refer to the value of a control on an open form. If I use the static function I still have to set it when the form is updated to hold the value that is already on the form. I was looking for a reason why am am getting this error. I like to understand why things happen. If I can't figure this out I may go with your suggestion just to get this done, but I won't feel comfortable that the original problem is still lurking. Doug << SNIP >> -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Patricia.O'Connor at otda.state.ny.us Wed Aug 22 11:02:58 2007 From: Patricia.O'Connor at otda.state.ny.us (O'Connor, Patricia (OTDA)) Date: Wed, 22 Aug 2007 12:02:58 -0400 Subject: [AccessD] Access 2007 - Type Mismatch In-Reply-To: <5b2621db0706221559i3fd37e44u5c53948e27ddf7e6@mail.gmail.com> References: <5b2621db0706211338p4d4677a4n96a1ce71d22c3f2b@mail.gmail.com> <5b2621db0706221559i3fd37e44u5c53948e27ddf7e6@mail.gmail.com> Message-ID: <01DBAB52E30A9A4AB3D94EF8029EDBE8021BAF79@EXCNYSM0A1AI.nysemail.nyenet> I don't have access 2007 but did have problems with one of my record set codes and had to check the reference and then change the code that had worked for 8 years. But mine was the .move portion Make sure the DAO REFERENCE like 1st-3rd specially that it is higher than an ADO reference Try changing dim strSQL as String Dim rst As DAO.Recordset dim db as dao.database strSQL = "SELECT * FROM MyTable WHERE MyField = " & Chr(34) & Me!MyField & Chr(34) Set db = CurrentDb Set rst = db.OpenRecordset.OpenRecordset(strSQL) If Not (rst.EOF And rst.BOF) Then msgbox "This number has already been used.", etc. Cancel = True End If If db still doesn't work then change to set rst = currentdb.openrecordset Or if (rst.eof = false) and (rst.bof = false) Or if not rst.eof and not rst.bof ************************************************** * Patricia O'Connor * Associate Computer Programmer Analyst * OTDA - BDMA * (W) mailto:Patricia.O'Connor at otda.state.ny.us * (w) mailto:aa1160 at nysemail.state.ny.us ************************************************** > -------------------------------------------------------- This e-mail, including any attachments, may be confidential, privileged or otherwise legally protected. It is intended only for the addressee. If you received this e-mail in error or from someone who was not authorized to send it to you, do not disseminate, copy or otherwise use this e-mail or its attachments. Please notify the sender immediately by reply e-mail and delete the e-mail from your system. -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gale Perez > Sent: Friday, June 22, 2007 06:59 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Access 2007 - Type Mismatch > > Thank you, Jim! That was what I had originally, and it > worked just fine in Access 1997 and 2003, but I got the old > "Type Mismatch" error in 2007. I remember now that even when > I commented out the rst bit and just ran the bit to capture > strSQL, I still got the error. > > I just changed it all to use dlookup instead for this > purpose, but I'm getting a lot of "Type Mismatch" errors in > other parts of my forms where I wasn't before. Back to the > drawing board! > > Thank you all again for your help, and have a great weekend. > Gale > From jwcolby at colbyconsulting.com Wed Aug 22 11:50:06 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 22 Aug 2007 12:50:06 -0400 Subject: [AccessD] Query Criteria problem In-Reply-To: <001901c7e4d6$204efc10$0200a8c0@murphy3234aaf1> Message-ID: <20070822165007.4F242BF40@smtp-auth.no-ip.com> Doug, I was out of the office during this thread but I would like to offer two things - neither a suggestion for the original problem, but rather thoughts about static functions. 1) In order to keep the static function "synced" to the form, simply place the call to the static function in the OnCurrent event of the form. This assumes of course that you are using a bound form and the static function is being called with the data from a field in a table. Otherwise place the call in the after update of the control that you are updating and using as a parameter to the query. 2) Static functions are nice, but you can quickly end up with hundreds of them if you make the switch and use them all the time. For this reason I use a slightly different static function. The concept is identical EXCEPT that the storage is a static COLLECTION inside of the function. To give credit where due, it was Arthur that started me using these static functions, however I found I used them so much that I needed something easier to use. Contrary to what Arthur apparently believes I do not use a class for this, but simply a static function like he does. There are a couple of differences however between Arthur's method and mine. I use a SINGLE function, which I call fltr() but which you can name whatever you wish. INSIDE of fltr I declare a STATIC collection. Collections can store any data type, and they can store MULTIPLE variables. I then pass in one or two parameters to the function. Function Fltr(strVarName as string, OPTIONAL variant varValue as variant) as variant End function Notice that VarValue is an OPTIONAL value, i.e. you can pass in a value or not. However strVarName is NOT optional, you must ALWAYS pass in the name of the variable you want to get / set. Notice also that I do not set a default value for the OPTIONAL varValue so if I do not pass anything in, it is empty. Thus I can check inside of the function to see whether I passed in a value. This "sets me up" for a pair of rules. IF isempty(varValue) THEN 'I am GETTING the VALUE of an already set variable in this branch ELSE 'I am SETTING the value of a variable in this branch ENDIF In other words, to SET a value I pass in BOTH the name and the value: fltr "CompanyName", "Colby Consulting" If I pass in just the variable name in the first parameter I am RETRIEVING a previously stored value: ?fltr("CompanyName") (returns "Colby Consulting") Using this method I can have a SINGLE function called fltr() which can store one or a hundred or a thousand different variables for use in queries like yours. Now, the actual function is as follows: ' 'Fltr takes two parameters, the filter name and the filter value. ' 'The first syntax can be used to set the filter value: ' 'fltr "MyFltr1", MyFltrValue ' 'The filter lstrName is used as the key into the collection, i.e. when lvarValue 'is stored, it is stored with a key of lstrName. ' 'The second syntax can be used to retrieve the value of the filter: ' 'fltr("MyFltr1") ' 'The fact that the second parameter is Optional allows us to check whether a value 'has been passed in. If no value is passed in, then the assumption is that the filter 'is expecting to return a value. ' 'Because the filter uses a collection internally to save the values, this single 'function can store thousands of different filter values. ' 'Because lvarValue is a variant, the value stored can be pretty much anything. 'In fact it is necessary to use ctl.VALUE if you want to store an unchanging value 'from a control, since passing in a pointer to a control will then return the value 'of the control, which may change over time. ' Public Function Fltr(lstrName As String, Optional lvarValue As Variant) As Variant On Error GoTo Err_Fltr Static mcolFilter As Collection 'check to see if the collection is initialized yet and do so if necessary If mcolFilter Is Nothing Then Set mcolFilter = New Collection End If 'If no lvarValue passed in then this must be a "read" If IsMissing(lvarValue) Then On Error Resume Next Fltr = mcolFilter(lstrName) If Err <> 0 Then Fltr = Null End If Else 'else this must be a write On Error Resume Next 'since there may be a value in there already, delete it mcolFilter.Remove lstrName 'then save the new value passed in mcolFilter.Add lvarValue, lstrName Fltr = lvarValue End If Exit_Fltr: Exit Function Err_Fltr: MsgBox Err.Description, , "Error in Function basFltrFunctions.Fltr" Resume Exit_Fltr Resume 0 '.FOR TROUBLESHOOTING End Function So there you have it. A single function that can store as many different variables as you need. This makes it extremely easy to use these things. Instead of "cutting / pasting / renaming" a static function to create a new instance, just call fltr() and pass in the name of the next variable you want to track. I hope this was an understandable explanation of how I use static functions and why I do it the way that I do. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Murphy Sent: Wednesday, August 22, 2007 12:05 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Query Criteria problem A.D. Thank you for the information. I don't have any reservations with using static functions in queries and do it when required. I use form derived values for query criteria since it is easy to do and up to now it worked. Since I couldn't seem to understand why this isn't working in this case I went to the static functions and things are progressing nicely. I would still like to understand why using form values in a queries criteria does not work in this project. Actually it is just in a couple of queries. I am sure there is a reason, I just can't figure it out. I will keep your message in my archive for future reference. Thanks again. Doug From phpons at gmail.com Wed Aug 22 12:24:36 2007 From: phpons at gmail.com (philippe pons) Date: Wed, 22 Aug 2007 19:24:36 +0200 Subject: [AccessD] Using the recordset of a list control Message-ID: <57144ced0708221024l6629a93cnf54af27576c36370@mail.gmail.com> Hi all, I have a form with a list control. The list displays quantities and amount. Under the list, I have some text box that should display the total of these quantities and amount. What I do is to use the recordset of the list, to scan each of the record and do the sum I need. The problem is that this recordset does'nt seem to be reliable. Sometimes it does'nt exist anymore, sometimes it has 250 rows instead of just 5 to 10. The calcultaion is ok only the first time i do it, and then it's not! Did you already get into these kinds of troubles? What am I doing wroung? TIA, Philippe From markamatte at hotmail.com Wed Aug 22 12:31:42 2007 From: markamatte at hotmail.com (Mark A Matte) Date: Wed, 22 Aug 2007 17:31:42 +0000 Subject: [AccessD] Using the recordset of a list control In-Reply-To: <57144ced0708221024l6629a93cnf54af27576c36370@mail.gmail.com> Message-ID: When you say "scan each of the record"...are you only adding the ones selected? >From: "philippe pons" >Reply-To: Access Developers discussion and problem >solving >To: accessd at databaseadvisors.com >Subject: [AccessD] Using the recordset of a list control >Date: Wed, 22 Aug 2007 19:24:36 +0200 > >Hi all, > >I have a form with a list control. >The list displays quantities and amount. >Under the list, I have some text box that should display the total of these >quantities and amount. > >What I do is to use the recordset of the list, to scan each of the record >and do the sum I need. > >The problem is that this recordset does'nt seem to be reliable. >Sometimes it does'nt exist anymore, sometimes it has 250 rows instead of >just 5 to 10. >The calcultaion is ok only the first time i do it, and then it's not! > >Did you already get into these kinds of troubles? >What am I doing wroung? > >TIA, >Philippe >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Find a local pizza place, movie theater, and more?.then map the best route! http://maps.live.com/default.aspx?v=2&ss=yp.bars~yp.pizza~yp.movie%20theater&cp=42.358996~-71.056691&style=r&lvl=13&tilt=-90&dir=0&alt=-1000&scene=950607&encType=1&FORM=MGAC01 From phpons at gmail.com Wed Aug 22 12:40:11 2007 From: phpons at gmail.com (philippe pons) Date: Wed, 22 Aug 2007 19:40:11 +0200 Subject: [AccessD] Using the recordset of a list control In-Reply-To: <57144ced0708221024l6629a93cnf54af27576c36370@mail.gmail.com> References: <57144ced0708221024l6629a93cnf54af27576c36370@mail.gmail.com> Message-ID: <57144ced0708221040i426e21eby891b9a312cd7c3a6@mail.gmail.com> I say scan because I missed the verb you use to indicate you are "walking through" the collection of rows of a recordset. I do something like that (basic!): Me.lstListe.Recordset.MoveFirst ' if the recorset does'nt exist, get out! If Err.Number <> 0 Then Err.Clear Exit Sub End If Do While Not Me.lstListe.Recordset.EOF sngTotPourc = sngTotPourc + Left(Me.lstListe.Recordset.Fields(2), Len(Me.lstListe.Recordset.Fields(2)) - 1) / 100 curTotMontantsPre = curTotMontantsPre + Me.lstListe.Recordset.Fields (3) Me.lstListe.Recordset.MoveNext Loop I have to check the existence of the recordset, because sometimes, although the list is there on the form, it does not exist, giving then an error! 2007/8/22, philippe pons : > > Hi all, > > I have a form with a list control. > The list displays quantities and amount. > Under the list, I have some text box that should display the total of > these quantities and amount. > > What I do is to use the recordset of the list, to scan each of the record > and do the sum I need. > > The problem is that this recordset does'nt seem to be reliable. > Sometimes it does'nt exist anymore, sometimes it has 250 rows instead of > just 5 to 10. > The calcultaion is ok only the first time i do it, and then it's not! > > Did you already get into these kinds of troubles? > What am I doing wroung? > > TIA, > Philippe > From markamatte at hotmail.com Wed Aug 22 13:20:21 2007 From: markamatte at hotmail.com (Mark A Matte) Date: Wed, 22 Aug 2007 18:20:21 +0000 Subject: [AccessD] Using the recordset of a list control In-Reply-To: <57144ced0708221040i426e21eby891b9a312cd7c3a6@mail.gmail.com> Message-ID: Philippe, No problem on the verbage...I was just making sure I understood. In this sense...scan=loop. First question...what is the Rowsource on the listbox and does it change? Second Question...where you use .Fields(2) and .Fields(3)...can these ever be null? Thanks, Mark A. Matte >From: "philippe pons" >Reply-To: Access Developers discussion and problem >solving >To: accessd at databaseadvisors.com >Subject: Re: [AccessD] Using the recordset of a list control >Date: Wed, 22 Aug 2007 19:40:11 +0200 > >I say scan because I missed the verb you use to indicate you are "walking >through" the collection of rows of a recordset. I do something like that >(basic!): > Me.lstListe.Recordset.MoveFirst > ' if the recorset does'nt exist, get out! > If Err.Number <> 0 Then > Err.Clear > Exit Sub > End If > Do While Not Me.lstListe.Recordset.EOF > sngTotPourc = sngTotPourc + Left(Me.lstListe.Recordset.Fields(2), >Len(Me.lstListe.Recordset.Fields(2)) - 1) / 100 > curTotMontantsPre = curTotMontantsPre + >Me.lstListe.Recordset.Fields >(3) > Me.lstListe.Recordset.MoveNext > Loop >I have to check the existence of the recordset, because sometimes, although >the list is there on the form, it does not exist, giving then an error! > >2007/8/22, philippe pons : > > > > Hi all, > > > > I have a form with a list control. > > The list displays quantities and amount. > > Under the list, I have some text box that should display the total of > > these quantities and amount. > > > > What I do is to use the recordset of the list, to scan each of the >record > > and do the sum I need. > > > > The problem is that this recordset does'nt seem to be reliable. > > Sometimes it does'nt exist anymore, sometimes it has 250 rows instead of > > just 5 to 10. > > The calcultaion is ok only the first time i do it, and then it's not! > > > > Did you already get into these kinds of troubles? > > What am I doing wroung? > > > > TIA, > > Philippe > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Puzzles, trivia teasers, word scrambles and more. Play for your chance to win! http://club.live.com/home.aspx?icid=CLUB_hotmailtextlink From phpons at gmail.com Wed Aug 22 13:49:45 2007 From: phpons at gmail.com (philippe pons) Date: Wed, 22 Aug 2007 20:49:45 +0200 Subject: [AccessD] Using the recordset of a list control In-Reply-To: References: <57144ced0708221040i426e21eby891b9a312cd7c3a6@mail.gmail.com> Message-ID: <57144ced0708221149n4ac6e42duf582a7352064805d@mail.gmail.com> Mark, Yes, the rowsource is a sql (sql="select bla, bla..": Me.lstListe.RowSource=sql), and on the form I have a combo box that will update the list rowsource according the selection made. Fields(1) and Field(2) are normally not Null. Another fact: befor doing the calculation, I tried to requery the list, to ensure th existence of a recordset, but it seems to be unefficient! Thanks for your help. 2007/8/22, Mark A Matte : > > Philippe, > > No problem on the verbage...I was just making sure I understood. In this > sense...scan=loop. > > > First question...what is the Rowsource on the listbox and does it change? > > Second Question...where you use .Fields(2) and .Fields(3)...can these ever > be null? > > Thanks, > > Mark A. Matte > > > >From: "philippe pons" > >Reply-To: Access Developers discussion and problem > >solving > >To: accessd at databaseadvisors.com > >Subject: Re: [AccessD] Using the recordset of a list control > >Date: Wed, 22 Aug 2007 19:40:11 +0200 > > > >I say scan because I missed the verb you use to indicate you are "walking > >through" the collection of rows of a recordset. I do something like that > >(basic!): > > Me.lstListe.Recordset.MoveFirst > > ' if the recorset does'nt exist, get out! > > If Err.Number <> 0 Then > > Err.Clear > > Exit Sub > > End If > > Do While Not Me.lstListe.Recordset.EOF > > sngTotPourc = sngTotPourc + Left(Me.lstListe.Recordset.Fields > (2), > >Len(Me.lstListe.Recordset.Fields(2)) - 1) / 100 > > curTotMontantsPre = curTotMontantsPre + > >Me.lstListe.Recordset.Fields > >(3) > > Me.lstListe.Recordset.MoveNext > > Loop > >I have to check the existence of the recordset, because sometimes, > although > >the list is there on the form, it does not exist, giving then an error! > > > >2007/8/22, philippe pons : > > > > > > Hi all, > > > > > > I have a form with a list control. > > > The list displays quantities and amount. > > > Under the list, I have some text box that should display the total of > > > these quantities and amount. > > > > > > What I do is to use the recordset of the list, to scan each of the > >record > > > and do the sum I need. > > > > > > The problem is that this recordset does'nt seem to be reliable. > > > Sometimes it does'nt exist anymore, sometimes it has 250 rows instead > of > > > just 5 to 10. > > > The calcultaion is ok only the first time i do it, and then it's not! > > > > > > Did you already get into these kinds of troubles? > > > What am I doing wroung? > > > > > > TIA, > > > Philippe > > > > >-- > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > > _________________________________________________________________ > Puzzles, trivia teasers, word scrambles and more. Play for your chance to > win! http://club.live.com/home.aspx?icid=CLUB_hotmailtextlink > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From markamatte at hotmail.com Wed Aug 22 14:31:41 2007 From: markamatte at hotmail.com (Mark A Matte) Date: Wed, 22 Aug 2007 19:31:41 +0000 Subject: [AccessD] Using the recordset of a list control In-Reply-To: <57144ced0708221149n4ac6e42duf582a7352064805d@mail.gmail.com> Message-ID: ahhh...we might be getting somewhere... Please correct me if I am wrong. You have a combo box, a list box, and a text box. A selection is made in the combo...that changes the row source of the list box...and the text box is supposed to sum the values in the list box? If this is true... (anyone else please chime in)... if you change a rowsource property via code...and don't save...and try to reference said property...will you get the changed or original via code? Instead of referencing the listbox.rowsource could you have the text box loop through the SQL statement instead ( I am assuming you have that SQL in code since the combo changes the SQL in the listbox.rowsource)? Am I close? Thanks, Mark A. Matte >From: "philippe pons" >Reply-To: Access Developers discussion and problem >solving >To: "Access Developers discussion and problem >solving" >Subject: Re: [AccessD] Using the recordset of a list control >Date: Wed, 22 Aug 2007 20:49:45 +0200 > >Mark, > >Yes, the rowsource is a sql (sql="select bla, bla..": >Me.lstListe.RowSource=sql), and on the form I have a combo box that will >update the list rowsource according the selection made. >Fields(1) and Field(2) are normally not Null. >Another fact: befor doing the calculation, I tried to requery the list, to >ensure th existence of a recordset, but it seems to be unefficient! > >Thanks for your help. > >2007/8/22, Mark A Matte : > > > > Philippe, > > > > No problem on the verbage...I was just making sure I understood. In this > > sense...scan=loop. > > > > > > First question...what is the Rowsource on the listbox and does it >change? > > > > Second Question...where you use .Fields(2) and .Fields(3)...can these >ever > > be null? > > > > Thanks, > > > > Mark A. Matte > > > > > > >From: "philippe pons" > > >Reply-To: Access Developers discussion and problem > > >solving > > >To: accessd at databaseadvisors.com > > >Subject: Re: [AccessD] Using the recordset of a list control > > >Date: Wed, 22 Aug 2007 19:40:11 +0200 > > > > > >I say scan because I missed the verb you use to indicate you are >"walking > > >through" the collection of rows of a recordset. I do something like >that > > >(basic!): > > > Me.lstListe.Recordset.MoveFirst > > > ' if the recorset does'nt exist, get out! > > > If Err.Number <> 0 Then > > > Err.Clear > > > Exit Sub > > > End If > > > Do While Not Me.lstListe.Recordset.EOF > > > sngTotPourc = sngTotPourc + Left(Me.lstListe.Recordset.Fields > > (2), > > >Len(Me.lstListe.Recordset.Fields(2)) - 1) / 100 > > > curTotMontantsPre = curTotMontantsPre + > > >Me.lstListe.Recordset.Fields > > >(3) > > > Me.lstListe.Recordset.MoveNext > > > Loop > > >I have to check the existence of the recordset, because sometimes, > > although > > >the list is there on the form, it does not exist, giving then an >error! > > > > > >2007/8/22, philippe pons : > > > > > > > > Hi all, > > > > > > > > I have a form with a list control. > > > > The list displays quantities and amount. > > > > Under the list, I have some text box that should display the total >of > > > > these quantities and amount. > > > > > > > > What I do is to use the recordset of the list, to scan each of the > > >record > > > > and do the sum I need. > > > > > > > > The problem is that this recordset does'nt seem to be reliable. > > > > Sometimes it does'nt exist anymore, sometimes it has 250 rows >instead > > of > > > > just 5 to 10. > > > > The calcultaion is ok only the first time i do it, and then it's >not! > > > > > > > > Did you already get into these kinds of troubles? > > > > What am I doing wroung? > > > > > > > > TIA, > > > > Philippe > > > > > > >-- > > >AccessD mailing list > > >AccessD at databaseadvisors.com > > >http://databaseadvisors.com/mailman/listinfo/accessd > > >Website: http://www.databaseadvisors.com > > > > _________________________________________________________________ > > Puzzles, trivia teasers, word scrambles and more. Play for your chance >to > > win! http://club.live.com/home.aspx?icid=CLUB_hotmailtextlink > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Booking a flight? Know when to buy with airfare predictions on MSN Travel. http://travel.msn.com/Articles/aboutfarecast.aspx&ocid=T001MSN25A07001 From phpons at gmail.com Wed Aug 22 14:44:51 2007 From: phpons at gmail.com (philippe pons) Date: Wed, 22 Aug 2007 21:44:51 +0200 Subject: [AccessD] Using the recordset of a list control In-Reply-To: References: <57144ced0708221149n4ac6e42duf582a7352064805d@mail.gmail.com> Message-ID: <57144ced0708221244s5eded714rda34e96a46622da@mail.gmail.com> Mark, you are correct! When I select a new choice in the cbo, the code build a new sql string with the correct WHERE criteria according the selection, passes this string to the rowsource of the listbox, and makes a list box requery. Then the listbox shows the correct information. BUT, after having selected a new choice with the cbo, then the recordset no longer exits, and I can't sum the values. Doing that would have avoid querying the database, reducing network traffic! But it doesn't work!! Never mind, I will query the datebase to make my sums! Thanks again, Philippe 2007/8/22, Mark A Matte : > > ahhh...we might be getting somewhere... > > Please correct me if I am wrong. > > You have a combo box, a list box, and a text box. > > A selection is made in the combo...that changes the row source of the list > box...and the text box is supposed to sum the values in the list box? > > If this is true... (anyone else please chime in)... if you change a > rowsource property via code...and don't save...and try to reference said > property...will you get the changed or original via code? > > Instead of referencing the listbox.rowsource could you have the text box > loop through the SQL statement instead ( I am assuming you have that SQL > in > code since the combo changes the SQL in the listbox.rowsource)? > > Am I close? > > Thanks, > > Mark A. Matte > > >From: "philippe pons" > >Reply-To: Access Developers discussion and problem > >solving > >To: "Access Developers discussion and problem > >solving" > >Subject: Re: [AccessD] Using the recordset of a list control > >Date: Wed, 22 Aug 2007 20:49:45 +0200 > > > >Mark, > > > >Yes, the rowsource is a sql (sql="select bla, bla..": > >Me.lstListe.RowSource=sql), and on the form I have a combo box that will > >update the list rowsource according the selection made. > >Fields(1) and Field(2) are normally not Null. > >Another fact: befor doing the calculation, I tried to requery the list, > to > >ensure th existence of a recordset, but it seems to be unefficient! > > > >Thanks for your help. > > > >2007/8/22, Mark A Matte : > > > > > > Philippe, > > > > > > No problem on the verbage...I was just making sure I understood. In > this > > > sense...scan=loop. > > > > > > > > > First question...what is the Rowsource on the listbox and does it > >change? > > > > > > Second Question...where you use .Fields(2) and .Fields(3)...can these > >ever > > > be null? > > > > > > Thanks, > > > > > > Mark A. Matte > > > > > > > > > >From: "philippe pons" > > > >Reply-To: Access Developers discussion and problem > > > >solving > > > >To: accessd at databaseadvisors.com > > > >Subject: Re: [AccessD] Using the recordset of a list control > > > >Date: Wed, 22 Aug 2007 19:40:11 +0200 > > > > > > > >I say scan because I missed the verb you use to indicate you are > >"walking > > > >through" the collection of rows of a recordset. I do something like > >that > > > >(basic!): > > > > Me.lstListe.Recordset.MoveFirst > > > > ' if the recorset does'nt exist, get out! > > > > If Err.Number <> 0 Then > > > > Err.Clear > > > > Exit Sub > > > > End If > > > > Do While Not Me.lstListe.Recordset.EOF > > > > sngTotPourc = sngTotPourc + Left( > Me.lstListe.Recordset.Fields > > > (2), > > > >Len(Me.lstListe.Recordset.Fields(2)) - 1) / 100 > > > > curTotMontantsPre = curTotMontantsPre + > > > >Me.lstListe.Recordset.Fields > > > >(3) > > > > Me.lstListe.Recordset.MoveNext > > > > Loop > > > >I have to check the existence of the recordset, because sometimes, > > > although > > > >the list is there on the form, it does not exist, giving then an > >error! > > > > > > > >2007/8/22, philippe pons : > > > > > > > > > > Hi all, > > > > > > > > > > I have a form with a list control. > > > > > The list displays quantities and amount. > > > > > Under the list, I have some text box that should display the total > >of > > > > > these quantities and amount. > > > > > > > > > > What I do is to use the recordset of the list, to scan each of the > > > >record > > > > > and do the sum I need. > > > > > > > > > > The problem is that this recordset does'nt seem to be reliable. > > > > > Sometimes it does'nt exist anymore, sometimes it has 250 rows > >instead > > > of > > > > > just 5 to 10. > > > > > The calcultaion is ok only the first time i do it, and then it's > >not! > > > > > > > > > > Did you already get into these kinds of troubles? > > > > > What am I doing wroung? > > > > > > > > > > TIA, > > > > > Philippe > > > > > > > > >-- > > > >AccessD mailing list > > > >AccessD at databaseadvisors.com > > > >http://databaseadvisors.com/mailman/listinfo/accessd > > > >Website: http://www.databaseadvisors.com > > > > > > _________________________________________________________________ > > > Puzzles, trivia teasers, word scrambles and more. Play for your chance > >to > > > win! http://club.live.com/home.aspx?icid=CLUB_hotmailtextlink > > > > > > -- > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > >-- > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > > _________________________________________________________________ > Booking a flight? Know when to buy with airfare predictions on MSN Travel. > http://travel.msn.com/Articles/aboutfarecast.aspx&ocid=T001MSN25A07001 > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From fuller.artful at gmail.com Wed Aug 22 17:50:40 2007 From: fuller.artful at gmail.com (Arthur Fuller) Date: Wed, 22 Aug 2007 18:50:40 -0400 Subject: [AccessD] Query Criteria problem In-Reply-To: <001901c7e4d6$204efc10$0200a8c0@murphy3234aaf1> References: <00b601c7e489$a21731b0$dd58a27a@pcadt> <001901c7e4d6$204efc10$0200a8c0@murphy3234aaf1> Message-ID: <29f585dd0708221550ndb521d7y56dd803074e1993e@mail.gmail.com> I would like to add one thing to this discussion of static functions. What I dislike about form references embedded in queries is that the form must be open in order to run the query | report | form that depends on them. With static functions, I can set the value(s) of concern from the immediate window then run the query | report | form without issues. That's why I love them. Arthur On 8/22/07, Doug Murphy wrote: > > A.D. > > > Thank you for the information. I don't have any reservations with using > static functions in queries and do it when required. I use form derived > values for query criteria since it is easy to do and up to now it worked. > Since I couldn't seem to understand why this isn't working in this case I > went to the static functions and things are progressing nicely. I would > still like to understand why using form values in a queries criteria does > not work in this project. Actually it is just in a couple of queries. I > am > sure there is a reason, I just can't figure it out. > > I will keep your message in my archive for future reference. > > Thanks again. > > Doug > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of A.D.TEJPAL > Sent: Tuesday, August 21, 2007 11:56 PM > To: Access Developers discussion and problem solving > Cc: A.D.TEJPAL > Subject: Re: [AccessD] Query Criteria problem > > Doug, > > Expressing reservation in use of static functions, you have stated: > "If I use the static function I still have to set it when the form is > updated to hold the value that is already on the form." > > This limitation can be overcome by pulling (instead of > pushing) form's > data into the function, as demonstrated in sample functions named > Fn_CustID() and Fn_EmpID() given below. This ensures that always the > latest > value in form's control is returned whenever the function is called. > > There are certain other strong reasons to prefer use of such > functions, > since direct reference to form's controls (in query SQL) suffers from the > following drawbacks: > > (a) For a query with parameters clause, a recordset can not be created > directly via Currentdb.OpenRecordset method. Leads to Error 3061 (Too few > parameters. Expected 1). > > (b) Action query with parameters clause can not be run directly via > Currentdb.Execute method. Leads to Error 3061 (Too few parameters. > Expected > 1). > > A self contained note on the subject is placed below, for ready > reference. > > Best wishes, > A.D.Tejpal > --------------- > > Queries using form based values > (Use of functions in lieu of parameters) =========================== > > 1 - Use of parameters in queries suffers from following limitations: > > 1.1 - For a query with parameters clause, a recordset can not be > created directly via Currentdb.OpenRecordset method. Leads to Error 3061 > (Too few parameters. Expected 1). > > 1.2 - Action query with parameters clause can not be run directly > via Currentdb.Execute method. Leads to Error 3061 (Too few parameters. > Expected 1). > > 1.3 - Parameter clause can not be too long (there are reports of > problems encountered on Windows Vista, if it is beyond 63 characters). > An extract from a post (Jul-2007) by Allen Brown in one of the news > groups, > is placed below: > "Paul Overway alerted me to this bug, which occurs only under > Access > 2000 - 2003 on Windows Vista. If a parameter name exceeds 63 characters, > and your code refers to the parameter of the QueryDef by name, the code > fails with Access Error 3000, reporting: Reserved Error -1038. There is no > message for this error." > > 1.4 - Confusion in dealing with Null value, if data type has been > explicitly declared as text - in parameters clause of the query. (This > anamoly was brought up in one of Allen Browne's posts in July 2007). > > 2 - Suggested Universal Remedy: > > 2.1 - The limitations outlined above can be overcome by replacing > form based parameters with user defined functions. > > 2.2 - As an illustration, functions Fn_CustID() returning text > type, > and Fn_EmpID() returning number type, are given below. These functions > grab > the values entered in relevant controls (TxtCustomerID and TxtEmployeeID > respectively) on the target form (Form1). > > 2.3 - Use of functions in this manner greatly simplifies the SQL, > at > the same time getting rid of parameters clause. Sample select queries > Q_CustSelect and Q_EmpSelect, based upon this approach, are given below. > These have criteria clause based upon CustomerID and EmployeeID fields > respectively. In both cases, if the target text box on the form is blank, > all records get included. > > 2.4 - Sample append query Q_CustEmpAppend, using functions in lieu > of form based parameters, as given below, can be run directly by using > Currentdb.Execute method. > > A.D.Tejpal > --------------- > > Q_CustSelect > (Query Filtered as per CustomerID (text type field)) > =================================== > SELECT Orders.* > FROM Orders > WHERE (Fn_CustID() = "") Or (Orders.CustomerID=Fn_CustID()); > =================================== > > Q_EmpSelect > (Query Filtered as per EmployeeID (number type field)) > =================================== > SELECT Orders.* > FROM Orders > WHERE (Fn_EmpID() = 0) Or (Orders.EmployeeID=Fn_EmpID()); > =================================== > > Q_CustEmpAppend > =================================== > INSERT INTO Orders ( CustomerID, EmployeeID ) VALUES (Fn_CustID(), > Fn_EmpID()); =================================== > > Fn_CustID() > =================================== > Function Fn_CustID() As String > On Error Resume Next > Dim Rtv As String > > Rtv = Nz(Forms("Form1")("TxtCustomerID"), "") > Fn_CustID = Rtv > On Error GoTo 0 > End Function > =================================== > > Fn_EmpID() > =================================== > Function Fn_EmpID() As Long > On Error Resume Next > Dim Rtv As Long > > Rtv = Nz(Forms("Form1")("TxtEmployeeID"), 0) > Fn_EmpID = Rtv > On Error GoTo 0 > End Function > =================================== > > ----- Original Message ----- > From: Doug Murphy > To: 'Access Developers discussion and problem solving' > Sent: Wednesday, August 22, 2007 03:16 > Subject: Re: [AccessD] Query Criteria problem > > > Hi Arthur, > > I use static functions where they make sense but in this case I should > be, > and have always been, able to just refer to the value of a control on an > open form. If I use the static function I still have to set it when the > form is updated to hold the value that is already on the form. I was > looking for a reason why am am getting this error. I like to understand > why things happen. > > If I can't figure this out I may go with your suggestion just to get > this > done, but I won't feel comfortable that the original problem is still > lurking. > > Doug > > << SNIP >> > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jwcolby at colbyconsulting.com Wed Aug 22 19:31:21 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 22 Aug 2007 20:31:21 -0400 Subject: [AccessD] Query Criteria problem In-Reply-To: <29f585dd0708221550ndb521d7y56dd803074e1993e@mail.gmail.com> Message-ID: <20070823003205.D39B2BE25@smtp-auth.no-ip.com> Y yo tambien. I might also say that you can pass values between forms and between code modules as well. You do need to be careful though as these turn into "global variables" and we all know what THAT means. ;-) John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Wednesday, August 22, 2007 6:51 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Query Criteria problem I would like to add one thing to this discussion of static functions. What I dislike about form references embedded in queries is that the form must be open in order to run the query | report | form that depends on them. With static functions, I can set the value(s) of concern from the immediate window then run the query | report | form without issues. That's why I love them. Arthur On 8/22/07, Doug Murphy wrote: > > A.D. > > > Thank you for the information. I don't have any reservations with > using static functions in queries and do it when required. I use form > derived values for query criteria since it is easy to do and up to now it worked. > Since I couldn't seem to understand why this isn't working in this > case I went to the static functions and things are progressing nicely. > I would still like to understand why using form values in a queries > criteria does not work in this project. Actually it is just in a > couple of queries. I am sure there is a reason, I just can't figure > it out. > > I will keep your message in my archive for future reference. > > Thanks again. > > Doug > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of A.D.TEJPAL > Sent: Tuesday, August 21, 2007 11:56 PM > To: Access Developers discussion and problem solving > Cc: A.D.TEJPAL > Subject: Re: [AccessD] Query Criteria problem > > Doug, > > Expressing reservation in use of static functions, you have stated: > "If I use the static function I still have to set it when the form > is updated to hold the value that is already on the form." > > This limitation can be overcome by pulling (instead of > pushing) form's > data into the function, as demonstrated in sample functions named > Fn_CustID() and Fn_EmpID() given below. This ensures that always the > latest value in form's control is returned whenever the function is > called. > > There are certain other strong reasons to prefer use of such > functions, since direct reference to form's controls (in query SQL) > suffers from the following drawbacks: > > (a) For a query with parameters clause, a recordset can not be > created directly via Currentdb.OpenRecordset method. Leads to Error > 3061 (Too few parameters. Expected 1). > > (b) Action query with parameters clause can not be run directly > via Currentdb.Execute method. Leads to Error 3061 (Too few parameters. > Expected > 1). > > A self contained note on the subject is placed below, for ready > reference. > > Best wishes, > A.D.Tejpal > --------------- > > Queries using form based values > (Use of functions in lieu of parameters) =========================== > > 1 - Use of parameters in queries suffers from following limitations: > > 1.1 - For a query with parameters clause, a recordset can not > be created directly via Currentdb.OpenRecordset method. Leads to Error > 3061 (Too few parameters. Expected 1). > > 1.2 - Action query with parameters clause can not be run > directly via Currentdb.Execute method. Leads to Error 3061 (Too few parameters. > Expected 1). > > 1.3 - Parameter clause can not be too long (there are reports > of problems encountered on Windows Vista, if it is beyond 63 characters). > An extract from a post (Jul-2007) by Allen Brown in one of the news > groups, is placed below: > "Paul Overway alerted me to this bug, which occurs only under > Access 2000 - 2003 on Windows Vista. If a parameter name exceeds 63 > characters, and your code refers to the parameter of the QueryDef by > name, the code fails with Access Error 3000, reporting: Reserved Error > -1038. There is no message for this error." > > 1.4 - Confusion in dealing with Null value, if data type has > been explicitly declared as text - in parameters clause of the query. > (This anamoly was brought up in one of Allen Browne's posts in July 2007). > > 2 - Suggested Universal Remedy: > > 2.1 - The limitations outlined above can be overcome by > replacing form based parameters with user defined functions. > > 2.2 - As an illustration, functions Fn_CustID() returning text > type, and Fn_EmpID() returning number type, are given below. These > functions grab the values entered in relevant controls (TxtCustomerID > and TxtEmployeeID > respectively) on the target form (Form1). > > 2.3 - Use of functions in this manner greatly simplifies the > SQL, at the same time getting rid of parameters clause. Sample select > queries Q_CustSelect and Q_EmpSelect, based upon this approach, are > given below. > These have criteria clause based upon CustomerID and EmployeeID fields > respectively. In both cases, if the target text box on the form is > blank, all records get included. > > 2.4 - Sample append query Q_CustEmpAppend, using functions in > lieu of form based parameters, as given below, can be run directly by > using Currentdb.Execute method. > > A.D.Tejpal > --------------- > > Q_CustSelect > (Query Filtered as per CustomerID (text type field)) > =================================== > SELECT Orders.* > FROM Orders > WHERE (Fn_CustID() = "") Or (Orders.CustomerID=Fn_CustID()); > =================================== > > Q_EmpSelect > (Query Filtered as per EmployeeID (number type field)) > =================================== > SELECT Orders.* > FROM Orders > WHERE (Fn_EmpID() = 0) Or (Orders.EmployeeID=Fn_EmpID()); > =================================== > > Q_CustEmpAppend > =================================== > INSERT INTO Orders ( CustomerID, EmployeeID ) VALUES (Fn_CustID(), > Fn_EmpID()); =================================== > > Fn_CustID() > =================================== > Function Fn_CustID() As String > On Error Resume Next > Dim Rtv As String > > Rtv = Nz(Forms("Form1")("TxtCustomerID"), "") > Fn_CustID = Rtv > On Error GoTo 0 > End Function > =================================== > > Fn_EmpID() > =================================== > Function Fn_EmpID() As Long > On Error Resume Next > Dim Rtv As Long > > Rtv = Nz(Forms("Form1")("TxtEmployeeID"), 0) > Fn_EmpID = Rtv > On Error GoTo 0 > End Function > =================================== > > ----- Original Message ----- > From: Doug Murphy > To: 'Access Developers discussion and problem solving' > Sent: Wednesday, August 22, 2007 03:16 > Subject: Re: [AccessD] Query Criteria problem > > > Hi Arthur, > > I use static functions where they make sense but in this case I > should be, and have always been, able to just refer to the value of a > control on an open form. If I use the static function I still have to > set it when the > form is updated to hold the value that is already on the form. I was > looking for a reason why am am getting this error. I like to > understand why things happen. > > If I can't figure this out I may go with your suggestion just to get > this > done, but I won't feel comfortable that the original problem is still > lurking. > > Doug > > << SNIP >> > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 23 10:06:13 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 23 Aug 2007 08:06:13 -0700 Subject: [AccessD] Query Criteria problem In-Reply-To: <20070823003205.D39B2BE25@smtp-auth.no-ip.com> References: <29f585dd0708221550ndb521d7y56dd803074e1993e@mail.gmail.com> <20070823003205.D39B2BE25@smtp-auth.no-ip.com> Message-ID: Hmmn ... Global variables = another war! LOL Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Wednesday, August 22, 2007 5:31 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Query Criteria problem Y yo tambien. I might also say that you can pass values between forms and between code modules as well. You do need to be careful though as these turn into "global variables" and we all know what THAT means. ;-) John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Wednesday, August 22, 2007 6:51 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Query Criteria problem I would like to add one thing to this discussion of static functions. What I dislike about form references embedded in queries is that the form must be open in order to run the query | report | form that depends on them. With static functions, I can set the value(s) of concern from the immediate window then run the query | report | form without issues. That's why I love them. Arthur On 8/22/07, Doug Murphy wrote: > > A.D. > > > Thank you for the information. I don't have any reservations with > using static functions in queries and do it when required. I use form > derived values for query criteria since it is easy to do and up to now > it worked. > Since I couldn't seem to understand why this isn't working in this > case I went to the static functions and things are progressing nicely. > I would still like to understand why using form values in a queries > criteria does not work in this project. Actually it is just in a > couple of queries. I am sure there is a reason, I just can't figure > it out. > > I will keep your message in my archive for future reference. > > Thanks again. > > Doug > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of A.D.TEJPAL > Sent: Tuesday, August 21, 2007 11:56 PM > To: Access Developers discussion and problem solving > Cc: A.D.TEJPAL > Subject: Re: [AccessD] Query Criteria problem > > Doug, > > Expressing reservation in use of static functions, you have stated: > "If I use the static function I still have to set it when the form > is updated to hold the value that is already on the form." > > This limitation can be overcome by pulling (instead of > pushing) form's > data into the function, as demonstrated in sample functions named > Fn_CustID() and Fn_EmpID() given below. This ensures that always the > latest value in form's control is returned whenever the function is > called. > > There are certain other strong reasons to prefer use of such > functions, since direct reference to form's controls (in query SQL) > suffers from the following drawbacks: > > (a) For a query with parameters clause, a recordset can not be > created directly via Currentdb.OpenRecordset method. Leads to Error > 3061 (Too few parameters. Expected 1). > > (b) Action query with parameters clause can not be run directly > via Currentdb.Execute method. Leads to Error 3061 (Too few parameters. > Expected > 1). > > A self contained note on the subject is placed below, for ready > reference. > > Best wishes, > A.D.Tejpal > --------------- > > Queries using form based values > (Use of functions in lieu of parameters) =========================== > > 1 - Use of parameters in queries suffers from following limitations: > > 1.1 - For a query with parameters clause, a recordset can not > be created directly via Currentdb.OpenRecordset method. Leads to Error > 3061 (Too few parameters. Expected 1). > > 1.2 - Action query with parameters clause can not be run > directly via Currentdb.Execute method. Leads to Error 3061 (Too few parameters. > Expected 1). > > 1.3 - Parameter clause can not be too long (there are reports > of problems encountered on Windows Vista, if it is beyond 63 characters). > An extract from a post (Jul-2007) by Allen Brown in one of the news > groups, is placed below: > "Paul Overway alerted me to this bug, which occurs only under > Access 2000 - 2003 on Windows Vista. If a parameter name exceeds 63 > characters, and your code refers to the parameter of the QueryDef by > name, the code fails with Access Error 3000, reporting: Reserved Error > -1038. There is no message for this error." > > 1.4 - Confusion in dealing with Null value, if data type has > been explicitly declared as text - in parameters clause of the query. > (This anamoly was brought up in one of Allen Browne's posts in July 2007). > > 2 - Suggested Universal Remedy: > > 2.1 - The limitations outlined above can be overcome by > replacing form based parameters with user defined functions. > > 2.2 - As an illustration, functions Fn_CustID() returning text > type, and Fn_EmpID() returning number type, are given below. These > functions grab the values entered in relevant controls (TxtCustomerID > and TxtEmployeeID > respectively) on the target form (Form1). > > 2.3 - Use of functions in this manner greatly simplifies the > SQL, at the same time getting rid of parameters clause. Sample select > queries Q_CustSelect and Q_EmpSelect, based upon this approach, are > given below. > These have criteria clause based upon CustomerID and EmployeeID fields > respectively. In both cases, if the target text box on the form is > blank, all records get included. > > 2.4 - Sample append query Q_CustEmpAppend, using functions in > lieu of form based parameters, as given below, can be run directly by > using Currentdb.Execute method. > > A.D.Tejpal > --------------- > > Q_CustSelect > (Query Filtered as per CustomerID (text type field)) > =================================== > SELECT Orders.* > FROM Orders > WHERE (Fn_CustID() = "") Or (Orders.CustomerID=Fn_CustID()); > =================================== > > Q_EmpSelect > (Query Filtered as per EmployeeID (number type field)) > =================================== > SELECT Orders.* > FROM Orders > WHERE (Fn_EmpID() = 0) Or (Orders.EmployeeID=Fn_EmpID()); > =================================== > > Q_CustEmpAppend > =================================== > INSERT INTO Orders ( CustomerID, EmployeeID ) VALUES (Fn_CustID(), > Fn_EmpID()); =================================== > > Fn_CustID() > =================================== > Function Fn_CustID() As String > On Error Resume Next > Dim Rtv As String > > Rtv = Nz(Forms("Form1")("TxtCustomerID"), "") > Fn_CustID = Rtv > On Error GoTo 0 > End Function > =================================== > > Fn_EmpID() > =================================== > Function Fn_EmpID() As Long > On Error Resume Next > Dim Rtv As Long > > Rtv = Nz(Forms("Form1")("TxtEmployeeID"), 0) > Fn_EmpID = Rtv > On Error GoTo 0 > End Function > =================================== > > ----- Original Message ----- > From: Doug Murphy > To: 'Access Developers discussion and problem solving' > Sent: Wednesday, August 22, 2007 03:16 > Subject: Re: [AccessD] Query Criteria problem > > > Hi Arthur, > > I use static functions where they make sense but in this case I > should be, and have always been, able to just refer to the value of a > control on an open form. If I use the static function I still have to > set it when the > form is updated to hold the value that is already on the form. I was > looking for a reason why am am getting this error. I like to > understand why things happen. > > If I can't figure this out I may go with your suggestion just to get > this > done, but I won't feel comfortable that the original problem is still > lurking. > > Doug > > << SNIP >> > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Thu Aug 23 10:17:22 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 23 Aug 2007 11:17:22 -0400 Subject: [AccessD] Query Criteria problem In-Reply-To: Message-ID: <20070823151808.23A9FBBEF@smtp-auth.no-ip.com> LOL, uh yep. That is why I treaded so lightly. But these things are in fact just that with a different face. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, August 23, 2007 11:06 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Query Criteria problem Hmmn ... Global variables = another war! LOL Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Wednesday, August 22, 2007 5:31 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Query Criteria problem Y yo tambien. I might also say that you can pass values between forms and between code modules as well. You do need to be careful though as these turn into "global variables" and we all know what THAT means. ;-) John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Wednesday, August 22, 2007 6:51 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Query Criteria problem I would like to add one thing to this discussion of static functions. What I dislike about form references embedded in queries is that the form must be open in order to run the query | report | form that depends on them. With static functions, I can set the value(s) of concern from the immediate window then run the query | report | form without issues. That's why I love them. Arthur On 8/22/07, Doug Murphy wrote: > > A.D. > > > Thank you for the information. I don't have any reservations with > using static functions in queries and do it when required. I use form > derived values for query criteria since it is easy to do and up to now > it worked. > Since I couldn't seem to understand why this isn't working in this > case I went to the static functions and things are progressing nicely. > I would still like to understand why using form values in a queries > criteria does not work in this project. Actually it is just in a > couple of queries. I am sure there is a reason, I just can't figure > it out. > > I will keep your message in my archive for future reference. > > Thanks again. > > Doug > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of A.D.TEJPAL > Sent: Tuesday, August 21, 2007 11:56 PM > To: Access Developers discussion and problem solving > Cc: A.D.TEJPAL > Subject: Re: [AccessD] Query Criteria problem > > Doug, > > Expressing reservation in use of static functions, you have stated: > "If I use the static function I still have to set it when the form > is updated to hold the value that is already on the form." > > This limitation can be overcome by pulling (instead of > pushing) form's > data into the function, as demonstrated in sample functions named > Fn_CustID() and Fn_EmpID() given below. This ensures that always the > latest value in form's control is returned whenever the function is > called. > > There are certain other strong reasons to prefer use of such > functions, since direct reference to form's controls (in query SQL) > suffers from the following drawbacks: > > (a) For a query with parameters clause, a recordset can not be > created directly via Currentdb.OpenRecordset method. Leads to Error > 3061 (Too few parameters. Expected 1). > > (b) Action query with parameters clause can not be run directly > via Currentdb.Execute method. Leads to Error 3061 (Too few parameters. > Expected > 1). > > A self contained note on the subject is placed below, for ready > reference. > > Best wishes, > A.D.Tejpal > --------------- > > Queries using form based values > (Use of functions in lieu of parameters) =========================== > > 1 - Use of parameters in queries suffers from following limitations: > > 1.1 - For a query with parameters clause, a recordset can not > be created directly via Currentdb.OpenRecordset method. Leads to Error > 3061 (Too few parameters. Expected 1). > > 1.2 - Action query with parameters clause can not be run > directly via Currentdb.Execute method. Leads to Error 3061 (Too few parameters. > Expected 1). > > 1.3 - Parameter clause can not be too long (there are reports > of problems encountered on Windows Vista, if it is beyond 63 characters). > An extract from a post (Jul-2007) by Allen Brown in one of the news > groups, is placed below: > "Paul Overway alerted me to this bug, which occurs only under > Access 2000 - 2003 on Windows Vista. If a parameter name exceeds 63 > characters, and your code refers to the parameter of the QueryDef by > name, the code fails with Access Error 3000, reporting: Reserved Error > -1038. There is no message for this error." > > 1.4 - Confusion in dealing with Null value, if data type has > been explicitly declared as text - in parameters clause of the query. > (This anamoly was brought up in one of Allen Browne's posts in July 2007). > > 2 - Suggested Universal Remedy: > > 2.1 - The limitations outlined above can be overcome by > replacing form based parameters with user defined functions. > > 2.2 - As an illustration, functions Fn_CustID() returning text > type, and Fn_EmpID() returning number type, are given below. These > functions grab the values entered in relevant controls (TxtCustomerID > and TxtEmployeeID > respectively) on the target form (Form1). > > 2.3 - Use of functions in this manner greatly simplifies the > SQL, at the same time getting rid of parameters clause. Sample select > queries Q_CustSelect and Q_EmpSelect, based upon this approach, are > given below. > These have criteria clause based upon CustomerID and EmployeeID fields > respectively. In both cases, if the target text box on the form is > blank, all records get included. > > 2.4 - Sample append query Q_CustEmpAppend, using functions in > lieu of form based parameters, as given below, can be run directly by > using Currentdb.Execute method. > > A.D.Tejpal > --------------- > > Q_CustSelect > (Query Filtered as per CustomerID (text type field)) > =================================== > SELECT Orders.* > FROM Orders > WHERE (Fn_CustID() = "") Or (Orders.CustomerID=Fn_CustID()); > =================================== > > Q_EmpSelect > (Query Filtered as per EmployeeID (number type field)) > =================================== > SELECT Orders.* > FROM Orders > WHERE (Fn_EmpID() = 0) Or (Orders.EmployeeID=Fn_EmpID()); > =================================== > > Q_CustEmpAppend > =================================== > INSERT INTO Orders ( CustomerID, EmployeeID ) VALUES (Fn_CustID(), > Fn_EmpID()); =================================== > > Fn_CustID() > =================================== > Function Fn_CustID() As String > On Error Resume Next > Dim Rtv As String > > Rtv = Nz(Forms("Form1")("TxtCustomerID"), "") > Fn_CustID = Rtv > On Error GoTo 0 > End Function > =================================== > > Fn_EmpID() > =================================== > Function Fn_EmpID() As Long > On Error Resume Next > Dim Rtv As Long > > Rtv = Nz(Forms("Form1")("TxtEmployeeID"), 0) > Fn_EmpID = Rtv > On Error GoTo 0 > End Function > =================================== > > ----- Original Message ----- > From: Doug Murphy > To: 'Access Developers discussion and problem solving' > Sent: Wednesday, August 22, 2007 03:16 > Subject: Re: [AccessD] Query Criteria problem > > > Hi Arthur, > > I use static functions where they make sense but in this case I > should be, and have always been, able to just refer to the value of a > control on an open form. If I use the static function I still have to > set it when the > form is updated to hold the value that is already on the form. I was > looking for a reason why am am getting this error. I like to > understand why things happen. > > If I can't figure this out I may go with your suggestion just to get > this > done, but I won't feel comfortable that the original problem is still > lurking. > > Doug > > << SNIP >> > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From marklbreen at gmail.com Thu Aug 23 11:05:06 2007 From: marklbreen at gmail.com (Mark Breen) Date: Thu, 23 Aug 2007 17:05:06 +0100 Subject: [AccessD] Point of Sale software for Tile Shop Message-ID: Hello All, A good friend of mine is opening a new shop selling floor and wall tiles. He has asked me whether I know of a package that will work for the first few months, or I guess six to twelve months perhaps. His basic requirements are to facilitate Point of Sale, to maintain a list of products to store cost and sell price for the products to produce invoices to maintain a list of customers (he will also support cash sales of course) he does not want or need integrated accounts at this stage, that is being handled separately by another small accounts package. Finally, his units of product are boxes of tiles, and each box covers a certain square meters or square yards. So, we would like to be able to enter square meters and the system will automatically tell him how many boxes he required to sell. I have not googled it yet, but I thought I would ask here, just in case one of you have a ready made solution sitting on a disk somewhere. Finally, I should mention in advance that he is trying to keep his budget to a minimum. Thanks for your attention, Mark Breen From prosoft6 at hotmail.com Thu Aug 23 11:33:20 2007 From: prosoft6 at hotmail.com (Julie Taylor) Date: Thu, 23 Aug 2007 12:33:20 -0400 Subject: [AccessD] Point of Sale software for Tile Shop In-Reply-To: References: Message-ID: What about Quickbooks? They make a POS system that integrates with their package. Julie Reardon PRO-SOFT of NY, Inc. 44 Public Square, Suite 5 Watertown, NY 13601 Phone: 315.785.0319 Fax: 315.785.0323 NYS IT Contract#CMT026A NYS Certified Woman-Owned Business www.pro-soft.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Breen Sent: Thursday, August 23, 2007 12:05 PM To: Access Developers discussion and problem solving Subject: [AccessD] Point of Sale software for Tile Shop Hello All, A good friend of mine is opening a new shop selling floor and wall tiles. He has asked me whether I know of a package that will work for the first few months, or I guess six to twelve months perhaps. His basic requirements are to facilitate Point of Sale, to maintain a list of products to store cost and sell price for the products to produce invoices to maintain a list of customers (he will also support cash sales of course) he does not want or need integrated accounts at this stage, that is being handled separately by another small accounts package. Finally, his units of product are boxes of tiles, and each box covers a certain square meters or square yards. So, we would like to be able to enter square meters and the system will automatically tell him how many boxes he required to sell. I have not googled it yet, but I thought I would ask here, just in case one of you have a ready made solution sitting on a disk somewhere. Finally, I should mention in advance that he is trying to keep his budget to a minimum. Thanks for your attention, Mark Breen -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Thu Aug 23 11:47:27 2007 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 23 Aug 2007 09:47:27 -0700 Subject: [AccessD] Query Criteria problem In-Reply-To: Message-ID: <180F8FDFBD254F1E96356D5D23186AE0@creativesystemdesigns.com> Hi Charlotte: The war has already been won... global variables are just fine and this discussion should never again be brought up in polite company. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, August 23, 2007 8:06 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Query Criteria problem Hmmn ... Global variables = another war! LOL Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Wednesday, August 22, 2007 5:31 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Query Criteria problem Y yo tambien. I might also say that you can pass values between forms and between code modules as well. You do need to be careful though as these turn into "global variables" and we all know what THAT means. ;-) John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Wednesday, August 22, 2007 6:51 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Query Criteria problem I would like to add one thing to this discussion of static functions. What I dislike about form references embedded in queries is that the form must be open in order to run the query | report | form that depends on them. With static functions, I can set the value(s) of concern from the immediate window then run the query | report | form without issues. That's why I love them. Arthur On 8/22/07, Doug Murphy wrote: > > A.D. > > > Thank you for the information. I don't have any reservations with > using static functions in queries and do it when required. I use form > derived values for query criteria since it is easy to do and up to now > it worked. > Since I couldn't seem to understand why this isn't working in this > case I went to the static functions and things are progressing nicely. > I would still like to understand why using form values in a queries > criteria does not work in this project. Actually it is just in a > couple of queries. I am sure there is a reason, I just can't figure > it out. > > I will keep your message in my archive for future reference. > > Thanks again. > > Doug > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of A.D.TEJPAL > Sent: Tuesday, August 21, 2007 11:56 PM > To: Access Developers discussion and problem solving > Cc: A.D.TEJPAL > Subject: Re: [AccessD] Query Criteria problem > > Doug, > > Expressing reservation in use of static functions, you have stated: > "If I use the static function I still have to set it when the form > is updated to hold the value that is already on the form." > > This limitation can be overcome by pulling (instead of > pushing) form's > data into the function, as demonstrated in sample functions named > Fn_CustID() and Fn_EmpID() given below. This ensures that always the > latest value in form's control is returned whenever the function is > called. > > There are certain other strong reasons to prefer use of such > functions, since direct reference to form's controls (in query SQL) > suffers from the following drawbacks: > > (a) For a query with parameters clause, a recordset can not be > created directly via Currentdb.OpenRecordset method. Leads to Error > 3061 (Too few parameters. Expected 1). > > (b) Action query with parameters clause can not be run directly > via Currentdb.Execute method. Leads to Error 3061 (Too few parameters. > Expected > 1). > > A self contained note on the subject is placed below, for ready > reference. > > Best wishes, > A.D.Tejpal > --------------- > > Queries using form based values > (Use of functions in lieu of parameters) =========================== > > 1 - Use of parameters in queries suffers from following limitations: > > 1.1 - For a query with parameters clause, a recordset can not > be created directly via Currentdb.OpenRecordset method. Leads to Error > 3061 (Too few parameters. Expected 1). > > 1.2 - Action query with parameters clause can not be run > directly via Currentdb.Execute method. Leads to Error 3061 (Too few parameters. > Expected 1). > > 1.3 - Parameter clause can not be too long (there are reports > of problems encountered on Windows Vista, if it is beyond 63 characters). > An extract from a post (Jul-2007) by Allen Brown in one of the news > groups, is placed below: > "Paul Overway alerted me to this bug, which occurs only under > Access 2000 - 2003 on Windows Vista. If a parameter name exceeds 63 > characters, and your code refers to the parameter of the QueryDef by > name, the code fails with Access Error 3000, reporting: Reserved Error > -1038. There is no message for this error." > > 1.4 - Confusion in dealing with Null value, if data type has > been explicitly declared as text - in parameters clause of the query. > (This anamoly was brought up in one of Allen Browne's posts in July 2007). > > 2 - Suggested Universal Remedy: > > 2.1 - The limitations outlined above can be overcome by > replacing form based parameters with user defined functions. > > 2.2 - As an illustration, functions Fn_CustID() returning text > type, and Fn_EmpID() returning number type, are given below. These > functions grab the values entered in relevant controls (TxtCustomerID > and TxtEmployeeID > respectively) on the target form (Form1). > > 2.3 - Use of functions in this manner greatly simplifies the > SQL, at the same time getting rid of parameters clause. Sample select > queries Q_CustSelect and Q_EmpSelect, based upon this approach, are > given below. > These have criteria clause based upon CustomerID and EmployeeID fields > respectively. In both cases, if the target text box on the form is > blank, all records get included. > > 2.4 - Sample append query Q_CustEmpAppend, using functions in > lieu of form based parameters, as given below, can be run directly by > using Currentdb.Execute method. > > A.D.Tejpal > --------------- > > Q_CustSelect > (Query Filtered as per CustomerID (text type field)) > =================================== > SELECT Orders.* > FROM Orders > WHERE (Fn_CustID() = "") Or (Orders.CustomerID=Fn_CustID()); > =================================== > > Q_EmpSelect > (Query Filtered as per EmployeeID (number type field)) > =================================== > SELECT Orders.* > FROM Orders > WHERE (Fn_EmpID() = 0) Or (Orders.EmployeeID=Fn_EmpID()); > =================================== > > Q_CustEmpAppend > =================================== > INSERT INTO Orders ( CustomerID, EmployeeID ) VALUES (Fn_CustID(), > Fn_EmpID()); =================================== > > Fn_CustID() > =================================== > Function Fn_CustID() As String > On Error Resume Next > Dim Rtv As String > > Rtv = Nz(Forms("Form1")("TxtCustomerID"), "") > Fn_CustID = Rtv > On Error GoTo 0 > End Function > =================================== > > Fn_EmpID() > =================================== > Function Fn_EmpID() As Long > On Error Resume Next > Dim Rtv As Long > > Rtv = Nz(Forms("Form1")("TxtEmployeeID"), 0) > Fn_EmpID = Rtv > On Error GoTo 0 > End Function > =================================== > > ----- Original Message ----- > From: Doug Murphy > To: 'Access Developers discussion and problem solving' > Sent: Wednesday, August 22, 2007 03:16 > Subject: Re: [AccessD] Query Criteria problem > > > Hi Arthur, > > I use static functions where they make sense but in this case I > should be, and have always been, able to just refer to the value of a > control on an open form. If I use the static function I still have to > set it when the > form is updated to hold the value that is already on the form. I was > looking for a reason why am am getting this error. I like to > understand why things happen. > > If I can't figure this out I may go with your suggestion just to get > this > done, but I won't feel comfortable that the original problem is still > lurking. > > Doug > > << SNIP >> > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 23 11:46:11 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 23 Aug 2007 09:46:11 -0700 Subject: [AccessD] Query Criteria problem In-Reply-To: <180F8FDFBD254F1E96356D5D23186AE0@creativesystemdesigns.com> References: <180F8FDFBD254F1E96356D5D23186AE0@creativesystemdesigns.com> Message-ID: That's right, fan the flames!! LOL Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, August 23, 2007 9:47 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Query Criteria problem Hi Charlotte: The war has already been won... global variables are just fine and this discussion should never again be brought up in polite company. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, August 23, 2007 8:06 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Query Criteria problem Hmmn ... Global variables = another war! LOL Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Wednesday, August 22, 2007 5:31 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Query Criteria problem Y yo tambien. I might also say that you can pass values between forms and between code modules as well. You do need to be careful though as these turn into "global variables" and we all know what THAT means. ;-) John W. Colby Colby Consulting www.ColbyConsulting.com From jwcolby at colbyconsulting.com Thu Aug 23 11:54:51 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 23 Aug 2007 12:54:51 -0400 Subject: [AccessD] Query Criteria problem In-Reply-To: Message-ID: <20070823165537.61C65BD9B@smtp-auth.no-ip.com> Whooo boy, he's itchin for a fight eh? John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, August 23, 2007 12:46 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Query Criteria problem That's right, fan the flames!! LOL Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, August 23, 2007 9:47 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Query Criteria problem Hi Charlotte: The war has already been won... global variables are just fine and this discussion should never again be brought up in polite company. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, August 23, 2007 8:06 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Query Criteria problem Hmmn ... Global variables = another war! LOL Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Wednesday, August 22, 2007 5:31 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Query Criteria problem Y yo tambien. I might also say that you can pass values between forms and between code modules as well. You do need to be careful though as these turn into "global variables" and we all know what THAT means. ;-) John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From carbonnb at gmail.com Thu Aug 23 12:29:01 2007 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Thu, 23 Aug 2007 13:29:01 -0400 Subject: [AccessD] Query Criteria problem In-Reply-To: References: <180F8FDFBD254F1E96356D5D23186AE0@creativesystemdesigns.com> Message-ID: On 8/23/07, Charlotte Foust wrote: > That's right, fan the flames!! LOL Hmmm, is that gasoline that I smell? :) -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" From prosoft6 at hotmail.com Thu Aug 23 12:47:51 2007 From: prosoft6 at hotmail.com (Julie Taylor) Date: Thu, 23 Aug 2007 13:47:51 -0400 Subject: [AccessD] Limit number of records In-Reply-To: References: <180F8FDFBD254F1E96356D5D23186AE0@creativesystemdesigns.com> Message-ID: HI, I know that I have in the past sent a demo out limiting the number of records that can be input. It seems that I have misplaced the code............. I have autonumbers as key fields on a lot of the tables. A validation rule would be a simple fix, but Autonumber fields do not have validation rules. Anyone have a suggestion? Julie Reardon PRO-SOFT of NY, Inc. 44 Public Square, Suite 5 Watertown, NY 13601 Phone: 315.785.0319 Fax: 315.785.0323 NYS IT Contract#CMT026A NYS Certified Woman-Owned Business www.pro-soft.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bryan Carbonnell Sent: Thursday, August 23, 2007 1:29 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Query Criteria problem On 8/23/07, Charlotte Foust wrote: > That's right, fan the flames!! LOL Hmmm, is that gasoline that I smell? :) -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at gmail.com Thu Aug 23 13:04:34 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Thu, 23 Aug 2007 14:04:34 -0400 Subject: [AccessD] Limit number of records In-Reply-To: References: <180F8FDFBD254F1E96356D5D23186AE0@creativesystemdesigns.com> Message-ID: <003701c7e5b0$10742380$048e01c7@SusanOne> Count(*) = totoalnumberofrecords??? Susan H. HI, I know that I have in the past sent a demo out limiting the number of records that can be input. It seems that I have misplaced the code............. I have autonumbers as key fields on a lot of the tables. A validation rule would be a simple fix, but Autonumber fields do not have validation rules. Anyone have a suggestion? From prosoft6 at hotmail.com Thu Aug 23 13:21:55 2007 From: prosoft6 at hotmail.com (Julie Taylor) Date: Thu, 23 Aug 2007 14:21:55 -0400 Subject: [AccessD] Limit number of records In-Reply-To: <003701c7e5b0$10742380$048e01c7@SusanOne> References: <180F8FDFBD254F1E96356D5D23186AE0@creativesystemdesigns.com> <003701c7e5b0$10742380$048e01c7@SusanOne> Message-ID: Hi Susan, This feels like kind of cheating...........I went into the main queries, limited the number of records to the top 5, then saved each query, created an mde and deployed the application using the developer extensions. Worked great. Now the application will only show 5 records. Julie Reardon PRO-SOFT of NY, Inc. 44 Public Square, Suite 5 Watertown, NY 13601 Phone: 315.785.0319 Fax: 315.785.0323 NYS IT Contract#CMT026A NYS Certified Woman-Owned Business www.pro-soft.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Thursday, August 23, 2007 2:05 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Limit number of records Count(*) = totoalnumberofrecords??? Susan H. HI, I know that I have in the past sent a demo out limiting the number of records that can be input. It seems that I have misplaced the code............. I have autonumbers as key fields on a lot of the tables. A validation rule would be a simple fix, but Autonumber fields do not have validation rules. Anyone have a suggestion? -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at gmail.com Thu Aug 23 13:54:14 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Thu, 23 Aug 2007 14:54:14 -0400 Subject: [AccessD] Limit number of records In-Reply-To: References: <180F8FDFBD254F1E96356D5D23186AE0@creativesystemdesigns.com><003701c7e5b0$10742380$048e01c7@SusanOne> Message-ID: <004501c7e5b7$00eee2e0$048e01c7@SusanOne> Whatever works. :) Susan H. Hi Susan, This feels like kind of cheating...........I went into the main queries, limited the number of records to the top 5, then saved each query, created an mde and deployed the application using the developer extensions. Worked great. Now the application will only show 5 records. From adtp at airtelbroadband.in Thu Aug 23 14:15:03 2007 From: adtp at airtelbroadband.in (A.D.TEJPAL) Date: Fri, 24 Aug 2007 00:45:03 +0530 Subject: [AccessD] Query Criteria problem References: <180F8FDFBD254F1E96356D5D23186AE0@creativesystemdesigns.com> Message-ID: <01f801c7e5ba$286c4350$ec57a27a@pcadt> Queries using form based values (Use of functions in lieu of parameters) =========================== Generic function grabbing values from form controls offers the benefit of global nature without using global variables. It accepts two arguments - form's name & control's name. There is no dependence upon any event related to form or control (e.g. form's current event or control's update event). Whenever called, the value returned by such a function always conforms to the current status of form control. Even if the form is not open, the query will not fail, as the function returns the default value (zero length string for text type data and zero value for number type data). Similar is the case if the control in question happens to be blank. Sample generic functions named Fn_TextData() for text type data and Fn_NumberData() for number type data, are given below. Benefits of using such functions in queries, in lieu of direct form based parameters, have already been brought out in my previous post (dated 22-Aug-2007). A.D.Tejpal --------------- Fn_TextData() =================================== Function Fn_TextData( _ Formname As String, _ ControlName As String) As String On Error Resume Next Dim Rtv As String Rtv = Nz(Forms(Formname)(ControlName), "") Fn_TextData = Rtv On Error GoTo 0 End Function =================================== Fn_NumberData() =================================== Function Fn_NumberData( _ Formname As String, _ ControlName As String) As Long On Error Resume Next Dim Rtv As Long Rtv = Nz(Forms(Formname)(ControlName), 0) Fn_NumberData = Rtv On Error GoTo 0 End Function =================================== ----- Original Message ----- From: jwcolby To: 'Access Developers discussion and problem solving' Sent: Thursday, August 23, 2007 22:24 Subject: Re: [AccessD] Query Criteria problem Whooo boy, he's itchin for a fight eh? John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, August 23, 2007 12:46 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Query Criteria problem That's right, fan the flames!! LOL Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, August 23, 2007 9:47 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Query Criteria problem Hi Charlotte: The war has already been won... global variables are just fine and this discussion should never again be brought up in polite company. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, August 23, 2007 8:06 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Query Criteria problem Hmmn ... Global variables = another war! LOL Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Wednesday, August 22, 2007 5:31 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Query Criteria problem Y yo tambien. I might also say that you can pass values between forms and between code modules as well. You do need to be careful though as these turn into "global variables" and we all know what THAT means. ;-) John W. Colby Colby Consulting www.ColbyConsulting.com From jwcolby at colbyconsulting.com Thu Aug 23 14:37:39 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 23 Aug 2007 15:37:39 -0400 Subject: [AccessD] Query Criteria problem In-Reply-To: <01f801c7e5ba$286c4350$ec57a27a@pcadt> Message-ID: <20070823193824.A8BCABF64@smtp-auth.no-ip.com> A.D. That certainly works. The downside is that to see data you have to have a form open, and you have to cause the form to display the values you want pulled in to your function. Using a static function where the form pushes its value in to the function allows the query to work even if the form is not open, or even if the form has never been opened - just push the values to the function manually. Of course you are correct, the form does have to "push" the right value into the function somehow. It is not difficult to do that however and I prefer the flexibility to be able to "push" whatever values I please for testing purposes without having to have a form open and muck around getting the form to set the values I want to test. For error testing (setting values that the form is not SUPPOSED to push) this is much easier with my static functions. Pros and cons of course. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of A.D.TEJPAL Sent: Thursday, August 23, 2007 3:15 PM To: Access Developers discussion and problem solving Cc: A.D.TEJPAL Subject: Re: [AccessD] Query Criteria problem Queries using form based values (Use of functions in lieu of parameters) =========================== Generic function grabbing values from form controls offers the benefit of global nature without using global variables. It accepts two arguments - form's name & control's name. There is no dependence upon any event related to form or control (e.g. form's current event or control's update event). Whenever called, the value returned by such a function always conforms to the current status of form control. Even if the form is not open, the query will not fail, as the function returns the default value (zero length string for text type data and zero value for number type data). Similar is the case if the control in question happens to be blank. Sample generic functions named Fn_TextData() for text type data and Fn_NumberData() for number type data, are given below. Benefits of using such functions in queries, in lieu of direct form based parameters, have already been brought out in my previous post (dated 22-Aug-2007). A.D.Tejpal --------------- Fn_TextData() =================================== Function Fn_TextData( _ Formname As String, _ ControlName As String) As String On Error Resume Next Dim Rtv As String Rtv = Nz(Forms(Formname)(ControlName), "") Fn_TextData = Rtv On Error GoTo 0 End Function =================================== Fn_NumberData() =================================== Function Fn_NumberData( _ Formname As String, _ ControlName As String) As Long On Error Resume Next Dim Rtv As Long Rtv = Nz(Forms(Formname)(ControlName), 0) Fn_NumberData = Rtv On Error GoTo 0 End Function =================================== ----- Original Message ----- From: jwcolby To: 'Access Developers discussion and problem solving' Sent: Thursday, August 23, 2007 22:24 Subject: Re: [AccessD] Query Criteria problem Whooo boy, he's itchin for a fight eh? John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, August 23, 2007 12:46 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Query Criteria problem That's right, fan the flames!! LOL Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, August 23, 2007 9:47 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Query Criteria problem Hi Charlotte: The war has already been won... global variables are just fine and this discussion should never again be brought up in polite company. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, August 23, 2007 8:06 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Query Criteria problem Hmmn ... Global variables = another war! LOL Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Wednesday, August 22, 2007 5:31 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Query Criteria problem Y yo tambien. I might also say that you can pass values between forms and between code modules as well. You do need to be careful though as these turn into "global variables" and we all know what THAT means. ;-) John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From adtp at airtelbroadband.in Fri Aug 24 00:00:06 2007 From: adtp at airtelbroadband.in (A.D.TEJPAL) Date: Fri, 24 Aug 2007 10:30:06 +0530 Subject: [AccessD] Query Criteria problem References: <20070823193824.A8BCABF64@smtp-auth.no-ip.com> Message-ID: <013f01c7e60b$cec25720$ec57a27a@pcadt> John, I agree. The situation in hand and stage of project would determine the best suited course of action. At developmental stage, while testing for errors & projected results, without having to necessarily open the relevant forms, the method using a multitude of variables might prove convenient. For normal use, where the user prefers to get the results as per values manually entered or selected on a form, the other method, where the function grabs the required value directly from a form control, has its advantages. Both the above alternatives get rid of direct form based parameters in a query, thus overcoming the attendant drawbacks. Best wishes, A.D.Tejpal --------------- ----- Original Message ----- From: jwcolby To: 'Access Developers discussion and problem solving' Sent: Friday, August 24, 2007 01:07 Subject: Re: [AccessD] Query Criteria problem A.D. That certainly works. The downside is that to see data you have to have a form open, and you have to cause the form to display the values you want pulled in to your function. Using a static function where the form pushes its value in to the function allows the query to work even if the form is not open, or even if the form has never been opened - just push the values to the function manually. Of course you are correct, the form does have to "push" the right value into the function somehow. It is not difficult to do that however and I prefer the flexibility to be able to "push" whatever values I please for testing purposes without having to have a form open and muck around getting the form to set the values I want to test. For error testing (setting values that the form is not SUPPOSED to push) this is much easier with my static functions. Pros and cons of course. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of A.D.TEJPAL Sent: Thursday, August 23, 2007 3:15 PM To: Access Developers discussion and problem solving Cc: A.D.TEJPAL Subject: Re: [AccessD] Query Criteria problem Queries using form based values (Use of functions in lieu of parameters) =========================== Generic function grabbing values from form controls offers the benefit of global nature without using global variables. It accepts two arguments - form's name & control's name. There is no dependence upon any event related to form or control (e.g. form's current event or control's update event). Whenever called, the value returned by such a function always conforms to the current status of form control. Even if the form is not open, the query will not fail, as the function returns the default value (zero length string for text type data and zero value for number type data). Similar is the case if the control in question happens to be blank. Sample generic functions named Fn_TextData() for text type data and Fn_NumberData() for number type data, are given below. Benefits of using such functions in queries, in lieu of direct form based parameters, have already been brought out in my previous post (dated 22-Aug-2007). A.D.Tejpal --------------- Fn_TextData() =================================== Function Fn_TextData( _ Formname As String, _ ControlName As String) As String On Error Resume Next Dim Rtv As String Rtv = Nz(Forms(Formname)(ControlName), "") Fn_TextData = Rtv On Error GoTo 0 End Function =================================== Fn_NumberData() =================================== Function Fn_NumberData( _ Formname As String, _ ControlName As String) As Long On Error Resume Next Dim Rtv As Long Rtv = Nz(Forms(Formname)(ControlName), 0) Fn_NumberData = Rtv On Error GoTo 0 End Function =================================== From askolits at nni.com Fri Aug 24 07:50:42 2007 From: askolits at nni.com (John Skolits) Date: Fri, 24 Aug 2007 08:50:42 -0400 Subject: [AccessD] Newer Common Dialog Box In-Reply-To: <013f01c7e60b$cec25720$ec57a27a@pcadt> References: <20070823193824.A8BCABF64@smtp-auth.no-ip.com> <013f01c7e60b$cec25720$ec57a27a@pcadt> Message-ID: <005901c7e64d$61a063c0$0f01a8c0@officexp> I posted this a while back and never heard back from anyone. I've been using comdlg32.ocx for years. Now I would like to use the newer one I see when I try to open a file using something like Word 2002. Anyone have code for the new common dialog? John Skolits From Lambert.Heenan at AIG.com Fri Aug 24 08:48:52 2007 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Fri, 24 Aug 2007 09:48:52 -0400 Subject: [AccessD] Newer Common Dialog Box Message-ID: <34C8A2AB1EF3564CB0D64DB6AFFDD5C208ED6EE8@XLIVMBX35bkup.aig.com> Try here... http://www.mvps.org/access/api/api0001.htm ... Looks like a lot of code, but of course once it's in a module you can just call it. I also have a modification of this that puts it in a Class. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Skolits Sent: Friday, August 24, 2007 8:51 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Newer Common Dialog Box I posted this a while back and never heard back from anyone. I've been using comdlg32.ocx for years. Now I would like to use the newer one I see when I try to open a file using something like Word 2002. Anyone have code for the new common dialog? John Skolits -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From fuller.artful at gmail.com Fri Aug 24 09:10:14 2007 From: fuller.artful at gmail.com (Arthur Fuller) Date: Fri, 24 Aug 2007 10:10:14 -0400 Subject: [AccessD] A couple of Excel questions Message-ID: <29f585dd0708240710h70824400mc9b46cb1c910462f@mail.gmail.com> Forgive the double-post. I wasn't sure whether this belongs on dba-Tech or if it's ok here. 1. When I change column widths on one sheet, it seems to change them on all sheets. Can't I affect only one sheet? 2. On one of my sheets there is a column that does a VLOOKUP() into another sheet. Except for the relative row number of the lookup value, the formulae are identical down the column. But two lookups fail. There doesn't seem to be anything different about these two. In one case the lookup value is 4431 and the other 11503. I tried switching them to strings and ditto in lookup table, to no avail. Any idea why these two, and only these two out of about 80 lookups, fail? TIA, Arthur From dwaters at usinternet.com Fri Aug 24 09:36:33 2007 From: dwaters at usinternet.com (Dan Waters) Date: Fri, 24 Aug 2007 09:36:33 -0500 Subject: [AccessD] A couple of Excel questions In-Reply-To: <29f585dd0708240710h70824400mc9b46cb1c910462f@mail.gmail.com> References: <29f585dd0708240710h70824400mc9b46cb1c910462f@mail.gmail.com> Message-ID: <001301c7e65c$2aef8b30$0200a8c0@danwaters> Hi Arthur, I couldn't duplicate your #1 issue - what steps are you going through to change column width? On #2 I have to pass! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Friday, August 24, 2007 9:10 AM To: Access Developers discussion and problem solving; Discussion of Hardware and Software issues Subject: [AccessD] A couple of Excel questions Forgive the double-post. I wasn't sure whether this belongs on dba-Tech or if it's ok here. 1. When I change column widths on one sheet, it seems to change them on all sheets. Can't I affect only one sheet? 2. On one of my sheets there is a column that does a VLOOKUP() into another sheet. Except for the relative row number of the lookup value, the formulae are identical down the column. But two lookups fail. There doesn't seem to be anything different about these two. In one case the lookup value is 4431 and the other 11503. I tried switching them to strings and ditto in lookup table, to no avail. Any idea why these two, and only these two out of about 80 lookups, fail? TIA, Arthur -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Donald.A.McGillivray at sprint.com Fri Aug 24 09:39:03 2007 From: Donald.A.McGillivray at sprint.com (McGillivray, Don [IT]) Date: Fri, 24 Aug 2007 09:39:03 -0500 Subject: [AccessD] A couple of Excel questions In-Reply-To: <29f585dd0708240710h70824400mc9b46cb1c910462f@mail.gmail.com> References: <29f585dd0708240710h70824400mc9b46cb1c910462f@mail.gmail.com> Message-ID: Arthur, I've seen behavior 1 only when I've multi-selected sheets in a book. IOW, if both sheets are selected. Is that the case for you? (Ctrl+Shift+PgDn(Up) will select the current sheet and its adjacent one, or hold shift while selecting tabs.) If this is not the case, I'm afraid I'm not much help. As for 2, is your lookup table sorted according to values in the index column? If you set the "RangeLookup" flag to False (the default), the values in that column need to be sorted in ascending order. If the "RangeLookup" flag is set to True, Vlookup will return an approximate match, and the values needn't be sorted. Beware that multiple occurrences of the same value in your lookup index may cause unexpected results. I hope this helps . . . Don -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Friday, August 24, 2007 7:10 AM To: Access Developers discussion and problem solving; Discussion of Hardware and Software issues Subject: [AccessD] A couple of Excel questions Forgive the double-post. I wasn't sure whether this belongs on dba-Tech or if it's ok here. 1. When I change column widths on one sheet, it seems to change them on all sheets. Can't I affect only one sheet? 2. On one of my sheets there is a column that does a VLOOKUP() into another sheet. Except for the relative row number of the lookup value, the formulae are identical down the column. But two lookups fail. There doesn't seem to be anything different about these two. In one case the lookup value is 4431 and the other 11503. I tried switching them to strings and ditto in lookup table, to no avail. Any idea why these two, and only these two out of about 80 lookups, fail? TIA, Arthur -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From fuller.artful at gmail.com Fri Aug 24 09:52:25 2007 From: fuller.artful at gmail.com (Arthur Fuller) Date: Fri, 24 Aug 2007 10:52:25 -0400 Subject: [AccessD] A couple of Excel questions In-Reply-To: References: <29f585dd0708240710h70824400mc9b46cb1c910462f@mail.gmail.com> Message-ID: <29f585dd0708240752u7bbc7653x63f042a6afc00cfe@mail.gmail.com> Don, 1. Aha! I think that you've hit the bullseye. I didn't realize that Ctrl+PgUp|Dn multi-selected the sheets. I've just been using it as a simple navigation method, because with 50 sheets in the book, clicking takes way too long. Well, now I know! Thanks a bunch. 2. I think you're right again. I've been passing False as the last argument to VLOOKUP. I'll try it both ways, passing True and sorting the table, to see if there is any difference. Thanks much, Don. A. On 8/24/07, McGillivray, Don [IT] wrote: > > Arthur, > > I've seen behavior 1 only when I've multi-selected sheets in a book. IOW, > if both sheets are selected. Is that the case for > you? (Ctrl+Shift+PgDn(Up) will select the current sheet and its adjacent > one, or hold shift while selecting tabs.) If this is not the case, I'm > afraid I'm not much help. > > As for 2, is your lookup table sorted according to values in the index > column? If you set the "RangeLookup" flag to False (the default), the > values in that column need to be sorted in ascending order. If the > "RangeLookup" flag is set to True, Vlookup will return an approximate match, > and the values needn't be sorted. Beware that multiple occurrences of the > same value in your lookup index may cause unexpected results. > > I hope this helps . . . > > Don > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto: > accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller > Sent: Friday, August 24, 2007 7:10 AM > To: Access Developers discussion and problem solving; Discussion of > Hardware and Software issues > Subject: [AccessD] A couple of Excel questions > > Forgive the double-post. I wasn't sure whether this belongs on dba-Tech or > if it's ok here. > > > 1. When I change column widths on one sheet, it seems to change them on > all > sheets. Can't I affect only one sheet? > 2. On one of my sheets there is a column that does a VLOOKUP() into > another > sheet. Except for the relative row number of the lookup value, the > formulae > are identical down the column. But two lookups fail. There doesn't seem to > be anything different about these two. In one case the lookup value is > 4431 > and the other 11503. I tried switching them to strings and ditto in lookup > table, to no avail. Any idea why these two, and only these two out of > about > 80 lookups, fail? > > 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 Donald.A.McGillivray at sprint.com Fri Aug 24 09:57:07 2007 From: Donald.A.McGillivray at sprint.com (McGillivray, Don [IT]) Date: Fri, 24 Aug 2007 09:57:07 -0500 Subject: [AccessD] A couple of Excel questions In-Reply-To: References: <29f585dd0708240710h70824400mc9b46cb1c910462f@mail.gmail.com> Message-ID: Oops, looks like the default for RangeLookup is True. Check the help in Excel for a clearer description of this flag's function. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of McGillivray, Don [IT] Sent: Friday, August 24, 2007 7:39 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] A couple of Excel questions Arthur, I've seen behavior 1 only when I've multi-selected sheets in a book. IOW, if both sheets are selected. Is that the case for you? (Ctrl+Shift+PgDn(Up) will select the current sheet and its adjacent one, or hold shift while selecting tabs.) If this is not the case, I'm afraid I'm not much help. As for 2, is your lookup table sorted according to values in the index column? If you set the "RangeLookup" flag to False (the default), the values in that column need to be sorted in ascending order. If the "RangeLookup" flag is set to True, Vlookup will return an approximate match, and the values needn't be sorted. Beware that multiple occurrences of the same value in your lookup index may cause unexpected results. I hope this helps . . . Don -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Friday, August 24, 2007 7:10 AM To: Access Developers discussion and problem solving; Discussion of Hardware and Software issues Subject: [AccessD] A couple of Excel questions Forgive the double-post. I wasn't sure whether this belongs on dba-Tech or if it's ok here. 1. When I change column widths on one sheet, it seems to change them on all sheets. Can't I affect only one sheet? 2. On one of my sheets there is a column that does a VLOOKUP() into another sheet. Except for the relative row number of the lookup value, the formulae are identical down the column. But two lookups fail. There doesn't seem to be anything different about these two. In one case the lookup value is 4431 and the other 11503. I tried switching them to strings and ditto in lookup table, to no avail. Any idea why these two, and only these two out of about 80 lookups, fail? 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 Patricia.O'Connor at otda.state.ny.us Fri Aug 24 10:47:23 2007 From: Patricia.O'Connor at otda.state.ny.us (O'Connor, Patricia (OTDA)) Date: Fri, 24 Aug 2007 11:47:23 -0400 Subject: [AccessD] A2k form control undo In-Reply-To: <001b01c77144$ace71a50$657aa8c0@m6805> References: <002101c77143$43009e50$0201a8c0@HAL9005> <001b01c77144$ace71a50$657aa8c0@m6805> Message-ID: <01DBAB52E30A9A4AB3D94EF8029EDBE8021BAF7E@EXCNYSM0A1AI.nysemail.nyenet> When I try to undo a control the original text does not display in the control on the form. I have even tried to repaint the form but that doesn't help.. Also if the person does select another file - the new file name will not show up on form even after the AFTER_UPDATE Thanks ************************************************** * Patricia O'Connor * Associate Computer Programmer Analyst * OTDA - BDMA * (W) mailto:Patricia.O'Connor at otda.state.ny.us * (w) mailto:aa1160 at nysemail.state.ny.us ************************************************** Private Sub strFileNm_BeforeUpdate(Cancel As Integer) Dim myPath As String strFilter = "Rpt Files(*Bic*.txt; *.txt)" & vbNullChar & "*RPT*.txt;*.TXT;*.DOC;*.XLS" myPath = strFileNm If IsNull(strFileNm.text) Or strFileNm.text = "" Then GoTo strFileNm_BeforeUpdate_GetFile ElseIf Not (Len(Dir$(myPath)) > 0) Then If MsgBox("This file not found " & vbLf & strFileNm & vbLf & _ "Do you want to Search?", vbYesNo, "RPT File Name") = vbYES Then GoTo strFileNm_BeforeUpdate_GetFile Else Cancel = True 'Me.strFileNm.Undo 'Tried both these 'Me!strFileNm.Undo strFileNm.Undo Me.Repaint 'added this - still does not show original value Exit Sub End If End If Exit Sub strFileNm_BeforeUpdate_GetFile: myPath = tsGetFileFromUser(, gstrPPathFTP, strFilter, , "txt", , "RPT Import Files", True) If IsNull(myPath) Then Cancel = True Me.strFileNm.Undo Exit Sub End If End Sub -------------------------------------------------------- This e-mail, including any attachments, may be confidential, privileged or otherwise legally protected. It is intended only for the addressee. If you received this e-mail in error or from someone who was not authorized to send it to you, do not disseminate, copy or otherwise use this e-mail or its attachments. Please notify the sender immediately by reply e-mail and delete the e-mail from your system. From cfoust at infostatsystems.com Fri Aug 24 11:03:10 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 24 Aug 2007 09:03:10 -0700 Subject: [AccessD] A2k form control undo In-Reply-To: <01DBAB52E30A9A4AB3D94EF8029EDBE8021BAF7E@EXCNYSM0A1AI.nysemail.nyenet> References: <002101c77143$43009e50$0201a8c0@HAL9005><001b01c77144$ace71a50$657aa8c0@m6805> <01DBAB52E30A9A4AB3D94EF8029EDBE8021BAF7E@EXCNYSM0A1AI.nysemail.nyenet> Message-ID: If this is unbound, there isn't a value to return to. I usually handle that by assigning the initial value to a variable or to the control's tag property so I can simply reset the control to that value if they cancel. As for your second question, I don't see any code assigning myPath to the strFileNm control. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of O'Connor, Patricia (OTDA) Sent: Friday, August 24, 2007 8:47 AM To: Access Developers discussion and problem solving Subject: [AccessD] A2k form control undo When I try to undo a control the original text does not display in the control on the form. I have even tried to repaint the form but that doesn't help.. Also if the person does select another file - the new file name will not show up on form even after the AFTER_UPDATE Thanks ************************************************** * Patricia O'Connor * Associate Computer Programmer Analyst * OTDA - BDMA * (W) mailto:Patricia.O'Connor at otda.state.ny.us * (w) mailto:aa1160 at nysemail.state.ny.us ************************************************** Private Sub strFileNm_BeforeUpdate(Cancel As Integer) Dim myPath As String strFilter = "Rpt Files(*Bic*.txt; *.txt)" & vbNullChar & "*RPT*.txt;*.TXT;*.DOC;*.XLS" myPath = strFileNm If IsNull(strFileNm.text) Or strFileNm.text = "" Then GoTo strFileNm_BeforeUpdate_GetFile ElseIf Not (Len(Dir$(myPath)) > 0) Then If MsgBox("This file not found " & vbLf & strFileNm & vbLf & _ "Do you want to Search?", vbYesNo, "RPT File Name") = vbYES Then GoTo strFileNm_BeforeUpdate_GetFile Else Cancel = True 'Me.strFileNm.Undo 'Tried both these 'Me!strFileNm.Undo strFileNm.Undo Me.Repaint 'added this - still does not show original value Exit Sub End If End If Exit Sub strFileNm_BeforeUpdate_GetFile: myPath = tsGetFileFromUser(, gstrPPathFTP, strFilter, , "txt", , "RPT Import Files", True) If IsNull(myPath) Then Cancel = True Me.strFileNm.Undo Exit Sub End If End Sub -------------------------------------------------------- This e-mail, including any attachments, may be confidential, privileged or otherwise legally protected. It is intended only for the addressee. If you received this e-mail in error or from someone who was not authorized to send it to you, do not disseminate, copy or otherwise use this e-mail or its attachments. Please notify the sender immediately by reply e-mail and delete the e-mail from your system. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From askolits at nni.com Fri Aug 24 11:12:09 2007 From: askolits at nni.com (John Skolits) Date: Fri, 24 Aug 2007 12:12:09 -0400 Subject: [AccessD] A good book reference In-Reply-To: References: <29f585dd0708240710h70824400mc9b46cb1c910462f@mail.gmail.com> Message-ID: <014301c7e669$86116530$0f01a8c0@officexp> I have someone who is familiar with programming and wants to learn Access. He doesn't necessarily get into the nitty gritty stuff (VBA and such), but just the basics. I actually had a few books but got rid of them. I now do all my learning on-line (and of course through DatabaseAdvisors!) What book would you guys recommend as a good beginner book for someone with some programming experience? John Skolits From ssharkins at gmail.com Fri Aug 24 11:17:57 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Fri, 24 Aug 2007 12:17:57 -0400 Subject: [AccessD] A good book reference In-Reply-To: <014301c7e669$86116530$0f01a8c0@officexp> References: <29f585dd0708240710h70824400mc9b46cb1c910462f@mail.gmail.com> <014301c7e669$86116530$0f01a8c0@officexp> Message-ID: <002101c7e66a$5acaa3e0$048e01c7@SusanOne> Mike Gunderloy and I wrote a basic VBA book -- Using VBA to Automate Access --- it's full of the basics and has lots of examples. Susan H. I have someone who is familiar with programming and wants to learn Access. He doesn't necessarily get into the nitty gritty stuff (VBA and such), but just the basics. I actually had a few books but got rid of them. I now do all my learning on-line (and of course through DatabaseAdvisors!) What book would you guys recommend as a good beginner book for someone with some programming experience? From cfoust at infostatsystems.com Fri Aug 24 11:22:14 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 24 Aug 2007 09:22:14 -0700 Subject: [AccessD] A good book reference In-Reply-To: <014301c7e669$86116530$0f01a8c0@officexp> References: <29f585dd0708240710h70824400mc9b46cb1c910462f@mail.gmail.com> <014301c7e669$86116530$0f01a8c0@officexp> Message-ID: If he doesn't want to learn VBA and such, One of MS Step By Step books would teach him how to use the UI. I don't see what programming experience has to do with it if he doesn't want to deal with VBA. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Skolits Sent: Friday, August 24, 2007 9:12 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] A good book reference I have someone who is familiar with programming and wants to learn Access. He doesn't necessarily get into the nitty gritty stuff (VBA and such), but just the basics. I actually had a few books but got rid of them. I now do all my learning on-line (and of course through DatabaseAdvisors!) What book would you guys recommend as a good beginner book for someone with some programming experience? John Skolits -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Fri Aug 24 11:29:54 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 24 Aug 2007 12:29:54 -0400 Subject: [AccessD] Deleting system fields Message-ID: <20070824162956.9688DBDA3@smtp-auth.no-ip.com> I have a database that was apparently "replicated" at some time (the button pressed by mistake), then other tables later added that were not replicated. I tried running trigeminal's unreplicator but I think they got confused by the unreplicated fields and said it wasn't replicated and didn't do anything. I tried to delete just the system field S_GUID but was told I can't because it is a system field and I can't do that. The "suggestion" was to rebuild the table by doing a make table without the S_GUID field. I can certainly do that but I have to also break existing relationships, delete the existing data and then recreate the relationships. Is there ANY method of just deleting the S_GUID field? It is doing no damage but it is taking up space, is confusing, and is simply not needed and I would like to get rid of it. John W. Colby Colby Consulting www.ColbyConsulting.com From askolits at nni.com Fri Aug 24 11:30:49 2007 From: askolits at nni.com (John Skolits) Date: Fri, 24 Aug 2007 12:30:49 -0400 Subject: [AccessD] A good book reference In-Reply-To: <002101c7e66a$5acaa3e0$048e01c7@SusanOne> References: <29f585dd0708240710h70824400mc9b46cb1c910462f@mail.gmail.com><014301c7e669$86116530$0f01a8c0@officexp> <002101c7e66a$5acaa3e0$048e01c7@SusanOne> Message-ID: <0a2101c7e66c$21afbc10$0f01a8c0@officexp> I think I heard you guys had written one. ISBN#? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Friday, August 24, 2007 12:18 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] A good book reference Mike Gunderloy and I wrote a basic VBA book -- Using VBA to Automate Access --- it's full of the basics and has lots of examples. Susan H. I have someone who is familiar with programming and wants to learn Access. He doesn't necessarily get into the nitty gritty stuff (VBA and such), but just the basics. I actually had a few books but got rid of them. I now do all my learning on-line (and of course through DatabaseAdvisors!) What book would you guys recommend as a good beginner book for someone with some programming experience? -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Fri Aug 24 11:35:20 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 24 Aug 2007 09:35:20 -0700 Subject: [AccessD] Deleting system fields In-Reply-To: <20070824162956.9688DBDA3@smtp-auth.no-ip.com> References: <20070824162956.9688DBDA3@smtp-auth.no-ip.com> Message-ID: I've never found any but the hard way, John. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Friday, August 24, 2007 9:30 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Deleting system fields I have a database that was apparently "replicated" at some time (the button pressed by mistake), then other tables later added that were not replicated. I tried running trigeminal's unreplicator but I think they got confused by the unreplicated fields and said it wasn't replicated and didn't do anything. I tried to delete just the system field S_GUID but was told I can't because it is a system field and I can't do that. The "suggestion" was to rebuild the table by doing a make table without the S_GUID field. I can certainly do that but I have to also break existing relationships, delete the existing data and then recreate the relationships. Is there ANY method of just deleting the S_GUID field? It is doing no damage but it is taking up space, is confusing, and is simply not needed and I would like to get rid of it. John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From askolits at nni.com Fri Aug 24 11:48:15 2007 From: askolits at nni.com (John Skolits) Date: Fri, 24 Aug 2007 12:48:15 -0400 Subject: [AccessD] Newer Common Dialog Box In-Reply-To: <34C8A2AB1EF3564CB0D64DB6AFFDD5C208ED6EE8@XLIVMBX35bkup.aig.com> References: <34C8A2AB1EF3564CB0D64DB6AFFDD5C208ED6EE8@XLIVMBX35bkup.aig.com> Message-ID: <0a3601c7e66e$90e8b7b0$0f01a8c0@officexp> Thanks! I'll give it a shot. John -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert Sent: Friday, August 24, 2007 9:49 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Newer Common Dialog Box Try here... http://www.mvps.org/access/api/api0001.htm ... Looks like a lot of code, but of course once it's in a module you can just call it. I also have a modification of this that puts it in a Class. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Skolits Sent: Friday, August 24, 2007 8:51 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Newer Common Dialog Box I posted this a while back and never heard back from anyone. I've been using comdlg32.ocx for years. Now I would like to use the newer one I see when I try to open a file using something like Word 2002. Anyone have code for the new common dialog? John Skolits -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dwaters at usinternet.com Fri Aug 24 11:56:38 2007 From: dwaters at usinternet.com (Dan Waters) Date: Fri, 24 Aug 2007 11:56:38 -0500 Subject: [AccessD] A good book reference In-Reply-To: <0a2101c7e66c$21afbc10$0f01a8c0@officexp> References: <29f585dd0708240710h70824400mc9b46cb1c910462f@mail.gmail.com><014301c7e669$86116530$0f01a8c0@officexp><002101c7e66a$5acaa3e0$048e01c7@SusanOne> <0a2101c7e66c$21afbc10$0f01a8c0@officexp> Message-ID: <002001c7e66f$bcc05c70$0200a8c0@danwaters> ISBN = 0789732440 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Skolits Sent: Friday, August 24, 2007 11:31 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] A good book reference I think I heard you guys had written one. ISBN#? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Friday, August 24, 2007 12:18 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] A good book reference Mike Gunderloy and I wrote a basic VBA book -- Using VBA to Automate Access --- it's full of the basics and has lots of examples. Susan H. I have someone who is familiar with programming and wants to learn Access. He doesn't necessarily get into the nitty gritty stuff (VBA and such), but just the basics. I actually had a few books but got rid of them. I now do all my learning on-line (and of course through DatabaseAdvisors!) What book would you guys recommend as a good beginner book for someone with some programming experience? -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From askolits at nni.com Fri Aug 24 11:58:05 2007 From: askolits at nni.com (John Skolits) Date: Fri, 24 Aug 2007 12:58:05 -0400 Subject: [AccessD] Newer Common Dialog Box In-Reply-To: <0a3601c7e66e$90e8b7b0$0f01a8c0@officexp> References: <34C8A2AB1EF3564CB0D64DB6AFFDD5C208ED6EE8@XLIVMBX35bkup.aig.com> <0a3601c7e66e$90e8b7b0$0f01a8c0@officexp> Message-ID: <0a3701c7e66f$f0dd6cf0$0f01a8c0@officexp> That turns out to be the same box I've been using for years. If you run the old version and compare it to the File Open in Word, you'll see the difference. The new one displays "My Places" which can be added to with the Tools option in the dialog box. John Skolits -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Skolits Sent: Friday, August 24, 2007 12:48 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Newer Common Dialog Box Thanks! I'll give it a shot. John -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert Sent: Friday, August 24, 2007 9:49 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Newer Common Dialog Box Try here... http://www.mvps.org/access/api/api0001.htm ... Looks like a lot of code, but of course once it's in a module you can just call it. I also have a modification of this that puts it in a Class. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Skolits Sent: Friday, August 24, 2007 8:51 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Newer Common Dialog Box I posted this a while back and never heard back from anyone. I've been using comdlg32.ocx for years. Now I would like to use the newer one I see when I try to open a file using something like Word 2002. Anyone have code for the new common dialog? John Skolits -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at verizon.net Fri Aug 24 12:05:33 2007 From: jimdettman at verizon.net (Jim Dettman) Date: Fri, 24 Aug 2007 13:05:33 -0400 Subject: [AccessD] Deleting system fields In-Reply-To: References: <20070824162956.9688DBDA3@smtp-auth.no-ip.com> Message-ID: <000301c7e670$fcd91800$8abea8c0@XPS> John, <> Your talking about this? http://trigeminal.com/lang/1033/utility.asp?ItemID=11#11 The only other thing I know you can do is to: 1. Synch all replicas 2. Recover the design master if you don't have it. 3. Then use the unreplicate wizard. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, August 24, 2007 12:35 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Deleting system fields I've never found any but the hard way, John. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Friday, August 24, 2007 9:30 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Deleting system fields I have a database that was apparently "replicated" at some time (the button pressed by mistake), then other tables later added that were not replicated. I tried running trigeminal's unreplicator but I think they got confused by the unreplicated fields and said it wasn't replicated and didn't do anything. I tried to delete just the system field S_GUID but was told I can't because it is a system field and I can't do that. The "suggestion" was to rebuild the table by doing a make table without the S_GUID field. I can certainly do that but I have to also break existing relationships, delete the existing data and then recreate the relationships. Is there ANY method of just deleting the S_GUID field? It is doing no damage but it is taking up space, is confusing, and is simply not needed and I would like to get rid of it. John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Fri Aug 24 12:07:11 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 24 Aug 2007 13:07:11 -0400 Subject: [AccessD] Deleting system fields In-Reply-To: Message-ID: <20070824170714.82D1ABE75@smtp-auth.no-ip.com> OK, then does anyone have prewritten code for logging / deleting / recreating relationships between tables? This is one area I have never delved into. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, August 24, 2007 12:35 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Deleting system fields I've never found any but the hard way, John. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Friday, August 24, 2007 9:30 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Deleting system fields I have a database that was apparently "replicated" at some time (the button pressed by mistake), then other tables later added that were not replicated. I tried running trigeminal's unreplicator but I think they got confused by the unreplicated fields and said it wasn't replicated and didn't do anything. I tried to delete just the system field S_GUID but was told I can't because it is a system field and I can't do that. The "suggestion" was to rebuild the table by doing a make table without the S_GUID field. I can certainly do that but I have to also break existing relationships, delete the existing data and then recreate the relationships. Is there ANY method of just deleting the S_GUID field? It is doing no damage but it is taking up space, is confusing, and is simply not needed and I would like to get rid of it. John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Fri Aug 24 12:16:43 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 24 Aug 2007 13:16:43 -0400 Subject: [AccessD] Deleting system fields In-Reply-To: <000301c7e670$fcd91800$8abea8c0@XPS> Message-ID: <20070824171646.0733BBE97@smtp-auth.no-ip.com> There never was a master or replica. The button was pushed by mistake YEARS ago and (apparently) there was no backup because they left it that way. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Friday, August 24, 2007 1:06 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Deleting system fields John, <> Your talking about this? http://trigeminal.com/lang/1033/utility.asp?ItemID=11#11 The only other thing I know you can do is to: 1. Synch all replicas 2. Recover the design master if you don't have it. 3. Then use the unreplicate wizard. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, August 24, 2007 12:35 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Deleting system fields I've never found any but the hard way, John. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Friday, August 24, 2007 9:30 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Deleting system fields I have a database that was apparently "replicated" at some time (the button pressed by mistake), then other tables later added that were not replicated. I tried running trigeminal's unreplicator but I think they got confused by the unreplicated fields and said it wasn't replicated and didn't do anything. I tried to delete just the system field S_GUID but was told I can't because it is a system field and I can't do that. The "suggestion" was to rebuild the table by doing a make table without the S_GUID field. I can certainly do that but I have to also break existing relationships, delete the existing data and then recreate the relationships. Is there ANY method of just deleting the S_GUID field? It is doing no damage but it is taking up space, is confusing, and is simply not needed and I would like to get rid of it. John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Lambert.Heenan at AIG.com Fri Aug 24 12:21:53 2007 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Fri, 24 Aug 2007 12:21:53 -0500 Subject: [AccessD] Deleting system fields Message-ID: <34C8A2AB1EF3564CB0D64DB6AFFDD5C208ED6EF8@XLIVMBX35bkup.aig.com> But it's still a replica your looking at (by the sound of it). In which case you can 'recover the design master', which simply means you're telling Access 'this here replica IS the design master'. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Friday, August 24, 2007 1:17 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Deleting system fields There never was a master or replica. The button was pushed by mistake YEARS ago and (apparently) there was no backup because they left it that way. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Friday, August 24, 2007 1:06 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Deleting system fields John, <> Your talking about this? http://trigeminal.com/lang/1033/utility.asp?ItemID=11#11 The only other thing I know you can do is to: 1. Synch all replicas 2. Recover the design master if you don't have it. 3. Then use the unreplicate wizard. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, August 24, 2007 12:35 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Deleting system fields I've never found any but the hard way, John. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Friday, August 24, 2007 9:30 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Deleting system fields I have a database that was apparently "replicated" at some time (the button pressed by mistake), then other tables later added that were not replicated. I tried running trigeminal's unreplicator but I think they got confused by the unreplicated fields and said it wasn't replicated and didn't do anything. I tried to delete just the system field S_GUID but was told I can't because it is a system field and I can't do that. The "suggestion" was to rebuild the table by doing a make table without the S_GUID field. I can certainly do that but I have to also break existing relationships, delete the existing data and then recreate the relationships. Is there ANY method of just deleting the S_GUID field? It is doing no damage but it is taking up space, is confusing, and is simply not needed and I would like to get rid of it. John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- 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 24 12:28:09 2007 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Fri, 24 Aug 2007 13:28:09 -0400 Subject: [AccessD] Newer Common Dialog Box Message-ID: <34C8A2AB1EF3564CB0D64DB6AFFDD5C208ED6EFA@XLIVMBX35bkup.aig.com> Oops. Sorry 'bout that. You meant the "Office File Dialog". Here's where you can get the (much simpler) code to use it... http://www.kbalertz.com/288543/Microsoft.Office.FileDialog.Object.aspx Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Skolits Sent: Friday, August 24, 2007 12:58 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Newer Common Dialog Box That turns out to be the same box I've been using for years. If you run the old version and compare it to the File Open in Word, you'll see the difference. The new one displays "My Places" which can be added to with the Tools option in the dialog box. John Skolits -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Skolits Sent: Friday, August 24, 2007 12:48 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Newer Common Dialog Box Thanks! I'll give it a shot. John -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert Sent: Friday, August 24, 2007 9:49 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Newer Common Dialog Box Try here... http://www.mvps.org/access/api/api0001.htm ... Looks like a lot of code, but of course once it's in a module you can just call it. I also have a modification of this that puts it in a Class. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Skolits Sent: Friday, August 24, 2007 8:51 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Newer Common Dialog Box I posted this a while back and never heard back from anyone. I've been using comdlg32.ocx for years. Now I would like to use the newer one I see when I try to open a file using something like Word 2002. Anyone have code for the new common dialog? John Skolits -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Patricia.O'Connor at otda.state.ny.us Fri Aug 24 12:43:54 2007 From: Patricia.O'Connor at otda.state.ny.us (O'Connor, Patricia (OTDA)) Date: Fri, 24 Aug 2007 13:43:54 -0400 Subject: [AccessD] A2k form control undo In-Reply-To: References: <002101c77143$43009e50$0201a8c0@HAL9005><001b01c77144$ace71a50$657aa8c0@m6805><01DBAB52E30A9A4AB3D94EF8029EDBE8021BAF7E@EXCNYSM0A1AI.nysemail.nyenet> Message-ID: <01DBAB52E30A9A4AB3D94EF8029EDBE8021BAF81@EXCNYSM0A1AI.nysemail.nyenet> It is unbound but I did have a DEFAULT value assigned. Will try setting the tag to the default value. The reason I use the myPath is because when I used If Not (Len(Dir$(strFileNm)) > 0) the DIR$ was not working correctly. If the file was not really found it would not go to the GetFile. When I move strFileNm to mypath it works correctly and will go to the GetFile if that file is not found. THANK YOU Patti ************************************************** * Patricia O'Connor * Associate Computer Programmer Analyst * OTDA - BDMA * (W) mailto:Patricia.O'Connor at otda.state.ny.us * (w) mailto:aa1160 at nysemail.state.ny.us ************************************************** ----- Private Sub strFileNm_BeforeUpdate(Cancel As Integer) Dim myPath As String strFilter = "Bic Files(*Bic*.txt; *.txt)" & vbNullChar & "*Bic*.txt;*.TXT;*.DOC;*.XLS" myPath = strFileNm If IsNull(strFileNm.text) Or strFileNm.text = "" Then GoTo strFileNm_BeforeUpdate_GetFile ElseIf Not (Len(Dir$(myPath)) > 0) Then If MsgBox("This file not found " & vbLf & strFileNm & vbLf & _ "Do you want to Search?", vbYesNo, "Bic File Name") = vbYes Then GoTo strFileNm_BeforeUpdate_GetFile Else Cancel = True 'Me.strFileNm.Undo 'Me!strFileNm.Undo strFileNm.Undo Me.Repaint Exit Sub End If End If Exit Sub strFileNm_BeforeUpdate_GetFile: myPath = tsGetFileFromUser(, gstrPPathFTP, strFilter, , "txt", , "Bic Import Files", True) If IsNull(myPath) Then Cancel = True Me.strFileNm.Undo Exit Sub End If End Sub ---------- > -------------------------------------------------------- This e-mail, including any attachments, may be confidential, privileged or otherwise legally protected. It is intended only for the addressee. If you received this e-mail in error or from someone who was not authorized to send it to you, do not disseminate, copy or otherwise use this e-mail or its attachments. Please notify the sender immediately by reply e-mail and delete the e-mail from your system. -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Charlotte Foust > Sent: Friday, August 24, 2007 12:03 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] A2k form control undo > > If this is unbound, there isn't a value to return to. I > usually handle that by assigning the initial value to a > variable or to the control's tag property so I can simply > reset the control to that value if they cancel. As for your > second question, I don't see any code assigning myPath to the > strFileNm control. > > Charlotte Foust > From Patricia.O'Connor at otda.state.ny.us Fri Aug 24 12:45:09 2007 From: Patricia.O'Connor at otda.state.ny.us (O'Connor, Patricia (OTDA)) Date: Fri, 24 Aug 2007 13:45:09 -0400 Subject: [AccessD] Recall: A2k form control undo Message-ID: <01DBAB52E30A9A4AB3D94EF8029EDBE8021BAF82@EXCNYSM0A1AI.nysemail.nyenet> O'Connor, Patricia (OTDA) would like to recall the message, "[AccessD] A2k form control undo". -------------------------------------------------------- This e-mail, including any attachments, may be confidential, privileged or otherwise legally protected. It is intended only for the addressee. If you received this e-mail in error or from someone who was not authorized to send it to you, do not disseminate, copy or otherwise use this e-mail or its attachments. Please notify the sender immediately by reply e-mail and delete the e-mail from your system. From jimdettman at verizon.net Fri Aug 24 12:46:23 2007 From: jimdettman at verizon.net (Jim Dettman) Date: Fri, 24 Aug 2007 13:46:23 -0400 Subject: [AccessD] Deleting system fields In-Reply-To: <20070824171646.0733BBE97@smtp-auth.no-ip.com> References: <000301c7e670$fcd91800$8abea8c0@XPS> <20070824171646.0733BBE97@smtp-auth.no-ip.com> Message-ID: <001601c7e676$b07908c0$8abea8c0@XPS> John, I think this a utility different then the one you tried. This one is used to remove the system columns specifically. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Friday, August 24, 2007 1:17 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Deleting system fields There never was a master or replica. The button was pushed by mistake YEARS ago and (apparently) there was no backup because they left it that way. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Friday, August 24, 2007 1:06 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Deleting system fields John, <> Your talking about this? http://trigeminal.com/lang/1033/utility.asp?ItemID=11#11 The only other thing I know you can do is to: 1. Synch all replicas 2. Recover the design master if you don't have it. 3. Then use the unreplicate wizard. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, August 24, 2007 12:35 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Deleting system fields I've never found any but the hard way, John. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Friday, August 24, 2007 9:30 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Deleting system fields I have a database that was apparently "replicated" at some time (the button pressed by mistake), then other tables later added that were not replicated. I tried running trigeminal's unreplicator but I think they got confused by the unreplicated fields and said it wasn't replicated and didn't do anything. I tried to delete just the system field S_GUID but was told I can't because it is a system field and I can't do that. The "suggestion" was to rebuild the table by doing a make table without the S_GUID field. I can certainly do that but I have to also break existing relationships, delete the existing data and then recreate the relationships. Is there ANY method of just deleting the S_GUID field? It is doing no damage but it is taking up space, is confusing, and is simply not needed and I would like to get rid of it. John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at gmail.com Fri Aug 24 12:52:02 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Fri, 24 Aug 2007 13:52:02 -0400 Subject: [AccessD] A good book reference In-Reply-To: <002001c7e66f$bcc05c70$0200a8c0@danwaters> References: <29f585dd0708240710h70824400mc9b46cb1c910462f@mail.gmail.com><014301c7e669$86116530$0f01a8c0@officexp><002101c7e66a$5acaa3e0$048e01c7@SusanOne><0a2101c7e66c$21afbc10$0f01a8c0@officexp> <002001c7e66f$bcc05c70$0200a8c0@danwaters> Message-ID: <003a01c7e677$7afe6ea0$048e01c7@SusanOne> Cool -- thank you! ;) Susan H. ISBN = 0789732440 From ssharkins at gmail.com Fri Aug 24 12:52:02 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Fri, 24 Aug 2007 13:52:02 -0400 Subject: [AccessD] A good book reference In-Reply-To: References: <29f585dd0708240710h70824400mc9b46cb1c910462f@mail.gmail.com><014301c7e669$86116530$0f01a8c0@officexp> Message-ID: <003b01c7e677$7c0e30f0$048e01c7@SusanOne> Charlotte's right -- the wizards will do a lot. Susan H. If he doesn't want to learn VBA and such, One of MS Step By Step books would teach him how to use the UI. I don't see what programming experience has to do with it if he doesn't want to deal with VBA. From jwcolby at colbyconsulting.com Fri Aug 24 13:11:20 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 24 Aug 2007 14:11:20 -0400 Subject: [AccessD] Deleting system fields In-Reply-To: <001601c7e676$b07908c0$8abea8c0@XPS> Message-ID: <20070824181122.CE0ADBED3@smtp-auth.no-ip.com> What do you mean when you say "THIS is a utility different...". What utility are you referring to? John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Friday, August 24, 2007 1:46 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Deleting system fields John, I think this a utility different then the one you tried. This one is used to remove the system columns specifically. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Friday, August 24, 2007 1:17 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Deleting system fields There never was a master or replica. The button was pushed by mistake YEARS ago and (apparently) there was no backup because they left it that way. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Friday, August 24, 2007 1:06 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Deleting system fields John, <> Your talking about this? http://trigeminal.com/lang/1033/utility.asp?ItemID=11#11 The only other thing I know you can do is to: 1. Synch all replicas 2. Recover the design master if you don't have it. 3. Then use the unreplicate wizard. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, August 24, 2007 12:35 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Deleting system fields I've never found any but the hard way, John. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Friday, August 24, 2007 9:30 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Deleting system fields I have a database that was apparently "replicated" at some time (the button pressed by mistake), then other tables later added that were not replicated. I tried running trigeminal's unreplicator but I think they got confused by the unreplicated fields and said it wasn't replicated and didn't do anything. I tried to delete just the system field S_GUID but was told I can't because it is a system field and I can't do that. The "suggestion" was to rebuild the table by doing a make table without the S_GUID field. I can certainly do that but I have to also break existing relationships, delete the existing data and then recreate the relationships. Is there ANY method of just deleting the S_GUID field? It is doing no damage but it is taking up space, is confusing, and is simply not needed and I would like to get rid of it. John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Fri Aug 24 13:17:22 2007 From: dwaters at usinternet.com (Dan Waters) Date: Fri, 24 Aug 2007 13:17:22 -0500 Subject: [AccessD] A good book reference In-Reply-To: <003a01c7e677$7afe6ea0$048e01c7@SusanOne> References: <29f585dd0708240710h70824400mc9b46cb1c910462f@mail.gmail.com><014301c7e669$86116530$0f01a8c0@officexp><002101c7e66a$5acaa3e0$048e01c7@SusanOne><0a2101c7e66c$21afbc10$0f01a8c0@officexp><002001c7e66f$bcc05c70$0200a8c0@danwaters> <003a01c7e677$7afe6ea0$048e01c7@SusanOne> Message-ID: <003901c7e67b$03eb8100$0200a8c0@danwaters> No Problem. I keep it in arm's reach! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Friday, August 24, 2007 12:52 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] A good book reference Cool -- thank you! ;) Susan H. ISBN = 0789732440 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at gmail.com Fri Aug 24 13:34:16 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Fri, 24 Aug 2007 14:34:16 -0400 Subject: [AccessD] A good book reference In-Reply-To: <003901c7e67b$03eb8100$0200a8c0@danwaters> References: <29f585dd0708240710h70824400mc9b46cb1c910462f@mail.gmail.com><014301c7e669$86116530$0f01a8c0@officexp><002101c7e66a$5acaa3e0$048e01c7@SusanOne><0a2101c7e66c$21afbc10$0f01a8c0@officexp><002001c7e66f$bcc05c70$0200a8c0@danwaters><003a01c7e677$7afe6ea0$048e01c7@SusanOne> <003901c7e67b$03eb8100$0200a8c0@danwaters> Message-ID: <005a01c7e67d$60f4e0b0$048e01c7@SusanOne> Well, that's just lovely to hear. I am so glad you find it useful. Susan H. No Problem. I keep it in arm's reach! -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.484 / Virus Database: 269.12.1/963 - Release Date: 8/20/2007 5:44 PM From galeper at gmail.com Fri Aug 24 14:13:37 2007 From: galeper at gmail.com (Gale Perez) Date: Fri, 24 Aug 2007 12:13:37 -0700 Subject: [AccessD] Access 2007 Split Form: Datasheet Focus Changes Message-ID: <5b2621db0708241213q52ae2ad0mb269c15f6660d4e7@mail.gmail.com> Hi everyone! I've created a Split Form in Access 2007, and when I move to a field in the Form part of the screen, the focus changes to that field in the Datasheet part of the screen. I understand why it does that, but since I have the Split Form Datasheet property set to Read Only, it seems like the focus shouldn't move around. It's especially distracting when the Datasheet part of the screen jumps to the left or right because the field I'm editing is out of view in the Datasheet. I searched the Properties, but couldn't find anything that would seem to preclude this behavior. I wondered if anyone has a workaround for this. Thank you, and have a great weekend! Gale From jimdettman at verizon.net Fri Aug 24 15:42:20 2007 From: jimdettman at verizon.net (Jim Dettman) Date: Fri, 24 Aug 2007 16:42:20 -0400 Subject: [AccessD] Deleting system fields In-Reply-To: <20070824181122.CE0ADBED3@smtp-auth.no-ip.com> References: <001601c7e676$b07908c0$8abea8c0@XPS> <20070824181122.CE0ADBED3@smtp-auth.no-ip.com> Message-ID: <001801c7e68f$44fdbd20$8abea8c0@XPS> John, The one I provided the link to. He has two utilities on his site in regards to replication. This one: http://trigeminal.com/lang/1033/utility.asp?ItemID=7#7 which is the "Access 2000 Un-replicator" and this one: http://trigeminal.com/lang/1033/utility.asp?ItemID=11#11 which is the "Replication Systems Fields utility" I believe you tried the first, but what you want is the second. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Friday, August 24, 2007 2:11 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Deleting system fields What do you mean when you say "THIS is a utility different...". What utility are you referring to? John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Friday, August 24, 2007 1:46 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Deleting system fields John, I think this a utility different then the one you tried. This one is used to remove the system columns specifically. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Friday, August 24, 2007 1:17 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Deleting system fields There never was a master or replica. The button was pushed by mistake YEARS ago and (apparently) there was no backup because they left it that way. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Friday, August 24, 2007 1:06 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Deleting system fields John, <> Your talking about this? http://trigeminal.com/lang/1033/utility.asp?ItemID=11#11 The only other thing I know you can do is to: 1. Synch all replicas 2. Recover the design master if you don't have it. 3. Then use the unreplicate wizard. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, August 24, 2007 12:35 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Deleting system fields I've never found any but the hard way, John. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Friday, August 24, 2007 9:30 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Deleting system fields I have a database that was apparently "replicated" at some time (the button pressed by mistake), then other tables later added that were not replicated. I tried running trigeminal's unreplicator but I think they got confused by the unreplicated fields and said it wasn't replicated and didn't do anything. I tried to delete just the system field S_GUID but was told I can't because it is a system field and I can't do that. The "suggestion" was to rebuild the table by doing a make table without the S_GUID field. I can certainly do that but I have to also break existing relationships, delete the existing data and then recreate the relationships. Is there ANY method of just deleting the S_GUID field? It is doing no damage but it is taking up space, is confusing, and is simply not needed and I would like to get rid of it. John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Fri Aug 24 17:12:13 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 24 Aug 2007 18:12:13 -0400 Subject: [AccessD] Deleting system fields In-Reply-To: <001801c7e68f$44fdbd20$8abea8c0@XPS> Message-ID: <20070824221216.31E4ABE35@smtp-auth.no-ip.com> Ahhh... I missed that. I did indeed try the first and missed the second. I have used the first one several times in the past, but never knew about the second one. Thanks. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Friday, August 24, 2007 4:42 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Deleting system fields John, The one I provided the link to. He has two utilities on his site in regards to replication. This one: http://trigeminal.com/lang/1033/utility.asp?ItemID=7#7 which is the "Access 2000 Un-replicator" and this one: http://trigeminal.com/lang/1033/utility.asp?ItemID=11#11 which is the "Replication Systems Fields utility" I believe you tried the first, but what you want is the second. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Friday, August 24, 2007 2:11 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Deleting system fields What do you mean when you say "THIS is a utility different...". What utility are you referring to? John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Friday, August 24, 2007 1:46 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Deleting system fields John, I think this a utility different then the one you tried. This one is used to remove the system columns specifically. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Friday, August 24, 2007 1:17 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Deleting system fields There never was a master or replica. The button was pushed by mistake YEARS ago and (apparently) there was no backup because they left it that way. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Friday, August 24, 2007 1:06 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Deleting system fields John, <> Your talking about this? http://trigeminal.com/lang/1033/utility.asp?ItemID=11#11 The only other thing I know you can do is to: 1. Synch all replicas 2. Recover the design master if you don't have it. 3. Then use the unreplicate wizard. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, August 24, 2007 12:35 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Deleting system fields I've never found any but the hard way, John. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Friday, August 24, 2007 9:30 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Deleting system fields I have a database that was apparently "replicated" at some time (the button pressed by mistake), then other tables later added that were not replicated. I tried running trigeminal's unreplicator but I think they got confused by the unreplicated fields and said it wasn't replicated and didn't do anything. I tried to delete just the system field S_GUID but was told I can't because it is a system field and I can't do that. The "suggestion" was to rebuild the table by doing a make table without the S_GUID field. I can certainly do that but I have to also break existing relationships, delete the existing data and then recreate the relationships. Is there ANY method of just deleting the S_GUID field? It is doing no damage but it is taking up space, is confusing, and is simply not needed and I would like to get rid of it. John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From phpons at gmail.com Sat Aug 25 10:13:57 2007 From: phpons at gmail.com (philippe pons) Date: Sat, 25 Aug 2007 17:13:57 +0200 Subject: [AccessD] Is it possible to manipulate a PivotChart on a form? Message-ID: <57144ced0708250813t53515ba8ga48f987e3e41db3e@mail.gmail.com> HI, I just designed a form using the AutoForm: PivotChart tool. The chart is ok, but I would like to know if and how it is possible to manipulate it with VBA, e.g to add a label with a title on it. The chart doesn't seem to have properties similar to the other Access objects. The tool box is not available. Do you have some tips and tricks regarding this matter? TIA, Philippe From jwcolby at colbyconsulting.com Mon Aug 27 10:04:46 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 27 Aug 2007 11:04:46 -0400 Subject: [AccessD] Tele-conferencing Message-ID: <20070827150456.9509EC045@smtp-auth.no-ip.com> I am working with a client where wee need to do some "tele-conferencing". I use that phrase lightly because what we really need is the ability to have one to three people at his end working with me to work through design issues and stuff. They will use a projector to all watch a PC. We are probably going to completely rebuild or at least a major redesign of an old Access app that I have been maintaining for them and which has enough issues to warrant this effort. It is a large application, it runs their business and we need to have a "face to face" without me actually being there. We do not need to see each other i.e. it's not about cameras to see the person, I have been to their business for several "long weekends" for real face to face meetings, and in fact will probably go there again in the next couple of months. What we really need is remote control software and perhaps drawing or other such things. I have tried to use VNC into a system that they are logged in to and it has never worked well for some reason. It caused mouse control issues, jerky mouse (neither of us could control it) and so forth. I just never resolved the why of that. So we are looking for an alternative and some reviews from folks that have used alternatives. I guess (I have never used it myself) programs like GoToMyPC. It seems that there are several out there. I don't think that paying a reasonable fee per day / week would be an issue though we don't need a license for a year or anything like that. So has anyone out there used GoToMyPC or the like to do remote control of a PC while the folks at the other end are watching? They need to be able to control it, as do I. Ideas and recommendations? John W. Colby Colby Consulting www.ColbyConsulting.com From rockysmolin at bchacc.com Mon Aug 27 10:17:45 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Mon, 27 Aug 2007 08:17:45 -0700 Subject: [AccessD] Tele-conferencing In-Reply-To: <20070827150456.9509EC045@smtp-auth.no-ip.com> Message-ID: <007e01c7e8bd$6c01d1b0$0301a8c0@HAL9005> I just tried GoToMyPC and it was simple and effective. First 30 days is free. After that, very reasonable. I tried Remote Assistance but ran into problems with corporate firewalls. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Monday, August 27, 2007 8:05 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Tele-conferencing I am working with a client where wee need to do some "tele-conferencing". I use that phrase lightly because what we really need is the ability to have one to three people at his end working with me to work through design issues and stuff. They will use a projector to all watch a PC. We are probably going to completely rebuild or at least a major redesign of an old Access app that I have been maintaining for them and which has enough issues to warrant this effort. It is a large application, it runs their business and we need to have a "face to face" without me actually being there. We do not need to see each other i.e. it's not about cameras to see the person, I have been to their business for several "long weekends" for real face to face meetings, and in fact will probably go there again in the next couple of months. What we really need is remote control software and perhaps drawing or other such things. I have tried to use VNC into a system that they are logged in to and it has never worked well for some reason. It caused mouse control issues, jerky mouse (neither of us could control it) and so forth. I just never resolved the why of that. So we are looking for an alternative and some reviews from folks that have used alternatives. I guess (I have never used it myself) programs like GoToMyPC. It seems that there are several out there. I don't think that paying a reasonable fee per day / week would be an issue though we don't need a license for a year or anything like that. So has anyone out there used GoToMyPC or the like to do remote control of a PC while the folks at the other end are watching? They need to be able to control it, as do I. Ideas and recommendations? John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.484 / Virus Database: 269.12.9/975 - Release Date: 8/26/2007 9:34 PM From rusty.hammond at cpiqpc.com Mon Aug 27 10:37:22 2007 From: rusty.hammond at cpiqpc.com (rusty.hammond at cpiqpc.com) Date: Mon, 27 Aug 2007 10:37:22 -0500 Subject: [AccessD] Tele-conferencing Message-ID: <8301C8A868251E4C8ECD3D4FFEA40F8A2584BDCB@cpixchng-1.cpiqpc.net> I've used LogMeIn (www.logmein.com) quite a bit. They have a free version that turns off the ability to print to the remote computer and no sharing of the clipboard between host and remote. -----Original Message----- From: jwcolby [mailto:jwcolby at colbyconsulting.com] Sent: Monday, August 27, 2007 10:05 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Tele-conferencing I am working with a client where wee need to do some "tele-conferencing". I use that phrase lightly because what we really need is the ability to have one to three people at his end working with me to work through design issues and stuff. They will use a projector to all watch a PC. We are probably going to completely rebuild or at least a major redesign of an old Access app that I have been maintaining for them and which has enough issues to warrant this effort. It is a large application, it runs their business and we need to have a "face to face" without me actually being there. We do not need to see each other i.e. it's not about cameras to see the person, I have been to their business for several "long weekends" for real face to face meetings, and in fact will probably go there again in the next couple of months. What we really need is remote control software and perhaps drawing or other such things. I have tried to use VNC into a system that they are logged in to and it has never worked well for some reason. It caused mouse control issues, jerky mouse (neither of us could control it) and so forth. I just never resolved the why of that. So we are looking for an alternative and some reviews from folks that have used alternatives. I guess (I have never used it myself) programs like GoToMyPC. It seems that there are several out there. I don't think that paying a reasonable fee per day / week would be an issue though we don't need a license for a year or anything like that. So has anyone out there used GoToMyPC or the like to do remote control of a PC while the folks at the other end are watching? They need to be able to control it, as do I. Ideas and recommendations? John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ********************************************************************** WARNING: All e-mail sent to and from this address will be received, scanned or otherwise recorded by the CPI Qualified Plan Consultants, Inc. corporate e-mail system and is subject to archival, monitoring or review by, and/or disclosure to, someone other than the recipient. ********************************************************************** From jwcolby at colbyconsulting.com Mon Aug 27 10:45:45 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 27 Aug 2007 11:45:45 -0400 Subject: [AccessD] Tele-conferencing In-Reply-To: <007e01c7e8bd$6c01d1b0$0301a8c0@HAL9005> Message-ID: <20070827154554.BF7F7BC73@smtp-auth.no-ip.com> I am using Hamachi to "get around" corporate firewalls, though I think it is possible to shut down Hamachi in a firewall if the notwork gurus want to. I have never gotten Remote Assistance to work correctly. I am using Hamachi / VNC in some cases and Hamachi and Remote Desktop Conection (RDC) in others. I am NOT getting a simultaneous RDC and VNC at the same time. The last one to connect boots the first to connect in that case. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Monday, August 27, 2007 11:18 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Tele-conferencing I just tried GoToMyPC and it was simple and effective. First 30 days is free. After that, very reasonable. I tried Remote Assistance but ran into problems with corporate firewalls. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Monday, August 27, 2007 8:05 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Tele-conferencing I am working with a client where wee need to do some "tele-conferencing". I use that phrase lightly because what we really need is the ability to have one to three people at his end working with me to work through design issues and stuff. They will use a projector to all watch a PC. We are probably going to completely rebuild or at least a major redesign of an old Access app that I have been maintaining for them and which has enough issues to warrant this effort. It is a large application, it runs their business and we need to have a "face to face" without me actually being there. We do not need to see each other i.e. it's not about cameras to see the person, I have been to their business for several "long weekends" for real face to face meetings, and in fact will probably go there again in the next couple of months. What we really need is remote control software and perhaps drawing or other such things. I have tried to use VNC into a system that they are logged in to and it has never worked well for some reason. It caused mouse control issues, jerky mouse (neither of us could control it) and so forth. I just never resolved the why of that. So we are looking for an alternative and some reviews from folks that have used alternatives. I guess (I have never used it myself) programs like GoToMyPC. It seems that there are several out there. I don't think that paying a reasonable fee per day / week would be an issue though we don't need a license for a year or anything like that. So has anyone out there used GoToMyPC or the like to do remote control of a PC while the folks at the other end are watching? They need to be able to control it, as do I. Ideas and recommendations? John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.484 / Virus Database: 269.12.9/975 - Release Date: 8/26/2007 9:34 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Lambert.Heenan at AIG.com Mon Aug 27 10:48:38 2007 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Mon, 27 Aug 2007 10:48:38 -0500 Subject: [AccessD] Tele-conferencing Message-ID: <34C8A2AB1EF3564CB0D64DB6AFFDD5C208ED6F14@XLIVMBX35bkup.aig.com> "I think it is possible to shut down Hamachi in a firewall if the notwork gurus want to" Love it! Was that a typo or a piece of inspired criticism? Lambert From jwcolby at colbyconsulting.com Mon Aug 27 11:07:48 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 27 Aug 2007 12:07:48 -0400 Subject: [AccessD] Tele-conferencing In-Reply-To: <34C8A2AB1EF3564CB0D64DB6AFFDD5C208ED6F14@XLIVMBX35bkup.aig.com> Message-ID: <20070827160758.88D62BF2F@smtp-auth.no-ip.com> LOL. Are you referring to "notwork guru"? That is an inspired criticism. I don't think I made up the term but rather ran across it and loved it, and use it all the time now. Understand that I respect and admire network guys. That is a whole complex area of expertise that I don't have (but wish I did), I just love to rag on them. They can be very difficult when they want to be - UNLIKE us database types ;-) John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert Sent: Monday, August 27, 2007 11:49 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Tele-conferencing "I think it is possible to shut down Hamachi in a firewall if the notwork gurus want to" Love it! Was that a typo or a piece of inspired criticism? Lambert -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jedi at charm.net Mon Aug 27 11:09:26 2007 From: jedi at charm.net (Michael Bahr) Date: Mon, 27 Aug 2007 12:09:26 -0400 (EDT) Subject: [AccessD] Tele-conferencing In-Reply-To: <20070827150456.9509EC045@smtp-auth.no-ip.com> References: <20070827150456.9509EC045@smtp-auth.no-ip.com> Message-ID: <15698.198.118.127.182.1188230966.squirrel@mail.expedient.net> Hi John, take a look at Webex to see if it meets your needs. http://www.webex.com/ Mike... > I am working with a client where wee need to do some "tele-conferencing". > I > use that phrase lightly because what we really need is the ability to have > one to three people at his end working with me to work through design > issues > and stuff. They will use a projector to all watch a PC. We are probably > going to completely rebuild or at least a major redesign of an old Access > app that I have been maintaining for them and which has enough issues to > warrant this effort. It is a large application, it runs their business > and > we need to have a "face to face" without me actually being there. We do > not > need to see each other i.e. it's not about cameras to see the person, I > have > been to their business for several "long weekends" for real face to face > meetings, and in fact will probably go there again in the next couple of > months. > > What we really need is remote control software and perhaps drawing or > other > such things. I have tried to use VNC into a system that they are logged > in > to and it has never worked well for some reason. It caused mouse control > issues, jerky mouse (neither of us could control it) and so forth. I just > never resolved the why of that. So we are looking for an alternative and > some reviews from folks that have used alternatives. I guess (I have > never > used it myself) programs like GoToMyPC. It seems that there are several > out > there. I don't think that paying a reasonable fee per day / week would be > an issue though we don't need a license for a year or anything like that. > > So has anyone out there used GoToMyPC or the like to do remote control of > a > PC while the folks at the other end are watching? They need to be able to > control it, as do I. > > Ideas and recommendations? > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From max.wanadoo at gmail.com Mon Aug 27 11:24:07 2007 From: max.wanadoo at gmail.com (Gmail) Date: Mon, 27 Aug 2007 17:24:07 +0100 Subject: [AccessD] Tele-conferencing In-Reply-To: <20070827154554.BF7F7BC73@smtp-auth.no-ip.com> References: <007e01c7e8bd$6c01d1b0$0301a8c0@HAL9005> <20070827154554.BF7F7BC73@smtp-auth.no-ip.com> Message-ID: <001e01c7e8c6$b2416fb0$8119fea9@LTVM> You guys might want to try LogMeIn. I have been using it now for some 3-4 months and it is great! Max Sherman -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Monday, August 27, 2007 4:46 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Tele-conferencing I am using Hamachi to "get around" corporate firewalls, though I think it is possible to shut down Hamachi in a firewall if the notwork gurus want to. I have never gotten Remote Assistance to work correctly. I am using Hamachi / VNC in some cases and Hamachi and Remote Desktop Conection (RDC) in others. I am NOT getting a simultaneous RDC and VNC at the same time. The last one to connect boots the first to connect in that case. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Monday, August 27, 2007 11:18 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Tele-conferencing I just tried GoToMyPC and it was simple and effective. First 30 days is free. After that, very reasonable. I tried Remote Assistance but ran into problems with corporate firewalls. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Monday, August 27, 2007 8:05 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Tele-conferencing I am working with a client where wee need to do some "tele-conferencing". I use that phrase lightly because what we really need is the ability to have one to three people at his end working with me to work through design issues and stuff. They will use a projector to all watch a PC. We are probably going to completely rebuild or at least a major redesign of an old Access app that I have been maintaining for them and which has enough issues to warrant this effort. It is a large application, it runs their business and we need to have a "face to face" without me actually being there. We do not need to see each other i.e. it's not about cameras to see the person, I have been to their business for several "long weekends" for real face to face meetings, and in fact will probably go there again in the next couple of months. What we really need is remote control software and perhaps drawing or other such things. I have tried to use VNC into a system that they are logged in to and it has never worked well for some reason. It caused mouse control issues, jerky mouse (neither of us could control it) and so forth. I just never resolved the why of that. So we are looking for an alternative and some reviews from folks that have used alternatives. I guess (I have never used it myself) programs like GoToMyPC. It seems that there are several out there. I don't think that paying a reasonable fee per day / week would be an issue though we don't need a license for a year or anything like that. So has anyone out there used GoToMyPC or the like to do remote control of a PC while the folks at the other end are watching? They need to be able to control it, as do I. Ideas and recommendations? John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.484 / Virus Database: 269.12.9/975 - Release Date: 8/26/2007 9:34 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From robert at webedb.com Mon Aug 27 12:34:54 2007 From: robert at webedb.com (Robert L. Stewart) Date: Mon, 27 Aug 2007 12:34:54 -0500 Subject: [AccessD] Tele-conferencing In-Reply-To: References: Message-ID: <200708271737.l7RHbJsC009112@databaseadvisors.com> A friend of mine and I use GoToMeeting.com to do something similar. You might want to check them out. Robert At 12:00 PM 8/27/2007, you wrote: >Date: Mon, 27 Aug 2007 11:04:46 -0400 >From: "jwcolby" >Subject: [AccessD] Tele-conferencing >To: "'Access Developers discussion and problem solving'" > >Message-ID: <20070827150456.9509EC045 at smtp-auth.no-ip.com> >Content-Type: text/plain; charset="us-ascii" > >I am working with a client where wee need to do some "tele-conferencing". I >use that phrase lightly because what we really need is the ability to have >one to three people at his end working with me to work through design issues >and stuff. They will use a projector to all watch a PC. We are probably >going to completely rebuild or at least a major redesign of an old Access >app that I have been maintaining for them and which has enough issues to >warrant this effort. From jwcolby at colbyconsulting.com Mon Aug 27 15:51:49 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 27 Aug 2007 16:51:49 -0400 Subject: [AccessD] IN clause Message-ID: <20070827205159.06E8FBD31@smtp-auth.no-ip.com> Can a SQL statement use an IN 'DatabaseName' clause which references a table in a SQL Server database? I know how to do it with an MDB, just place the path in 'DatabaseName' but what do you do if the table is in SQL Server? John W. Colby Colby Consulting www.ColbyConsulting.com From mikedorism at verizon.net Mon Aug 27 16:41:05 2007 From: mikedorism at verizon.net (Doris Manning) Date: Mon, 27 Aug 2007 17:41:05 -0400 Subject: [AccessD] IN clause In-Reply-To: <20070827205159.06E8FBD31@smtp-auth.no-ip.com> References: <20070827205159.06E8FBD31@smtp-auth.no-ip.com> Message-ID: <000301c7e8f2$fa01cc60$2f01a8c0@Kermit> Server.dbo.TableName Doris Manning Database Administrator Hargrove Inc. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Monday, August 27, 2007 4:52 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] IN clause Can a SQL statement use an IN 'DatabaseName' clause which references a table in a SQL Server database? I know how to do it with an MDB, just place the path in 'DatabaseName' but what do you do if the table is in SQL Server? John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From shamil at users.mns.ru Mon Aug 27 17:45:31 2007 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Tue, 28 Aug 2007 02:45:31 +0400 Subject: [AccessD] IN clause In-Reply-To: <20070827205159.06E8FBD31@smtp-auth.no-ip.com> Message-ID: <000d01c7e8fb$f8cfc5f0$6601a8c0@nant> John, Here is how it works here in Spb, Russia :) IN '' [ODBC;DRIVER=SQL Native Client;SERVER=NANT\SQLEXPRESS;Trusted_Connection=Yes;DATABASE=myDatabase;] Watch out line wraps! This set of lines above is just one source line. Example MS SQL table query using this IN clause: Select * FROM Workstation IN '' [ODBC;DRIVER=SQL Native Client;SERVER=NANT\SQLEXPRESS;Trusted_Connection=Yes;DATABASE=myDatabase;] HTH. -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Tuesday, August 28, 2007 12:52 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] IN clause Can a SQL statement use an IN 'DatabaseName' clause which references a table in a SQL Server database? I know how to do it with an MDB, just place the path in 'DatabaseName' but what do you do if the table is in SQL Server? John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Mon Aug 27 18:04:50 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 27 Aug 2007 19:04:50 -0400 Subject: [AccessD] IN clause In-Reply-To: <000301c7e8f2$fa01cc60$2f01a8c0@Kermit> Message-ID: <20070827230500.6468BBF5A@smtp-auth.no-ip.com> Bueno, thanks for that. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doris Manning Sent: Monday, August 27, 2007 5:41 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] IN clause Server.dbo.TableName Doris Manning Database Administrator Hargrove Inc. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Monday, August 27, 2007 4:52 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] IN clause Can a SQL statement use an IN 'DatabaseName' clause which references a table in a SQL Server database? I know how to do it with an MDB, just place the path in 'DatabaseName' but what do you do if the table is in SQL Server? John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From kathryn at bassett.net Mon Aug 27 20:17:34 2007 From: kathryn at bassett.net (Kathryn Bassett) Date: Mon, 27 Aug 2007 18:17:34 -0700 Subject: [AccessD] Tele-conferencing In-Reply-To: <8301C8A868251E4C8ECD3D4FFEA40F8A2584BDCB@cpixchng-1.cpiqpc.net> Message-ID: <005d01c7e911$36d7d9e0$6501a8c0@Kathryn> I use LogMeIn free version a LOT. I've even used it to control my father and sisters computers and they are both on dialup. Gets a little frustrating waiting for screen to react, but it's faster than I originally thought it would be. I've even got it installed on my own computer and turn it on in the morning before I leave for Gwen's. There's been more than once that while at her house, I've needed some info off my computer, so I just log in, and do what I need to do and log back off again. -- 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 > rusty.hammond at cpiqpc.com > Sent: 27 Aug 2007 8:37 am > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Tele-conferencing > > I've used LogMeIn (www.logmein.com) quite a bit. They have a > free version that turns off the ability to print to the > remote computer and no sharing of the clipboard between host > and remote. > > -----Original Message----- > From: jwcolby [mailto:jwcolby at colbyconsulting.com] > Sent: Monday, August 27, 2007 10:05 AM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] Tele-conferencing > > > I am working with a client where wee need to do some > "tele-conferencing". I use that phrase lightly because what > we really need is the ability to have one to three people at > his end working with me to work through design issues and > stuff. They will use a projector to all watch a PC. We are > probably going to completely rebuild or at least a major > redesign of an old Access app that I have been maintaining > for them and which has enough issues to warrant this effort. > It is a large application, it runs their business and we need > to have a "face to face" without me actually being there. We > do not need to see each other i.e. it's not about cameras to > see the person, I have been to their business for several > "long weekends" for real face to face meetings, and in fact > will probably go there again in the next couple of months. > > What we really need is remote control software and perhaps > drawing or other such things. I have tried to use VNC into a > system that they are logged in to and it has never worked > well for some reason. It caused mouse control issues, jerky > mouse (neither of us could control it) and so forth. I just > never resolved the why of that. So we are looking for an > alternative and some reviews from folks that have used > alternatives. I guess (I have never used it myself) programs > like GoToMyPC. It seems that there are several out there. I > don't think that paying a reasonable fee per day / week would > be an issue though we don't need a license for a year or > anything like that. > > So has anyone out there used GoToMyPC or the like to do > remote control of a PC while the folks at the other end are > watching? They need to be able to control it, as do I. > > Ideas and recommendations? > > John W. Colby > Colby Consulting > www.ColbyConsulting.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > ********************************************************************** > WARNING: All e-mail sent to and from this address will be > received, scanned or otherwise recorded by the CPI Qualified > Plan Consultants, Inc. > corporate e-mail system and is subject to archival, > monitoring or review by, and/or disclosure to, someone other > than the recipient. > ********************************************************************** > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.484 / Virus Database: 269.12.8/973 - Release > Date: 25 Aug 07 5:00 pm > > No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.484 / Virus Database: 269.12.9/975 - Release Date: 26 Aug 07 9:34 pm From jwcolby at colbyconsulting.com Mon Aug 27 21:43:36 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 27 Aug 2007 22:43:36 -0400 Subject: [AccessD] IN clause In-Reply-To: <000d01c7e8fb$f8cfc5f0$6601a8c0@nant> Message-ID: <20070828024347.501B4BC99@smtp-auth.no-ip.com> Hmmm.. I'll have to study that one. BTW there is a full eclipse of the moon tonight in the US, I think Europe is out of luck on this one. I'll be outside about 5am to see it. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Monday, August 27, 2007 6:46 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] IN clause John, Here is how it works here in Spb, Russia :) IN '' [ODBC;DRIVER=SQL Native Client;SERVER=NANT\SQLEXPRESS;Trusted_Connection=Yes;DATABASE=myDatabase;] Watch out line wraps! This set of lines above is just one source line. Example MS SQL table query using this IN clause: Select * FROM Workstation IN '' [ODBC;DRIVER=SQL Native Client;SERVER=NANT\SQLEXPRESS;Trusted_Connection=Yes;DATABASE=myDatabase;] HTH. -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Tuesday, August 28, 2007 12:52 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] IN clause Can a SQL statement use an IN 'DatabaseName' clause which references a table in a SQL Server database? I know how to do it with an MDB, just place the path in 'DatabaseName' but what do you do if the table is in SQL Server? John W. Colby Colby Consulting www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Mon Aug 27 23:09:12 2007 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue, 28 Aug 2007 14:09:12 +1000 Subject: [AccessD] IN clause In-Reply-To: <20070828024347.501B4BC99@smtp-auth.no-ip.com> References: <000d01c7e8fb$f8cfc5f0$6601a8c0@nant>, <20070828024347.501B4BC99@smtp-auth.no-ip.com> Message-ID: <46D39FE8.11700.39ECDD45@stuart.lexacorp.com.pg> Here in Port Moresby tonight: Sunset 5:47pm Moonrise: 6:01pm Full Moon: 8:35pm. Major Eclipse between about 7:30 and and 9:30pm A bunch of us are going to sit out in the tropical air on top of a hill and drink a few beers. On 27 Aug 2007 at 22:43, jwcolby wrote: > > BTW there is a full eclipse of the moon tonight in the US, I think Europe is > out of luck on this one. I'll be outside about 5am to see it. From kp at sdsonline.net Mon Aug 27 23:23:12 2007 From: kp at sdsonline.net (Kath Pelletti) Date: Tue, 28 Aug 2007 14:23:12 +1000 Subject: [AccessD] IN clause References: <000d01c7e8fb$f8cfc5f0$6601a8c0@nant>, <20070828024347.501B4BC99@smtp-auth.no-ip.com> <46D39FE8.11700.39ECDD45@stuart.lexacorp.com.pg> Message-ID: <003e01c7e92b$30a05d30$6401a8c0@office> lucky us - (although I wouldnt call Melbourne tropical !!) Kath ----- Original Message ----- From: Stuart McLachlan To: Access Developers discussion and problem solving Sent: Tuesday, August 28, 2007 2:09 PM Subject: Re: [AccessD] IN clause Here in Port Moresby tonight: Sunset 5:47pm Moonrise: 6:01pm Full Moon: 8:35pm. Major Eclipse between about 7:30 and and 9:30pm A bunch of us are going to sit out in the tropical air on top of a hill and drink a few beers. On 27 Aug 2007 at 22:43, jwcolby wrote: > > BTW there is a full eclipse of the moon tonight in the US, I think Europe is > out of luck on this one. I'll be outside about 5am to see it. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From kp at sdsonline.net Mon Aug 27 23:32:47 2007 From: kp at sdsonline.net (Kath Pelletti) Date: Tue, 28 Aug 2007 14:32:47 +1000 Subject: [AccessD] open pdf file Message-ID: <007a01c7e92c$8787b840$6401a8c0@office> Any tips on some code that will allow me to open an (existing) a pdf file ? I would like it to open in the user's default pdf reader (whether that be adobe or free acrobat reader etc?) Or do I need to spefically use Create/GetObject to open Acrobat reader? TIA ______________________________________ Kath Pelletti Software Design and Solutions Pty Ltd. Ph: 9505-6714 Fax: 9505-6430 Email: KP at SDSOnline.net From stuart at lexacorp.com.pg Tue Aug 28 00:05:39 2007 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue, 28 Aug 2007 15:05:39 +1000 Subject: [AccessD] open pdf file In-Reply-To: <007a01c7e92c$8787b840$6401a8c0@office> References: <007a01c7e92c$8787b840$6401a8c0@office> Message-ID: <46D3AD23.29814.3A208BFB@stuart.lexacorp.com.pg> YOu need to use the ShellExecute() API call Declare Function ShellExecute Lib _ "shell32.dll" Alias "ShellExecuteA" _ (ByVal hWnd As Long, ByVal lpOperation _ As String, ByVal lpFile As String, ByVal _ lpParameters As String, ByVal lpDirectory _ As String, ByVal nShowCmd As Long) As Long Then: ShellExecute 0,"Open","C:\MyPDF.pdf",vbNullString,CurDir$,vbNormalFocus On 28 Aug 2007 at 14:32, Kath Pelletti wrote: > Any tips on some code that will allow me to open an (existing) a pdf file ? I would like it to open in the user's default pdf reader (whether that be adobe or free acrobat reader etc?) > > Or do I need to spefically use Create/GetObject to open Acrobat reader? From pcs at azizaz.com Tue Aug 28 00:34:41 2007 From: pcs at azizaz.com (pcs at azizaz.com) Date: Tue, 28 Aug 2007 15:34:41 +1000 (EST) Subject: [AccessD] Tabcontrol mis-behaving Message-ID: <20070828153441.DBS81366@dommail.onthenet.com.au> Access 2003 On XP and Vista I have Form in a small app that has a Tabcontrol with 4 pages two of which are in use. On on tab page a few text controls and subform control On the other tab page an activex control (ocxWeb) Transparent Backstyle Style = None Multirow = No After a couple of days running fine on Vista it now crashes continous when trying to open the Form with the tabcontrol. On XP box works fine I Import the app from XP box to Vista box - same thing happens again - Access crashes (exception in Access.exe) when trying to open Form. I create an empty .mdb and import all objects. I Open the App and lo and behold!! the Form opens, but the background / backstyle of the Tabcontrol is now WHITE!! although setting is still set to transparent backstyle.... No way I can get rid of this unwanted white background. What is this? Should I just re-create the Form with a transparent backstyle tabcontrol - hoping this is just a one time odd behaviour - or is there something about tabcontrols that suggest that I should stay away from them??? Regards Borge From rockysmolin at bchacc.com Tue Aug 28 00:37:45 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Mon, 27 Aug 2007 22:37:45 -0700 Subject: [AccessD] Resizing a Tab Control Message-ID: <017301c7e935$902bda40$0301a8c0@HAL9005> Dear List: I have an app with several tab controls and I am using the adh resizing code, which works well about 96% of the time. But this time I need it to be 100%. It's not resizing the tab controls correctly. Does anyone use something else for screen resizing that they like? MTIA, rocky From accessd at shaw.ca Tue Aug 28 01:19:19 2007 From: accessd at shaw.ca (Jim Lawrence) Date: Mon, 27 Aug 2007 23:19:19 -0700 Subject: [AccessD] Force a new page in code In-Reply-To: <017301c7e935$902bda40$0301a8c0@HAL9005> Message-ID: <5526AB2DF1F5471FA07F36291F385BB5@creativesystemdesigns.com> Hi all: Is there a way to force a new page in Access reports under program control? TIA Jim From kp at sdsonline.net Tue Aug 28 01:35:44 2007 From: kp at sdsonline.net (Kath Pelletti) Date: Tue, 28 Aug 2007 16:35:44 +1000 Subject: [AccessD] open pdf file References: <007a01c7e92c$8787b840$6401a8c0@office> <46D3AD23.29814.3A208BFB@stuart.lexacorp.com.pg> Message-ID: <001701c7e93d$aa4f7780$6401a8c0@office> thx Stuart ----- Original Message ----- From: Stuart McLachlan To: Access Developers discussion and problem solving Sent: Tuesday, August 28, 2007 3:05 PM Subject: Re: [AccessD] open pdf file YOu need to use the ShellExecute() API call Declare Function ShellExecute Lib _ "shell32.dll" Alias "ShellExecuteA" _ (ByVal hWnd As Long, ByVal lpOperation _ As String, ByVal lpFile As String, ByVal _ lpParameters As String, ByVal lpDirectory _ As String, ByVal nShowCmd As Long) As Long Then: ShellExecute 0,"Open","C:\MyPDF.pdf",vbNullString,CurDir$,vbNormalFocus On 28 Aug 2007 at 14:32, Kath Pelletti wrote: > Any tips on some code that will allow me to open an (existing) a pdf file ? I would like it to open in the user's default pdf reader (whether that be adobe or free acrobat reader etc?) > > Or do I need to spefically use Create/GetObject to open Acrobat reader? -- 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 28 01:53:21 2007 From: andy at minstersystems.co.uk (Andy Lacey) Date: Tue, 28 Aug 2007 07:53:21 +0100 Subject: [AccessD] Resizing a Tab Control In-Reply-To: <017301c7e935$902bda40$0301a8c0@HAL9005> Message-ID: <000801c7e940$1fafc460$e41e0c54@minster33c3r25> Rocky, bear in mind that it won't resize a tab control if there are controls at the bottom or on the right of the tab which prevent it. IME you not only have to resize the tab's controls but reposition them too, then the tab resize worked. -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Rocky Smolin at Beach Access Software > Sent: 28 August 2007 06:38 > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] Resizing a Tab Control > > > Dear List: > > I have an app with several tab controls and I am using the > adh resizing code, which works well about 96% of the time. > But this time I need it to be 100%. It's not resizing the > tab controls correctly. > > Does anyone use something else for screen resizing that they like? > > MTIA, > > rocky > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From rockysmolin at bchacc.com Tue Aug 28 07:01:54 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Tue, 28 Aug 2007 05:01:54 -0700 Subject: [AccessD] Force a new page in code In-Reply-To: <5526AB2DF1F5471FA07F36291F385BB5@creativesystemdesigns.com> Message-ID: <000301c7e96b$3a7706c0$0301a8c0@HAL9005> Jim: There's a page break control which I have made visible and invisible programmatically during report generation, depending on whether I want it active. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Monday, August 27, 2007 11:19 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Force a new page in code Hi all: Is there a way to force a new page in Access reports under program control? TIA Jim -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.484 / Virus Database: 269.12.10/976 - Release Date: 8/27/2007 6:20 PM From dwaters at usinternet.com Tue Aug 28 07:30:12 2007 From: dwaters at usinternet.com (Dan Waters) Date: Tue, 28 Aug 2007 07:30:12 -0500 Subject: [AccessD] Tabcontrol mis-behaving In-Reply-To: <20070828153441.DBS81366@dommail.onthenet.com.au> References: <20070828153441.DBS81366@dommail.onthenet.com.au> Message-ID: <000601c7e96f$2e992aa0$0200a8c0@danwaters> Hi Borge, In Access 2003, you have the option of using Windows Themed Controls in Tools|Options|Forms & Reports. If you check this, you get rounded corner buttons, white tab control backgrounds, etc. Perhaps your original database did not have this checked, but your new database does. I wasn't able to change the tab control color in Access 2002 either - it was always Access gray. Keep using tab controls! They are a great way to present many times the number of controls to users as you have space on the screen. I don't know about the other issues. Good luck with those. Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of pcs at azizaz.com Sent: Tuesday, August 28, 2007 12:35 AM To: Access Developers discussion and problemsolving Subject: [AccessD] Tabcontrol mis-behaving Access 2003 On XP and Vista I have Form in a small app that has a Tabcontrol with 4 pages two of which are in use. On on tab page a few text controls and subform control On the other tab page an activex control (ocxWeb) Transparent Backstyle Style = None Multirow = No After a couple of days running fine on Vista it now crashes continous when trying to open the Form with the tabcontrol. On XP box works fine I Import the app from XP box to Vista box - same thing happens again - Access crashes (exception in Access.exe) when trying to open Form. I create an empty .mdb and import all objects. I Open the App and lo and behold!! the Form opens, but the background / backstyle of the Tabcontrol is now WHITE!! although setting is still set to transparent backstyle.... No way I can get rid of this unwanted white background. What is this? Should I just re-create the Form with a transparent backstyle tabcontrol - hoping this is just a one time odd behaviour - or is there something about tabcontrols that suggest that I should stay away from them??? Regards Borge -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From lmrazek at lcm-res.com Tue Aug 28 08:40:20 2007 From: lmrazek at lcm-res.com (Lawrence Mrazek) Date: Tue, 28 Aug 2007 08:40:20 -0500 Subject: [AccessD] Calendar Control Not Displaying Day Numbers In-Reply-To: <000601c7e96f$2e992aa0$0200a8c0@danwaters> References: <20070828153441.DBS81366@dommail.onthenet.com.au> <000601c7e96f$2e992aa0$0200a8c0@danwaters> Message-ID: <005a01c7e978$fa76b760$026fa8c0@lcmdv8000> Hi Folks: I have one user who reports that his calendar control, while it displays, is lacking the numbers for the days. That is (trying to explain this ... ), the calendar control displays, with the proper days in the boxes, etc., and if you click on a "day", it does return the proper date. Any ideas on how to troubleshoot this? The same FE is working fine on other workstations. Larry Mrazek LCM Research, Inc. www.lcm-res.com lmrazek at lcm-res.com ph. 314-432-5886 mobile: 314-496-1645 From ssharkins at gmail.com Tue Aug 28 09:11:07 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Tue, 28 Aug 2007 10:11:07 -0400 Subject: [AccessD] Calendar Control Not Displaying Day Numbers In-Reply-To: <005a01c7e978$fa76b760$026fa8c0@lcmdv8000> References: <20070828153441.DBS81366@dommail.onthenet.com.au><000601c7e96f$2e992aa0$0200a8c0@danwaters> <005a01c7e978$fa76b760$026fa8c0@lcmdv8000> Message-ID: <000201c7e97d$47f9de50$048e01c7@SusanOne> I'd check the Windows International and Regional settings first, but honestly... I can't see how that would affect the actual day's number. Susan H. I have one user who reports that his calendar control, while it displays, is lacking the numbers for the days. That is (trying to explain this ... ), the calendar control displays, with the proper days in the boxes, etc., and if you click on a "day", it does return the proper date. Any ideas on how to troubleshoot this? From Chester_Kaup at kindermorgan.com Tue Aug 28 09:32:40 2007 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Tue, 28 Aug 2007 09:32:40 -0500 Subject: [AccessD] Interactive Query Question Message-ID: I have a make table query in a database. Each time I run this I have to go into design view and change the name of the table the query writes to. Is there a way in the query or in VBA to insert a table name interactively. I cannot seem to think of one. Thanks. Chester Kaup Engineering Technician Kinder Morgan CO2 Company, LLP Office (432) 688-3797 FAX (432) 688-3799 No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. From Lambert.Heenan at AIG.com Tue Aug 28 09:43:58 2007 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Tue, 28 Aug 2007 10:43:58 -0400 Subject: [AccessD] Calendar Control Not Displaying Day Numbers Message-ID: <34C8A2AB1EF3564CB0D64DB6AFFDD5C208ED6F30@XLIVMBX35bkup.aig.com> You could try Drew's minicalendar, which you can find at... http://www.mvps.org/access/forms/frm0050.htm It uses no activeX controls at all, so should convert and run on any version of Access. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lawrence Mrazek Sent: Tuesday, August 28, 2007 9:40 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Calendar Control Not Displaying Day Numbers Hi Folks: I have one user who reports that his calendar control, while it displays, is lacking the numbers for the days. That is (trying to explain this ... ), the calendar control displays, with the proper days in the boxes, etc., and if you click on a "day", it does return the proper date. Any ideas on how to troubleshoot this? The same FE is working fine on other workstations. Larry Mrazek LCM Research, Inc. www.lcm-res.com lmrazek at lcm-res.com ph. 314-432-5886 mobile: 314-496-1645 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Tue Aug 28 10:08:20 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Tue, 28 Aug 2007 08:08:20 -0700 Subject: [AccessD] Resizing a Tab Control In-Reply-To: <000801c7e940$1fafc460$e41e0c54@minster33c3r25> Message-ID: <001201c7e985$46ca3e50$0301a8c0@HAL9005> Got it. Thanks. Any guidelines on how close to the edge or bottom you can have a control before it resizes incorrectly? Or is it just trial and error? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey Sent: Monday, August 27, 2007 11:53 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Resizing a Tab Control Rocky, bear in mind that it won't resize a tab control if there are controls at the bottom or on the right of the tab which prevent it. IME you not only have to resize the tab's controls but reposition them too, then the tab resize worked. -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky > Smolin at Beach Access Software > Sent: 28 August 2007 06:38 > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] Resizing a Tab Control > > > Dear List: > > I have an app with several tab controls and I am using the adh > resizing code, which works well about 96% of the time. > But this time I need it to be 100%. It's not resizing the tab > controls correctly. > > Does anyone use something else for screen resizing that they like? > > MTIA, > > rocky > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.484 / Virus Database: 269.12.10/976 - Release Date: 8/27/2007 6:20 PM From bill_patten at embarqmail.com Tue Aug 28 10:14:42 2007 From: bill_patten at embarqmail.com (Bill Patten) Date: Tue, 28 Aug 2007 08:14:42 -0700 Subject: [AccessD] Calendar Control Not Displaying Day Numbers In-Reply-To: <005a01c7e978$fa76b760$026fa8c0@lcmdv8000> References: <20070828153441.DBS81366@dommail.onthenet.com.au><000601c7e96f$2e992aa0$0200a8c0@danwaters> <005a01c7e978$fa76b760$026fa8c0@lcmdv8000> Message-ID: Hi Larry, Any chance the background color and the dayfontcolor are the same??? Bill ----- Original Message ----- From: "Lawrence Mrazek" To: "'Access Developers discussion and problem solving'" Sent: Tuesday, August 28, 2007 6:40 AM Subject: [AccessD] Calendar Control Not Displaying Day Numbers Hi Folks: I have one user who reports that his calendar control, while it displays, is lacking the numbers for the days. That is (trying to explain this ... ), the calendar control displays, with the proper days in the boxes, etc., and if you click on a "day", it does return the proper date. Any ideas on how to troubleshoot this? The same FE is working fine on other workstations. Larry Mrazek LCM Research, Inc. www.lcm-res.com lmrazek at lcm-res.com ph. 314-432-5886 mobile: 314-496-1645 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at gmail.com Tue Aug 28 10:21:55 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Tue, 28 Aug 2007 11:21:55 -0400 Subject: [AccessD] Interactive Query Question In-Reply-To: References: Message-ID: <002601c7e987$2ce01c10$048e01c7@SusanOne> I have a make table query in a database. Each time I run this I have to go into design view and change the name of the table the query writes to. Is there a way in the query or in VBA to insert a table name interactively. I cannot seem to think of one. Thanks. ===========I don't think you can with a fixed query. You'd need code. Susan H. From bill_patten at embarqmail.com Tue Aug 28 10:05:12 2007 From: bill_patten at embarqmail.com (Bill Patten) Date: Tue, 28 Aug 2007 08:05:12 -0700 Subject: [AccessD] Calendar Control Not Displaying Day Numbers In-Reply-To: <005a01c7e978$fa76b760$026fa8c0@lcmdv8000> References: <20070828153441.DBS81366@dommail.onthenet.com.au><000601c7e96f$2e992aa0$0200a8c0@danwaters> <005a01c7e978$fa76b760$026fa8c0@lcmdv8000> Message-ID: <6DDC7FB60B1A4AC6B68B61C2AB8427D2@BPCS> Hi Larry, Any chance the background color and the dayfontcolor are the same??? Bill ----- Original Message ----- From: "Lawrence Mrazek" To: "'Access Developers discussion and problem solving'" Sent: Tuesday, August 28, 2007 6:40 AM Subject: [AccessD] Calendar Control Not Displaying Day Numbers Hi Folks: I have one user who reports that his calendar control, while it displays, is lacking the numbers for the days. That is (trying to explain this ... ), the calendar control displays, with the proper days in the boxes, etc., and if you click on a "day", it does return the proper date. Any ideas on how to troubleshoot this? The same FE is working fine on other workstations. Larry Mrazek LCM Research, Inc. www.lcm-res.com lmrazek at lcm-res.com ph. 314-432-5886 mobile: 314-496-1645 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From prodevmg at yahoo.com Tue Aug 28 10:37:07 2007 From: prodevmg at yahoo.com (Lonnie Johnson) Date: Tue, 28 Aug 2007 08:37:07 -0700 (PDT) Subject: [AccessD] Interactive Query Question Message-ID: <103650.98245.qm@web33111.mail.mud.yahoo.com> 1. Create a new form. 2. Put a text box and a command button on it. 3. Name the text box txtTableName 4. Name the command button cmdMakeTable 5. In the Click Event of the command button put this code... Private Sub cmdMakeTable_Click() Dim strSQL As String strSQL = "SELECT CUSTID, CUST_NAME, CUST_ADDRESS INTO " _ & Me.txtTableName & " FROM tblCustomers" DoCmd.SetWarnings False DoCmd.RunSQL strSQL DoCmd.SetWarnings True End Sub 6. Of course you will change fields and tblCustomers to coincide with your fields and table name. 7. If you want to have the warning messages then comment out the two SetWarnings lines. 8. Load the form, type a name in the text box and click the button., May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us ----- Original Message ---- From: "Kaup, Chester" To: Access Developers discussion and problem solving Sent: Tuesday, August 28, 2007 9:32:40 AM Subject: [AccessD] Interactive Query Question I have a make table query in a database. Each time I run this I have to go into design view and change the name of the table the query writes to. Is there a way in the query or in VBA to insert a table name interactively. I cannot seem to think of one. Thanks. Chester Kaup Engineering Technician Kinder Morgan CO2 Company, LLP Office (432) 688-3797 FAX (432) 688-3799 No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ____________________________________________________________________________________ Boardwalk for $500? In 2007? Ha! Play Monopoly Here and Now (it's updated for today's economy) at Yahoo! Games. http://get.games.yahoo.com/proddesc?gamekey=monopolyherenow From accessd at shaw.ca Tue Aug 28 11:07:00 2007 From: accessd at shaw.ca (Jim Lawrence) Date: Tue, 28 Aug 2007 09:07:00 -0700 Subject: [AccessD] Force a new page in code In-Reply-To: <000301c7e96b$3a7706c0$0301a8c0@HAL9005> Message-ID: Hi Rocky: How is that control setup? Is it a group, a command or a piece of code? A client has a fairly straight forward report but at times wishes to have a certain group start at the top of a new page. I can think of certain long clumsy methods to do this but there must be some eloquent method like: Me.page.newpage < this is just pseudo code TIA Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Tuesday, August 28, 2007 5:02 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Force a new page in code Jim: There's a page break control which I have made visible and invisible programmatically during report generation, depending on whether I want it active. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Monday, August 27, 2007 11:19 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Force a new page in code Hi all: Is there a way to force a new page in Access reports under program control? TIA Jim -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.484 / Virus Database: 269.12.10/976 - Release Date: 8/27/2007 6:20 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Chester_Kaup at kindermorgan.com Tue Aug 28 11:07:55 2007 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Tue, 28 Aug 2007 11:07:55 -0500 Subject: [AccessD] Interactive Query Question In-Reply-To: <103650.98245.qm@web33111.mail.mud.yahoo.com> References: <103650.98245.qm@web33111.mail.mud.yahoo.com> Message-ID: Works great. Now one more question. What combination of single and double quotes do I use if the table name has spaces in it. Thanks! -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lonnie Johnson Sent: Tuesday, August 28, 2007 10:37 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Interactive Query Question 1. Create a new form. 2. Put a text box and a command button on it. 3. Name the text box txtTableName 4. Name the command button cmdMakeTable 5. In the Click Event of the command button put this code... Private Sub cmdMakeTable_Click() Dim strSQL As String strSQL = "SELECT CUSTID, CUST_NAME, CUST_ADDRESS INTO " _ & Me.txtTableName & " FROM tblCustomers" DoCmd.SetWarnings False DoCmd.RunSQL strSQL DoCmd.SetWarnings True End Sub 6. Of course you will change fields and tblCustomers to coincide with your fields and table name. 7. If you want to have the warning messages then comment out the two SetWarnings lines. 8. Load the form, type a name in the text box and click the button., May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us ----- Original Message ---- From: "Kaup, Chester" To: Access Developers discussion and problem solving Sent: Tuesday, August 28, 2007 9:32:40 AM Subject: [AccessD] Interactive Query Question I have a make table query in a database. Each time I run this I have to go into design view and change the name of the table the query writes to. Is there a way in the query or in VBA to insert a table name interactively. I cannot seem to think of one. Thanks. Chester Kaup Engineering Technician Kinder Morgan CO2 Company, LLP Office (432) 688-3797 FAX (432) 688-3799 No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ________________________________________________________________________ ____________ Boardwalk for $500? In 2007? Ha! Play Monopoly Here and Now (it's updated for today's economy) at Yahoo! Games. http://get.games.yahoo.com/proddesc?gamekey=monopolyherenow -- 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 28 11:22:33 2007 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Tue, 28 Aug 2007 12:22:33 -0400 Subject: [AccessD] Interactive Query Question Message-ID: <34C8A2AB1EF3564CB0D64DB6AFFDD5C208ED6F34@XLIVMBX35bkup.aig.com> strSQL = "SELECT CUSTID, CUST_NAME, CUST_ADDRESS INTO [" _ & Me.txtTableName & "] FROM tblCustomers" Just adding the square brackets should work for tables with or without spaces in their names. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Tuesday, August 28, 2007 12:08 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Interactive Query Question Works great. Now one more question. What combination of single and double quotes do I use if the table name has spaces in it. Thanks! -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lonnie Johnson Sent: Tuesday, August 28, 2007 10:37 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Interactive Query Question 1. Create a new form. 2. Put a text box and a command button on it. 3. Name the text box txtTableName 4. Name the command button cmdMakeTable 5. In the Click Event of the command button put this code... Private Sub cmdMakeTable_Click() Dim strSQL As String strSQL = "SELECT CUSTID, CUST_NAME, CUST_ADDRESS INTO " _ & Me.txtTableName & " FROM tblCustomers" DoCmd.SetWarnings False DoCmd.RunSQL strSQL DoCmd.SetWarnings True End Sub 6. Of course you will change fields and tblCustomers to coincide with your fields and table name. 7. If you want to have the warning messages then comment out the two SetWarnings lines. 8. Load the form, type a name in the text box and click the button., May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us ----- Original Message ---- From: "Kaup, Chester" To: Access Developers discussion and problem solving Sent: Tuesday, August 28, 2007 9:32:40 AM Subject: [AccessD] Interactive Query Question I have a make table query in a database. Each time I run this I have to go into design view and change the name of the table the query writes to. Is there a way in the query or in VBA to insert a table name interactively. I cannot seem to think of one. Thanks. Chester Kaup Engineering Technician Kinder Morgan CO2 Company, LLP Office (432) 688-3797 FAX (432) 688-3799 No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ________________________________________________________________________ ____________ Boardwalk for $500? In 2007? Ha! Play Monopoly Here and Now (it's updated for today's economy) at Yahoo! Games. http://get.games.yahoo.com/proddesc?gamekey=monopolyherenow -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From carbonnb at gmail.com Tue Aug 28 11:27:45 2007 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Tue, 28 Aug 2007 12:27:45 -0400 Subject: [AccessD] JIT SubForms Message-ID: I'm finally back in the development mode, from management mode, and have run into a problem with some JIT sub forms. I have a SubForm Control that can hold 1 of 5 subforms. I set the SourceObject, LinkChildFields and LinkMasterFields in code to change the subform. If I use one of the 3 that are similar (display, add and edit version), everything works just fine, but when I try and switch to a subform that is completely different, I get Parameter requests and errors popping up. It first asks for parameter that is one of the link fields (Child IIRC)., When I cancel the parameter request dialog I get an error 2101 The Setting you entered isn't valid for this property. The code actually DOES change it, but gives an error. This is the actual code I use: Me.sfmSubForm.SourceObject = "sfmShiftReport" Me.sfmSubForm.LinkChildFields = "ShiftReportDate" Me.sfmSubForm.LinkMasterFields = "txtShiftReportDate" I've tried setting all of these to an empty string first. No Joy, the error still appears. I've tried various orders of setting things, and "unsetting" them. Still get the error. Does anyone have any insight to why this isn't working for me? Thanks, -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" From accessd at shaw.ca Tue Aug 28 11:45:33 2007 From: accessd at shaw.ca (Jim Lawrence) Date: Tue, 28 Aug 2007 09:45:33 -0700 Subject: [AccessD] JIT SubForms In-Reply-To: Message-ID: <10F4C12C012C42C89EC8BA1DE35942EF@creativesystemdesigns.com> Hi Bryan: This is just a SWAG but would something like the following work? Me.fmMainForm.sfmSubForm.SourceObject = "sfmShiftReport" HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bryan Carbonnell Sent: Tuesday, August 28, 2007 9:28 AM To: Access Developers discussion and problem solving Subject: [AccessD] JIT SubForms I'm finally back in the development mode, from management mode, and have run into a problem with some JIT sub forms. I have a SubForm Control that can hold 1 of 5 subforms. I set the SourceObject, LinkChildFields and LinkMasterFields in code to change the subform. If I use one of the 3 that are similar (display, add and edit version), everything works just fine, but when I try and switch to a subform that is completely different, I get Parameter requests and errors popping up. It first asks for parameter that is one of the link fields (Child IIRC)., When I cancel the parameter request dialog I get an error 2101 The Setting you entered isn't valid for this property. The code actually DOES change it, but gives an error. This is the actual code I use: Me.sfmSubForm.SourceObject = "sfmShiftReport" Me.sfmSubForm.LinkChildFields = "ShiftReportDate" Me.sfmSubForm.LinkMasterFields = "txtShiftReportDate" I've tried setting all of these to an empty string first. No Joy, the error still appears. I've tried various orders of setting things, and "unsetting" them. Still get the error. Does anyone have any insight to why this isn't working for me? Thanks, -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Tue Aug 28 11:48:25 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 28 Aug 2007 09:48:25 -0700 Subject: [AccessD] JIT SubForms In-Reply-To: References: Message-ID: I ran into this some years ago. The master child fields can't be changed on the fly, if I remember correctly, so you can only set them if there is no sourceobject. I made sure that all the JIT subforms for a particular tab used the same master/child links and then added something like this: strSrcObject = "fsbDailyRigInfo" If Len(Me.fsbDailyRigInfo.SourceObject) = 0 Or _ Me.fsbDailyRigInfo.SourceObject <> strSrcObject Then Me.fsbDailyRigInfo.SourceObject = strSrcObject If Len(Me.fsbDailyRigInfo.LinkMasterFields) = 0 Then Me.fsbDailyRigInfo.LinkMasterFields = "cboWellID;cboReportNo" End If If Len(Me.fsbDailyRigInfo.LinkChildFields) = 0 Then Me.fsbDailyRigInfo.LinkChildFields = "WellID;ReportNo" End If End If Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bryan Carbonnell Sent: Tuesday, August 28, 2007 9:28 AM To: Access Developers discussion and problem solving Subject: [AccessD] JIT SubForms I'm finally back in the development mode, from management mode, and have run into a problem with some JIT sub forms. I have a SubForm Control that can hold 1 of 5 subforms. I set the SourceObject, LinkChildFields and LinkMasterFields in code to change the subform. If I use one of the 3 that are similar (display, add and edit version), everything works just fine, but when I try and switch to a subform that is completely different, I get Parameter requests and errors popping up. It first asks for parameter that is one of the link fields (Child IIRC)., When I cancel the parameter request dialog I get an error 2101 The Setting you entered isn't valid for this property. The code actually DOES change it, but gives an error. This is the actual code I use: Me.sfmSubForm.SourceObject = "sfmShiftReport" Me.sfmSubForm.LinkChildFields = "ShiftReportDate" Me.sfmSubForm.LinkMasterFields = "txtShiftReportDate" I've tried setting all of these to an empty string first. No Joy, the error still appears. I've tried various orders of setting things, and "unsetting" them. Still get the error. Does anyone have any insight to why this isn't working for me? Thanks, -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From lmrazek at lcm-res.com Tue Aug 28 12:03:10 2007 From: lmrazek at lcm-res.com (Lawrence Mrazek) Date: Tue, 28 Aug 2007 12:03:10 -0500 Subject: [AccessD] Calendar Control Not Displaying Day Numbers In-Reply-To: <6DDC7FB60B1A4AC6B68B61C2AB8427D2@BPCS> References: <20070828153441.DBS81366@dommail.onthenet.com.au><000601c7e96f$2e992aa0$0200a8c0@danwaters><005a01c7e978$fa76b760$026fa8c0@lcmdv8000> <6DDC7FB60B1A4AC6B68B61C2AB8427D2@BPCS> Message-ID: <009801c7e995$50201ff0$026fa8c0@lcmdv8000> Hi Bill: No, they are different, since the same app runs fine on all of the other workstations ... Larry Mrazek LCM Research, Inc. www.lcm-res.com lmrazek at lcm-res.com ph. 314-432-5886 mobile: 314-496-1645 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bill Patten Sent: Tuesday, August 28, 2007 10:05 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Calendar Control Not Displaying Day Numbers Hi Larry, Any chance the background color and the dayfontcolor are the same??? Bill ----- Original Message ----- From: "Lawrence Mrazek" To: "'Access Developers discussion and problem solving'" Sent: Tuesday, August 28, 2007 6:40 AM Subject: [AccessD] Calendar Control Not Displaying Day Numbers Hi Folks: I have one user who reports that his calendar control, while it displays, is lacking the numbers for the days. That is (trying to explain this ... ), the calendar control displays, with the proper days in the boxes, etc., and if you click on a "day", it does return the proper date. Any ideas on how to troubleshoot this? The same FE is working fine on other workstations. Larry Mrazek LCM Research, Inc. www.lcm-res.com lmrazek at lcm-res.com ph. 314-432-5886 mobile: 314-496-1645 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Tue Aug 28 12:12:12 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 28 Aug 2007 13:12:12 -0400 Subject: [AccessD] JIT SubForms In-Reply-To: Message-ID: <20070828171225.14DD7C10D@smtp-auth.no-ip.com> I think Charlotte is correct. What you have to do is clear the source object, set the master/child fields, then set the source object again. Never set / clear either of the master / child field properties with the source object property set. Basically what you also want to do is make sure each subform will load NOT JIT first, get everything correct there, then do it in the order shown above. I have JIT built in to my framework and so the code always does it in this order and I do not experience problems. I do literally dozens of different JIT subforms. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, August 28, 2007 12:48 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] JIT SubForms I ran into this some years ago. The master child fields can't be changed on the fly, if I remember correctly, so you can only set them if there is no sourceobject. I made sure that all the JIT subforms for a particular tab used the same master/child links and then added something like this: strSrcObject = "fsbDailyRigInfo" If Len(Me.fsbDailyRigInfo.SourceObject) = 0 Or _ Me.fsbDailyRigInfo.SourceObject <> strSrcObject Then Me.fsbDailyRigInfo.SourceObject = strSrcObject If Len(Me.fsbDailyRigInfo.LinkMasterFields) = 0 Then Me.fsbDailyRigInfo.LinkMasterFields = "cboWellID;cboReportNo" End If If Len(Me.fsbDailyRigInfo.LinkChildFields) = 0 Then Me.fsbDailyRigInfo.LinkChildFields = "WellID;ReportNo" End If End If Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bryan Carbonnell Sent: Tuesday, August 28, 2007 9:28 AM To: Access Developers discussion and problem solving Subject: [AccessD] JIT SubForms I'm finally back in the development mode, from management mode, and have run into a problem with some JIT sub forms. I have a SubForm Control that can hold 1 of 5 subforms. I set the SourceObject, LinkChildFields and LinkMasterFields in code to change the subform. If I use one of the 3 that are similar (display, add and edit version), everything works just fine, but when I try and switch to a subform that is completely different, I get Parameter requests and errors popping up. It first asks for parameter that is one of the link fields (Child IIRC)., When I cancel the parameter request dialog I get an error 2101 The Setting you entered isn't valid for this property. The code actually DOES change it, but gives an error. This is the actual code I use: Me.sfmSubForm.SourceObject = "sfmShiftReport" Me.sfmSubForm.LinkChildFields = "ShiftReportDate" Me.sfmSubForm.LinkMasterFields = "txtShiftReportDate" I've tried setting all of these to an empty string first. No Joy, the error still appears. I've tried various orders of setting things, and "unsetting" them. Still get the error. Does anyone have any insight to why this isn't working for me? Thanks, -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Tue Aug 28 12:13:41 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 28 Aug 2007 10:13:41 -0700 Subject: [AccessD] Calendar Control Not Displaying Day Numbers In-Reply-To: <009801c7e995$50201ff0$026fa8c0@lcmdv8000> References: <20070828153441.DBS81366@dommail.onthenet.com.au><000601c7e96f$2e992aa0$0200a8c0@danwaters><005a01c7e978$fa76b760$026fa8c0@lcmdv8000><6DDC7FB60B1A4AC6B68B61C2AB8427D2@BPCS> <009801c7e995$50201ff0$026fa8c0@lcmdv8000> Message-ID: Is the user running Vista? Does his workstation have the same Access service packs and MDAC version as all the others? Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lawrence Mrazek Sent: Tuesday, August 28, 2007 10:03 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Calendar Control Not Displaying Day Numbers Hi Bill: No, they are different, since the same app runs fine on all of the other workstations ... Larry Mrazek LCM Research, Inc. www.lcm-res.com lmrazek at lcm-res.com ph. 314-432-5886 mobile: 314-496-1645 - From bill_patten at embarqmail.com Tue Aug 28 12:16:46 2007 From: bill_patten at embarqmail.com (Bill Patten) Date: Tue, 28 Aug 2007 10:16:46 -0700 Subject: [AccessD] Calendar Control Not Displaying Day Numbers In-Reply-To: <009801c7e995$50201ff0$026fa8c0@lcmdv8000> References: <20070828153441.DBS81366@dommail.onthenet.com.au><000601c7e96f$2e992aa0$0200a8c0@danwaters><005a01c7e978$fa76b760$026fa8c0@lcmdv8000><6DDC7FB60B1A4AC6B68B61C2AB8427D2@BPCS> <009801c7e995$50201ff0$026fa8c0@lcmdv8000> Message-ID: Larry, I was thinking that perhaps the user changed the default windows color or something and that had an effect, I didn't test it of course. Bill ----- Original Message ----- From: "Lawrence Mrazek" To: "'Access Developers discussion and problem solving'" Sent: Tuesday, August 28, 2007 10:03 AM Subject: Re: [AccessD] Calendar Control Not Displaying Day Numbers Hi Bill: No, they are different, since the same app runs fine on all of the other workstations ... Larry Mrazek LCM Research, Inc. www.lcm-res.com lmrazek at lcm-res.com ph. 314-432-5886 mobile: 314-496-1645 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bill Patten Sent: Tuesday, August 28, 2007 10:05 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Calendar Control Not Displaying Day Numbers Hi Larry, Any chance the background color and the dayfontcolor are the same??? Bill ----- Original Message ----- From: "Lawrence Mrazek" To: "'Access Developers discussion and problem solving'" Sent: Tuesday, August 28, 2007 6:40 AM Subject: [AccessD] Calendar Control Not Displaying Day Numbers Hi Folks: I have one user who reports that his calendar control, while it displays, is lacking the numbers for the days. That is (trying to explain this ... ), the calendar control displays, with the proper days in the boxes, etc., and if you click on a "day", it does return the proper date. Any ideas on how to troubleshoot this? The same FE is working fine on other workstations. Larry Mrazek LCM Research, Inc. www.lcm-res.com lmrazek at lcm-res.com ph. 314-432-5886 mobile: 314-496-1645 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Tue Aug 28 12:36:31 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Tue, 28 Aug 2007 10:36:31 -0700 Subject: [AccessD] Force a new page in code In-Reply-To: Message-ID: <001301c7e999$f8b63fb0$0301a8c0@HAL9005> It sounds like you need to add a grouping level, if it's not already there, and then add the header and the footer. In the footer you drag the page break control from the report design toolbar and drop it into the footer. So it will page break on that group level. In the format event of the header for that group, ask if this is the group that you want to break on. If so, make the page break control visible, if not make it invisible. Clear as mud? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Tuesday, August 28, 2007 9:07 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Force a new page in code Hi Rocky: How is that control setup? Is it a group, a command or a piece of code? A client has a fairly straight forward report but at times wishes to have a certain group start at the top of a new page. I can think of certain long clumsy methods to do this but there must be some eloquent method like: Me.page.newpage < this is just pseudo code TIA Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Tuesday, August 28, 2007 5:02 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Force a new page in code Jim: There's a page break control which I have made visible and invisible programmatically during report generation, depending on whether I want it active. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Monday, August 27, 2007 11:19 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Force a new page in code Hi all: Is there a way to force a new page in Access reports under program control? TIA Jim -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.484 / Virus Database: 269.12.10/976 - Release Date: 8/27/2007 6:20 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.484 / Virus Database: 269.12.10/976 - Release Date: 8/27/2007 6:20 PM From carbonnb at gmail.com Tue Aug 28 13:30:22 2007 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Tue, 28 Aug 2007 14:30:22 -0400 Subject: [AccessD] JIT SubForms In-Reply-To: <20070828171225.14DD7C10D@smtp-auth.no-ip.com> References: <20070828171225.14DD7C10D@smtp-auth.no-ip.com> Message-ID: On 8/28/07, jwcolby wrote: > I think Charlotte is correct. What you have to do is clear the source > object, set the master/child fields, then set the source object again. > Never set / clear either of the master / child field properties with the > source object property set. > > Basically what you also want to do is make sure each subform will load NOT > JIT first, get everything correct there, then do it in the order shown > above. I have JIT built in to my framework and so the code always does it > in this order and I do not experience problems. I do literally dozens of > different JIT subforms. OK, let's see if I've got this right, this is my new code, that STILL doesn't work without throwing an error 2101. Me.sfmSubForm.SourceObject = vbNullString Me.sfmSubForm.LinkChildFields = "" '<-- Error's Here Me.sfmSubForm.LinkMasterFields = "" ' <-And Here Me.sfmSubForm.LinkMasterFields = "txtShiftReportDate" ' <-And Here Me.sfmSubForm.LinkChildFields = "ShiftReportDate" ' <-And Here Me.sfmSubForm.SourceObject = "sfmShiftReport" The weird thing is that the even though Access throws an error, the value does actually get set. I can work around the error bu sticking an On Error Resume Next before everything gets set, and then restoring the error handling after it all, but that just doesn't feel right. Does this look right? -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" From lmrazek at lcm-res.com Tue Aug 28 13:33:23 2007 From: lmrazek at lcm-res.com (Lawrence Mrazek) Date: Tue, 28 Aug 2007 13:33:23 -0500 Subject: [AccessD] Calendar Control Not Displaying Day Numbers In-Reply-To: References: <20070828153441.DBS81366@dommail.onthenet.com.au><000601c7e96f$2e992aa0$0200a8c0@danwaters><005a01c7e978$fa76b760$026fa8c0@lcmdv8000><6DDC7FB60B1A4AC6B68B61C2AB8427D2@BPCS><009801c7e995$50201ff0$026fa8c0@lcmdv8000> Message-ID: <00ad01c7e9a1$ea88aa60$026fa8c0@lcmdv8000> Hi Charlotte: I'll check out his machine specs ... He shouldn't be running Vista, however, since it isn't on the company's list of approved software. Would reinstalling the control possibly help? Larry Mrazek LCM Research, Inc. www.lcm-res.com lmrazek at lcm-res.com ph. 314-432-5886 mobile: 314-496-1645 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, August 28, 2007 12:14 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Calendar Control Not Displaying Day Numbers Is the user running Vista? Does his workstation have the same Access service packs and MDAC version as all the others? Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lawrence Mrazek Sent: Tuesday, August 28, 2007 10:03 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Calendar Control Not Displaying Day Numbers Hi Bill: No, they are different, since the same app runs fine on all of the other workstations ... Larry Mrazek LCM Research, Inc. www.lcm-res.com lmrazek at lcm-res.com ph. 314-432-5886 mobile: 314-496-1645 - -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Tue Aug 28 13:43:17 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 28 Aug 2007 14:43:17 -0400 Subject: [AccessD] JIT SubForms In-Reply-To: Message-ID: <20070828184329.EB2BCBD98@smtp-auth.no-ip.com> I set the source object to "" (empty string) John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bryan Carbonnell Sent: Tuesday, August 28, 2007 2:30 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] JIT SubForms On 8/28/07, jwcolby wrote: > I think Charlotte is correct. What you have to do is clear the source > object, set the master/child fields, then set the source object again. > Never set / clear either of the master / child field properties with > the source object property set. > > Basically what you also want to do is make sure each subform will load > NOT JIT first, get everything correct there, then do it in the order > shown above. I have JIT built in to my framework and so the code > always does it in this order and I do not experience problems. I do > literally dozens of different JIT subforms. OK, let's see if I've got this right, this is my new code, that STILL doesn't work without throwing an error 2101. Me.sfmSubForm.SourceObject = vbNullString Me.sfmSubForm.LinkChildFields = "" '<-- Error's Here Me.sfmSubForm.LinkMasterFields = "" ' <-And Here Me.sfmSubForm.LinkMasterFields = "txtShiftReportDate" ' <-And Here Me.sfmSubForm.LinkChildFields = "ShiftReportDate" ' <-And Here Me.sfmSubForm.SourceObject = "sfmShiftReport" The weird thing is that the even though Access throws an error, the value does actually get set. I can work around the error bu sticking an On Error Resume Next before everything gets set, and then restoring the error handling after it all, but that just doesn't feel right. Does this look right? -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Tue Aug 28 13:54:16 2007 From: accessd at shaw.ca (Jim Lawrence) Date: Tue, 28 Aug 2007 11:54:16 -0700 Subject: [AccessD] Force a new page in code In-Reply-To: <001301c7e999$f8b63fb0$0301a8c0@HAL9005> Message-ID: <214FED4CA47B4306B89C3CA6714926D7@creativesystemdesigns.com> Hi Rocky: I am not usually this slow but a senior moment.... extending into hours has over come me. Maybe a sample would help??? TIA Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Tuesday, August 28, 2007 10:37 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Force a new page in code It sounds like you need to add a grouping level, if it's not already there, and then add the header and the footer. In the footer you drag the page break control from the report design toolbar and drop it into the footer. So it will page break on that group level. In the format event of the header for that group, ask if this is the group that you want to break on. If so, make the page break control visible, if not make it invisible. Clear as mud? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Tuesday, August 28, 2007 9:07 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Force a new page in code Hi Rocky: How is that control setup? Is it a group, a command or a piece of code? A client has a fairly straight forward report but at times wishes to have a certain group start at the top of a new page. I can think of certain long clumsy methods to do this but there must be some eloquent method like: Me.page.newpage < this is just pseudo code TIA Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Tuesday, August 28, 2007 5:02 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Force a new page in code Jim: There's a page break control which I have made visible and invisible programmatically during report generation, depending on whether I want it active. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Monday, August 27, 2007 11:19 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Force a new page in code Hi all: Is there a way to force a new page in Access reports under program control? TIA Jim -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.484 / Virus Database: 269.12.10/976 - Release Date: 8/27/2007 6:20 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.484 / Virus Database: 269.12.10/976 - Release Date: 8/27/2007 6:20 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From carbonnb at gmail.com Tue Aug 28 13:59:11 2007 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Tue, 28 Aug 2007 14:59:11 -0400 Subject: [AccessD] JIT SubForms In-Reply-To: <20070828184329.EB2BCBD98@smtp-auth.no-ip.com> References: <20070828184329.EB2BCBD98@smtp-auth.no-ip.com> Message-ID: On 8/28/07, jwcolby wrote: > I set the source object to "" (empty string) Tried that too. Same issue. -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" From cfoust at infostatsystems.com Tue Aug 28 14:46:18 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 28 Aug 2007 12:46:18 -0700 Subject: [AccessD] JIT SubForms In-Reply-To: References: <20070828184329.EB2BCBD98@smtp-auth.no-ip.com> Message-ID: I don't remember ever being able to clear the Master/Child links once they'd been set, even after clearing the source object. Have you tried clearing the source object and then just setting the links to the new strings without clearing them first? Otherwise, we'll have to ask JC what magic code he uses and what version of Access it runs in. ;-> Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bryan Carbonnell Sent: Tuesday, August 28, 2007 11:59 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] JIT SubForms On 8/28/07, jwcolby wrote: > I set the source object to "" (empty string) Tried that too. Same issue. -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Tue Aug 28 14:48:07 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 28 Aug 2007 12:48:07 -0700 Subject: [AccessD] Calendar Control Not Displaying Day Numbers In-Reply-To: <00ad01c7e9a1$ea88aa60$026fa8c0@lcmdv8000> References: <20070828153441.DBS81366@dommail.onthenet.com.au><000601c7e96f$2e992aa0$0200a8c0@danwaters><005a01c7e978$fa76b760$026fa8c0@lcmdv8000><6DDC7FB60B1A4AC6B68B61C2AB8427D2@BPCS><009801c7e995$50201ff0$026fa8c0@lcmdv8000> <00ad01c7e9a1$ea88aa60$026fa8c0@lcmdv8000> Message-ID: If the calendar control is third party, then reinstalling the control could help. If it's one of the Windows dlls, try reregistering it on that machine. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lawrence Mrazek Sent: Tuesday, August 28, 2007 11:33 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Calendar Control Not Displaying Day Numbers Hi Charlotte: I'll check out his machine specs ... He shouldn't be running Vista, however, since it isn't on the company's list of approved software. Would reinstalling the control possibly help? Larry Mrazek LCM Research, Inc. www.lcm-res.com lmrazek at lcm-res.com ph. 314-432-5886 mobile: 314-496-1645 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, August 28, 2007 12:14 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Calendar Control Not Displaying Day Numbers Is the user running Vista? Does his workstation have the same Access service packs and MDAC version as all the others? Charlotte Foust From jwcolby at colbyconsulting.com Tue Aug 28 15:21:14 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 28 Aug 2007 16:21:14 -0400 Subject: [AccessD] JIT SubForms In-Reply-To: Message-ID: <20070828202126.A73E0BC02@smtp-auth.no-ip.com> I'll go find the code in my framework. I don't actually use it in this manner though. I usually set the links then clear and load the source object. I think I remember having to save the link data, set all to "" and then set all three of them again. I can't find the source until after I cook dinner and take my son to his Karate class though so it will be this evening. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, August 28, 2007 3:46 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] JIT SubForms I don't remember ever being able to clear the Master/Child links once they'd been set, even after clearing the source object. Have you tried clearing the source object and then just setting the links to the new strings without clearing them first? Otherwise, we'll have to ask JC what magic code he uses and what version of Access it runs in. ;-> Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bryan Carbonnell Sent: Tuesday, August 28, 2007 11:59 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] JIT SubForms On 8/28/07, jwcolby wrote: > I set the source object to "" (empty string) Tried that too. Same issue. -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From carbonnb at gmail.com Tue Aug 28 15:31:12 2007 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Tue, 28 Aug 2007 16:31:12 -0400 Subject: [AccessD] JIT SubForms In-Reply-To: References: <20070828184329.EB2BCBD98@smtp-auth.no-ip.com> Message-ID: On 8/28/07, Charlotte Foust wrote: > I don't remember ever being able to clear the Master/Child links once > they'd been set, even after clearing the source object. Have you tried > clearing the source object and then just setting the links to the new > strings without clearing them first? Yep, I've tried setting them directly. Still no dice. They actually DO set to the new values, but it throws the error. > Otherwise, we'll have to ask JC > what magic code he uses and what version of Access it runs in. ;-> Magic code.... mmmm.... Does he have a magic bank card? :) -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" From carbonnb at gmail.com Tue Aug 28 15:33:00 2007 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Tue, 28 Aug 2007 16:33:00 -0400 Subject: [AccessD] JIT SubForms In-Reply-To: <20070828202126.A73E0BC02@smtp-auth.no-ip.com> References: <20070828202126.A73E0BC02@smtp-auth.no-ip.com> Message-ID: On 8/28/07, jwcolby wrote: > I'll go find the code in my framework. I don't actually use it in this > manner though. I usually set the links then clear and load the source > object. I think I remember having to save the link data, set all to "" and > then set all three of them again. > > I can't find the source until after I cook dinner and take my son to his > Karate class though so it will be this evening. Ah, the joys of being at home with the kids. Gotta love it!!! No rush. This project isn't going anywhere fast. My brain ain't working too well these days :) -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" From lmrazek at lcm-res.com Tue Aug 28 17:07:45 2007 From: lmrazek at lcm-res.com (Lawrence Mrazek) Date: Tue, 28 Aug 2007 17:07:45 -0500 Subject: [AccessD] Calendar Control Not Displaying Day Numbers In-Reply-To: References: <20070828153441.DBS81366@dommail.onthenet.com.au><000601c7e96f$2e992aa0$0200a8c0@danwaters><005a01c7e978$fa76b760$026fa8c0@lcmdv8000><6DDC7FB60B1A4AC6B68B61C2AB8427D2@BPCS><009801c7e995$50201ff0$026fa8c0@lcmdv8000><00ad01c7e9a1$ea88aa60$026fa8c0@lcmdv8000> Message-ID: <00ea01c7e9bf$dd11dff0$026fa8c0@lcmdv8000> Thanks Charlotte: They are using the MSCAL.ocx control, so I suppose I'll try to re-register it to see if that does the trick. Larry Mrazek LCM Research, Inc. www.lcm-res.com lmrazek at lcm-res.com ph. 314-432-5886 mobile: 314-496-1645 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, August 28, 2007 2:48 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Calendar Control Not Displaying Day Numbers If the calendar control is third party, then reinstalling the control could help. If it's one of the Windows dlls, try reregistering it on that machine. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lawrence Mrazek Sent: Tuesday, August 28, 2007 11:33 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Calendar Control Not Displaying Day Numbers Hi Charlotte: I'll check out his machine specs ... He shouldn't be running Vista, however, since it isn't on the company's list of approved software. Would reinstalling the control possibly help? Larry Mrazek LCM Research, Inc. www.lcm-res.com lmrazek at lcm-res.com ph. 314-432-5886 mobile: 314-496-1645 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, August 28, 2007 12:14 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Calendar Control Not Displaying Day Numbers Is the user running Vista? Does his workstation have the same Access service packs and MDAC version as all the others? Charlotte Foust -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Tue Aug 28 18:36:13 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 28 Aug 2007 19:36:13 -0400 Subject: [AccessD] JIT SubForms In-Reply-To: Message-ID: <20070828233614.A3BC1BEC9@smtp-auth.no-ip.com> It is entirely possible that I just ignore the error as well. 8~0 John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bryan Carbonnell Sent: Tuesday, August 28, 2007 4:31 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] JIT SubForms On 8/28/07, Charlotte Foust wrote: > I don't remember ever being able to clear the Master/Child links once > they'd been set, even after clearing the source object. Have you > tried clearing the source object and then just setting the links to > the new strings without clearing them first? Yep, I've tried setting them directly. Still no dice. They actually DO set to the new values, but it throws the error. > Otherwise, we'll have to ask JC > what magic code he uses and what version of Access it runs in. ;-> Magic code.... mmmm.... Does he have a magic bank card? :) -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Tue Aug 28 18:40:05 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 28 Aug 2007 19:40:05 -0400 Subject: [AccessD] JIT SubForms In-Reply-To: Message-ID: <20070828234006.DD007BEC9@smtp-auth.no-ip.com> My commute is a royal PITA. These days I am working 5 am to 5 pm. I have to climb at least 10 stairs to get to the office. On the up side, my first item of business once arriving at my office is to get on the treadmill for 20 minutes or so, then 15 minutes on the home gym. Gotta get those numbers up. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bryan Carbonnell Sent: Tuesday, August 28, 2007 4:33 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] JIT SubForms On 8/28/07, jwcolby wrote: > I'll go find the code in my framework. I don't actually use it in > this manner though. I usually set the links then clear and load the > source object. I think I remember having to save the link data, set > all to "" and then set all three of them again. > > I can't find the source until after I cook dinner and take my son to > his Karate class though so it will be this evening. Ah, the joys of being at home with the kids. Gotta love it!!! No rush. This project isn't going anywhere fast. My brain ain't working too well these days :) -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Tue Aug 28 18:59:23 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 28 Aug 2007 19:59:23 -0400 Subject: [AccessD] JIT SubForms In-Reply-To: Message-ID: <20070828235924.8CBCCBD7C@smtp-auth.no-ip.com> Bryan, This is the code from C2DbFW3G. It doesn't appear that I am seeing errors on the bind side. On the unbind side I have an error case 2101 which I have not commented as to what it is. I will look back at the older framework to see how I handled it there as well. Function Bind(Optional lstrLinkChildFields As Variant = "", _ Optional lstrLinkMasterFields As Variant = "", _ Optional lstrSrcObject As Variant = "") On Error GoTo Err_Bind Dim lfrm As Form If Not IsEmpty(lstrLinkChildFields) Then mstrLinkChildFields = lstrLinkChildFields End If If Not IsEmpty(lstrLinkMasterFields) Then mstrLinkMasterFields = lstrLinkMasterFields End If If Not IsEmpty(lstrSrcObject) Then mstrSourceObject = lstrSrcObject End If With mctlSFrm .LinkChildFields = mstrLinkChildFields .LinkMasterFields = mstrLinkMasterFields .SourceObject = mstrSourceObject On Error Resume Next Set lfrm = mctlSFrm.Form Set mSubFormClass = lfrm.fclsfrm Set lfrm = Nothing End With Exit_Bind: Exit Function Err_Bind: MsgBox Err.Description, , "Error in Function dclsCtlSFrm.Bind" Resume Exit_Bind Resume 0 '.FOR TROUBLESHOOTING End Function ' 'Unbinds the subform from the subform control for JIT subforms ' 'The SourceObject needs to be cleared first since a Current event will run for each Link you clear 'if the SourceObject is still set ' Function UnBind() On Error GoTo Err_UnBind If mctlSFrm.SourceObject <> "" Then 'Debug.Print mctlSFrm.Name & " is unbinding" assDebugPrint mctlSFrm.name & ":UnBind:" & mctlSFrm.SourceObject, DebugPrint ' If Len(mctlSFrm.Form.RecordSource) = 0 Then ' End If ' On Error Resume Next If mblnJITSFrmUnload Then mfrm.fclsfrm.Unbinding = True 'cleanup pointer to the subform's class mSubFormClass.mTerm Set mSubFormClass = Nothing mctlSFrm.SourceObject = "" mfrm.RecordSource = "" mctlSFrm.LinkChildFields = "" mctlSFrm.LinkMasterFields = "" End If End If Exit_UnBind: On Error Resume Next Exit Function Err_UnBind: Select Case Err Case 2101 Resume Next Case Else MsgBox Err.Description, , "Error in Function dclsCtlSFrm.UnBind" Resume Exit_UnBind End Select Resume 0 '.FOR TROUBLESHOOTING End Function John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bryan Carbonnell Sent: Tuesday, August 28, 2007 4:33 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] JIT SubForms On 8/28/07, jwcolby wrote: > I'll go find the code in my framework. I don't actually use it in > this manner though. I usually set the links then clear and load the > source object. I think I remember having to save the link data, set > all to "" and then set all three of them again. > > I can't find the source until after I cook dinner and take my son to > his Karate class though so it will be this evening. Ah, the joys of being at home with the kids. Gotta love it!!! No rush. This project isn't going anywhere fast. My brain ain't working too well these days :) -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Tue Aug 28 19:15:11 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Tue, 28 Aug 2007 17:15:11 -0700 Subject: [AccessD] Force a new page in code In-Reply-To: <214FED4CA47B4306B89C3CA6714926D7@creativesystemdesigns.com> Message-ID: <008301c7e9d1$ab1a1b40$0301a8c0@HAL9005> Jim: I'll send you a sample report off-line if you send me your email address. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Tuesday, August 28, 2007 11:54 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Force a new page in code Hi Rocky: I am not usually this slow but a senior moment.... extending into hours has over come me. Maybe a sample would help??? TIA Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Tuesday, August 28, 2007 10:37 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Force a new page in code It sounds like you need to add a grouping level, if it's not already there, and then add the header and the footer. In the footer you drag the page break control from the report design toolbar and drop it into the footer. So it will page break on that group level. In the format event of the header for that group, ask if this is the group that you want to break on. If so, make the page break control visible, if not make it invisible. Clear as mud? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Tuesday, August 28, 2007 9:07 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Force a new page in code Hi Rocky: How is that control setup? Is it a group, a command or a piece of code? A client has a fairly straight forward report but at times wishes to have a certain group start at the top of a new page. I can think of certain long clumsy methods to do this but there must be some eloquent method like: Me.page.newpage < this is just pseudo code TIA Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Tuesday, August 28, 2007 5:02 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Force a new page in code Jim: There's a page break control which I have made visible and invisible programmatically during report generation, depending on whether I want it active. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Monday, August 27, 2007 11:19 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Force a new page in code Hi all: Is there a way to force a new page in Access reports under program control? TIA Jim -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.484 / Virus Database: 269.12.10/976 - Release Date: 8/27/2007 6:20 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.484 / Virus Database: 269.12.10/976 - Release Date: 8/27/2007 6:20 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.484 / Virus Database: 269.12.10/976 - Release Date: 8/27/2007 6:20 PM From pcs at azizaz.com Tue Aug 28 19:37:15 2007 From: pcs at azizaz.com (pcs at azizaz.com) Date: Wed, 29 Aug 2007 10:37:15 +1000 (EST) Subject: [AccessD] Tabcontrol mis-behaving Message-ID: <20070829103715.DBU53417@dommail.onthenet.com.au> Hi Dan, The old .mdb file had themed controls turned off!! Yes, when I created the new database container and copied all the objects into this, I only turned off 'Track Name Autocorrect info' and didn't know that the .mdb would default to 'Use Windows Themed Controls on Forms'.... When turning this option off, I was able to get a transparent backstyle tab control again - using Access 2003 ... So, I guess if you want to use Windows Themed Control and also have a background color on the Tab pages that are similar to the general background color of the Form, your only option is to fill out the tab page with a colored box control to cover up the default white background of the tab page.... Regards borge ---- Original message ---- >Date: Tue, 28 Aug 2007 07:30:12 -0500 >From: "Dan Waters" >Subject: Re: [AccessD] Tabcontrol mis-behaving >To: "'Access Developers discussion and problem solving'" > >Hi Borge, > >In Access 2003, you have the option of using Windows Themed Controls in >Tools|Options|Forms & Reports. If you check this, you get rounded corner >buttons, white tab control backgrounds, etc. Perhaps your original database >did not have this checked, but your new database does. > >I wasn't able to change the tab control color in Access 2002 either - it was >always Access gray. > >Keep using tab controls! They are a great way to present many times the >number of controls to users as you have space on the screen. > >I don't know about the other issues. Good luck with those. > >Dan > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of pcs at azizaz.com >Sent: Tuesday, August 28, 2007 12:35 AM >To: Access Developers discussion and problemsolving >Subject: [AccessD] Tabcontrol mis-behaving > >Access 2003 >On XP and Vista > >I have Form in a small app that has a Tabcontrol with 4 >pages two of which are in use. >On on tab page a few text controls and subform control >On the other tab page an activex control (ocxWeb) > >Transparent Backstyle >Style = None >Multirow = No > >After a couple of days running fine on Vista it now crashes >continous when trying to open the Form with the tabcontrol. > >On XP box works fine > >I Import the app from XP box to Vista box - same thing >happens again - Access crashes (exception in Access.exe) >when trying to open Form. > >I create an empty .mdb and import all objects. > >I Open the App and lo and behold!! the Form opens, but the >background / backstyle of the Tabcontrol is now WHITE!! >although setting is still set to transparent backstyle.... > >No way I can get rid of this unwanted white background. > >What is this? > >Should I just re-create the Form with a transparent >backstyle tabcontrol - hoping this is just a one time odd >behaviour - or is there something about tabcontrols that >suggest that I should stay away from them??? > >Regards >Borge >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com From carbonnb at gmail.com Tue Aug 28 20:23:03 2007 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Tue, 28 Aug 2007 21:23:03 -0400 Subject: [AccessD] JIT SubForms In-Reply-To: <20070828233614.A3BC1BEC9@smtp-auth.no-ip.com> References: <20070828233614.A3BC1BEC9@smtp-auth.no-ip.com> Message-ID: On 8/28/07, jwcolby wrote: > It is entirely possible that I just ignore the error as well. 8~0 Yea, I'm thinking that's the way I'm going to have to go. It just feels like cheating though. -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" From carbonnb at gmail.com Tue Aug 28 20:28:00 2007 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Tue, 28 Aug 2007 21:28:00 -0400 Subject: [AccessD] JIT SubForms In-Reply-To: <20070828235924.8CBCCBD7C@smtp-auth.no-ip.com> References: <20070828235924.8CBCCBD7C@smtp-auth.no-ip.com> Message-ID: On 8/28/07, jwcolby wrote: > This is the code from C2DbFW3G. It doesn't appear that I am seeing errors > on the bind side. On the unbind side I have an error case 2101 which I have > not commented as to what it is. I will look back at the older framework to > see how I handled it there as well. Thanks John. I'll look at this in more detail in the am during my commute. It looks like I just need to handle the 2101 and ignore it. Still feels like cheating though. -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" From fuller.artful at gmail.com Wed Aug 29 02:38:05 2007 From: fuller.artful at gmail.com (Arthur Fuller) Date: Wed, 29 Aug 2007 03:38:05 -0400 Subject: [AccessD] Date-scoping Message-ID: <29f585dd0708290038q70225123v23b00e4bbacdab3b@mail.gmail.com> It's been a long while since I've done an MDB-BE and it's amazing how much one forgets. I'm trying to date-scope a report. I've got a little form that asks for start and end dates, and the result is being passed in like this: (TransactionTypeID= 2 AND TransactionDate BETWEEN #03-Jul-07# AND #03-Jul-07#) This is not working. What am I doing wrong? TIA, Arthur From fuller.artful at gmail.com Wed Aug 29 04:31:59 2007 From: fuller.artful at gmail.com (Arthur Fuller) Date: Wed, 29 Aug 2007 05:31:59 -0400 Subject: [AccessD] Access date-time format Message-ID: <29f585dd0708290231q2014c1e7p23e37df2adec806d@mail.gmail.com> Is there a format string that one can use to combine date and time format, to guide the user? I want to combine medium date format and medium time format into one format for the whole field but I can't seem to get it right. I want the formatted data to look like this: 30-Sep-07 5:30 PM It seems silly to use two fields to achieve this but I can't get the correct format string to just use one. TIA, Arthur From fuller.artful at gmail.com Wed Aug 29 04:37:00 2007 From: fuller.artful at gmail.com (Arthur Fuller) Date: Wed, 29 Aug 2007 05:37:00 -0400 Subject: [AccessD] Combined Date and Time Format Message-ID: <29f585dd0708290237m3ae2c6b7h50cba24e2dff0d45@mail.gmail.com> Doh! Right after clicking Send I got it. 99\->LLL;0;_ Arthur From ssharkins at gmail.com Wed Aug 29 05:40:05 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Wed, 29 Aug 2007 06:40:05 -0400 Subject: [AccessD] Date-scoping In-Reply-To: <29f585dd0708290038q70225123v23b00e4bbacdab3b@mail.gmail.com> References: <29f585dd0708290038q70225123v23b00e4bbacdab3b@mail.gmail.com> Message-ID: <000001c7ea28$f8033660$048e01c7@SusanOne> Well, it looks Okay Arthur -- what's happening, is it returning incorrect dates, no dates, or an error? How are you passing this search string? Susan H. It's been a long while since I've done an MDB-BE and it's amazing how much one forgets. I'm trying to date-scope a report. I've got a little form that asks for start and end dates, and the result is being passed in like this: (TransactionTypeID= 2 AND TransactionDate BETWEEN #03-Jul-07# AND #03-Jul-07#) This is not working. What am I doing wrong? From fuller.artful at gmail.com Wed Aug 29 07:09:58 2007 From: fuller.artful at gmail.com (Arthur Fuller) Date: Wed, 29 Aug 2007 08:09:58 -0400 Subject: [AccessD] Date-scoping In-Reply-To: <000001c7ea28$f8033660$048e01c7@SusanOne> References: <29f585dd0708290038q70225123v23b00e4bbacdab3b@mail.gmail.com> <000001c7ea28$f8033660$048e01c7@SusanOne> Message-ID: <29f585dd0708290509p51b3b2a4k338a04e46ac9fe03@mail.gmail.com> I'm passing it as the criteria string to a docmd.openreport. Thanks for looking at it. I'll keeping flailing about and see what happens. :) On 8/29/07, Susan Harkins wrote: > > Well, it looks Okay Arthur -- what's happening, is it returning incorrect > dates, no dates, or an error? How are you passing this search string? > > Susan H. > > It's been a long while since I've done an MDB-BE and it's amazing how much > one forgets. I'm trying to date-scope a report. I've got a little form > that > asks for start and end dates, and the result is being passed in like this: > > (TransactionTypeID= 2 AND TransactionDate BETWEEN #03-Jul-07# AND > #03-Jul-07#) > > This is not working. What am I doing wrong? > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From prodevmg at yahoo.com Wed Aug 29 07:24:56 2007 From: prodevmg at yahoo.com (Lonnie Johnson) Date: Wed, 29 Aug 2007 05:24:56 -0700 (PDT) Subject: [AccessD] Access date-time format Message-ID: <571426.76814.qm@web33111.mail.mud.yahoo.com> You can use an input mask on the field in your form which would be... 00->LLL May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us ----- Original Message ---- From: Arthur Fuller To: Access Developers discussion and problem solving Sent: Wednesday, August 29, 2007 4:31:59 AM Subject: [AccessD] Access date-time format Is there a format string that one can use to combine date and time format, to guide the user? I want to combine medium date format and medium time format into one format for the whole field but I can't seem to get it right. I want the formatted data to look like this: 30-Sep-07 5:30 PM It seems silly to use two fields to achieve this but I can't get the correct format string to just use one. TIA, Arthur -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ____________________________________________________________________________________ Take the Internet to Go: Yahoo!Go puts the Internet in your pocket: mail, news, photos & more. http://mobile.yahoo.com/go?refer=1GNXIC From dwaters at usinternet.com Wed Aug 29 07:34:15 2007 From: dwaters at usinternet.com (Dan Waters) Date: Wed, 29 Aug 2007 07:34:15 -0500 Subject: [AccessD] Date-scoping In-Reply-To: <29f585dd0708290509p51b3b2a4k338a04e46ac9fe03@mail.gmail.com> References: <29f585dd0708290038q70225123v23b00e4bbacdab3b@mail.gmail.com><000001c7ea28$f8033660$048e01c7@SusanOne> <29f585dd0708290509p51b3b2a4k338a04e46ac9fe03@mail.gmail.com> Message-ID: <000f01c7ea38$e99fa350$0200a8c0@danwaters> Arthur, A Guess - Try adding a pair of parentheses: (TransactionTypeID= 2 AND (TransactionDate BETWEEN #03-Jul-07# AND #03-Jul-07#)) Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Wednesday, August 29, 2007 7:10 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Date-scoping I'm passing it as the criteria string to a docmd.openreport. Thanks for looking at it. I'll keeping flailing about and see what happens. :) On 8/29/07, Susan Harkins wrote: > > Well, it looks Okay Arthur -- what's happening, is it returning incorrect > dates, no dates, or an error? How are you passing this search string? > > Susan H. > > It's been a long while since I've done an MDB-BE and it's amazing how much > one forgets. I'm trying to date-scope a report. I've got a little form > that > asks for start and end dates, and the result is being passed in like this: > > (TransactionTypeID= 2 AND TransactionDate BETWEEN #03-Jul-07# AND > #03-Jul-07#) > > This is not working. What am I doing wrong? > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From andy at minstersystems.co.uk Wed Aug 29 08:26:34 2007 From: andy at minstersystems.co.uk (Andy Lacey) Date: Wed, 29 Aug 2007 14:26:34 +0100 Subject: [AccessD] Resizing a Tab Control Message-ID: <20070829132638.D2E9C65A1D@smtp.nildram.co.uk> Not sure of the exact figure but I reckon it's around 0.3 cm, or maybe 0.25. -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "'Access Developers discussion and problem solving'" Subject: Re: [AccessD] Resizing a Tab Control Date: 29/08/07 11:17 Got it. Thanks. Any guidelines on how close to the edge or bottom you can have a control before it resizes incorrectly? Or is it just trial and error? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey Sent: Monday, August 27, 2007 11:53 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Resizing a Tab Control Rocky, bear in mind that it won't resize a tab control if there are controls at the bottom or on the right of the tab which prevent it. IME you not only have to resize the tab's controls but reposition them too, then the tab resize worked. -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky > Smolin at Beach Access Software > Sent: 28 August 2007 06:38 > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] Resizing a Tab Control > > > Dear List: > > I have an app with several tab controls and I am using the adh > resizing code, which works well about 96% of the time. > But this time I need it to be 100%. It's not resizing the tab > controls correctly. > > Does anyone use something else for screen resizing that they like? > > MTIA, > > rocky > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.484 / Virus Database: 269.12.10/976 - Release Date: 8/27/2007 6:20 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ________________________________________________ Message sent using UebiMiau 2.7.2 From pharold at proftesting.com Wed Aug 29 08:54:29 2007 From: pharold at proftesting.com (Perry L Harold) Date: Wed, 29 Aug 2007 09:54:29 -0400 Subject: [AccessD] Date-scoping In-Reply-To: <29f585dd0708290038q70225123v23b00e4bbacdab3b@mail.gmail.com> References: <29f585dd0708290038q70225123v23b00e4bbacdab3b@mail.gmail.com> Message-ID: <00F5FCB4F80FDB4EB03FBAAEAD97CEAD4D1274@EXCHANGE.ptiorl.local> I don't use BETWEEN much but technically there's no date between your 2 values when they're the same. Does it work with =? Perry Harold -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Wednesday, August 29, 2007 3:38 AM To: Access Developers discussion and problem solving Subject: [AccessD] Date-scoping It's been a long while since I've done an MDB-BE and it's amazing how much one forgets. I'm trying to date-scope a report. I've got a little form that asks for start and end dates, and the result is being passed in like this: (TransactionTypeID= 2 AND TransactionDate BETWEEN #03-Jul-07# AND #03-Jul-07#) This is not working. What am I doing wrong? TIA, Arthur -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Wed Aug 29 09:05:22 2007 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Wed, 29 Aug 2007 07:05:22 -0700 Subject: [AccessD] Date-scoping In-Reply-To: <00F5FCB4F80FDB4EB03FBAAEAD97CEAD4D1274@EXCHANGE.ptiorl.local> Message-ID: <002601c7ea45$a3fae3c0$0301a8c0@HAL9005> Arthur: I'd try: TransactionDate >= #03-Jul-07# AND TransactionDate <= #03-Jul-07# Will the two dates always e the same or will there mostly be a range. Also, try removing the date filter to see what's being returned. Could it be that there are no records with July 3, 07? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Wednesday, August 29, 2007 3:38 AM To: Access Developers discussion and problem solving Subject: [AccessD] Date-scoping It's been a long while since I've done an MDB-BE and it's amazing how much one forgets. I'm trying to date-scope a report. I've got a little form that asks for start and end dates, and the result is being passed in like this: (TransactionTypeID= 2 AND TransactionDate BETWEEN #03-Jul-07# AND #03-Jul-07#) This is not working. What am I doing wrong? TIA, Arthur -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.484 / Virus Database: 269.12.10/977 - Release Date: 8/28/2007 4:29 PM From carbonnb at gmail.com Wed Aug 29 09:17:29 2007 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Wed, 29 Aug 2007 10:17:29 -0400 Subject: [AccessD] JIT SubForms In-Reply-To: References: <20070828235924.8CBCCBD7C@smtp-auth.no-ip.com> Message-ID: On 8/28/07, Bryan Carbonnell wrote: > On 8/28/07, jwcolby wrote: > > > This is the code from C2DbFW3G. It doesn't appear that I am seeing errors > > on the bind side. On the unbind side I have an error case 2101 which I have > > not commented as to what it is. I will look back at the older framework to > > see how I handled it there as well. > > > > Thanks John. > > I'll look at this in more detail in the am during my commute. > > It looks like I just need to handle the 2101 and ignore it. Still > feels like cheating though. After looking at the code, which has helped (Thanks John) I'm going to be rewriting a significant chunk of the app to use an idea similar to this, and just handle and ignore the 2101 error. Thanks again all. -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" From papparuff at comcast.net Wed Aug 29 09:23:22 2007 From: papparuff at comcast.net (papparuff at comcast.net) Date: Wed, 29 Aug 2007 14:23:22 +0000 Subject: [AccessD] Date-scoping Message-ID: <082920071423.25076.46D5815A000678C4000061F4220681509300009A9D0E9F9F0E9F@comcast.net> I've always had problems with getting records based on a range of dates until I changed me methodology. I look for those dates that are greater than the date before the actual start date and the dates that are less the the date after the last date. This way I always include the start date beginning at midnight and the last date ending at 11:59.59. So I would do this: TransactionDate > dateadd("d",-1,StartDate) AND TransactionDate < dateadd("d",+1,EndDate) papparuff -- John V. Ruff ? The Eternal Optimist :-) ?Commit to the Lord whatever you do, and your plans will succeed.? Proverbs 16:3 -------------- Original message -------------- From: "Rocky Smolin at Beach Access Software" > > Arthur: > > I'd try: TransactionDate >= #03-Jul-07# AND TransactionDate <= #03-Jul-07# > > Will the two dates always e the same or will there mostly be a range. Also, > try removing the date filter to see what's being returned. Could it be that > there are no records with July 3, 07? > > Rocky > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller > Sent: Wednesday, August 29, 2007 3:38 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] Date-scoping > > It's been a long while since I've done an MDB-BE and it's amazing how much > one forgets. I'm trying to date-scope a report. I've got a little form that > asks for start and end dates, and the result is being passed in like this: > > (TransactionTypeID= 2 AND TransactionDate BETWEEN #03-Jul-07# AND > #03-Jul-07#) > > This is not working. What am I doing wrong? > > TIA, > Arthur > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.484 / Virus Database: 269.12.10/977 - Release Date: 8/28/2007 > 4:29 PM > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From markamatte at hotmail.com Wed Aug 29 09:23:32 2007 From: markamatte at hotmail.com (Mark A Matte) Date: Wed, 29 Aug 2007 14:23:32 +0000 Subject: [AccessD] Date-scoping In-Reply-To: <000f01c7ea38$e99fa350$0200a8c0@danwaters> Message-ID: I think in using docmd.openreport where condition...your criteria should be in quotes. Good luck, Mark A. Matte >From: "Dan Waters" >Reply-To: Access Developers discussion and problem >solving >To: "'Access Developers discussion and problem >solving'" >Subject: Re: [AccessD] Date-scoping >Date: Wed, 29 Aug 2007 07:34:15 -0500 > >Arthur, > >A Guess - Try adding a pair of parentheses: > >(TransactionTypeID= 2 AND (TransactionDate BETWEEN #03-Jul-07# AND >#03-Jul-07#)) > >Dan > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller >Sent: Wednesday, August 29, 2007 7:10 AM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] Date-scoping > >I'm passing it as the criteria string to a docmd.openreport. Thanks for >looking at it. I'll keeping flailing about and see what happens. :) > >On 8/29/07, Susan Harkins wrote: > > > > Well, it looks Okay Arthur -- what's happening, is it returning >incorrect > > dates, no dates, or an error? How are you passing this search string? > > > > Susan H. > > > > It's been a long while since I've done an MDB-BE and it's amazing how >much > > one forgets. I'm trying to date-scope a report. I've got a little form > > that > > asks for start and end dates, and the result is being passed in like >this: > > > > (TransactionTypeID= 2 AND TransactionDate BETWEEN #03-Jul-07# AND > > #03-Jul-07#) > > > > This is not working. What am I doing wrong? > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Puzzles, trivia teasers, word scrambles and more. Play for your chance to win! http://club.live.com/home.aspx?icid=CLUB_hotmailtextlink From robert at webedb.com Wed Aug 29 09:47:06 2007 From: robert at webedb.com (Robert L. Stewart) Date: Wed, 29 Aug 2007 09:47:06 -0500 Subject: [AccessD] Date-scoping In-Reply-To: References: Message-ID: <200708291449.l7TEnRVY028370@databaseadvisors.com> Does the transaction date include the time? If so, you need to make it midnight so you match the range you are giving it. With no time specified in your range, it is looking for only midnight. Robert At 04:32 AM 8/29/2007, you wrote: >Date: Wed, 29 Aug 2007 03:38:05 -0400 >From: "Arthur Fuller" >Subject: [AccessD] Date-scoping >To: "Access Developers discussion and problem solving" > >Message-ID: > <29f585dd0708290038q70225123v23b00e4bbacdab3b at mail.gmail.com> >Content-Type: text/plain; charset=ISO-8859-1 > >It's been a long while since I've done an MDB-BE and it's amazing how much >one forgets. I'm trying to date-scope a report. I've got a little form that >asks for start and end dates, and the result is being passed in like this: > >(TransactionTypeID= 2 AND TransactionDate BETWEEN #03-Jul-07# AND >#03-Jul-07#) > >This is not working. What am I doing wrong? > >TIA, >Arthur From ssharkins at gmail.com Wed Aug 29 11:39:44 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Wed, 29 Aug 2007 12:39:44 -0400 Subject: [AccessD] Date-scoping In-Reply-To: <00F5FCB4F80FDB4EB03FBAAEAD97CEAD4D1274@EXCHANGE.ptiorl.local> References: <29f585dd0708290038q70225123v23b00e4bbacdab3b@mail.gmail.com> <00F5FCB4F80FDB4EB03FBAAEAD97CEAD4D1274@EXCHANGE.ptiorl.local> Message-ID: <003301c7ea5b$37bcebc0$048e01c7@SusanOne> Oh, nicely done! I didn't even compare the dates -- just checked the syntax! Susan H. I don't use BETWEEN much but technically there's no date between your 2 values when they're the same. Does it work with =? From tinanfields at torchlake.com Wed Aug 29 12:44:05 2007 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Wed, 29 Aug 2007 13:44:05 -0400 Subject: [AccessD] What problems converting A2K3 mdb to A2K7? Message-ID: <46D5B065.7020200@torchlake.com> Hi All, A client called with this story: We had a functioning database developed in A2K3. We gave the data to an off-site developer who did some redesign work. While the database was away being reworked, we upgraded in the office to A2K7. The database now seems to be missing some fields and is not really functional. My first impression (I have not looked at the database yet) is that the difficulties probably are associated with the off-site rework rather than the upgrade. But, I thought I'd check out what to watch out for when I do go look at the database. Thanks for any advice and information on A2K3-A2K7 issues. Tina From ssharkins at gmail.com Wed Aug 29 13:01:18 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Wed, 29 Aug 2007 14:01:18 -0400 Subject: [AccessD] What problems converting A2K3 mdb to A2K7? In-Reply-To: <46D5B065.7020200@torchlake.com> References: <46D5B065.7020200@torchlake.com> Message-ID: <000301c7ea66$9ee28e80$048e01c7@SusanOne> I only have a few dbs, but they all have code, and they've all upgraded without fail, but I'm not running anything very complex. Susan H. My first impression (I have not looked at the database yet) is that the difficulties probably are associated with the off-site rework rather than the upgrade. But, I thought I'd check out what to watch out for when I do go look at the database. From markamatte at hotmail.com Wed Aug 29 13:09:52 2007 From: markamatte at hotmail.com (Mark A Matte) Date: Wed, 29 Aug 2007 18:09:52 +0000 Subject: [AccessD] Date-scoping In-Reply-To: <003301c7ea5b$37bcebc0$048e01c7@SusanOne> Message-ID: Not entirely...if the field is just a date and not a datetime...then BETWEEN 1/1/07 and 1/1/07 would return any records that are 1/1/07 because BETWEEN is inclusive. If it were a datetime...then it would only look for 1/1/07 00:00:00. Mark A. Matte >From: "Susan Harkins" >Reply-To: Access Developers discussion and problem >solving >To: "'Access Developers discussion and problem >solving'" >Subject: Re: [AccessD] Date-scoping >Date: Wed, 29 Aug 2007 12:39:44 -0400 > >Oh, nicely done! I didn't even compare the dates -- just checked the >syntax! > >Susan H. > >I don't use BETWEEN much but technically there's no date between your 2 >values when they're the same. Does it work with =? > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Learn.Laugh.Share. Reallivemoms is right place! http://www.reallivemoms.com?ocid=TXT_TAGHM&loc=us From tinanfields at torchlake.com Wed Aug 29 16:23:42 2007 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Wed, 29 Aug 2007 17:23:42 -0400 Subject: [AccessD] What problems converting A2K3 mdb to A2K7? In-Reply-To: <000301c7ea66$9ee28e80$048e01c7@SusanOne> References: <46D5B065.7020200@torchlake.com> <000301c7ea66$9ee28e80$048e01c7@SusanOne> Message-ID: <46D5E3DE.4090004@torchlake.com> Thanks, Susan. I suspect that the "rework" was actually creation of a new db that is, in fact, missing some of the fields that were in the original. As explained to me, the db just tracks the people who have made inquiry into a certain educational program - whether they just inquired or went all the way through to complete the program. It doesn't sound awfully complex. I'll be eager to hear what anyone else has to say. Tina Susan Harkins wrote: > I only have a few dbs, but they all have code, and they've all upgraded > without fail, but I'm not running anything very complex. > > Susan H. > > > My first impression (I have not looked at the database yet) is that the > difficulties probably are associated with the off-site rework rather than > the upgrade. But, I thought I'd check out what to watch out for when I do > go look at the database. > > > From Patricia.O'Connor at otda.state.ny.us Wed Aug 29 16:40:10 2007 From: Patricia.O'Connor at otda.state.ny.us (O'Connor, Patricia (OTDA)) Date: Wed, 29 Aug 2007 17:40:10 -0400 Subject: [AccessD] Date-scoping References: Message-ID: <01DBAB52E30A9A4AB3D94EF8029EDBE80253C13F@EXCNYSM0A1AI.nysemail.nyenet> Because I deal with Oracle every day I have gotten into the habit of using the day before and day after. I stopped using between even on an Access DB because there were times I might miss a record. This other way better guarantees I get all my records. (TransactionTypeID= 2 AND (TransactionDate > #02-Jul-2007# AND TransactionDate < #04-Jul-2007#)) ************************************************************* * Patricia E. O'Connor * Associate Computer Programmer/Analyst * OTDA - BDMA * (W) mailto:Patricia.O'Connor at otda.state.ny.us * (W) mailto:aa1160 at otda.state.ny.us *********************************************************** -------------------------------------------------------- This e-mail, including any attachments, may be confidential, privileged or otherwise legally protected. It is intended only for the addressee. If you received this e-mail in error or from someone who was not authorized to send it to you, do not disseminate, copy or otherwise use this e-mail or its attachments. Please notify the sender immediately by reply e-mail and delete the e-mail from your system. ________________________________ From: accessd-bounces at databaseadvisors.com on behalf of Mark A Matte Sent: Wed 08/29/2007 2:09 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Date-scoping Not entirely...if the field is just a date and not a datetime...then BETWEEN 1/1/07 and 1/1/07 would return any records that are 1/1/07 because BETWEEN is inclusive. If it were a datetime...then it would only look for 1/1/07 00:00:00. Mark A. Matte From miscellany at mvps.org Wed Aug 29 17:03:33 2007 From: miscellany at mvps.org (Steve Schapel) Date: Thu, 30 Aug 2007 10:03:33 +1200 Subject: [AccessD] Combined Date and Time Format In-Reply-To: <29f585dd0708290237m3ae2c6b7h50cba24e2dff0d45@mail.gmail.com> References: <29f585dd0708290237m3ae2c6b7h50cba24e2dff0d45@mail.gmail.com> Message-ID: <46D5ED35.9030000@mvps.org> Arthur, What you have come up with would possibly be an applicable Input Mask (I would personally never use an Input Mask for a Date field anyway). Your original question was about Format, in which case I think this would do it: dd-mmm-yy h:nnAM/PM Regards Steve Arthur Fuller wrote: > Doh! Right after clicking Send I got it. > > 99\->LLL;0;_ > > Arthur From askolits at nni.com Wed Aug 29 21:38:21 2007 From: askolits at nni.com (John Skolits) Date: Wed, 29 Aug 2007 22:38:21 -0400 Subject: [AccessD] Finding the sort order on a datasheet. In-Reply-To: <005a01c7e67d$60f4e0b0$048e01c7@SusanOne> References: <29f585dd0708240710h70824400mc9b46cb1c910462f@mail.gmail.com><014301c7e669$86116530$0f01a8c0@officexp><002101c7e66a$5acaa3e0$048e01c7@SusanOne><0a2101c7e66c$21afbc10$0f01a8c0@officexp><002001c7e66f$bcc05c70$0200a8c0@danwaters><003a01c7e677$7afe6ea0$048e01c7@SusanOne><003901c7e67b$03eb8100$0200a8c0@danwaters> <005a01c7e67d$60f4e0b0$048e01c7@SusanOne> Message-ID: <028101c7eaae$d58dd640$0f01a8c0@officexp> I have a form that is displayed as a datasheet. If I do some filtering, I can get the filter by "Forms!frmName.filter" But, what if I sort descending or ascending on a field? Is there anyway to get that info? Is there a property of the datasheet like "DatasheetSort"? John Skolits -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.484 / Virus Database: 269.12.1/963 - Release Date: 8/20/2007 5:44 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dw-murphy at cox.net Wed Aug 29 21:40:00 2007 From: dw-murphy at cox.net (Doug Murphy) Date: Wed, 29 Aug 2007 19:40:00 -0700 Subject: [AccessD] What problems converting A2K3 mdb to A2K7? In-Reply-To: <46D5B065.7020200@torchlake.com> Message-ID: <003301c7eaaf$0f804770$0200a8c0@murphy3234aaf1> If the database uses any code with references set check that these are still set. I was asked to fix a database that was moved to Access 2007 and most of the problems were with broken references. The biggest PITA was figuring out where the menu items are in 2007. Doug -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tina Norris Fields Sent: Wednesday, August 29, 2007 10:44 AM To: DatabaseAdvisors-Access Subject: [AccessD] What problems converting A2K3 mdb to A2K7? Hi All, A client called with this story: We had a functioning database developed in A2K3. We gave the data to an off-site developer who did some redesign work. While the database was away being reworked, we upgraded in the office to A2K7. The database now seems to be missing some fields and is not really functional. My first impression (I have not looked at the database yet) is that the difficulties probably are associated with the off-site rework rather than the upgrade. But, I thought I'd check out what to watch out for when I do go look at the database. Thanks for any advice and information on A2K3-A2K7 issues. Tina -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From pcs at azizaz.com Wed Aug 29 22:00:28 2007 From: pcs at azizaz.com (pcs at azizaz.com) Date: Thu, 30 Aug 2007 13:00:28 +1000 (EST) Subject: [AccessD] Finding the sort order on a datasheet. Message-ID: <20070830130028.DBW66606@dommail.onthenet.com.au> Hi John, What about Forms!frmName.OrderBy Regards borge ---- Original message ---- >Date: Wed, 29 Aug 2007 22:38:21 -0400 >From: "John Skolits" >Subject: [AccessD] Finding the sort order on a datasheet. >To: "'Access Developers discussion and problem solving'" > > >I have a form that is displayed as a datasheet. If I do some filtering, I >can get the filter by >"Forms!frmName.filter" > >But, what if I sort descending or ascending on a field? Is there anyway to >get that info? Is there a property of the datasheet like "DatasheetSort"? > >John Skolits > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > >No virus found in this incoming message. >Checked by AVG Free Edition. >Version: 7.5.484 / Virus Database: 269.12.1/963 - Release Date: 8/20/2007 >5:44 PM > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com From askolits at nni.com Wed Aug 29 22:40:20 2007 From: askolits at nni.com (John Skolits) Date: Wed, 29 Aug 2007 23:40:20 -0400 Subject: [AccessD] Finding the sort order on a datasheet. In-Reply-To: <20070830130028.DBW66606@dommail.onthenet.com.au> References: <20070830130028.DBW66606@dommail.onthenet.com.au> Message-ID: <02cb01c7eab7$7d6e64d0$0f01a8c0@officexp> Duh!!! Well, I hope no one else sees this question! John -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of pcs at azizaz.com Sent: Wednesday, August 29, 2007 11:00 PM To: Access Developers discussion and problemsolving Subject: Re: [AccessD] Finding the sort order on a datasheet. Hi John, What about Forms!frmName.OrderBy Regards borge ---- Original message ---- >Date: Wed, 29 Aug 2007 22:38:21 -0400 >From: "John Skolits" >Subject: [AccessD] Finding the sort order on a datasheet. >To: "'Access Developers discussion and problem solving'" > > >I have a form that is displayed as a datasheet. If I do some filtering, I >can get the filter by >"Forms!frmName.filter" > >But, what if I sort descending or ascending on a field? Is there anyway to >get that info? Is there a property of the datasheet like "DatasheetSort"? > >John Skolits > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > >No virus found in this incoming message. >Checked by AVG Free Edition. >Version: 7.5.484 / Virus Database: 269.12.1/963 - Release Date: 8/20/2007 >5:44 PM > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From askolits at nni.com Wed Aug 29 23:46:03 2007 From: askolits at nni.com (John Skolits) Date: Thu, 30 Aug 2007 00:46:03 -0400 Subject: [AccessD] Finding the sort order on a datasheet. UPDATE: And then loading it' In-Reply-To: <02cb01c7eab7$7d6e64d0$0f01a8c0@officexp> References: <20070830130028.DBW66606@dommail.onthenet.com.au> <02cb01c7eab7$7d6e64d0$0f01a8c0@officexp> Message-ID: <02db01c7eac0$abbc4010$0f01a8c0@officexp> OK, so I can get the "order by" info, but when I try to push that info into the datasheet's OrderBy property, it doesn't seem to change the view. After I set the property, I tried doing a Forms!frmName.refresh (or requery) and the form doesn't change. The info is in the property but it doesn't refresh. Is their a property of the form that is something like the AllowOrderBy? So, how can I get the form to refresh after I set the OrderBy value? John Skolits -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Skolits Sent: Wednesday, August 29, 2007 11:40 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Finding the sort order on a datasheet. Duh!!! Well, I hope no one else sees this question! John -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of pcs at azizaz.com Sent: Wednesday, August 29, 2007 11:00 PM To: Access Developers discussion and problemsolving Subject: Re: [AccessD] Finding the sort order on a datasheet. Hi John, What about Forms!frmName.OrderBy Regards borge ---- Original message ---- >Date: Wed, 29 Aug 2007 22:38:21 -0400 >From: "John Skolits" >Subject: [AccessD] Finding the sort order on a datasheet. >To: "'Access Developers discussion and problem solving'" > > >I have a form that is displayed as a datasheet. If I do some filtering, I >can get the filter by >"Forms!frmName.filter" > >But, what if I sort descending or ascending on a field? Is there anyway to >get that info? Is there a property of the datasheet like "DatasheetSort"? > >John Skolits > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > >No virus found in this incoming message. >Checked by AVG Free Edition. >Version: 7.5.484 / Virus Database: 269.12.1/963 - Release Date: 8/20/2007 >5:44 PM > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From pcs at azizaz.com Thu Aug 30 00:23:35 2007 From: pcs at azizaz.com (pcs at azizaz.com) Date: Thu, 30 Aug 2007 15:23:35 +1000 (EST) Subject: [AccessD] Finding the sort order on a datasheet. UPDATE: And then loading it' Message-ID: <20070830152335.DBW90564@dommail.onthenet.com.au> John, Try this: Forms("frmName").OrderBy = "tblTableName.FieldName" Forms("frmTest").OrderByOn = True Regards borge ---- Original message ---- >Date: Thu, 30 Aug 2007 00:46:03 -0400 >From: "John Skolits" >Subject: Re: [AccessD] Finding the sort order on a datasheet. UPDATE: And then loading it' >To: "'Access Developers discussion and problem solving'" > > >OK, so I can get the "order by" info, but when I try to push that info into >the datasheet's OrderBy property, it doesn't seem to change the view. >After I set the property, I tried doing a Forms! frmName.refresh (or requery) >and the form doesn't change. >The info is in the property but it doesn't refresh. Is their a property of >the form that is something like the AllowOrderBy? >So, how can I get the form to refresh after I set the OrderBy value? > > >John Skolits > > > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Skolits >Sent: Wednesday, August 29, 2007 11:40 PM >To: 'Access Developers discussion and problem solving' >Subject: Re: [AccessD] Finding the sort order on a datasheet. > >Duh!!! > >Well, I hope no one else sees this question! > >John > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of pcs at azizaz.com >Sent: Wednesday, August 29, 2007 11:00 PM >To: Access Developers discussion and problemsolving >Subject: Re: [AccessD] Finding the sort order on a datasheet. > >Hi John, >What about > >Forms!frmName.OrderBy > >Regards >borge > > >---- Original message ---- >>Date: Wed, 29 Aug 2007 22:38:21 -0400 >>From: "John Skolits" >>Subject: [AccessD] Finding the sort order on a datasheet. >>To: "'Access Developers discussion and problem solving'" > >> >> >>I have a form that is displayed as a datasheet. If I do >some filtering, I >>can get the filter by >>"Forms!frmName.filter" >> >>But, what if I sort descending or ascending on a field? Is >there anyway to >>get that info? Is there a property of the datasheet >like "DatasheetSort"? >> >>John Skolits >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >>-- >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >> >>No virus found in this incoming message. >>Checked by AVG Free Edition. >>Version: 7.5.484 / Virus Database: 269.12.1/963 - Release >Date: 8/20/2007 >>5:44 PM >> >> >>-- >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >> >>-- >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >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 30 00:59:44 2007 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 30 Aug 2007 15:59:44 +1000 Subject: [AccessD] Finding the sort order on a datasheet. UPDATE: And then loading it' In-Reply-To: <02db01c7eac0$abbc4010$0f01a8c0@officexp> References: <20070830130028.DBW66606@dommail.onthenet.com.au>, <02cb01c7eab7$7d6e64d0$0f01a8c0@officexp>, <02db01c7eac0$abbc4010$0f01a8c0@officexp> Message-ID: <46D65CD0.18034.449EC794@stuart.lexacorp.com.pg> You need to set the OrderByOn property in Code. It's one of many Form properties that don't show on the Property Sheet. :-( On 30 Aug 2007 at 0:46, John Skolits wrote: > > OK, so I can get the "order by" info, but when I try to push that info into > the datasheet's OrderBy property, it doesn't seem to change the view. > After I set the property, I tried doing a Forms!frmName.refresh (or requery) > and the form doesn't change. > The info is in the property but it doesn't refresh. Is their a property of > the form that is something like the AllowOrderBy? > So, how can I get the form to refresh after I set the OrderBy value? > > > John Skolits > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Skolits > Sent: Wednesday, August 29, 2007 11:40 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Finding the sort order on a datasheet. > > Duh!!! > > Well, I hope no one else sees this question! > > John > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of pcs at azizaz.com > Sent: Wednesday, August 29, 2007 11:00 PM > To: Access Developers discussion and problemsolving > Subject: Re: [AccessD] Finding the sort order on a datasheet. > > Hi John, > What about > > Forms!frmName.OrderBy > > Regards > borge > > > ---- Original message ---- > >Date: Wed, 29 Aug 2007 22:38:21 -0400 > >From: "John Skolits" > >Subject: [AccessD] Finding the sort order on a datasheet. > >To: "'Access Developers discussion and problem solving'" > > > > > > >I have a form that is displayed as a datasheet. If I do > some filtering, I > >can get the filter by > >"Forms!frmName.filter" > > > >But, what if I sort descending or ascending on a field? Is > there anyway to > >get that info? Is there a property of the datasheet > like "DatasheetSort"? > > > >John Skolits > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >-- > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > > > >No virus found in this incoming message. > >Checked by AVG Free Edition. > >Version: 7.5.484 / Virus Database: 269.12.1/963 - Release > Date: 8/20/2007 > >5:44 PM > > > > > >-- > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > > > >-- > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From askolits at nni.com Thu Aug 30 05:36:17 2007 From: askolits at nni.com (John Skolits) Date: Thu, 30 Aug 2007 06:36:17 -0400 Subject: [AccessD] Finding the sort order on a datasheet. UPDATE: And then loading it' In-Reply-To: <20070830152335.DBW90564@dommail.onthenet.com.au> References: <20070830152335.DBW90564@dommail.onthenet.com.au> Message-ID: <005b01c7eaf1$995f5c50$0f01a8c0@officexp> Borg and Stewart, Great Thanks. I figured it may have been something like that! John -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of pcs at azizaz.com Sent: Thursday, August 30, 2007 1:24 AM To: Access Developers discussion and problemsolving Subject: Re: [AccessD] Finding the sort order on a datasheet. UPDATE: And then loading it' John, Try this: Forms("frmName").OrderBy = "tblTableName.FieldName" Forms("frmTest").OrderByOn = True Regards borge ---- Original message ---- >Date: Thu, 30 Aug 2007 00:46:03 -0400 >From: "John Skolits" >Subject: Re: [AccessD] Finding the sort order on a datasheet. UPDATE: And then loading it' >To: "'Access Developers discussion and problem solving'" > > >OK, so I can get the "order by" info, but when I try to push that info into >the datasheet's OrderBy property, it doesn't seem to change the view. >After I set the property, I tried doing a Forms! frmName.refresh (or requery) >and the form doesn't change. >The info is in the property but it doesn't refresh. Is their a property of >the form that is something like the AllowOrderBy? >So, how can I get the form to refresh after I set the OrderBy value? > > >John Skolits > > > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Skolits >Sent: Wednesday, August 29, 2007 11:40 PM >To: 'Access Developers discussion and problem solving' >Subject: Re: [AccessD] Finding the sort order on a datasheet. > >Duh!!! > >Well, I hope no one else sees this question! > >John > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of pcs at azizaz.com >Sent: Wednesday, August 29, 2007 11:00 PM >To: Access Developers discussion and problemsolving >Subject: Re: [AccessD] Finding the sort order on a datasheet. > >Hi John, >What about > >Forms!frmName.OrderBy > >Regards >borge > > >---- Original message ---- >>Date: Wed, 29 Aug 2007 22:38:21 -0400 >>From: "John Skolits" >>Subject: [AccessD] Finding the sort order on a datasheet. >>To: "'Access Developers discussion and problem solving'" > >> >> >>I have a form that is displayed as a datasheet. If I do >some filtering, I >>can get the filter by >>"Forms!frmName.filter" >> >>But, what if I sort descending or ascending on a field? Is >there anyway to >>get that info? Is there a property of the datasheet >like "DatasheetSort"? >> >>John Skolits >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >>-- >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >> >>No virus found in this incoming message. >>Checked by AVG Free Edition. >>Version: 7.5.484 / Virus Database: 269.12.1/963 - Release >Date: 8/20/2007 >>5:44 PM >> >> >>-- >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >> >>-- >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at gmail.com Thu Aug 30 08:17:42 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Thu, 30 Aug 2007 09:17:42 -0400 Subject: [AccessD] What problems converting A2K3 mdb to A2K7? In-Reply-To: <003301c7eaaf$0f804770$0200a8c0@murphy3234aaf1> References: <46D5B065.7020200@torchlake.com> <003301c7eaaf$0f804770$0200a8c0@murphy3234aaf1> Message-ID: <006201c7eb08$2b857220$048e01c7@SusanOne> The biggest PITA was figuring out where the menu items are in 2007. ========I know I'm committing Access hari-kari, but I like the 2007 ribbon. :) Susan H. From tinanfields at torchlake.com Thu Aug 30 08:46:37 2007 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Thu, 30 Aug 2007 09:46:37 -0400 Subject: [AccessD] What problems converting A2K3 mdb to A2K7? In-Reply-To: <003301c7eaaf$0f804770$0200a8c0@murphy3234aaf1> References: <003301c7eaaf$0f804770$0200a8c0@murphy3234aaf1> Message-ID: <46D6CA3D.8040201@torchlake.com> Thanks, Doug. Oh yeah, always check those references. The business of moving things around on the menus, I figure it's just a test to see if we can keep our balance. Years ago, I wrote up a new Extended Education course on Microsoft Works for Windows, version 2 - which was what was installed on our campus computers and in my home office. The first run of the class happened in January after the Christmas and New Year break. I powered up the computers and was met with Works for Windows, version 3, which had been installed over the holidays. My screen captures were now all wrong, the menus did not match, even the task launcher screen was different! What a wonderful, exciting, adventure! So, I turned it into a teaching-learning opportunity. Ha! say I - what if you come in to work one day and a new version of your program has been installed - what do you do? We had a fine class - and I opined that teaching them how to look for things that were no longer where they used to be was one of the greatest gifts I could actually give them. Thanks for the note, Tina Doug Murphy wrote: > If the database uses any code with references set check that these are still > set. I was asked to fix a database that was moved to Access 2007 and most of > the problems were with broken references. The biggest PITA was figuring out > where the menu items are in 2007. > > Doug > > > From garykjos at gmail.com Thu Aug 30 08:47:44 2007 From: garykjos at gmail.com (Gary Kjos) Date: Thu, 30 Aug 2007 08:47:44 -0500 Subject: [AccessD] What problems converting A2K3 mdb to A2K7? In-Reply-To: <006201c7eb08$2b857220$048e01c7@SusanOne> References: <46D5B065.7020200@torchlake.com> <003301c7eaaf$0f804770$0200a8c0@murphy3234aaf1> <006201c7eb08$2b857220$048e01c7@SusanOne> Message-ID: Get her! She's over there! And she LIKES the Access 2007 Ribbon! GK On 8/30/07, Susan Harkins wrote: > The biggest PITA was figuring out where the menu items are in 2007. > > ========I know I'm committing Access hari-kari, but I like the 2007 ribbon. > :) > > Susan H. > -- Gary Kjos garykjos at gmail.com From jwcolby at colbyconsulting.com Thu Aug 30 08:50:37 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 30 Aug 2007 09:50:37 -0400 Subject: [AccessD] What problems converting A2K3 mdb to A2K7? In-Reply-To: <006201c7eb08$2b857220$048e01c7@SusanOne> Message-ID: <20070830135041.36534C110@smtp-auth.no-ip.com> But do you do development on a day to day basis, for a livelihood? That could affect your like. ;-) John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Thursday, August 30, 2007 9:18 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] What problems converting A2K3 mdb to A2K7? The biggest PITA was figuring out where the menu items are in 2007. ========I know I'm committing Access hari-kari, but I like the 2007 ribbon. :) Susan H. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From tinanfields at torchlake.com Thu Aug 30 08:58:10 2007 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Thu, 30 Aug 2007 09:58:10 -0400 Subject: [AccessD] What problems converting A2K3 mdb to A2K7? In-Reply-To: <006201c7eb08$2b857220$048e01c7@SusanOne> References: <46D5B065.7020200@torchlake.com> <003301c7eaaf$0f804770$0200a8c0@murphy3234aaf1> <006201c7eb08$2b857220$048e01c7@SusanOne> Message-ID: <46D6CCF2.2030606@torchlake.com> Susan, If the ribbon had been there all along, everyone would like it. Don't you think it's just the change that people object to? Once we get used to it, we'll gripe when we have to use an older version that doesn't have it. I know I've been guilty of such gripes, anyway. :) Tina Susan Harkins wrote: > The biggest PITA was figuring out where the menu items are in 2007. > > ========I know I'm committing Access hari-kari, but I like the 2007 ribbon. > :) > > Susan H. > > From ssharkins at gmail.com Thu Aug 30 09:03:34 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Thu, 30 Aug 2007 10:03:34 -0400 Subject: [AccessD] What problems converting A2K3 mdb to A2K7? In-Reply-To: <20070830135041.36534C110@smtp-auth.no-ip.com> References: <006201c7eb08$2b857220$048e01c7@SusanOne> <20070830135041.36534C110@smtp-auth.no-ip.com> Message-ID: <009001c7eb0e$92c2add0$048e01c7@SusanOne> No, but I use it everyday. I have a few small db's that I use every day for my own purpose and then of course, all the writing, which is mostly for users, not developers. I haven't had any trouble adapting and my db's have upgraded without issue, but I'm not using high-end stuff. I just track assignments and money. Susan H. But do you do development on a day to day basis, for a livelihood? That could affect your like. ;-) From ssharkins at gmail.com Thu Aug 30 09:04:08 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Thu, 30 Aug 2007 10:04:08 -0400 Subject: [AccessD] What problems converting A2K3 mdb to A2K7? In-Reply-To: References: <46D5B065.7020200@torchlake.com><003301c7eaaf$0f804770$0200a8c0@murphy3234aaf1><006201c7eb08$2b857220$048e01c7@SusanOne> Message-ID: <009101c7eb0e$a4e72630$048e01c7@SusanOne> Doomed... :) Susan H. Get her! She's over there! And she LIKES the Access 2007 Ribbon! From ssharkins at gmail.com Thu Aug 30 09:09:28 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Thu, 30 Aug 2007 10:09:28 -0400 Subject: [AccessD] What problems converting A2K3 mdb to A2K7? In-Reply-To: <46D6CCF2.2030606@torchlake.com> References: <46D5B065.7020200@torchlake.com> <003301c7eaaf$0f804770$0200a8c0@murphy3234aaf1><006201c7eb08$2b857220$048e01c7@SusanOne> <46D6CCF2.2030606@torchlake.com> Message-ID: <009501c7eb0f$657b3a80$048e01c7@SusanOne> Susan, If the ribbon had been there all along, everyone would like it. Don't you think it's just the change that people object to? Once we get used to it, we'll gripe when we have to use an older version that doesn't have it. I know I've been guilty of such gripes, anyway. =========That's been my experience. At first I just thought... Yuck... But it only took a few sessions to feel comfortable with it. Susan H. From fuller.artful at gmail.com Thu Aug 30 09:17:35 2007 From: fuller.artful at gmail.com (Arthur Fuller) Date: Thu, 30 Aug 2007 10:17:35 -0400 Subject: [AccessD] Version Problem -- Emergency Message-ID: <29f585dd0708300717t5053de23t9857685cc143dcf6@mail.gmail.com> Hi all, I developed an MDB in Office 2000 and it runs fine. In Office 2003, however, immediate problems. "Module not found.". Tools | References is greyed out until I click the stop button. Then the References lists shows Visual Basic for Applications, Access 11.0 Object library, OLE Automation and ADO 2.1library. That latter sounded obsolete so I unchecked it, and selected instead ADO 2.6 and also DAO 3.6 (which some of the code needs). No joy, however. Attempt to compile produces the same message, Module Not Found. I'm going to try creating a new MDB from Access 2003 and importing everything to see if that fixes it. Any other suggestions? Arthur From cfoust at infostatsystems.com Thu Aug 30 09:38:51 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 30 Aug 2007 07:38:51 -0700 Subject: [AccessD] What problems converting A2K3 mdb to A2K7? In-Reply-To: <006201c7eb08$2b857220$048e01c7@SusanOne> References: <46D5B065.7020200@torchlake.com><003301c7eaaf$0f804770$0200a8c0@murphy3234aaf1> <006201c7eb08$2b857220$048e01c7@SusanOne> Message-ID: TRAITOR!! Charlotte -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Thursday, August 30, 2007 6:18 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] What problems converting A2K3 mdb to A2K7? The biggest PITA was figuring out where the menu items are in 2007. ========I know I'm committing Access hari-kari, but I like the 2007 ribbon. :) Susan H. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Thu Aug 30 09:42:07 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 30 Aug 2007 07:42:07 -0700 Subject: [AccessD] What problems converting A2K3 mdb to A2K7? In-Reply-To: <46D6CCF2.2030606@torchlake.com> References: <46D5B065.7020200@torchlake.com> <003301c7eaaf$0f804770$0200a8c0@murphy3234aaf1><006201c7eb08$2b857220$048e01c7@SusanOne> <46D6CCF2.2030606@torchlake.com> Message-ID: I have to disagree. Perhaps if we'd all been weaned on Macs, we'd like it, but then I never liked the Mac's "intuitive" UI either. The ribbon is the next logical step from personalized menus, which I also hated. With the kind of confusion personalized menus tended to cause, you'd think they would have thought long and hard before dumping the ribbon on us, but I doubt that they did. Now you see it, now you don't is great for stage magicians but not for software developers. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tina Norris Fields Sent: Thursday, August 30, 2007 6:58 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] What problems converting A2K3 mdb to A2K7? Susan, If the ribbon had been there all along, everyone would like it. Don't you think it's just the change that people object to? Once we get used to it, we'll gripe when we have to use an older version that doesn't have it. I know I've been guilty of such gripes, anyway. :) Tina Susan Harkins wrote: > The biggest PITA was figuring out where the menu items are in 2007. > > ========I know I'm committing Access hari-kari, but I like the 2007 ribbon. > :) > > Susan H. > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at gmail.com Thu Aug 30 10:07:03 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Thu, 30 Aug 2007 11:07:03 -0400 Subject: [AccessD] What problems converting A2K3 mdb to A2K7? In-Reply-To: References: <46D5B065.7020200@torchlake.com> <003301c7eaaf$0f804770$0200a8c0@murphy3234aaf1><006201c7eb08$2b857220$048e01c7@SusanOne><46D6CCF2.2030606@torchlake.com> Message-ID: <00a801c7eb17$6dd2b890$048e01c7@SusanOne> I have to disagree. Perhaps if we'd all been weaned on Macs, we'd like it, but then I never liked the Mac's "intuitive" UI either. The ribbon is the next logical step from personalized menus, which I also hated. With the kind of confusion personalized menus tended to cause, you'd think they would have thought long and hard before dumping the ribbon on us, but I doubt that they did. Now you see it, now you don't is great for stage magicians but not for software developers. ==========I don't care for personalized menus either. As for the developer issue -- as much as we all love Access as a developer's tool, the truth is, MS doesn't market it that way. Love it or hate it, we're kind of stuck with it. As a developer, why don't you like the ribbon -- how is it impacting your work in a negative way? Susan H. From jwcolby at colbyconsulting.com Thu Aug 30 10:13:41 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 30 Aug 2007 11:13:41 -0400 Subject: [AccessD] Version Problem -- Emergency In-Reply-To: <29f585dd0708300717t5053de23t9857685cc143dcf6@mail.gmail.com> Message-ID: <20070830151345.9D943BDFA@smtp-auth.no-ip.com> It sounds like the VBA 11.0 is the problem. Did you change that? If it can't find the VBA module you are in trouble. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Thursday, August 30, 2007 10:18 AM To: Access Developers discussion and problem solving Subject: [AccessD] Version Problem -- Emergency Hi all, I developed an MDB in Office 2000 and it runs fine. In Office 2003, however, immediate problems. "Module not found.". Tools | References is greyed out until I click the stop button. Then the References lists shows Visual Basic for Applications, Access 11.0 Object library, OLE Automation and ADO 2.1library. That latter sounded obsolete so I unchecked it, and selected instead ADO 2.6 and also DAO 3.6 (which some of the code needs). No joy, however. Attempt to compile produces the same message, Module Not Found. I'm going to try creating a new MDB from Access 2003 and importing everything to see if that fixes it. Any other suggestions? Arthur -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Thu Aug 30 10:19:46 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 30 Aug 2007 11:19:46 -0400 Subject: [AccessD] What problems converting A2K3 mdb to A2K7? In-Reply-To: <009001c7eb0e$92c2add0$048e01c7@SusanOne> Message-ID: <20070830151950.55375C225@smtp-auth.no-ip.com> And that seems to be the problem. The ribbon bars are all about the user and ignore the needs and wants of developers. As a developer I know where everything is. I click menu items all day, use shortcut keys, do things automatically. Now suddenly all that stuff doesn't work and I can't get any work done. This stuff is know as "muscle memory" and it is a well documented fact. Your body just "learns" how to do things, everything from typing to playing an instrument to holding a fork to walking. Imagine handing a sax player a saxophone where all of the keys are randomly changed. Now imagine handing that to a professional musician with a concert to play that night, where he is being paid thousands of dollars to play. Now imagine handing such instruments to every member of the orchestra. It is bad enough to do that to my users, but I charge my clients hundreds of dollars an hour to hunt down where they hid everything. My clients are NOT HAPPY and they are NOT HAPPY with ME!!! John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Thursday, August 30, 2007 10:04 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] What problems converting A2K3 mdb to A2K7? No, but I use it everyday. I have a few small db's that I use every day for my own purpose and then of course, all the writing, which is mostly for users, not developers. I haven't had any trouble adapting and my db's have upgraded without issue, but I'm not using high-end stuff. I just track assignments and money. Susan H. But do you do development on a day to day basis, for a livelihood? That could affect your like. ;-) -- 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 30 10:23:25 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 30 Aug 2007 08:23:25 -0700 Subject: [AccessD] What problems converting A2K3 mdb to A2K7? In-Reply-To: <00a801c7eb17$6dd2b890$048e01c7@SusanOne> References: <46D5B065.7020200@torchlake.com> <003301c7eaaf$0f804770$0200a8c0@murphy3234aaf1><006201c7eb08$2b857220$048e01c7@SusanOne><46D6CCF2.2030606@torchlake.com> <00a801c7eb17$6dd2b890$048e01c7@SusanOne> Message-ID: It doesn't while I'm writing code. They have pretty much left the IDE alone. Designing UI, though, leaves me hunting for such simple items as Save, which drives me nuts. You want to format the text on a control, say change the font? You have to be in the right ribbon to do that. Yes, human beings can adapt to nearly anything, but we work best with a relatively stable environment. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Thursday, August 30, 2007 8:07 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] What problems converting A2K3 mdb to A2K7? I have to disagree. Perhaps if we'd all been weaned on Macs, we'd like it, but then I never liked the Mac's "intuitive" UI either. The ribbon is the next logical step from personalized menus, which I also hated. With the kind of confusion personalized menus tended to cause, you'd think they would have thought long and hard before dumping the ribbon on us, but I doubt that they did. Now you see it, now you don't is great for stage magicians but not for software developers. ==========I don't care for personalized menus either. As for the developer issue -- as much as we all love Access as a developer's tool, the truth is, MS doesn't market it that way. Love it or hate it, we're kind of stuck with it. As a developer, why don't you like the ribbon -- how is it impacting your work in a negative way? Susan H. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From john at winhaven.net Thu Aug 30 10:25:22 2007 From: john at winhaven.net (John Bartow) Date: Thu, 30 Aug 2007 10:25:22 -0500 Subject: [AccessD] Version Problem -- Emergency In-Reply-To: <29f585dd0708300717t5053de23t9857685cc143dcf6@mail.gmail.com> References: <29f585dd0708300717t5053de23t9857685cc143dcf6@mail.gmail.com> Message-ID: <01fd01c7eb19$fb8e3860$6402a8c0@ScuzzPaq> Does re-ordering the references so that DAO is listed before ADO help? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Hi all, I developed an MDB in Office 2000 and it runs fine. In Office 2003, however, immediate problems. "Module not found.". Tools | References is greyed out until I click the stop button. Then the References lists shows Visual Basic for Applications, Access 11.0 Object library, OLE Automation and ADO 2.1library. That latter sounded obsolete so I unchecked it, and selected instead ADO 2.6 and also DAO 3.6 (which some of the code needs). No joy, however. Attempt to compile produces the same message, Module Not Found. I'm going to try creating a new MDB from Access 2003 and importing everything to see if that fixes it. Any other suggestions? From shamil at users.mns.ru Thu Aug 30 10:48:46 2007 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Thu, 30 Aug 2007 19:48:46 +0400 Subject: [AccessD] What problems converting A2K3 mdb to A2K7? In-Reply-To: <20070830151950.55375C225@smtp-auth.no-ip.com> Message-ID: <000901c7eb1d$400f6c40$6401a8c0@nant> Hello John, Recently I had to work with MS Access 2007 because there were no other options available around as e.g. to use MS Access 2003... I must say that in a few hours I started to feel that MS Access 2007 ribbon is more useful (more ergonomic) than that of MS Office 2003 - one just have to adapt to it... And of course having several tables, queries, forms,... opened and being able to switch between them using tabs - just one this feature is worth to switch to MS Access 2007 :) Just IMO of course. Thanks. -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Thursday, August 30, 2007 7:20 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] What problems converting A2K3 mdb to A2K7? And that seems to be the problem. The ribbon bars are all about the user and ignore the needs and wants of developers. As a developer I know where everything is. I click menu items all day, use shortcut keys, do things automatically. Now suddenly all that stuff doesn't work and I can't get any work done. This stuff is know as "muscle memory" and it is a well documented fact. Your body just "learns" how to do things, everything from typing to playing an instrument to holding a fork to walking. Imagine handing a sax player a saxophone where all of the keys are randomly changed. Now imagine handing that to a professional musician with a concert to play that night, where he is being paid thousands of dollars to play. Now imagine handing such instruments to every member of the orchestra. It is bad enough to do that to my users, but I charge my clients hundreds of dollars an hour to hunt down where they hid everything. My clients are NOT HAPPY and they are NOT HAPPY with ME!!! John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Thursday, August 30, 2007 10:04 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] What problems converting A2K3 mdb to A2K7? No, but I use it everyday. I have a few small db's that I use every day for my own purpose and then of course, all the writing, which is mostly for users, not developers. I haven't had any trouble adapting and my db's have upgraded without issue, but I'm not using high-end stuff. I just track assignments and money. Susan H. But do you do development on a day to day basis, for a livelihood? That could affect your like. ;-) From ssharkins at gmail.com Thu Aug 30 11:02:27 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Thu, 30 Aug 2007 12:02:27 -0400 Subject: [AccessD] What problems converting A2K3 mdb to A2K7? In-Reply-To: <000901c7eb1d$400f6c40$6401a8c0@nant> References: <20070830151950.55375C225@smtp-auth.no-ip.com> <000901c7eb1d$400f6c40$6401a8c0@nant> Message-ID: <00c901c7eb1f$2a47ca90$048e01c7@SusanOne> Shamil, keep it up and we'll have to go live on an island somewhere. ;) Susan H. I must say that in a few hours I started to feel that MS Access 2007 ribbon is more useful (more ergonomic) than that of MS Office 2003 - one just have to adapt to it... From jwcolby at colbyconsulting.com Thu Aug 30 11:16:57 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 30 Aug 2007 12:16:57 -0400 Subject: [AccessD] What problems converting A2K3 mdb to A2K7? In-Reply-To: <000901c7eb1d$400f6c40$6401a8c0@nant> Message-ID: <20070830161700.EB92EC109@smtp-auth.no-ip.com> Shamil, I have one specific client who is firmly implanted in 800x600 mode. Even though he is upgrading all of the 15" and smaller monitors to at least 18" his users complain bitterly if they cannot stay in 800x600 mode ("eye strain"). This is a real application, not a toy - it completely runs a disability insurance call center. It has a main form with a tab control with more than 15 tabs. Each tab has either controls on it or JIT subforms. The tabs are already crammed with controls. The client WANTS it that way. I cannot do ANYTHING to this thing without slider bars appearing at the bottom and right edge because I have pushed the size of the main form out past the edges of the 800x600 screen. ALL of my clients use a database which performs a purpose. They hire people with NO experience in Access (or even excel or word) to use an application to get work done. The application does precisely and only what the BUSINESS OWNER wants done. The employees do not play around doing stuff, they work - click buttons, open reports, enter and display data. These people wouldn't know a report design view if it bit them in the behind nor are they allowed to. They don't build their own tables, or queries, or reports. They have highly technical skills which involve processing insurance claims (for example), NOT changing the application. Now throw in Access 2007 and tell me where you are at. The users don't NEED the ribbons - PERIOD. They use the forms to enter data and to display data about the claims. They are not designing ANYTHING. Not changing fonts, not building queries or reports, not... Well you get the picture. Toolbars take up screen real estate for absolutely ZERO gain. We are not talking some gain, or little gain, we are talking ZERO GAIN. Access is NOT an "office application" in my universe, it is a way to design a database to a customer spec. A HUGE part of that spec is that the users don't dick around with the application, they do what they are told, when they are told, how they are told. If they need functionality they say so and the business owner decides whether, when and how to add it. Hey, that sounds a bit like software design in the non-office world. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Thursday, August 30, 2007 11:49 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] What problems converting A2K3 mdb to A2K7? Hello John, Recently I had to work with MS Access 2007 because there were no other options available around as e.g. to use MS Access 2003... I must say that in a few hours I started to feel that MS Access 2007 ribbon is more useful (more ergonomic) than that of MS Office 2003 - one just have to adapt to it... And of course having several tables, queries, forms,... opened and being able to switch between them using tabs - just one this feature is worth to switch to MS Access 2007 :) Just IMO of course. Thanks. -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Thursday, August 30, 2007 7:20 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] What problems converting A2K3 mdb to A2K7? And that seems to be the problem. The ribbon bars are all about the user and ignore the needs and wants of developers. As a developer I know where everything is. I click menu items all day, use shortcut keys, do things automatically. Now suddenly all that stuff doesn't work and I can't get any work done. This stuff is know as "muscle memory" and it is a well documented fact. Your body just "learns" how to do things, everything from typing to playing an instrument to holding a fork to walking. Imagine handing a sax player a saxophone where all of the keys are randomly changed. Now imagine handing that to a professional musician with a concert to play that night, where he is being paid thousands of dollars to play. Now imagine handing such instruments to every member of the orchestra. It is bad enough to do that to my users, but I charge my clients hundreds of dollars an hour to hunt down where they hid everything. My clients are NOT HAPPY and they are NOT HAPPY with ME!!! John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From jwcolby at colbyconsulting.com Thu Aug 30 11:18:04 2007 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 30 Aug 2007 12:18:04 -0400 Subject: [AccessD] What problems converting A2K3 mdb to A2K7? In-Reply-To: <00c901c7eb1f$2a47ca90$048e01c7@SusanOne> Message-ID: <20070830161807.D9E36C1C2@smtp-auth.no-ip.com> LOL, I am happy that you are happy, I am just unhappy that my clients are unhappy. They are staying at XP and 2003 in droves. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Thursday, August 30, 2007 12:02 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] What problems converting A2K3 mdb to A2K7? Shamil, keep it up and we'll have to go live on an island somewhere. ;) Susan H. I must say that in a few hours I started to feel that MS Access 2007 ribbon is more useful (more ergonomic) than that of MS Office 2003 - one just have to adapt to it... -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From robert at webedb.com Thu Aug 30 11:50:42 2007 From: robert at webedb.com (Robert L. Stewart) Date: Thu, 30 Aug 2007 11:50:42 -0500 Subject: [AccessD] What problems converting A2K3 mdb to A2K7? In-Reply-To: References: Message-ID: <200708301655.l7UGtL2H017566@databaseadvisors.com> Tina, I have converted my Social Service management from 2003 to 07. It is about 35 meg. I had no issues at all. Just do not try running the MDB under 2007. I ran into all kinds of corruption of the database when I did that. But after converting it to the 07 format, everything was smooth sailing with it. So, I would say it is 99% probable that it is the rework. Robert At 10:25 AM 8/30/2007, you wrote: >Date: Wed, 29 Aug 2007 13:44:05 -0400 >From: Tina Norris Fields >Subject: [AccessD] What problems converting A2K3 mdb to A2K7? >To: DatabaseAdvisors-Access >Message-ID: <46D5B065.7020200 at torchlake.com> >Content-Type: text/plain; charset=ISO-8859-1; format=flowed > >Hi All, > >A client called with this story: We had a functioning database >developed in A2K3. We gave the data to an off-site developer who did >some redesign work. While the database was away being reworked, we >upgraded in the office to A2K7. The database now seems to be missing >some fields and is not really functional. > >My first impression (I have not looked at the database yet) is that the >difficulties probably are associated with the off-site rework rather >than the upgrade. But, I thought I'd check out what to watch out for >when I do go look at the database. > >Thanks for any advice and information on A2K3-A2K7 issues. > >Tina From jimdettman at verizon.net Thu Aug 30 13:02:59 2007 From: jimdettman at verizon.net (Jim Dettman) Date: Thu, 30 Aug 2007 14:02:59 -0400 Subject: [AccessD] Version Problem -- Emergency In-Reply-To: <29f585dd0708300717t5053de23t9857685cc143dcf6@mail.gmail.com> References: <29f585dd0708300717t5053de23t9857685cc143dcf6@mail.gmail.com> Message-ID: <002101c7eb30$06ea1470$9a41a8c0@LaptopII> <> /decompile on a copy of the MDB. Then do a compile. A fresh MDB would clean it up to. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Thursday, August 30, 2007 10:18 AM To: Access Developers discussion and problem solving Subject: [AccessD] Version Problem -- Emergency Hi all, I developed an MDB in Office 2000 and it runs fine. In Office 2003, however, immediate problems. "Module not found.". Tools | References is greyed out until I click the stop button. Then the References lists shows Visual Basic for Applications, Access 11.0 Object library, OLE Automation and ADO 2.1library. That latter sounded obsolete so I unchecked it, and selected instead ADO 2.6 and also DAO 3.6 (which some of the code needs). No joy, however. Attempt to compile produces the same message, Module Not Found. I'm going to try creating a new MDB from Access 2003 and importing everything to see if that fixes it. Any other suggestions? Arthur -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From tinanfields at torchlake.com Thu Aug 30 13:08:23 2007 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Thu, 30 Aug 2007 14:08:23 -0400 Subject: [AccessD] What problems converting A2K3 mdb to A2K7? In-Reply-To: References: <46D5B065.7020200@torchlake.com> <003301c7eaaf$0f804770$0200a8c0@murphy3234aaf1><006201c7eb08$2b857220$048e01c7@SusanOne> <46D6CCF2.2030606@torchlake.com> Message-ID: <46D70797.60201@torchlake.com> Hmm -- good point. I didn't like the "personalized" menus one bit, especially not when I was teaching newbies how to use a program. Having the placement (or even appearance) of commands on menus be unreliable was way too confusing for my students. So, I taught them how to turn that stuff off. This should be an interesting discussion. Tina Charlotte Foust wrote: > I have to disagree. Perhaps if we'd all been weaned on Macs, we'd like > it, but then I never liked the Mac's "intuitive" UI either. The ribbon > is the next logical step from personalized menus, which I also hated. > With the kind of confusion personalized menus tended to cause, you'd > think they would have thought long and hard before dumping the ribbon on > us, but I doubt that they did. Now you see it, now you don't is great > for stage magicians but not for software developers. > > Charlotte Foust > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tina Norris > Fields > Sent: Thursday, August 30, 2007 6:58 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] What problems converting A2K3 mdb to A2K7? > > Susan, > If the ribbon had been there all along, everyone would like it. Don't > you think it's just the change that people object to? Once we get used > to it, we'll gripe when we have to use an older version that doesn't > have it. I know I've been guilty of such gripes, anyway. :) Tina > > Susan Harkins wrote: > >> The biggest PITA was figuring out where the menu items are in 2007. >> >> ========I know I'm committing Access hari-kari, but I like the 2007 >> > ribbon. > >> :) >> >> Susan H. >> >> >> > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From tinanfields at torchlake.com Thu Aug 30 13:16:04 2007 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Thu, 30 Aug 2007 14:16:04 -0400 Subject: [AccessD] What problems converting A2K3 mdb to A2K7? In-Reply-To: <200708301655.l7UGtL2H017566@databaseadvisors.com> References: <200708301655.l7UGtL2H017566@databaseadvisors.com> Message-ID: <46D70964.9010702@torchlake.com> Thanks Robert, I will remember not to run an 03 db under 07 but convert it first! Tina Robert L. Stewart wrote: > Tina, > > I have converted my Social Service management from 2003 to 07. > It is about 35 meg. I had no issues at all. Just do not try > running the MDB under 2007. I ran into all kinds of corruption > of the database when I did that. But after converting it to > the 07 format, everything was smooth sailing with it. > > So, I would say it is 99% probable that it is the rework. > > Robert > > At 10:25 AM 8/30/2007, you wrote: > >> Date: Wed, 29 Aug 2007 13:44:05 -0400 >> From: Tina Norris Fields >> Subject: [AccessD] What problems converting A2K3 mdb to A2K7? >> To: DatabaseAdvisors-Access >> Message-ID: <46D5B065.7020200 at torchlake.com> >> Content-Type: text/plain; charset=ISO-8859-1; format=flowed >> >> Hi All, >> >> A client called with this story: We had a functioning database >> developed in A2K3. We gave the data to an off-site developer who did >> some redesign work. While the database was away being reworked, we >> upgraded in the office to A2K7. The database now seems to be missing >> some fields and is not really functional. >> >> My first impression (I have not looked at the database yet) is that the >> difficulties probably are associated with the off-site rework rather >> than the upgrade. But, I thought I'd check out what to watch out for >> when I do go look at the database. >> >> Thanks for any advice and information on A2K3-A2K7 issues. >> >> Tina >> > > > From ssharkins at gmail.com Thu Aug 30 13:24:37 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Thu, 30 Aug 2007 14:24:37 -0400 Subject: [AccessD] What problems converting A2K3 mdb to A2K7? In-Reply-To: <46D70964.9010702@torchlake.com> References: <200708301655.l7UGtL2H017566@databaseadvisors.com> <46D70964.9010702@torchlake.com> Message-ID: <010801c7eb33$07a0b2e0$048e01c7@SusanOne> I will remember not to run an 03 db under 07 but convert it first! =======I haven't converted anything. Just opened my mdb's in 07 and they worked fine. My guess is, like every upgrade, there are some things that work fine and others that don't. Susan H. From fuller.artful at gmail.com Thu Aug 30 13:42:36 2007 From: fuller.artful at gmail.com (Arthur Fuller) Date: Thu, 30 Aug 2007 14:42:36 -0400 Subject: [AccessD] Version Problem -- Emergency In-Reply-To: <002101c7eb30$06ea1470$9a41a8c0@LaptopII> References: <29f585dd0708300717t5053de23t9857685cc143dcf6@mail.gmail.com> <002101c7eb30$06ea1470$9a41a8c0@LaptopII> Message-ID: <29f585dd0708301142o4230518bx9497489060d31b7@mail.gmail.com> As I wrote at the end, I tried creating a new 2003 MDB and imported everything into it. Worked a treat. Problem disappeared. The strange thing was, though, when I compared the references in the broken one and the new one, they were identical. I'm content to let that mystery lie,and get on with what must be completed. A. On 8/30/07, Jim Dettman wrote: > > <> > > /decompile on a copy of the MDB. Then do a compile. > > A fresh MDB would clean it up to. > > Jim. From fuller.artful at gmail.com Thu Aug 30 16:27:26 2007 From: fuller.artful at gmail.com (Arthur Fuller) Date: Thu, 30 Aug 2007 17:27:26 -0400 Subject: [AccessD] Lose the warnings Message-ID: <29f585dd0708301427x488fa0fdgf3567511ce58fab3@mail.gmail.com> Having converted my 2k app to 2k3, I suffer two warnings upon entry to the system, and cannot locate how to kill them. One says something about potentially unsafe, the other about open. I want these to go away permanently for my particular app, bu I want them to remain for all else. Is this possible? I did look at the Security stuff on the menu, which was no help. In typical MS style. TIA, Arthur From garykjos at gmail.com Thu Aug 30 16:52:33 2007 From: garykjos at gmail.com (Gary Kjos) Date: Thu, 30 Aug 2007 16:52:33 -0500 Subject: [AccessD] Lose the warnings In-Reply-To: <29f585dd0708301427x488fa0fdgf3567511ce58fab3@mail.gmail.com> References: <29f585dd0708301427x488fa0fdgf3567511ce58fab3@mail.gmail.com> Message-ID: >From the menu go to Tools/Macros/Security/Security Level and once there select the Low Setting and that fixes that. GK On 8/30/07, Arthur Fuller wrote: > Having converted my 2k app to 2k3, I suffer two warnings upon entry to the > system, and cannot locate how to kill them. One says something about > potentially unsafe, the other about open. I want these to go away > permanently for my particular app, bu I want them to remain for all else. Is > this possible? > > I did look at the Security stuff on the menu, which was no help. In typical > MS style. > > TIA, > Arthur > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Gary Kjos garykjos at gmail.com From garykjos at gmail.com Thu Aug 30 16:53:33 2007 From: garykjos at gmail.com (Gary Kjos) Date: Thu, 30 Aug 2007 16:53:33 -0500 Subject: [AccessD] Lose the warnings In-Reply-To: References: <29f585dd0708301427x488fa0fdgf3567511ce58fab3@mail.gmail.com> Message-ID: Oh and you have to exit the database and restart to make it use that setting. GK On 8/30/07, Gary Kjos wrote: > From the menu go to > > Tools/Macros/Security/Security Level > > and once there select the Low Setting and that fixes that. > > GK > > On 8/30/07, Arthur Fuller wrote: > > Having converted my 2k app to 2k3, I suffer two warnings upon entry to the > > system, and cannot locate how to kill them. One says something about > > potentially unsafe, the other about open. I want these to go away > > permanently for my particular app, bu I want them to remain for all else. Is > > this possible? > > > > I did look at the Security stuff on the menu, which was no help. In typical > > MS style. > > > > TIA, > > Arthur > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > -- > Gary Kjos > garykjos at gmail.com > -- Gary Kjos garykjos at gmail.com From kathryn at bassett.net Thu Aug 30 16:53:46 2007 From: kathryn at bassett.net (Kathryn Bassett) Date: Thu, 30 Aug 2007 14:53:46 -0700 Subject: [AccessD] Opening error Message-ID: <005301c7eb50$3ec35c10$6601a8c0@Kathryn> Technically this is more of an XP problem than Access problem, but you will probably know the answer. When I open an mdb directly by doubleclicking on it, everything is fine. BThe ones I use the most often, I have shortcuts for on my desktop. Double clicking there used to be fine, but in the last couple months, when I do I get this: http://www.bassett.net/storage/Access/openingerror.jpg It opens fine and everything works fine, but I have to click the OK button first to get rid of it. Why do I get this message when using a shortcut but not otherwise? -- Kathryn Rhinehart Bassett (Pasadena CA) "Genealogy is my bag" "GH is my soap" kathryn at bassett.net http://bassett.net No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.484 / Virus Database: 269.12.12/979 - Release Date: 29 Aug 07 8:21 pm From askolits at nni.com Thu Aug 30 17:11:15 2007 From: askolits at nni.com (John Skolits) Date: Thu, 30 Aug 2007 18:11:15 -0400 Subject: [AccessD] Access Speed Issue In-Reply-To: <005301c7eb50$3ec35c10$6601a8c0@Kathryn> References: <005301c7eb50$3ec35c10$6601a8c0@Kathryn> Message-ID: <00bc01c7eb52$b0a61af0$0f01a8c0@officexp> I know a few tricks on speeding my app up but maybe there is some ideas that someone has compiled. Without getting into too much detail: I wrote an APP that support 4-5 people. There is a main form and two sub forms. They are related. All forms are bound either to tables are through queries. Database is split with Tables on backend. Have a bound, hidden form connected to the backend so there is always a connection. (Tip I got from the group) I have already created plenty of indexes (which helped with the speed until..) Issue is that with one person it works fine, but with two or more it drags to it's knees. Maybe a record locking type? Should I set the locking at the table level (Row level locking)? Any other quick fixes I should be looking for. Maybe the PC that's acting as a server may need some tweaking (record locks and such?) I have to run for a few hours but will look at the responses later. TIA! John Skolits From Erwin.Craps at ithelps.eu Fri Aug 31 05:55:16 2007 From: Erwin.Craps at ithelps.eu (Erwin Craps - IT Helps) Date: Fri, 31 Aug 2007 12:55:16 +0200 Subject: [AccessD] References in Access/ office VBA Message-ID: <430E80531228BA4497C5EB1A7BA786B0276A27@stekelbes.ithelps.local> Hi For some reason when I click on the references menu in Access (any) or any Office app VBA, I get an "error getting access to the system registry" (translated from dutch). I do not get into the list after that error, and that gives me a serious problem. I suspect this to come from wrong permissions in my registry but I have no clue where to start looking. Can someone point me in the right direction? Erwin Craps Zaakvoerder Nieuwe internetwinkel op www.ithelps.be/shop www.ithelps.be/onsgezin bezoek ook eens de website van mijn zus www.friedacraps.be This E-mail is confidential, may be legally privileged, and is for the intended recipient only. Access, disclosure, copying, distribution, or reliance on any of it by anyone else is prohibited and may be a criminal offence. Please delete if obtained in error and E-mail confirmation to the sender. IT Helps - I.T. Help Center *** Box Office Belgium & Luxembourg www.ithelps.be * www.boxoffice.be * www.stadleuven.be IT Helps bvba* ** Mercatorpad 3 ** 3000 Leuven IT Helps * Phone: +32 16 296 404 * Fax: +32 16 296 405 E-mail: Info at ithelps.be Box Office ** Fax: +32 16 296 406 ** Box Office E-mail: Staff at boxoffice.be From Erwin.Craps at ithelps.eu Fri Aug 31 06:21:07 2007 From: Erwin.Craps at ithelps.eu (Erwin Craps - IT Helps) Date: Fri, 31 Aug 2007 13:21:07 +0200 Subject: [AccessD] References in Access/ office VBA References: <430E80531228BA4497C5EB1A7BA786B0276A27@stekelbes.ithelps.local> Message-ID: <430E80531228BA4497C5EB1A7BA786B0276A28@stekelbes.ithelps.local> Ha, found an article in MSKB for exactly my problem. I searched before but apparently did not used the right words, it was the first match now. http://support.microsoft.com/kb/269383 Its caused by an install of Crystal Reports 8.0.0.371 that is include with the new accountancy software I purchased and installed. I trying to resolve it now. Erwin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Erwin Craps - IT Helps Sent: Friday, August 31, 2007 12:55 PM To: Access Developers discussion and problem solving Subject: [AccessD] References in Access/ office VBA Hi For some reason when I click on the references menu in Access (any) or any Office app VBA, I get an "error getting access to the system registry" (translated from dutch). I do not get into the list after that error, and that gives me a serious problem. I suspect this to come from wrong permissions in my registry but I have no clue where to start looking. Can someone point me in the right direction? Erwin Craps Zaakvoerder Nieuwe internetwinkel op www.ithelps.be/shop www.ithelps.be/onsgezin bezoek ook eens de website van mijn zus www.friedacraps.be This E-mail is confidential, may be legally privileged, and is for the intended recipient only. Access, disclosure, copying, distribution, or reliance on any of it by anyone else is prohibited and may be a criminal offence. Please delete if obtained in error and E-mail confirmation to the sender. IT Helps - I.T. Help Center *** Box Office Belgium & Luxembourg www.ithelps.be * www.boxoffice.be * www.stadleuven.be IT Helps bvba* ** Mercatorpad 3 ** 3000 Leuven IT Helps * Phone: +32 16 296 404 * Fax: +32 16 296 405 E-mail: Info at ithelps.be Box Office ** Fax: +32 16 296 406 ** Box Office E-mail: Staff at boxoffice.be -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From max.wanadoo at gmail.com Fri Aug 31 06:37:42 2007 From: max.wanadoo at gmail.com (Gmail) Date: Fri, 31 Aug 2007 12:37:42 +0100 Subject: [AccessD] EATBloat V3.0 In-Reply-To: <430E80531228BA4497C5EB1A7BA786B0276A27@stekelbes.ithelps.local> References: <430E80531228BA4497C5EB1A7BA786B0276A27@stekelbes.ithelps.local> Message-ID: <004c01c7ebc3$58de4420$8119fea9@LTVM> Just to let you know that EATBloat V3.0 is available for anybody that wants it. You can get it from: http//www.peoplelinks.co.uk/msaccess Regards Max From fuller.artful at gmail.com Fri Aug 31 09:04:54 2007 From: fuller.artful at gmail.com (Arthur Fuller) Date: Fri, 31 Aug 2007 10:04:54 -0400 Subject: [AccessD] Shutting off the security warnings Message-ID: <29f585dd0708310704g6cf419d5u95ce861272e6c3bf@mail.gmail.com> How do I shut off the warnings that appear when I load an Access 2003 app? The first message says Security Warning: unsafe expressions are not blocked. I answer No and the next message says Security Warning. This file may not be safe if it contains code that was intended to harm your computer. How to suppress these annoying messages? Arthur From max.wanadoo at gmail.com Fri Aug 31 09:16:11 2007 From: max.wanadoo at gmail.com (Gmail) Date: Fri, 31 Aug 2007 15:16:11 +0100 Subject: [AccessD] Shutting off the security warnings In-Reply-To: <29f585dd0708310704g6cf419d5u95ce861272e6c3bf@mail.gmail.com> References: <29f585dd0708310704g6cf419d5u95ce861272e6c3bf@mail.gmail.com> Message-ID: <001901c7ebd9$7c676550$8119fea9@LTVM> Hi Arthur, Go to Tools/Macro/Security. Set to LOW. Regards Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Friday, August 31, 2007 3:05 PM To: Access Developers discussion and problem solving Subject: [AccessD] Shutting off the security warnings How do I shut off the warnings that appear when I load an Access 2003 app? The first message says Security Warning: unsafe expressions are not blocked. I answer No and the next message says Security Warning. This file may not be safe if it contains code that was intended to harm your computer. How to suppress these annoying messages? Arthur -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From fuller.artful at gmail.com Fri Aug 31 09:22:31 2007 From: fuller.artful at gmail.com (Arthur Fuller) Date: Fri, 31 Aug 2007 10:22:31 -0400 Subject: [AccessD] Shutting off the security warnings In-Reply-To: <001901c7ebd9$7c676550$8119fea9@LTVM> References: <29f585dd0708310704g6cf419d5u95ce861272e6c3bf@mail.gmail.com> <001901c7ebd9$7c676550$8119fea9@LTVM> Message-ID: <29f585dd0708310722k3ad85fedm302cca99f6040752@mail.gmail.com> Thanks! Arthur On 8/31/07, Gmail wrote: > > Hi Arthur, > Go to Tools/Macro/Security. Set to LOW. > Regards > Max > From pharold at proftesting.com Fri Aug 31 09:33:01 2007 From: pharold at proftesting.com (Perry L Harold) Date: Fri, 31 Aug 2007 10:33:01 -0400 Subject: [AccessD] Opening error In-Reply-To: <005301c7eb50$3ec35c10$6601a8c0@Kathryn> References: <005301c7eb50$3ec35c10$6601a8c0@Kathryn> Message-ID: <00F5FCB4F80FDB4EB03FBAAEAD97CEAD4D13B8@EXCHANGE.ptiorl.local> See if making a new shortcut will give you an indication. Even if it doesn't the new shortcut may make it available again. Perry Harold -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kathryn Bassett Sent: Thursday, August 30, 2007 5:54 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Opening error Technically this is more of an XP problem than Access problem, but you will probably know the answer. When I open an mdb directly by doubleclicking on it, everything is fine. BThe ones I use the most often, I have shortcuts for on my desktop. Double clicking there used to be fine, but in the last couple months, when I do I get this: http://www.bassett.net/storage/Access/openingerror.jpg It opens fine and everything works fine, but I have to click the OK button first to get rid of it. Why do I get this message when using a shortcut but not otherwise? -- Kathryn Rhinehart Bassett (Pasadena CA) "Genealogy is my bag" "GH is my soap" kathryn at bassett.net http://bassett.net No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.484 / Virus Database: 269.12.12/979 - Release Date: 29 Aug 07 8:21 pm -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From max.wanadoo at gmail.com Fri Aug 31 09:43:54 2007 From: max.wanadoo at gmail.com (Gmail) Date: Fri, 31 Aug 2007 15:43:54 +0100 Subject: [AccessD] EATBloat V3.0 Message-ID: <002001c7ebdd$5c02dde0$8119fea9@LTVM> Just to let you know that EATBloat V3.0 is available for anybody that wants it. You can get it from: http//www.peoplelinks.co.uk/msaccess Regards Max From adtp at airtelbroadband.in Fri Aug 31 09:52:35 2007 From: adtp at airtelbroadband.in (A.D.TEJPAL) Date: Fri, 31 Aug 2007 20:22:35 +0530 Subject: [AccessD] Force a new page in code References: <5526AB2DF1F5471FA07F36291F385BB5@creativesystemdesigns.com> Message-ID: <00cd01c7ebde$b050f070$7b57a27a@personalec1122> Jim, For conditional page break, ForceNewPage property can be manipulated in format event of the section concerned. Sample code in detail section's format event, as given below, will force a page break after every two records in the group. TxtCountGrp is a count tracking text box for the group. Note: (a) Use of Else clause is always necessary, otherwise after the condition is once met, the break will keep get applied for each record. (b) Different values that can be assigned to ForceNewPage property, and implications thereof, are explained in HELP. If no conditions are involved, ForceNewPage property can be set permanently in design view (Format tab of properties dialog box for the pertinent section). Best wishes, A.D.Tejpal -------------- ================================ Private Sub Detail_Format(Cancel As Integer, _ FormatCount As Integer) If Me.TxtCountGrp Mod 2 = 0 Then Me.Detail.ForceNewPage = 2 ' Pg break after section Else Me.Detail.ForceNewPage = 0 ' No pg break End If End Sub ================================ ----- Original Message ----- From: Jim Lawrence To: 'Access Developers discussion and problem solving' Sent: Tuesday, August 28, 2007 11:49 Subject: [AccessD] Force a new page in code Hi all: Is there a way to force a new page in Access reports under program control? TIA Jim From max.wanadoo at gmail.com Fri Aug 31 10:27:56 2007 From: max.wanadoo at gmail.com (Gmail) Date: Fri, 31 Aug 2007 16:27:56 +0100 Subject: [AccessD] EATBloat V3.0 In-Reply-To: <010701c7ebdf$bfc9b450$6402a8c0@ScuzzPaq> References: <002001c7ebdd$5c02dde0$8119fea9@LTVM> <010701c7ebdf$bfc9b450$6402a8c0@ScuzzPaq> Message-ID: <002701c7ebe3$82709bb0$8119fea9@LTVM> Hi John, Sorry, missed the colon off. It should be http://www.peoplelinks.co.uk/msaccess/index.html I should have noticed that it didn't turn blue when I typed it in. Apologies for any confusion. Jim: Can you post to DBA site please. Regards Max -----Original Message----- From: John Bartow [mailto:john at winhaven.net] Sent: Friday, August 31, 2007 4:01 PM To: 'Gmail' Cc: 'Jim Lawrence' Subject: RE: [AccessD] EATBloat V3.0 Hi Max, The link didn't work for me. If you wish - send this to Jim and he can post it on the DBA site for you. Jim Lawrence: accessd at shaw.ca John Bartow, President Database Advisors, Inc. Email: mailto:president at databaseadvisors.com Website: http://www.databaseadvisors.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gmail Sent: Friday, August 31, 2007 9:44 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] EATBloat V3.0 Just to let you know that EATBloat V3.0 is available for anybody that wants it. You can get it from: http//www.peoplelinks.co.uk/msaccess Regards Max -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From phpons at gmail.com Fri Aug 31 10:55:45 2007 From: phpons at gmail.com (philippe pons) Date: Fri, 31 Aug 2007 17:55:45 +0200 Subject: [AccessD] How would you declare a variable pointing to an attached project? Message-ID: <57144ced0708310855n6daf2240k88323d3e472d5d8d@mail.gmail.com> Hi, In my main Access application, I referenced another mdb file of which I need to run a form from the main. I managed to have the following snippet running ok! Public Function ppSendEmail() ' init de la gestion d'erreur: la biblioth?que peut ne pas avoir ?t? r?f?renc?e On Error GoTo ppSendEmail_Error AccXP_Mail.modDivers.openFrmCourriel ' AccXP_Mail: the name of the project of the AccXP_Mail.mdb attached ' modDivers: the name of the code module ' openFrmCourriel: the public function that open the form On Error GoTo 0 Exit Function ppSendEmail_Error: MsgBox ("La fonction d'envoi d'email n'est pas install?e!") End Function The problem is that in case the AccXP_Mail.mdb is not attached, a compilation error is triggered due to the fact that AccXP_Mail has not been declared. And the error is not trapped by the On Error GoTo ppSendEmail_Error. I tried different things to try declare AccXP_Mail, but unsuccessfully till now. How would you do that? TIA, Philippe From john at winhaven.net Fri Aug 31 11:26:05 2007 From: john at winhaven.net (John Bartow) Date: Fri, 31 Aug 2007 11:26:05 -0500 Subject: [AccessD] EATBloat V3.0 In-Reply-To: <002701c7ebe3$82709bb0$8119fea9@LTVM> References: <002001c7ebdd$5c02dde0$8119fea9@LTVM><010701c7ebdf$bfc9b450$6402a8c0@ScuzzPaq> <002701c7ebe3$82709bb0$8119fea9@LTVM> Message-ID: <012001c7ebeb$a188af80$6402a8c0@ScuzzPaq> Thanks, that worked. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gmail Sent: Friday, August 31, 2007 10:28 AM To: 'John Bartow' Cc: 'Jim Lawrence'; 'Access Developers discussion and problem solving' Subject: Re: [AccessD] EATBloat V3.0 Hi John, Sorry, missed the colon off. It should be http://www.peoplelinks.co.uk/msaccess/index.html From shamil at users.mns.ru Fri Aug 31 12:28:52 2007 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Fri, 31 Aug 2007 21:28:52 +0400 Subject: [AccessD] What problems converting A2K3 mdb to A2K7? In-Reply-To: <00c901c7eb1f$2a47ca90$048e01c7@SusanOne> Message-ID: <001201c7ebf4$6677e6f0$6401a8c0@nant> Susan, OK, what islands would you prefer: Canary or Hawaii or ... ? :) -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Thursday, August 30, 2007 8:02 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] What problems converting A2K3 mdb to A2K7? Shamil, keep it up and we'll have to go live on an island somewhere. ;) Susan H. I must say that in a few hours I started to feel that MS Access 2007 ribbon is more useful (more ergonomic) than that of MS Office 2003 - one just have to adapt to it... -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From shamil at users.mns.ru Fri Aug 31 12:35:45 2007 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Fri, 31 Aug 2007 21:35:45 +0400 Subject: [AccessD] What problems converting A2K3 mdb to A2K7? In-Reply-To: <20070830161700.EB92EC109@smtp-auth.no-ip.com> Message-ID: <001901c7ebf5$5d3667f0$6401a8c0@nant> John, I will try to check at the end of the next week when urgent work will hopefully be finished here: - I'd think that MS Access 2007 built-in MDI tabbing feature should be very suitable for your multi-tab designs - you will have to "just" disintegrate your multi-tab forms... - I'd also think (and Martin can approve./disapprove) that ribbon can be made hidden/substituted with custom "thin" ribbons a la' good old commandbars... - and I suppose that MS Access 2007 free runtime, which (I expect) should be not a big issue to install on fresh PCs can help you to smoothly solve the third part of your "puzzle" - I mean supply your customers/users with an interface you develop for them and nothing else "extra" on top of that... Access 2007 is what is called progress comparing with MS Access 2003, isn't it? :) I'd suppose MS staff spent countless (and usually well paid hours) before they made and implemented new MS Office 2007 interface solution... And AFAIK MS has a lot of corporate customers and they (MS stuff) do communicate closely with these customers and they do react on their demands - so my simple guess is that ribbon was requested by their customers first of all because it's very useful in there everyday work... Not arguing, just supposing/proposing that "fighting/neglecting" MS-driven progress "bulldozer" could be an expensive endeavor... :) -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Thursday, August 30, 2007 8:17 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] What problems converting A2K3 mdb to A2K7? Shamil, I have one specific client who is firmly implanted in 800x600 mode. Even though he is upgrading all of the 15" and smaller monitors to at least 18" his users complain bitterly if they cannot stay in 800x600 mode ("eye strain"). This is a real application, not a toy - it completely runs a disability insurance call center. It has a main form with a tab control with more than 15 tabs. Each tab has either controls on it or JIT subforms. The tabs are already crammed with controls. The client WANTS it that way. I cannot do ANYTHING to this thing without slider bars appearing at the bottom and right edge because I have pushed the size of the main form out past the edges of the 800x600 screen. ALL of my clients use a database which performs a purpose. They hire people with NO experience in Access (or even excel or word) to use an application to get work done. The application does precisely and only what the BUSINESS OWNER wants done. The employees do not play around doing stuff, they work - click buttons, open reports, enter and display data. These people wouldn't know a report design view if it bit them in the behind nor are they allowed to. They don't build their own tables, or queries, or reports. They have highly technical skills which involve processing insurance claims (for example), NOT changing the application. Now throw in Access 2007 and tell me where you are at. The users don't NEED the ribbons - PERIOD. They use the forms to enter data and to display data about the claims. They are not designing ANYTHING. Not changing fonts, not building queries or reports, not... Well you get the picture. Toolbars take up screen real estate for absolutely ZERO gain. We are not talking some gain, or little gain, we are talking ZERO GAIN. Access is NOT an "office application" in my universe, it is a way to design a database to a customer spec. A HUGE part of that spec is that the users don't dick around with the application, they do what they are told, when they are told, how they are told. If they need functionality they say so and the business owner decides whether, when and how to add it. Hey, that sounds a bit like software design in the non-office world. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Thursday, August 30, 2007 11:49 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] What problems converting A2K3 mdb to A2K7? Hello John, Recently I had to work with MS Access 2007 because there were no other options available around as e.g. to use MS Access 2003... I must say that in a few hours I started to feel that MS Access 2007 ribbon is more useful (more ergonomic) than that of MS Office 2003 - one just have to adapt to it... And of course having several tables, queries, forms,... opened and being able to switch between them using tabs - just one this feature is worth to switch to MS Access 2007 :) Just IMO of course. Thanks. -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Thursday, August 30, 2007 7:20 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] What problems converting A2K3 mdb to A2K7? And that seems to be the problem. The ribbon bars are all about the user and ignore the needs and wants of developers. As a developer I know where everything is. I click menu items all day, use shortcut keys, do things automatically. Now suddenly all that stuff doesn't work and I can't get any work done. This stuff is know as "muscle memory" and it is a well documented fact. Your body just "learns" how to do things, everything from typing to playing an instrument to holding a fork to walking. Imagine handing a sax player a saxophone where all of the keys are randomly changed. Now imagine handing that to a professional musician with a concert to play that night, where he is being paid thousands of dollars to play. Now imagine handing such instruments to every member of the orchestra. It is bad enough to do that to my users, but I charge my clients hundreds of dollars an hour to hunt down where they hid everything. My clients are NOT HAPPY and they are NOT HAPPY with ME!!! John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Fri Aug 31 12:52:11 2007 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 31 Aug 2007 10:52:11 -0700 Subject: [AccessD] What problems converting A2K3 mdb to A2K7? In-Reply-To: <001901c7ebf5$5d3667f0$6401a8c0@nant> References: <20070830161700.EB92EC109@smtp-auth.no-ip.com> <001901c7ebf5$5d3667f0$6401a8c0@nant> Message-ID: Shamil, You have much more faith in market-driven (as opposed to MARKETING!-driven) design that I have. I seriously doubt that the ribbon, which didn't exist before, was market-driven. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Friday, August 31, 2007 10:36 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] What problems converting A2K3 mdb to A2K7? John, I will try to check at the end of the next week when urgent work will hopefully be finished here: - I'd think that MS Access 2007 built-in MDI tabbing feature should be very suitable for your multi-tab designs - you will have to "just" disintegrate your multi-tab forms... - I'd also think (and Martin can approve./disapprove) that ribbon can be made hidden/substituted with custom "thin" ribbons a la' good old commandbars... - and I suppose that MS Access 2007 free runtime, which (I expect) should be not a big issue to install on fresh PCs can help you to smoothly solve the third part of your "puzzle" - I mean supply your customers/users with an interface you develop for them and nothing else "extra" on top of that... Access 2007 is what is called progress comparing with MS Access 2003, isn't it? :) I'd suppose MS staff spent countless (and usually well paid hours) before they made and implemented new MS Office 2007 interface solution... And AFAIK MS has a lot of corporate customers and they (MS stuff) do communicate closely with these customers and they do react on their demands - so my simple guess is that ribbon was requested by their customers first of all because it's very useful in there everyday work... Not arguing, just supposing/proposing that "fighting/neglecting" MS-driven progress "bulldozer" could be an expensive endeavor... :) -- Shamil From ssharkins at gmail.com Fri Aug 31 13:32:11 2007 From: ssharkins at gmail.com (Susan Harkins) Date: Fri, 31 Aug 2007 14:32:11 -0400 Subject: [AccessD] What problems converting A2K3 mdb to A2K7? In-Reply-To: <001201c7ebf4$6677e6f0$6401a8c0@nant> References: <00c901c7eb1f$2a47ca90$048e01c7@SusanOne> <001201c7ebf4$6677e6f0$6401a8c0@nant> Message-ID: <00e101c7ebfd$4364c800$048e01c7@SusanOne> OK, what islands would you prefer: Canary or Hawaii or ... ? :) =========I only require warm sands and shade trees. :) Susan H. From fuller.artful at gmail.com Fri Aug 31 16:49:27 2007 From: fuller.artful at gmail.com (Arthur Fuller) Date: Fri, 31 Aug 2007 17:49:27 -0400 Subject: [AccessD] Asked and answered Message-ID: <29f585dd0708311449r2b52291co829dd2bf1eef4f0e@mail.gmail.com> I know this has been asked and answered before, but I'll ask again. I have an MDB-FE and I want to create a shortcut that specifically loads Access2003 with the file of interest. A. From dwaters at usinternet.com Fri Aug 31 17:03:54 2007 From: dwaters at usinternet.com (Dan Waters) Date: Fri, 31 Aug 2007 17:03:54 -0500 Subject: [AccessD] Asked and answered In-Reply-To: <29f585dd0708311449r2b52291co829dd2bf1eef4f0e@mail.gmail.com> References: <29f585dd0708311449r2b52291co829dd2bf1eef4f0e@mail.gmail.com> Message-ID: <001101c7ec1a$d2dfdde0$0200a8c0@danwaters> Hi Arthur, This is one of mine. It goes in the target field of the shortcut. "C:\Program Files\Microsoft Office\OFFICE11\MSACCESS.EXE" "C:\Consulting\PSISystemDEV\FrontEnd\PSIFE.mdb" /wrkgrp "C:\Consulting\PSISystemDEV\Workgroup\PSI.mdw" You can also decompile like this: "C:\Program Files\Microsoft Office\OFFICE11\MSACCESS.EXE" "C:\Consulting\PSISystemDEV\FrontEnd\PSIFE.mdb" /wrkgrp "C:\Consulting\PSISystemDEV\Workgroup\PSI.mdw" /decompile Or you can compact & repair like this: "C:\Program Files\Microsoft Office\OFFICE11\MSACCESS.EXE" "C:\Consulting\PSISystemDEV\FrontEnd\PSIFE.mdb" /wrkgrp "C:\Consulting\PSISystemDEV\Workgroup\PSI.mdw" /compact Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Friday, August 31, 2007 4:49 PM To: Access Developers discussion and problem solving Subject: [AccessD] Asked and answered I know this has been asked and answered before, but I'll ask again. I have an MDB-FE and I want to create a shortcut that specifically loads Access2003 with the file of interest. A. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com